Raspbian Package Auto-Building

Build log for vim (2:8.0.1144-1) on armhf

vim2:8.0.1144-1armhf → 2017-09-30 06:48:26

sbuild (Debian sbuild) 0.72.0 (25 Oct 2016) on mb-lxc-01

+==============================================================================+
| vim 2:8.0.1144-1 (armhf)                     Sat, 30 Sep 2017 06:05:24 +0000 |
+==============================================================================+

Package: vim
Version: 2:8.0.1144-1
Source Version: 2:8.0.1144-1
Distribution: buster-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/buster-staging-armhf-sbuild-fcbfe79c-cb74-4e2a-bbf8-803466bc7764' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private buster-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private buster-staging/main Sources [10.2 MB]
Get:3 http://172.17.0.1/private buster-staging/main armhf Packages [12.1 MB]
Fetched 22.4 MB in 7s (2814 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'vim' packaging is maintained in the 'Git' version control system at:
https://anonscm.debian.org/cgit/pkg-vim/vim.git/
Please use:
git clone https://anonscm.debian.org/cgit/pkg-vim/vim.git/
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 13.5 MB of source archives.
Get:1 http://172.17.0.1/private buster-staging/main vim 2:8.0.1144-1 (dsc) [2990 B]
Get:2 http://172.17.0.1/private buster-staging/main vim 2:8.0.1144-1 (tar) [13.3 MB]
Get:3 http://172.17.0.1/private buster-staging/main vim 2:8.0.1144-1 (diff) [173 kB]
Fetched 13.5 MB in 2s (6206 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/vim-FU59NL/vim-8.0.1144' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/vim-FU59NL' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-53SocS/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-53SocS/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-53SocS/gpg/trustdb.gpg: trustdb created
gpg: key 37145E60F90AF620: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 37145E60F90AF620: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 37145E60F90AF620: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ Packages [431 B]
Fetched 2107 B in 0s (8249 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ca-certificates libreadline5 libsasl2-modules libssl1.1 openssl
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 776 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [776 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 776 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 15080 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any all)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: autoconf, debhelper (>= 10), dpkg-dev (>= 1.18.8), libacl1-dev, libgpmg1-dev, libgtk-3-dev, libgtk2.0-dev, liblua5.2-dev, libperl-dev, libselinux1-dev, libtinfo-dev | libncurses5-dev, libxaw7-dev, libxpm-dev, libxt-dev, lua5.2, python3-dev, ruby, ruby-dev, tcl-dev
Merged Build-Conflicts: autoconf2.13
Filtered Build-Depends: autoconf, debhelper (>= 10), dpkg-dev (>= 1.18.8), libacl1-dev, libgpmg1-dev, libgtk-3-dev, libgtk2.0-dev, liblua5.2-dev, libperl-dev, libselinux1-dev, libtinfo-dev, libxaw7-dev, libxpm-dev, libxt-dev, lua5.2, python3-dev, ruby, ruby-dev, tcl-dev
Filtered Build-Conflicts: autoconf2.13
dpkg-deb: building package 'sbuild-build-depends-vim-dummy' in '/<<BUILDDIR>>/resolver-53SocS/apt_archive/sbuild-build-depends-vim-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-vim-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ Sources [628 B]
Get:5 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ Packages [677 B]
Fetched 2638 B in 0s (10.2 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install vim build dependencies (apt-based resolver)
---------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libreadline5 libsasl2-modules
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  adwaita-icon-theme autoconf automake autopoint autotools-dev bsdmainutils
  dconf-gsettings-backend dconf-service debhelper dh-autoreconf dh-python
  dh-strip-nondeterminism file fontconfig fontconfig-config fonts-dejavu-core
  gettext gettext-base gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-freedesktop
  gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-gtk-2.0 gir1.2-gtk-3.0
  gir1.2-pango-1.0 glib-networking glib-networking-common
  glib-networking-services groff-base gsettings-desktop-schemas
  gtk-update-icon-cache hicolor-icon-theme icu-devtools intltool-debian
  libacl1-dev libarchive-zip-perl libatk-bridge2.0-0 libatk-bridge2.0-dev
  libatk1.0-0 libatk1.0-data libatk1.0-dev libatspi2.0-0 libatspi2.0-dev
  libattr1-dev libavahi-client3 libavahi-common-data libavahi-common3 libbsd0
  libcairo-gobject2 libcairo-script-interpreter2 libcairo2 libcairo2-dev
  libcolord2 libcroco3 libcups2 libdatrie1 libdbus-1-dev libdconf1 libelf1
  libepoxy-dev libepoxy0 libexpat1 libexpat1-dev
  libfile-stripnondeterminism-perl libfontconfig1 libfontconfig1-dev
  libfreetype6 libfreetype6-dev libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common
  libgdk-pixbuf2.0-dev libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin
  libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libgmp-dev libgmpxx4ldbl
  libgpm-dev libgpm2 libgraphite2-3 libgraphite2-dev libgssapi-krb5-2
  libgtk-3-0 libgtk-3-common libgtk-3-dev libgtk2.0-0 libgtk2.0-common
  libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0
  libharfbuzz0b libice-dev libice6 libicu-dev libicu57 libjbig0
  libjpeg62-turbo libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3
  libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 liblua5.2-0 liblua5.2-dev
  liblzo2-2 libmagic-mgc libmagic1 libmpdec2 libpango-1.0-0 libpango1.0-dev
  libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0 libpcre16-3
  libpcre3-dev libpcre32-3 libpcrecpp0v5 libperl-dev libpipeline1
  libpixman-1-0 libpixman-1-dev libpng-dev libproxy1v5 libpthread-stubs0-dev
  libpython3-dev libpython3-stdlib libpython3.5 libpython3.5-dev
  libpython3.5-minimal libpython3.5-stdlib libreadline-dev libreadline6
  librest-0.7-0 librsvg2-2 librsvg2-common libruby2.3 libselinux1-dev
  libsepol1-dev libsigsegv2 libsm-dev libsm6 libsoup-gnome2.4-1 libsoup2.4-1
  libssl1.0.2 libtcl8.6 libthai-data libthai0 libtiff5 libtimedate-perl
  libtinfo-dev libtool libx11-6 libx11-data libx11-dev libxau-dev libxau6
  libxaw7 libxaw7-dev libxcb-render0 libxcb-render0-dev libxcb-shm0
  libxcb-shm0-dev libxcb1 libxcb1-dev libxcomposite-dev libxcomposite1
  libxcursor-dev libxcursor1 libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6
  libxext-dev libxext6 libxfixes-dev libxfixes3 libxft-dev libxft2 libxi-dev
  libxi6 libxinerama-dev libxinerama1 libxkbcommon-dev libxkbcommon0 libxml2
  libxml2-utils libxmu-dev libxmu-headers libxmu6 libxpm-dev libxpm4
  libxrandr-dev libxrandr2 libxrender-dev libxrender1 libxt-dev libxt6
  libxtst-dev libxtst6 libyaml-0-2 lua5.2 m4 man-db mime-support pkg-config
  po-debconf python3 python3-dev python3-minimal python3.5 python3.5-dev
  python3.5-minimal rake ruby ruby-dev ruby-did-you-mean ruby-minitest
  ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3 ruby2.3-dev
  rubygems-integration shared-mime-info tcl tcl-dev tcl8.6 tcl8.6-dev ucf
  x11-common x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
  x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
  x11proto-record-dev x11proto-render-dev x11proto-xext-dev
  x11proto-xinerama-dev xkb-data xorg-sgml-doctools xtrans-dev zlib1g-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
  libcairo2-doc colord cups-common libglib2.0-doc gmp-doc libgmp10-doc
  libmpfr-dev gpm krb5-doc krb5-user gvfs libgtk-3-doc libgtk2.0-doc
  libice-doc icu-doc liblcms2-utils imagemagick libpango1.0-doc readline-doc
  librsvg2-bin libsm-doc libtool-doc gfortran | fortran95-compiler gcj-jdk
  libxaw-doc libxcb-doc libxext-doc libxt-doc m4-doc less www-browser
  libmail-box-perl python3-doc python3-tk python3-venv python3.5-venv
  python3.5-doc binfmt-support ri bundler tcl-doc tcl-tclreadline tcl8.6-doc
Recommended packages:
  curl | wget | lynx-cur at-spi2-core libarchive-cpio-perl
  libgdk-pixbuf2.0-bin xdg-user-dirs libgtk-3-bin libgail-common libgtk2.0-bin
  python krb5-locales libtool-bin libpng-tools libltdl-dev libx11-doc
  libmail-sendmail-perl zip fonts-lato libjs-jquery
The following NEW packages will be installed:
  adwaita-icon-theme autoconf automake autopoint autotools-dev bsdmainutils
  dconf-gsettings-backend dconf-service debhelper dh-autoreconf dh-python
  dh-strip-nondeterminism file fontconfig fontconfig-config fonts-dejavu-core
  gettext gettext-base gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-freedesktop
  gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-gtk-2.0 gir1.2-gtk-3.0
  gir1.2-pango-1.0 glib-networking glib-networking-common
  glib-networking-services groff-base gsettings-desktop-schemas
  gtk-update-icon-cache hicolor-icon-theme icu-devtools intltool-debian
  libacl1-dev libarchive-zip-perl libatk-bridge2.0-0 libatk-bridge2.0-dev
  libatk1.0-0 libatk1.0-data libatk1.0-dev libatspi2.0-0 libatspi2.0-dev
  libattr1-dev libavahi-client3 libavahi-common-data libavahi-common3 libbsd0
  libcairo-gobject2 libcairo-script-interpreter2 libcairo2 libcairo2-dev
  libcolord2 libcroco3 libcups2 libdatrie1 libdbus-1-dev libdconf1 libelf1
  libepoxy-dev libepoxy0 libexpat1 libexpat1-dev
  libfile-stripnondeterminism-perl libfontconfig1 libfontconfig1-dev
  libfreetype6 libfreetype6-dev libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common
  libgdk-pixbuf2.0-dev libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin
  libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libgmp-dev libgmpxx4ldbl
  libgpm-dev libgpm2 libgraphite2-3 libgraphite2-dev libgssapi-krb5-2
  libgtk-3-0 libgtk-3-common libgtk-3-dev libgtk2.0-0 libgtk2.0-common
  libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0
  libharfbuzz0b libice-dev libice6 libicu-dev libicu57 libjbig0
  libjpeg62-turbo libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3
  libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 liblua5.2-0 liblua5.2-dev
  liblzo2-2 libmagic-mgc libmagic1 libmpdec2 libpango-1.0-0 libpango1.0-dev
  libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0 libpcre16-3
  libpcre3-dev libpcre32-3 libpcrecpp0v5 libperl-dev libpipeline1
  libpixman-1-0 libpixman-1-dev libpng-dev libproxy1v5 libpthread-stubs0-dev
  libpython3-dev libpython3-stdlib libpython3.5 libpython3.5-dev
  libpython3.5-minimal libpython3.5-stdlib libreadline-dev libreadline6
  librest-0.7-0 librsvg2-2 librsvg2-common libruby2.3 libselinux1-dev
  libsepol1-dev libsigsegv2 libsm-dev libsm6 libsoup-gnome2.4-1 libsoup2.4-1
  libssl1.0.2 libtcl8.6 libthai-data libthai0 libtiff5 libtimedate-perl
  libtinfo-dev libtool libx11-6 libx11-data libx11-dev libxau-dev libxau6
  libxaw7 libxaw7-dev libxcb-render0 libxcb-render0-dev libxcb-shm0
  libxcb-shm0-dev libxcb1 libxcb1-dev libxcomposite-dev libxcomposite1
  libxcursor-dev libxcursor1 libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6
  libxext-dev libxext6 libxfixes-dev libxfixes3 libxft-dev libxft2 libxi-dev
  libxi6 libxinerama-dev libxinerama1 libxkbcommon-dev libxkbcommon0 libxml2
  libxml2-utils libxmu-dev libxmu-headers libxmu6 libxpm-dev libxpm4
  libxrandr-dev libxrandr2 libxrender-dev libxrender1 libxt-dev libxt6
  libxtst-dev libxtst6 libyaml-0-2 lua5.2 m4 man-db mime-support pkg-config
  po-debconf python3 python3-dev python3-minimal python3.5 python3.5-dev
  python3.5-minimal rake ruby ruby-dev ruby-did-you-mean ruby-minitest
  ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3 ruby2.3-dev
  rubygems-integration sbuild-build-depends-vim-dummy shared-mime-info tcl
  tcl-dev tcl8.6 tcl8.6-dev ucf x11-common x11proto-composite-dev
  x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev
  x11proto-kb-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev
  x11proto-xext-dev x11proto-xinerama-dev xkb-data xorg-sgml-doctools
  xtrans-dev zlib1g-dev
0 upgraded, 252 newly installed, 0 to remove and 4 not upgraded.
Need to get 153 MB of archives.
After this operation, 484 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-53SocS/apt_archive ./ sbuild-build-depends-vim-dummy 0.invalid.0 [884 B]
Get:2 http://172.17.0.1/private buster-staging/main armhf groff-base armhf 1.22.3-9 [1005 kB]
Get:3 http://172.17.0.1/private buster-staging/main armhf libbsd0 armhf 0.8.6-2 [95.8 kB]
Get:4 http://172.17.0.1/private buster-staging/main armhf bsdmainutils armhf 9.0.12+nmu1 [178 kB]
Get:5 http://172.17.0.1/private buster-staging/main armhf libpipeline1 armhf 1.4.2-1 [24.2 kB]
Get:6 http://172.17.0.1/private buster-staging/main armhf man-db armhf 2.7.6.1-2 [1014 kB]
Get:7 http://172.17.0.1/private buster-staging/main armhf libexpat1 armhf 2.2.3-1 [67.1 kB]
Get:8 http://172.17.0.1/private buster-staging/main armhf libfreetype6 armhf 2.8-0.2 [393 kB]
Get:9 http://172.17.0.1/private buster-staging/main armhf ucf all 3.0036 [70.2 kB]
Get:10 http://172.17.0.1/private buster-staging/main armhf fonts-dejavu-core all 2.37-1 [1068 kB]
Get:11 http://172.17.0.1/private buster-staging/main armhf fontconfig-config all 2.12.3-0.2 [304 kB]
Get:12 http://172.17.0.1/private buster-staging/main armhf libfontconfig1 armhf 2.12.3-0.2 [349 kB]
Get:13 http://172.17.0.1/private buster-staging/main armhf fontconfig armhf 2.12.3-0.2 [435 kB]
Get:14 http://172.17.0.1/private buster-staging/main armhf liblzo2-2 armhf 2.08-1.2 [47.6 kB]
Get:15 http://172.17.0.1/private buster-staging/main armhf libpython3.5-minimal armhf 3.5.4-2 [572 kB]
Get:16 http://172.17.0.1/private buster-staging/main armhf python3.5-minimal armhf 3.5.4-2 [1448 kB]
Get:17 http://172.17.0.1/private buster-staging/main armhf python3-minimal armhf 3.5.3-3 [35.4 kB]
Get:18 http://172.17.0.1/private buster-staging/main armhf mime-support all 3.60 [36.7 kB]
Get:19 http://172.17.0.1/private buster-staging/main armhf libmpdec2 armhf 2.4.2-1 [67.5 kB]
Get:20 http://172.17.0.1/private buster-staging/main armhf libpython3.5-stdlib armhf 3.5.4-2 [2097 kB]
Get:21 http://172.17.0.1/private buster-staging/main armhf python3.5 armhf 3.5.4-2 [241 kB]
Get:22 http://172.17.0.1/private buster-staging/main armhf libpython3-stdlib armhf 3.5.3-3 [18.8 kB]
Get:23 http://172.17.0.1/private buster-staging/main armhf dh-python all 2.20170125 [86.8 kB]
Get:24 http://172.17.0.1/private buster-staging/main armhf python3 armhf 3.5.3-3 [21.8 kB]
Get:25 http://172.17.0.1/private buster-staging/main armhf libreadline6 armhf 6.3-9 [122 kB]
Get:26 http://172.17.0.1/private buster-staging/main armhf libssl1.0.2 armhf 1.0.2l-2 [893 kB]
Get:27 http://172.17.0.1/private buster-staging/main armhf libmagic-mgc armhf 1:5.32-1 [225 kB]
Get:28 http://172.17.0.1/private buster-staging/main armhf libmagic1 armhf 1:5.32-1 [105 kB]
Get:29 http://172.17.0.1/private buster-staging/main armhf file armhf 1:5.32-1 [63.7 kB]
Get:30 http://172.17.0.1/private buster-staging/main armhf gettext-base armhf 0.19.8.1-4 [117 kB]
Get:31 http://172.17.0.1/private buster-staging/main armhf libgpm2 armhf 1.20.4-6.2 [33.0 kB]
Get:32 http://172.17.0.1/private buster-staging/main armhf libkeyutils1 armhf 1.5.9-9 [11.9 kB]
Get:33 http://172.17.0.1/private buster-staging/main armhf libkrb5support0 armhf 1.15.1-2 [58.4 kB]
Get:34 http://172.17.0.1/private buster-staging/main armhf libk5crypto3 armhf 1.15.1-2 [115 kB]
Get:35 http://172.17.0.1/private buster-staging/main armhf libkrb5-3 armhf 1.15.1-2 [265 kB]
Get:36 http://172.17.0.1/private buster-staging/main armhf libgssapi-krb5-2 armhf 1.15.1-2 [132 kB]
Get:37 http://172.17.0.1/private buster-staging/main armhf libicu57 armhf 57.1-6 [7427 kB]
Get:38 http://172.17.0.1/private buster-staging/main armhf libxml2 armhf 2.9.4+dfsg1-4 [609 kB]
Get:39 http://172.17.0.1/private buster-staging/main armhf hicolor-icon-theme all 0.17-1 [11.5 kB]
Get:40 http://172.17.0.1/private buster-staging/main armhf libglib2.0-0 armhf 2.54.0-1 [2650 kB]
Get:41 http://172.17.0.1/private buster-staging/main armhf libjpeg62-turbo armhf 1:1.5.2-2 [110 kB]
Get:42 http://172.17.0.1/private buster-staging/main armhf libjbig0 armhf 2.1-3.1+b2 [27.6 kB]
Get:43 http://172.17.0.1/private buster-staging/main armhf libtiff5 armhf 4.0.8-5 [218 kB]
Get:44 http://172.17.0.1/private buster-staging/main armhf libxau6 armhf 1:1.0.8-1+b2 [19.1 kB]
Get:45 http://172.17.0.1/private buster-staging/main armhf libxdmcp6 armhf 1:1.1.2-3 [25.0 kB]
Get:46 http://172.17.0.1/private buster-staging/main armhf libxcb1 armhf 1.12-1 [129 kB]
Get:47 http://172.17.0.1/private buster-staging/main armhf libx11-data all 2:1.6.4-3 [290 kB]
Get:48 http://172.17.0.1/private buster-staging/main armhf libx11-6 armhf 2:1.6.4-3 [683 kB]
Get:49 http://172.17.0.1/private buster-staging/main armhf shared-mime-info armhf 1.8-1 [727 kB]
Get:50 http://172.17.0.1/private buster-staging/main armhf libgdk-pixbuf2.0-common all 2.36.10-2 [312 kB]
Get:51 http://172.17.0.1/private buster-staging/main armhf libgdk-pixbuf2.0-0 armhf 2.36.10-2 [153 kB]
Get:52 http://172.17.0.1/private buster-staging/main armhf gtk-update-icon-cache armhf 3.22.21-1+rpi1 [76.1 kB]
Get:53 http://172.17.0.1/private buster-staging/main armhf libpixman-1-0 armhf 0.34.0-1 [451 kB]
Get:54 http://172.17.0.1/private buster-staging/main armhf libxcb-render0 armhf 1.12-1 [104 kB]
Get:55 http://172.17.0.1/private buster-staging/main armhf libxcb-shm0 armhf 1.12-1 [95.9 kB]
Get:56 http://172.17.0.1/private buster-staging/main armhf libxext6 armhf 2:1.3.3-1+b2 [47.8 kB]
Get:57 http://172.17.0.1/private buster-staging/main armhf libxrender1 armhf 1:0.9.10-1 [29.9 kB]
Get:58 http://172.17.0.1/private buster-staging/main armhf libcairo2 armhf 1.14.10-1 [692 kB]
Get:59 http://172.17.0.1/private buster-staging/main armhf libcroco3 armhf 0.6.12-1 [132 kB]
Get:60 http://172.17.0.1/private buster-staging/main armhf libthai-data all 0.1.26-3 [166 kB]
Get:61 http://172.17.0.1/private buster-staging/main armhf libdatrie1 armhf 0.2.10-5 [33.0 kB]
Get:62 http://172.17.0.1/private buster-staging/main armhf libthai0 armhf 0.1.26-3 [49.6 kB]
Get:63 http://172.17.0.1/private buster-staging/main armhf libpango-1.0-0 armhf 1.40.12-1 [179 kB]
Get:64 http://172.17.0.1/private buster-staging/main armhf libgraphite2-3 armhf 1.3.10-4 [71.6 kB]
Get:65 http://172.17.0.1/private buster-staging/main armhf libharfbuzz0b armhf 1.4.2-1 [640 kB]
Get:66 http://172.17.0.1/private buster-staging/main armhf libpangoft2-1.0-0 armhf 1.40.12-1 [72.0 kB]
Get:67 http://172.17.0.1/private buster-staging/main armhf libpangocairo-1.0-0 armhf 1.40.12-1 [61.2 kB]
Get:68 http://172.17.0.1/private buster-staging/main armhf librsvg2-2 armhf 2.40.18-1 [268 kB]
Get:69 http://172.17.0.1/private buster-staging/main armhf librsvg2-common armhf 2.40.18-1 [195 kB]
Get:70 http://172.17.0.1/private buster-staging/main armhf adwaita-icon-theme all 3.26.0-1 [12.5 MB]
Get:71 http://172.17.0.1/private buster-staging/main armhf libsigsegv2 armhf 2.11-1 [29.3 kB]
Get:72 http://172.17.0.1/private buster-staging/main armhf m4 armhf 1.4.18-1 [185 kB]
Get:73 http://172.17.0.1/private buster-staging/main armhf autoconf all 2.69-11 [341 kB]
Get:74 http://172.17.0.1/private buster-staging/main armhf autotools-dev all 20161112.1 [73.4 kB]
Get:75 http://172.17.0.1/private buster-staging/main armhf automake all 1:1.15.1-3 [736 kB]
Get:76 http://172.17.0.1/private buster-staging/main armhf autopoint all 0.19.8.1-4 [434 kB]
Get:77 http://172.17.0.1/private buster-staging/main armhf libdconf1 armhf 0.26.0-2 [33.3 kB]
Get:78 http://172.17.0.1/private buster-staging/main armhf dconf-service armhf 0.26.0-2 [30.1 kB]
Get:79 http://172.17.0.1/private buster-staging/main armhf dconf-gsettings-backend armhf 0.26.0-2 [22.5 kB]
Get:80 http://172.17.0.1/private buster-staging/main armhf libtool all 2.4.6-2 [545 kB]
Get:81 http://172.17.0.1/private buster-staging/main armhf dh-autoreconf all 14 [15.9 kB]
Get:82 http://172.17.0.1/private buster-staging/main armhf libarchive-zip-perl all 1.59-1 [95.5 kB]
Get:83 http://172.17.0.1/private buster-staging/main armhf libfile-stripnondeterminism-perl all 0.038-1 [17.6 kB]
Get:84 http://172.17.0.1/private buster-staging/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
Get:85 http://172.17.0.1/private buster-staging/main armhf dh-strip-nondeterminism all 0.038-1 [11.1 kB]
Get:86 http://172.17.0.1/private buster-staging/main armhf gettext armhf 0.19.8.1-4 [1218 kB]
Get:87 http://172.17.0.1/private buster-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:88 http://172.17.0.1/private buster-staging/main armhf po-debconf all 1.0.20 [247 kB]
Get:89 http://172.17.0.1/private buster-staging/main armhf debhelper all 10.8 [973 kB]
Get:90 http://172.17.0.1/private buster-staging/main armhf libgirepository-1.0-1 armhf 1.54.0-2 [77.0 kB]
Get:91 http://172.17.0.1/private buster-staging/main armhf gir1.2-glib-2.0 armhf 1.54.0-2 [141 kB]
Get:92 http://172.17.0.1/private buster-staging/main armhf libatk1.0-data all 2.26.0-2 [145 kB]
Get:93 http://172.17.0.1/private buster-staging/main armhf libatk1.0-0 armhf 2.26.0-2 [42.3 kB]
Get:94 http://172.17.0.1/private buster-staging/main armhf gir1.2-atk-1.0 armhf 2.26.0-2 [24.7 kB]
Get:95 http://172.17.0.1/private buster-staging/main armhf libcairo-gobject2 armhf 1.14.10-1 [338 kB]
Get:96 http://172.17.0.1/private buster-staging/main armhf gir1.2-freedesktop armhf 1.54.0-2 [19.1 kB]
Get:97 http://172.17.0.1/private buster-staging/main armhf libxi6 armhf 2:1.7.9-1 [77.8 kB]
Get:98 http://172.17.0.1/private buster-staging/main armhf x11-common all 1:7.7+19 [251 kB]
Get:99 http://172.17.0.1/private buster-staging/main armhf libxtst6 armhf 2:1.2.3-1 [26.3 kB]
Get:100 http://172.17.0.1/private buster-staging/main armhf libatspi2.0-0 armhf 2.26.0-2 [54.1 kB]
Get:101 http://172.17.0.1/private buster-staging/main armhf gir1.2-atspi-2.0 armhf 2.26.0-2 [20.6 kB]
Get:102 http://172.17.0.1/private buster-staging/main armhf gir1.2-gdkpixbuf-2.0 armhf 2.36.10-2 [15.3 kB]
Get:103 http://172.17.0.1/private buster-staging/main armhf libgtk2.0-common all 2.24.31-2 [2693 kB]
Get:104 http://172.17.0.1/private buster-staging/main armhf libxft2 armhf 2.3.2-1+b2 [49.3 kB]
Get:105 http://172.17.0.1/private buster-staging/main armhf libpangoxft-1.0-0 armhf 1.40.12-1 [56.4 kB]
Get:106 http://172.17.0.1/private buster-staging/main armhf gir1.2-pango-1.0 armhf 1.40.12-1 [65.2 kB]
Get:107 http://172.17.0.1/private buster-staging/main armhf libavahi-common-data armhf 0.7-3 [122 kB]
Get:108 http://172.17.0.1/private buster-staging/main armhf libavahi-common3 armhf 0.7-3 [50.6 kB]
Get:109 http://172.17.0.1/private buster-staging/main armhf libavahi-client3 armhf 0.7-3 [53.4 kB]
Get:110 http://172.17.0.1/private buster-staging/main armhf libcups2 armhf 2.2.4-7+b1 [280 kB]
Get:111 http://172.17.0.1/private buster-staging/main armhf libxcomposite1 armhf 1:0.4.4-2 [16.1 kB]
Get:112 http://172.17.0.1/private buster-staging/main armhf libxfixes3 armhf 1:5.0.3-1 [20.6 kB]
Get:113 http://172.17.0.1/private buster-staging/main armhf libxcursor1 armhf 1:1.1.14-3 [31.8 kB]
Get:114 http://172.17.0.1/private buster-staging/main armhf libxdamage1 armhf 1:1.1.4-3 [14.0 kB]
Get:115 http://172.17.0.1/private buster-staging/main armhf libxinerama1 armhf 2:1.1.3-1+b3 [16.3 kB]
Get:116 http://172.17.0.1/private buster-staging/main armhf libxrandr2 armhf 2:1.5.1-1 [34.5 kB]
Get:117 http://172.17.0.1/private buster-staging/main armhf libgtk2.0-0 armhf 2.24.31-2 [1505 kB]
Get:118 http://172.17.0.1/private buster-staging/main armhf gir1.2-gtk-2.0 armhf 2.24.31-2 [212 kB]
Get:119 http://172.17.0.1/private buster-staging/main armhf libgtk-3-common all 3.22.21-1+rpi1 [3454 kB]
Get:120 http://172.17.0.1/private buster-staging/main armhf libatk-bridge2.0-0 armhf 2.26.0-1 [48.0 kB]
Get:121 http://172.17.0.1/private buster-staging/main armhf liblcms2-2 armhf 2.8-4 [118 kB]
Get:122 http://172.17.0.1/private buster-staging/main armhf libcolord2 armhf 1.3.3-2 [240 kB]
Get:123 http://172.17.0.1/private buster-staging/main armhf libepoxy0 armhf 1.3.1-3 [158 kB]
Get:124 http://172.17.0.1/private buster-staging/main armhf libjson-glib-1.0-common all 1.2.8-1 [168 kB]
Get:125 http://172.17.0.1/private buster-staging/main armhf libjson-glib-1.0-0 armhf 1.2.8-1 [172 kB]
Get:126 http://172.17.0.1/private buster-staging/main armhf libproxy1v5 armhf 0.4.14-3 [50.2 kB]
Get:127 http://172.17.0.1/private buster-staging/main armhf glib-networking-common all 2.54.0-1 [51.0 kB]
Get:128 http://172.17.0.1/private buster-staging/main armhf glib-networking-services armhf 2.54.0-1 [11.6 kB]
Get:129 http://172.17.0.1/private buster-staging/main armhf gsettings-desktop-schemas all 3.24.1-1 [503 kB]
Get:130 http://172.17.0.1/private buster-staging/main armhf glib-networking armhf 2.54.0-1 [48.6 kB]
Get:131 http://172.17.0.1/private buster-staging/main armhf libsoup2.4-1 armhf 2.60.0-1 [252 kB]
Get:132 http://172.17.0.1/private buster-staging/main armhf libsoup-gnome2.4-1 armhf 2.60.0-1 [16.2 kB]
Get:133 http://172.17.0.1/private buster-staging/main armhf librest-0.7-0 armhf 0.8.0-2 [27.8 kB]
Get:134 http://172.17.0.1/private buster-staging/main armhf libgtk-3-0 armhf 3.22.21-1+rpi1 [2093 kB]
Get:135 http://172.17.0.1/private buster-staging/main armhf gir1.2-gtk-3.0 armhf 3.22.21-1+rpi1 [246 kB]
Get:136 http://172.17.0.1/private buster-staging/main armhf icu-devtools armhf 57.1-6 [156 kB]
Get:137 http://172.17.0.1/private buster-staging/main armhf libelf1 armhf 0.170-0.1 [159 kB]
Get:138 http://172.17.0.1/private buster-staging/main armhf libglib2.0-data all 2.54.0-1 [2536 kB]
Get:139 http://172.17.0.1/private buster-staging/main armhf libglib2.0-bin armhf 2.54.0-1 [1592 kB]
Get:140 http://172.17.0.1/private buster-staging/main armhf libglib2.0-dev-bin armhf 2.54.0-1 [1613 kB]
Get:141 http://172.17.0.1/private buster-staging/main armhf libpcre16-3 armhf 2:8.39-4 [235 kB]
Get:142 http://172.17.0.1/private buster-staging/main armhf libpcre32-3 armhf 2:8.39-4 [227 kB]
Get:143 http://172.17.0.1/private buster-staging/main armhf libpcrecpp0v5 armhf 2:8.39-4 [149 kB]
Get:144 http://172.17.0.1/private buster-staging/main armhf libpcre3-dev armhf 2:8.39-4 [565 kB]
Get:145 http://172.17.0.1/private buster-staging/main armhf pkg-config armhf 0.29-4 [59.2 kB]
Get:146 http://172.17.0.1/private buster-staging/main armhf zlib1g-dev armhf 1:1.2.8.dfsg-5 [198 kB]
Get:147 http://172.17.0.1/private buster-staging/main armhf libglib2.0-dev armhf 2.54.0-1 [2695 kB]
Get:148 http://172.17.0.1/private buster-staging/main armhf libdbus-1-dev armhf 1.11.16+really1.10.22-1 [201 kB]
Get:149 http://172.17.0.1/private buster-staging/main armhf xorg-sgml-doctools all 1:1.11-1 [21.9 kB]
Get:150 http://172.17.0.1/private buster-staging/main armhf x11proto-core-dev all 7.0.31-1 [728 kB]
Get:151 http://172.17.0.1/private buster-staging/main armhf libxau-dev armhf 1:1.0.8-1+b2 [22.4 kB]
Get:152 http://172.17.0.1/private buster-staging/main armhf libxdmcp-dev armhf 1:1.1.2-3 [40.9 kB]
Get:153 http://172.17.0.1/private buster-staging/main armhf x11proto-input-dev all 2.3.2-1 [158 kB]
Get:154 http://172.17.0.1/private buster-staging/main armhf x11proto-kb-dev all 1.0.7-1 [233 kB]
Get:155 http://172.17.0.1/private buster-staging/main armhf xtrans-dev all 1.3.5-1 [100 kB]
Get:156 http://172.17.0.1/private buster-staging/main armhf libpthread-stubs0-dev armhf 0.3-4 [4042 B]
Get:157 http://172.17.0.1/private buster-staging/main armhf libxcb1-dev armhf 1.12-1 [165 kB]
Get:158 http://172.17.0.1/private buster-staging/main armhf libx11-dev armhf 2:1.6.4-3 [753 kB]
Get:159 http://172.17.0.1/private buster-staging/main armhf x11proto-xext-dev all 7.3.0-1 [212 kB]
Get:160 http://172.17.0.1/private buster-staging/main armhf libxext-dev armhf 2:1.3.3-1+b2 [102 kB]
Get:161 http://172.17.0.1/private buster-staging/main armhf x11proto-fixes-dev all 1:5.0-2 [19.2 kB]
Get:162 http://172.17.0.1/private buster-staging/main armhf libxfixes-dev armhf 1:5.0.3-1 [22.7 kB]
Get:163 http://172.17.0.1/private buster-staging/main armhf libxi-dev armhf 2:1.7.9-1 [236 kB]
Get:164 http://172.17.0.1/private buster-staging/main armhf x11proto-record-dev all 1.14.2-1 [33.9 kB]
Get:165 http://172.17.0.1/private buster-staging/main armhf libxtst-dev armhf 2:1.2.3-1 [30.5 kB]
Get:166 http://172.17.0.1/private buster-staging/main armhf libatspi2.0-dev armhf 2.26.0-2 [63.6 kB]
Get:167 http://172.17.0.1/private buster-staging/main armhf libatk-bridge2.0-dev armhf 2.26.0-1 [8410 B]
Get:168 http://172.17.0.1/private buster-staging/main armhf libatk1.0-dev armhf 2.26.0-2 [86.9 kB]
Get:169 http://172.17.0.1/private buster-staging/main armhf libcairo-script-interpreter2 armhf 1.14.10-1 [366 kB]
Get:170 http://172.17.0.1/private buster-staging/main armhf libexpat1-dev armhf 2.2.3-1 [120 kB]
Get:171 http://172.17.0.1/private buster-staging/main armhf libpng-dev armhf 1.6.32-3 [274 kB]
Get:172 http://172.17.0.1/private buster-staging/main armhf libfreetype6-dev armhf 2.8-0.2 [2592 kB]
Get:173 http://172.17.0.1/private buster-staging/main armhf libfontconfig1-dev armhf 2.12.3-0.2 [889 kB]
Get:174 http://172.17.0.1/private buster-staging/main armhf x11proto-render-dev all 2:0.11.1-2 [20.8 kB]
Get:175 http://172.17.0.1/private buster-staging/main armhf libxrender-dev armhf 1:0.9.10-1 [37.7 kB]
Get:176 http://172.17.0.1/private buster-staging/main armhf libice6 armhf 2:1.0.9-2 [51.6 kB]
Get:177 http://172.17.0.1/private buster-staging/main armhf libsm6 armhf 2:1.2.2-1+b3 [31.2 kB]
Get:178 http://172.17.0.1/private buster-staging/main armhf libice-dev armhf 2:1.0.9-2 [58.8 kB]
Get:179 http://172.17.0.1/private buster-staging/main armhf libsm-dev armhf 2:1.2.2-1+b3 [33.4 kB]
Get:180 http://172.17.0.1/private buster-staging/main armhf libpixman-1-dev armhf 0.34.0-1 [472 kB]
Get:181 http://172.17.0.1/private buster-staging/main armhf libxcb-render0-dev armhf 1.12-1 [108 kB]
Get:182 http://172.17.0.1/private buster-staging/main armhf libxcb-shm0-dev armhf 1.12-1 [97.1 kB]
Get:183 http://172.17.0.1/private buster-staging/main armhf libcairo2-dev armhf 1.14.10-1 [814 kB]
Get:184 http://172.17.0.1/private buster-staging/main armhf libepoxy-dev armhf 1.3.1-3 [113 kB]
Get:185 http://172.17.0.1/private buster-staging/main armhf libgdk-pixbuf2.0-dev armhf 2.36.10-2 [54.0 kB]
Get:186 http://172.17.0.1/private buster-staging/main armhf libgmpxx4ldbl armhf 2:6.1.2+dfsg-1 [21.5 kB]
Get:187 http://172.17.0.1/private buster-staging/main armhf libgmp-dev armhf 2:6.1.2+dfsg-1 [563 kB]
Get:188 http://172.17.0.1/private buster-staging/main armhf libgpm-dev armhf 1.20.4-6.2 [35.5 kB]
Get:189 http://172.17.0.1/private buster-staging/main armhf libgraphite2-dev armhf 1.3.10-4 [21.7 kB]
Get:190 http://172.17.0.1/private buster-staging/main armhf libharfbuzz-icu0 armhf 1.4.2-1 [465 kB]
Get:191 http://172.17.0.1/private buster-staging/main armhf libharfbuzz-gobject0 armhf 1.4.2-1 [472 kB]
Get:192 http://172.17.0.1/private buster-staging/main armhf libicu-dev armhf 57.1-6 [15.8 MB]
Get:193 http://172.17.0.1/private buster-staging/main armhf libharfbuzz-dev armhf 1.4.2-1 [700 kB]
Get:194 http://172.17.0.1/private buster-staging/main armhf libxft-dev armhf 2.3.2-1+b2 [60.2 kB]
Get:195 http://172.17.0.1/private buster-staging/main armhf libpango1.0-dev armhf 1.40.12-1 [301 kB]
Get:196 http://172.17.0.1/private buster-staging/main armhf x11proto-xinerama-dev all 1.2.1-2 [4938 B]
Get:197 http://172.17.0.1/private buster-staging/main armhf libxinerama-dev armhf 2:1.1.3-1+b3 [18.7 kB]
Get:198 http://172.17.0.1/private buster-staging/main armhf x11proto-randr-dev all 1.5.0-1 [49.7 kB]
Get:199 http://172.17.0.1/private buster-staging/main armhf libxrandr-dev armhf 2:1.5.1-1 [42.5 kB]
Get:200 http://172.17.0.1/private buster-staging/main armhf libxcursor-dev armhf 1:1.1.14-3 [39.5 kB]
Get:201 http://172.17.0.1/private buster-staging/main armhf x11proto-composite-dev all 1:0.4.2-2 [15.3 kB]
Get:202 http://172.17.0.1/private buster-staging/main armhf libxcomposite-dev armhf 1:0.4.4-2 [19.8 kB]
Get:203 http://172.17.0.1/private buster-staging/main armhf x11proto-damage-dev all 1:1.2.1-2 [11.8 kB]
Get:204 http://172.17.0.1/private buster-staging/main armhf libxdamage-dev armhf 1:1.1.4-3 [13.9 kB]
Get:205 http://172.17.0.1/private buster-staging/main armhf xkb-data all 2.19-1.1 [649 kB]
Get:206 http://172.17.0.1/private buster-staging/main armhf libxkbcommon0 armhf 0.7.1-2 [110 kB]
Get:207 http://172.17.0.1/private buster-staging/main armhf libxkbcommon-dev armhf 0.7.1-2 [342 kB]
Get:208 http://172.17.0.1/private buster-staging/main armhf libgtk-3-dev armhf 3.22.21-1+rpi1 [946 kB]
Get:209 http://172.17.0.1/private buster-staging/main armhf libxml2-utils armhf 2.9.4+dfsg1-4 [101 kB]
Get:210 http://172.17.0.1/private buster-staging/main armhf libgtk2.0-dev armhf 2.24.31-2 [2334 kB]
Get:211 http://172.17.0.1/private buster-staging/main armhf liblua5.2-0 armhf 5.2.4-1.1 [82.8 kB]
Get:212 http://172.17.0.1/private buster-staging/main armhf libtinfo-dev armhf 6.0+20170902-1 [66.6 kB]
Get:213 http://172.17.0.1/private buster-staging/main armhf libreadline-dev armhf 7.0-3 [109 kB]
Get:214 http://172.17.0.1/private buster-staging/main armhf liblua5.2-dev armhf 5.2.4-1.1 [115 kB]
Get:215 http://172.17.0.1/private buster-staging/main armhf libperl-dev armhf 5.26.0-8 [2631 kB]
Get:216 http://172.17.0.1/private buster-staging/main armhf libpython3.5 armhf 3.5.4-2 [1174 kB]
Get:217 http://172.17.0.1/private buster-staging/main armhf libpython3.5-dev armhf 3.5.4-2 [37.0 MB]
Get:218 http://172.17.0.1/private buster-staging/main armhf libpython3-dev armhf 3.5.3-3 [18.9 kB]
Get:219 http://172.17.0.1/private buster-staging/main armhf rubygems-integration all 1.11 [4994 B]
Get:220 http://172.17.0.1/private buster-staging/main armhf ruby2.3 armhf 2.3.3-1 [186 kB]
Get:221 http://172.17.0.1/private buster-staging/main armhf ruby armhf 1:2.3.3 [10.8 kB]
Get:222 http://172.17.0.1/private buster-staging/main armhf rake all 12.0.0-1 [45.7 kB]
Get:223 http://172.17.0.1/private buster-staging/main armhf ruby-did-you-mean all 1.0.0-2 [11.2 kB]
Get:224 http://172.17.0.1/private buster-staging/main armhf ruby-minitest all 5.10.3-1 [53.5 kB]
Get:225 http://172.17.0.1/private buster-staging/main armhf ruby-net-telnet all 0.1.1-2 [12.5 kB]
Get:226 http://172.17.0.1/private buster-staging/main armhf ruby-power-assert all 0.3.0-1 [7902 B]
Get:227 http://172.17.0.1/private buster-staging/main armhf ruby-test-unit all 3.2.5-1 [71.7 kB]
Get:228 http://172.17.0.1/private buster-staging/main armhf libyaml-0-2 armhf 0.1.7-2 [39.9 kB]
Get:229 http://172.17.0.1/private buster-staging/main armhf libruby2.3 armhf 2.3.3-1 [2864 kB]
Get:230 http://172.17.0.1/private buster-staging/main armhf libsepol1-dev armhf 2.7-1 [308 kB]
Get:231 http://172.17.0.1/private buster-staging/main armhf libselinux1-dev armhf 2.7-2 [155 kB]
Get:232 http://172.17.0.1/private buster-staging/main armhf libtcl8.6 armhf 8.6.7+dfsg-1 [869 kB]
Get:233 http://172.17.0.1/private buster-staging/main armhf libxt6 armhf 1:1.1.5-1 [155 kB]
Get:234 http://172.17.0.1/private buster-staging/main armhf libxmu6 armhf 2:1.1.2-2 [52.0 kB]
Get:235 http://172.17.0.1/private buster-staging/main armhf libxpm4 armhf 1:3.5.12-1 [43.6 kB]
Get:236 http://172.17.0.1/private buster-staging/main armhf libxaw7 armhf 2:1.0.13-1 [164 kB]
Get:237 http://172.17.0.1/private buster-staging/main armhf libxt-dev armhf 1:1.1.5-1 [390 kB]
Get:238 http://172.17.0.1/private buster-staging/main armhf libxmu-headers all 2:1.1.2-2 [51.9 kB]
Get:239 http://172.17.0.1/private buster-staging/main armhf libxmu-dev armhf 2:1.1.2-2 [56.2 kB]
Get:240 http://172.17.0.1/private buster-staging/main armhf libxpm-dev armhf 1:3.5.12-1 [98.1 kB]
Get:241 http://172.17.0.1/private buster-staging/main armhf libxaw7-dev armhf 2:1.0.13-1 [223 kB]
Get:242 http://172.17.0.1/private buster-staging/main armhf lua5.2 armhf 5.2.4-1.1 [74.4 kB]
Get:243 http://172.17.0.1/private buster-staging/main armhf python3.5-dev armhf 3.5.4-2 [430 kB]
Get:244 http://172.17.0.1/private buster-staging/main armhf python3-dev armhf 3.5.3-3 [1158 B]
Get:245 http://172.17.0.1/private buster-staging/main armhf ruby2.3-dev armhf 2.3.3-1 [1031 kB]
Get:246 http://172.17.0.1/private buster-staging/main armhf ruby-dev armhf 1:2.3.3 [9576 B]
Get:247 http://172.17.0.1/private buster-staging/main armhf tcl8.6 armhf 8.6.7+dfsg-1 [123 kB]
Get:248 http://172.17.0.1/private buster-staging/main armhf tcl armhf 8.6.0+9 [5502 B]
Get:249 http://172.17.0.1/private buster-staging/main armhf tcl8.6-dev armhf 8.6.7+dfsg-1 [895 kB]
Get:250 http://172.17.0.1/private buster-staging/main armhf tcl-dev armhf 8.6.0+9 [7986 B]
Get:251 http://172.17.0.1/private buster-staging/main armhf libattr1-dev armhf 1:2.4.47-2 [38.7 kB]
Get:252 http://172.17.0.1/private buster-staging/main armhf libacl1-dev armhf 2.2.52-3 [84.1 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 153 MB in 35s (4342 kB/s)
Selecting previously unselected package groff-base.
(Reading database ... 15080 files and directories currently installed.)
Preparing to unpack .../00-groff-base_1.22.3-9_armhf.deb ...
Unpacking groff-base (1.22.3-9) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../01-libbsd0_0.8.6-2_armhf.deb ...
Unpacking libbsd0:armhf (0.8.6-2) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../02-bsdmainutils_9.0.12+nmu1_armhf.deb ...
Unpacking bsdmainutils (9.0.12+nmu1) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.4.2-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.2-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.7.6.1-2_armhf.deb ...
Unpacking man-db (2.7.6.1-2) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../05-libexpat1_2.2.3-1_armhf.deb ...
Unpacking libexpat1:armhf (2.2.3-1) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../06-libfreetype6_2.8-0.2_armhf.deb ...
Unpacking libfreetype6:armhf (2.8-0.2) ...
Selecting previously unselected package ucf.
Preparing to unpack .../07-ucf_3.0036_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0036) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../08-fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../09-fontconfig-config_2.12.3-0.2_all.deb ...
Unpacking fontconfig-config (2.12.3-0.2) ...
Selecting previously unselected package libfontconfig1:armhf.
Preparing to unpack .../10-libfontconfig1_2.12.3-0.2_armhf.deb ...
Unpacking libfontconfig1:armhf (2.12.3-0.2) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../11-fontconfig_2.12.3-0.2_armhf.deb ...
Unpacking fontconfig (2.12.3-0.2) ...
Selecting previously unselected package liblzo2-2:armhf.
Preparing to unpack .../12-liblzo2-2_2.08-1.2_armhf.deb ...
Unpacking liblzo2-2:armhf (2.08-1.2) ...
Selecting previously unselected package libpython3.5-minimal:armhf.
Preparing to unpack .../13-libpython3.5-minimal_3.5.4-2_armhf.deb ...
Unpacking libpython3.5-minimal:armhf (3.5.4-2) ...
Selecting previously unselected package python3.5-minimal.
Preparing to unpack .../14-python3.5-minimal_3.5.4-2_armhf.deb ...
Unpacking python3.5-minimal (3.5.4-2) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../15-python3-minimal_3.5.3-3_armhf.deb ...
Unpacking python3-minimal (3.5.3-3) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../16-mime-support_3.60_all.deb ...
Unpacking mime-support (3.60) ...
Selecting previously unselected package libmpdec2:armhf.
Preparing to unpack .../17-libmpdec2_2.4.2-1_armhf.deb ...
Unpacking libmpdec2:armhf (2.4.2-1) ...
Selecting previously unselected package libpython3.5-stdlib:armhf.
Preparing to unpack .../18-libpython3.5-stdlib_3.5.4-2_armhf.deb ...
Unpacking libpython3.5-stdlib:armhf (3.5.4-2) ...
Selecting previously unselected package python3.5.
Preparing to unpack .../19-python3.5_3.5.4-2_armhf.deb ...
Unpacking python3.5 (3.5.4-2) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../20-libpython3-stdlib_3.5.3-3_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.5.3-3) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../21-dh-python_2.20170125_all.deb ...
Unpacking dh-python (2.20170125) ...
Setting up libpython3.5-minimal:armhf (3.5.4-2) ...
Setting up libexpat1:armhf (2.2.3-1) ...
Setting up python3.5-minimal (3.5.4-2) ...
Setting up python3-minimal (3.5.3-3) ...
Selecting previously unselected package python3.
(Reading database ... 16788 files and directories currently installed.)
Preparing to unpack .../000-python3_3.5.3-3_armhf.deb ...
Unpacking python3 (3.5.3-3) ...
Selecting previously unselected package libreadline6:armhf.
Preparing to unpack .../001-libreadline6_6.3-9_armhf.deb ...
Unpacking libreadline6:armhf (6.3-9) ...
Selecting previously unselected package libssl1.0.2:armhf.
Preparing to unpack .../002-libssl1.0.2_1.0.2l-2_armhf.deb ...
Unpacking libssl1.0.2:armhf (1.0.2l-2) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../003-libmagic-mgc_1%3a5.32-1_armhf.deb ...
Unpacking libmagic-mgc (1:5.32-1) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../004-libmagic1_1%3a5.32-1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.32-1) ...
Selecting previously unselected package file.
Preparing to unpack .../005-file_1%3a5.32-1_armhf.deb ...
Unpacking file (1:5.32-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../006-gettext-base_0.19.8.1-4_armhf.deb ...
Unpacking gettext-base (0.19.8.1-4) ...
Selecting previously unselected package libgpm2:armhf.
Preparing to unpack .../007-libgpm2_1.20.4-6.2_armhf.deb ...
Unpacking libgpm2:armhf (1.20.4-6.2) ...
Selecting previously unselected package libkeyutils1:armhf.
Preparing to unpack .../008-libkeyutils1_1.5.9-9_armhf.deb ...
Unpacking libkeyutils1:armhf (1.5.9-9) ...
Selecting previously unselected package libkrb5support0:armhf.
Preparing to unpack .../009-libkrb5support0_1.15.1-2_armhf.deb ...
Unpacking libkrb5support0:armhf (1.15.1-2) ...
Selecting previously unselected package libk5crypto3:armhf.
Preparing to unpack .../010-libk5crypto3_1.15.1-2_armhf.deb ...
Unpacking libk5crypto3:armhf (1.15.1-2) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../011-libkrb5-3_1.15.1-2_armhf.deb ...
Unpacking libkrb5-3:armhf (1.15.1-2) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../012-libgssapi-krb5-2_1.15.1-2_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.15.1-2) ...
Selecting previously unselected package libicu57:armhf.
Preparing to unpack .../013-libicu57_57.1-6_armhf.deb ...
Unpacking libicu57:armhf (57.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../014-libxml2_2.9.4+dfsg1-4_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-4) ...
Selecting previously unselected package hicolor-icon-theme.
Preparing to unpack .../015-hicolor-icon-theme_0.17-1_all.deb ...
Unpacking hicolor-icon-theme (0.17-1) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../016-libglib2.0-0_2.54.0-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.54.0-1) ...
Selecting previously unselected package libjpeg62-turbo:armhf.
Preparing to unpack .../017-libjpeg62-turbo_1%3a1.5.2-2_armhf.deb ...
Unpacking libjpeg62-turbo:armhf (1:1.5.2-2) ...
Selecting previously unselected package libjbig0:armhf.
Preparing to unpack .../018-libjbig0_2.1-3.1+b2_armhf.deb ...
Unpacking libjbig0:armhf (2.1-3.1+b2) ...
Selecting previously unselected package libtiff5:armhf.
Preparing to unpack .../019-libtiff5_4.0.8-5_armhf.deb ...
Unpacking libtiff5:armhf (4.0.8-5) ...
Selecting previously unselected package libxau6:armhf.
Preparing to unpack .../020-libxau6_1%3a1.0.8-1+b2_armhf.deb ...
Unpacking libxau6:armhf (1:1.0.8-1+b2) ...
Selecting previously unselected package libxdmcp6:armhf.
Preparing to unpack .../021-libxdmcp6_1%3a1.1.2-3_armhf.deb ...
Unpacking libxdmcp6:armhf (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:armhf.
Preparing to unpack .../022-libxcb1_1.12-1_armhf.deb ...
Unpacking libxcb1:armhf (1.12-1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../023-libx11-data_2%3a1.6.4-3_all.deb ...
Unpacking libx11-data (2:1.6.4-3) ...
Selecting previously unselected package libx11-6:armhf.
Preparing to unpack .../024-libx11-6_2%3a1.6.4-3_armhf.deb ...
Unpacking libx11-6:armhf (2:1.6.4-3) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../025-shared-mime-info_1.8-1_armhf.deb ...
Unpacking shared-mime-info (1.8-1) ...
Selecting previously unselected package libgdk-pixbuf2.0-common.
Preparing to unpack .../026-libgdk-pixbuf2.0-common_2.36.10-2_all.deb ...
Unpacking libgdk-pixbuf2.0-common (2.36.10-2) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:armhf.
Preparing to unpack .../027-libgdk-pixbuf2.0-0_2.36.10-2_armhf.deb ...
Unpacking libgdk-pixbuf2.0-0:armhf (2.36.10-2) ...
Selecting previously unselected package gtk-update-icon-cache.
Preparing to unpack .../028-gtk-update-icon-cache_3.22.21-1+rpi1_armhf.deb ...
No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed.
No diversion 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin', none removed.
Unpacking gtk-update-icon-cache (3.22.21-1+rpi1) ...
Selecting previously unselected package libpixman-1-0:armhf.
Preparing to unpack .../029-libpixman-1-0_0.34.0-1_armhf.deb ...
Unpacking libpixman-1-0:armhf (0.34.0-1) ...
Selecting previously unselected package libxcb-render0:armhf.
Preparing to unpack .../030-libxcb-render0_1.12-1_armhf.deb ...
Unpacking libxcb-render0:armhf (1.12-1) ...
Selecting previously unselected package libxcb-shm0:armhf.
Preparing to unpack .../031-libxcb-shm0_1.12-1_armhf.deb ...
Unpacking libxcb-shm0:armhf (1.12-1) ...
Selecting previously unselected package libxext6:armhf.
Preparing to unpack .../032-libxext6_2%3a1.3.3-1+b2_armhf.deb ...
Unpacking libxext6:armhf (2:1.3.3-1+b2) ...
Selecting previously unselected package libxrender1:armhf.
Preparing to unpack .../033-libxrender1_1%3a0.9.10-1_armhf.deb ...
Unpacking libxrender1:armhf (1:0.9.10-1) ...
Selecting previously unselected package libcairo2:armhf.
Preparing to unpack .../034-libcairo2_1.14.10-1_armhf.deb ...
Unpacking libcairo2:armhf (1.14.10-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../035-libcroco3_0.6.12-1_armhf.deb ...
Unpacking libcroco3:armhf (0.6.12-1) ...
Selecting previously unselected package libthai-data.
Preparing to unpack .../036-libthai-data_0.1.26-3_all.deb ...
Unpacking libthai-data (0.1.26-3) ...
Selecting previously unselected package libdatrie1:armhf.
Preparing to unpack .../037-libdatrie1_0.2.10-5_armhf.deb ...
Unpacking libdatrie1:armhf (0.2.10-5) ...
Selecting previously unselected package libthai0:armhf.
Preparing to unpack .../038-libthai0_0.1.26-3_armhf.deb ...
Unpacking libthai0:armhf (0.1.26-3) ...
Selecting previously unselected package libpango-1.0-0:armhf.
Preparing to unpack .../039-libpango-1.0-0_1.40.12-1_armhf.deb ...
Unpacking libpango-1.0-0:armhf (1.40.12-1) ...
Selecting previously unselected package libgraphite2-3:armhf.
Preparing to unpack .../040-libgraphite2-3_1.3.10-4_armhf.deb ...
Unpacking libgraphite2-3:armhf (1.3.10-4) ...
Selecting previously unselected package libharfbuzz0b:armhf.
Preparing to unpack .../041-libharfbuzz0b_1.4.2-1_armhf.deb ...
Unpacking libharfbuzz0b:armhf (1.4.2-1) ...
Selecting previously unselected package libpangoft2-1.0-0:armhf.
Preparing to unpack .../042-libpangoft2-1.0-0_1.40.12-1_armhf.deb ...
Unpacking libpangoft2-1.0-0:armhf (1.40.12-1) ...
Selecting previously unselected package libpangocairo-1.0-0:armhf.
Preparing to unpack .../043-libpangocairo-1.0-0_1.40.12-1_armhf.deb ...
Unpacking libpangocairo-1.0-0:armhf (1.40.12-1) ...
Selecting previously unselected package librsvg2-2:armhf.
Preparing to unpack .../044-librsvg2-2_2.40.18-1_armhf.deb ...
Unpacking librsvg2-2:armhf (2.40.18-1) ...
Selecting previously unselected package librsvg2-common:armhf.
Preparing to unpack .../045-librsvg2-common_2.40.18-1_armhf.deb ...
Unpacking librsvg2-common:armhf (2.40.18-1) ...
Selecting previously unselected package adwaita-icon-theme.
Preparing to unpack .../046-adwaita-icon-theme_3.26.0-1_all.deb ...
Unpacking adwaita-icon-theme (3.26.0-1) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../047-libsigsegv2_2.11-1_armhf.deb ...
Unpacking libsigsegv2:armhf (2.11-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../048-m4_1.4.18-1_armhf.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../049-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../050-autotools-dev_20161112.1_all.deb ...
Unpacking autotools-dev (20161112.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../051-automake_1%3a1.15.1-3_all.deb ...
Unpacking automake (1:1.15.1-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../052-autopoint_0.19.8.1-4_all.deb ...
Unpacking autopoint (0.19.8.1-4) ...
Selecting previously unselected package libdconf1:armhf.
Preparing to unpack .../053-libdconf1_0.26.0-2_armhf.deb ...
Unpacking libdconf1:armhf (0.26.0-2) ...
Selecting previously unselected package dconf-service.
Preparing to unpack .../054-dconf-service_0.26.0-2_armhf.deb ...
Unpacking dconf-service (0.26.0-2) ...
Selecting previously unselected package dconf-gsettings-backend:armhf.
Preparing to unpack .../055-dconf-gsettings-backend_0.26.0-2_armhf.deb ...
Unpacking dconf-gsettings-backend:armhf (0.26.0-2) ...
Selecting previously unselected package libtool.
Preparing to unpack .../056-libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../057-dh-autoreconf_14_all.deb ...
Unpacking dh-autoreconf (14) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../058-libarchive-zip-perl_1.59-1_all.deb ...
Unpacking libarchive-zip-perl (1.59-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../059-libfile-stripnondeterminism-perl_0.038-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.038-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../060-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../061-dh-strip-nondeterminism_0.038-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.038-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../062-gettext_0.19.8.1-4_armhf.deb ...
Unpacking gettext (0.19.8.1-4) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../063-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../064-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../065-debhelper_10.8_all.deb ...
Unpacking debhelper (10.8) ...
Selecting previously unselected package libgirepository-1.0-1:armhf.
Preparing to unpack .../066-libgirepository-1.0-1_1.54.0-2_armhf.deb ...
Unpacking libgirepository-1.0-1:armhf (1.54.0-2) ...
Selecting previously unselected package gir1.2-glib-2.0:armhf.
Preparing to unpack .../067-gir1.2-glib-2.0_1.54.0-2_armhf.deb ...
Unpacking gir1.2-glib-2.0:armhf (1.54.0-2) ...
Selecting previously unselected package libatk1.0-data.
Preparing to unpack .../068-libatk1.0-data_2.26.0-2_all.deb ...
Unpacking libatk1.0-data (2.26.0-2) ...
Selecting previously unselected package libatk1.0-0:armhf.
Preparing to unpack .../069-libatk1.0-0_2.26.0-2_armhf.deb ...
Unpacking libatk1.0-0:armhf (2.26.0-2) ...
Selecting previously unselected package gir1.2-atk-1.0:armhf.
Preparing to unpack .../070-gir1.2-atk-1.0_2.26.0-2_armhf.deb ...
Unpacking gir1.2-atk-1.0:armhf (2.26.0-2) ...
Selecting previously unselected package libcairo-gobject2:armhf.
Preparing to unpack .../071-libcairo-gobject2_1.14.10-1_armhf.deb ...
Unpacking libcairo-gobject2:armhf (1.14.10-1) ...
Selecting previously unselected package gir1.2-freedesktop:armhf.
Preparing to unpack .../072-gir1.2-freedesktop_1.54.0-2_armhf.deb ...
Unpacking gir1.2-freedesktop:armhf (1.54.0-2) ...
Selecting previously unselected package libxi6:armhf.
Preparing to unpack .../073-libxi6_2%3a1.7.9-1_armhf.deb ...
Unpacking libxi6:armhf (2:1.7.9-1) ...
Selecting previously unselected package x11-common.
Preparing to unpack .../074-x11-common_1%3a7.7+19_all.deb ...
Unpacking x11-common (1:7.7+19) ...
Selecting previously unselected package libxtst6:armhf.
Preparing to unpack .../075-libxtst6_2%3a1.2.3-1_armhf.deb ...
Unpacking libxtst6:armhf (2:1.2.3-1) ...
Selecting previously unselected package libatspi2.0-0:armhf.
Preparing to unpack .../076-libatspi2.0-0_2.26.0-2_armhf.deb ...
Unpacking libatspi2.0-0:armhf (2.26.0-2) ...
Selecting previously unselected package gir1.2-atspi-2.0:armhf.
Preparing to unpack .../077-gir1.2-atspi-2.0_2.26.0-2_armhf.deb ...
Unpacking gir1.2-atspi-2.0:armhf (2.26.0-2) ...
Selecting previously unselected package gir1.2-gdkpixbuf-2.0:armhf.
Preparing to unpack .../078-gir1.2-gdkpixbuf-2.0_2.36.10-2_armhf.deb ...
Unpacking gir1.2-gdkpixbuf-2.0:armhf (2.36.10-2) ...
Selecting previously unselected package libgtk2.0-common.
Preparing to unpack .../079-libgtk2.0-common_2.24.31-2_all.deb ...
Unpacking libgtk2.0-common (2.24.31-2) ...
Selecting previously unselected package libxft2:armhf.
Preparing to unpack .../080-libxft2_2.3.2-1+b2_armhf.deb ...
Unpacking libxft2:armhf (2.3.2-1+b2) ...
Selecting previously unselected package libpangoxft-1.0-0:armhf.
Preparing to unpack .../081-libpangoxft-1.0-0_1.40.12-1_armhf.deb ...
Unpacking libpangoxft-1.0-0:armhf (1.40.12-1) ...
Selecting previously unselected package gir1.2-pango-1.0:armhf.
Preparing to unpack .../082-gir1.2-pango-1.0_1.40.12-1_armhf.deb ...
Unpacking gir1.2-pango-1.0:armhf (1.40.12-1) ...
Selecting previously unselected package libavahi-common-data:armhf.
Preparing to unpack .../083-libavahi-common-data_0.7-3_armhf.deb ...
Unpacking libavahi-common-data:armhf (0.7-3) ...
Selecting previously unselected package libavahi-common3:armhf.
Preparing to unpack .../084-libavahi-common3_0.7-3_armhf.deb ...
Unpacking libavahi-common3:armhf (0.7-3) ...
Selecting previously unselected package libavahi-client3:armhf.
Preparing to unpack .../085-libavahi-client3_0.7-3_armhf.deb ...
Unpacking libavahi-client3:armhf (0.7-3) ...
Selecting previously unselected package libcups2:armhf.
Preparing to unpack .../086-libcups2_2.2.4-7+b1_armhf.deb ...
Unpacking libcups2:armhf (2.2.4-7+b1) ...
Selecting previously unselected package libxcomposite1:armhf.
Preparing to unpack .../087-libxcomposite1_1%3a0.4.4-2_armhf.deb ...
Unpacking libxcomposite1:armhf (1:0.4.4-2) ...
Selecting previously unselected package libxfixes3:armhf.
Preparing to unpack .../088-libxfixes3_1%3a5.0.3-1_armhf.deb ...
Unpacking libxfixes3:armhf (1:5.0.3-1) ...
Selecting previously unselected package libxcursor1:armhf.
Preparing to unpack .../089-libxcursor1_1%3a1.1.14-3_armhf.deb ...
Unpacking libxcursor1:armhf (1:1.1.14-3) ...
Selecting previously unselected package libxdamage1:armhf.
Preparing to unpack .../090-libxdamage1_1%3a1.1.4-3_armhf.deb ...
Unpacking libxdamage1:armhf (1:1.1.4-3) ...
Selecting previously unselected package libxinerama1:armhf.
Preparing to unpack .../091-libxinerama1_2%3a1.1.3-1+b3_armhf.deb ...
Unpacking libxinerama1:armhf (2:1.1.3-1+b3) ...
Selecting previously unselected package libxrandr2:armhf.
Preparing to unpack .../092-libxrandr2_2%3a1.5.1-1_armhf.deb ...
Unpacking libxrandr2:armhf (2:1.5.1-1) ...
Selecting previously unselected package libgtk2.0-0:armhf.
Preparing to unpack .../093-libgtk2.0-0_2.24.31-2_armhf.deb ...
Unpacking libgtk2.0-0:armhf (2.24.31-2) ...
Selecting previously unselected package gir1.2-gtk-2.0.
Preparing to unpack .../094-gir1.2-gtk-2.0_2.24.31-2_armhf.deb ...
Unpacking gir1.2-gtk-2.0 (2.24.31-2) ...
Selecting previously unselected package libgtk-3-common.
Preparing to unpack .../095-libgtk-3-common_3.22.21-1+rpi1_all.deb ...
Unpacking libgtk-3-common (3.22.21-1+rpi1) ...
Selecting previously unselected package libatk-bridge2.0-0:armhf.
Preparing to unpack .../096-libatk-bridge2.0-0_2.26.0-1_armhf.deb ...
Unpacking libatk-bridge2.0-0:armhf (2.26.0-1) ...
Selecting previously unselected package liblcms2-2:armhf.
Preparing to unpack .../097-liblcms2-2_2.8-4_armhf.deb ...
Unpacking liblcms2-2:armhf (2.8-4) ...
Selecting previously unselected package libcolord2:armhf.
Preparing to unpack .../098-libcolord2_1.3.3-2_armhf.deb ...
Unpacking libcolord2:armhf (1.3.3-2) ...
Selecting previously unselected package libepoxy0:armhf.
Preparing to unpack .../099-libepoxy0_1.3.1-3_armhf.deb ...
Unpacking libepoxy0:armhf (1.3.1-3) ...
Selecting previously unselected package libjson-glib-1.0-common.
Preparing to unpack .../100-libjson-glib-1.0-common_1.2.8-1_all.deb ...
Unpacking libjson-glib-1.0-common (1.2.8-1) ...
Selecting previously unselected package libjson-glib-1.0-0:armhf.
Preparing to unpack .../101-libjson-glib-1.0-0_1.2.8-1_armhf.deb ...
Unpacking libjson-glib-1.0-0:armhf (1.2.8-1) ...
Selecting previously unselected package libproxy1v5:armhf.
Preparing to unpack .../102-libproxy1v5_0.4.14-3_armhf.deb ...
Unpacking libproxy1v5:armhf (0.4.14-3) ...
Selecting previously unselected package glib-networking-common.
Preparing to unpack .../103-glib-networking-common_2.54.0-1_all.deb ...
Unpacking glib-networking-common (2.54.0-1) ...
Selecting previously unselected package glib-networking-services.
Preparing to unpack .../104-glib-networking-services_2.54.0-1_armhf.deb ...
Unpacking glib-networking-services (2.54.0-1) ...
Selecting previously unselected package gsettings-desktop-schemas.
Preparing to unpack .../105-gsettings-desktop-schemas_3.24.1-1_all.deb ...
Unpacking gsettings-desktop-schemas (3.24.1-1) ...
Selecting previously unselected package glib-networking:armhf.
Preparing to unpack .../106-glib-networking_2.54.0-1_armhf.deb ...
Unpacking glib-networking:armhf (2.54.0-1) ...
Selecting previously unselected package libsoup2.4-1:armhf.
Preparing to unpack .../107-libsoup2.4-1_2.60.0-1_armhf.deb ...
Unpacking libsoup2.4-1:armhf (2.60.0-1) ...
Selecting previously unselected package libsoup-gnome2.4-1:armhf.
Preparing to unpack .../108-libsoup-gnome2.4-1_2.60.0-1_armhf.deb ...
Unpacking libsoup-gnome2.4-1:armhf (2.60.0-1) ...
Selecting previously unselected package librest-0.7-0:armhf.
Preparing to unpack .../109-librest-0.7-0_0.8.0-2_armhf.deb ...
Unpacking librest-0.7-0:armhf (0.8.0-2) ...
Selecting previously unselected package libgtk-3-0:armhf.
Preparing to unpack .../110-libgtk-3-0_3.22.21-1+rpi1_armhf.deb ...
Unpacking libgtk-3-0:armhf (3.22.21-1+rpi1) ...
Selecting previously unselected package gir1.2-gtk-3.0:armhf.
Preparing to unpack .../111-gir1.2-gtk-3.0_3.22.21-1+rpi1_armhf.deb ...
Unpacking gir1.2-gtk-3.0:armhf (3.22.21-1+rpi1) ...
Selecting previously unselected package icu-devtools.
Preparing to unpack .../112-icu-devtools_57.1-6_armhf.deb ...
Unpacking icu-devtools (57.1-6) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../113-libelf1_0.170-0.1_armhf.deb ...
Unpacking libelf1:armhf (0.170-0.1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../114-libglib2.0-data_2.54.0-1_all.deb ...
Unpacking libglib2.0-data (2.54.0-1) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../115-libglib2.0-bin_2.54.0-1_armhf.deb ...
Unpacking libglib2.0-bin (2.54.0-1) ...
Selecting previously unselected package libglib2.0-dev-bin.
Preparing to unpack .../116-libglib2.0-dev-bin_2.54.0-1_armhf.deb ...
Unpacking libglib2.0-dev-bin (2.54.0-1) ...
Selecting previously unselected package libpcre16-3:armhf.
Preparing to unpack .../117-libpcre16-3_2%3a8.39-4_armhf.deb ...
Unpacking libpcre16-3:armhf (2:8.39-4) ...
Selecting previously unselected package libpcre32-3:armhf.
Preparing to unpack .../118-libpcre32-3_2%3a8.39-4_armhf.deb ...
Unpacking libpcre32-3:armhf (2:8.39-4) ...
Selecting previously unselected package libpcrecpp0v5:armhf.
Preparing to unpack .../119-libpcrecpp0v5_2%3a8.39-4_armhf.deb ...
Unpacking libpcrecpp0v5:armhf (2:8.39-4) ...
Selecting previously unselected package libpcre3-dev:armhf.
Preparing to unpack .../120-libpcre3-dev_2%3a8.39-4_armhf.deb ...
Unpacking libpcre3-dev:armhf (2:8.39-4) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../121-pkg-config_0.29-4_armhf.deb ...
Unpacking pkg-config (0.29-4) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../122-zlib1g-dev_1%3a1.2.8.dfsg-5_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-5) ...
Selecting previously unselected package libglib2.0-dev:armhf.
Preparing to unpack .../123-libglib2.0-dev_2.54.0-1_armhf.deb ...
Unpacking libglib2.0-dev:armhf (2.54.0-1) ...
Selecting previously unselected package libdbus-1-dev:armhf.
Preparing to unpack .../124-libdbus-1-dev_1.11.16+really1.10.22-1_armhf.deb ...
Unpacking libdbus-1-dev:armhf (1.11.16+really1.10.22-1) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../125-xorg-sgml-doctools_1%3a1.11-1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../126-x11proto-core-dev_7.0.31-1_all.deb ...
Unpacking x11proto-core-dev (7.0.31-1) ...
Selecting previously unselected package libxau-dev:armhf.
Preparing to unpack .../127-libxau-dev_1%3a1.0.8-1+b2_armhf.deb ...
Unpacking libxau-dev:armhf (1:1.0.8-1+b2) ...
Selecting previously unselected package libxdmcp-dev:armhf.
Preparing to unpack .../128-libxdmcp-dev_1%3a1.1.2-3_armhf.deb ...
Unpacking libxdmcp-dev:armhf (1:1.1.2-3) ...
Selecting previously unselected package x11proto-input-dev.
Preparing to unpack .../129-x11proto-input-dev_2.3.2-1_all.deb ...
Unpacking x11proto-input-dev (2.3.2-1) ...
Selecting previously unselected package x11proto-kb-dev.
Preparing to unpack .../130-x11proto-kb-dev_1.0.7-1_all.deb ...
Unpacking x11proto-kb-dev (1.0.7-1) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../131-xtrans-dev_1.3.5-1_all.deb ...
Unpacking xtrans-dev (1.3.5-1) ...
Selecting previously unselected package libpthread-stubs0-dev:armhf.
Preparing to unpack .../132-libpthread-stubs0-dev_0.3-4_armhf.deb ...
Unpacking libpthread-stubs0-dev:armhf (0.3-4) ...
Selecting previously unselected package libxcb1-dev:armhf.
Preparing to unpack .../133-libxcb1-dev_1.12-1_armhf.deb ...
Unpacking libxcb1-dev:armhf (1.12-1) ...
Selecting previously unselected package libx11-dev:armhf.
Preparing to unpack .../134-libx11-dev_2%3a1.6.4-3_armhf.deb ...
Unpacking libx11-dev:armhf (2:1.6.4-3) ...
Selecting previously unselected package x11proto-xext-dev.
Preparing to unpack .../135-x11proto-xext-dev_7.3.0-1_all.deb ...
Unpacking x11proto-xext-dev (7.3.0-1) ...
Selecting previously unselected package libxext-dev:armhf.
Preparing to unpack .../136-libxext-dev_2%3a1.3.3-1+b2_armhf.deb ...
Unpacking libxext-dev:armhf (2:1.3.3-1+b2) ...
Selecting previously unselected package x11proto-fixes-dev.
Preparing to unpack .../137-x11proto-fixes-dev_1%3a5.0-2_all.deb ...
Unpacking x11proto-fixes-dev (1:5.0-2) ...
Selecting previously unselected package libxfixes-dev:armhf.
Preparing to unpack .../138-libxfixes-dev_1%3a5.0.3-1_armhf.deb ...
Unpacking libxfixes-dev:armhf (1:5.0.3-1) ...
Selecting previously unselected package libxi-dev:armhf.
Preparing to unpack .../139-libxi-dev_2%3a1.7.9-1_armhf.deb ...
Unpacking libxi-dev:armhf (2:1.7.9-1) ...
Selecting previously unselected package x11proto-record-dev.
Preparing to unpack .../140-x11proto-record-dev_1.14.2-1_all.deb ...
Unpacking x11proto-record-dev (1.14.2-1) ...
Selecting previously unselected package libxtst-dev:armhf.
Preparing to unpack .../141-libxtst-dev_2%3a1.2.3-1_armhf.deb ...
Unpacking libxtst-dev:armhf (2:1.2.3-1) ...
Selecting previously unselected package libatspi2.0-dev:armhf.
Preparing to unpack .../142-libatspi2.0-dev_2.26.0-2_armhf.deb ...
Unpacking libatspi2.0-dev:armhf (2.26.0-2) ...
Selecting previously unselected package libatk-bridge2.0-dev:armhf.
Preparing to unpack .../143-libatk-bridge2.0-dev_2.26.0-1_armhf.deb ...
Unpacking libatk-bridge2.0-dev:armhf (2.26.0-1) ...
Selecting previously unselected package libatk1.0-dev:armhf.
Preparing to unpack .../144-libatk1.0-dev_2.26.0-2_armhf.deb ...
Unpacking libatk1.0-dev:armhf (2.26.0-2) ...
Selecting previously unselected package libcairo-script-interpreter2:armhf.
Preparing to unpack .../145-libcairo-script-interpreter2_1.14.10-1_armhf.deb ...
Unpacking libcairo-script-interpreter2:armhf (1.14.10-1) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../146-libexpat1-dev_2.2.3-1_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.2.3-1) ...
Selecting previously unselected package libpng-dev:armhf.
Preparing to unpack .../147-libpng-dev_1.6.32-3_armhf.deb ...
Unpacking libpng-dev:armhf (1.6.32-3) ...
Selecting previously unselected package libfreetype6-dev.
Preparing to unpack .../148-libfreetype6-dev_2.8-0.2_armhf.deb ...
Unpacking libfreetype6-dev (2.8-0.2) ...
Selecting previously unselected package libfontconfig1-dev:armhf.
Preparing to unpack .../149-libfontconfig1-dev_2.12.3-0.2_armhf.deb ...
Unpacking libfontconfig1-dev:armhf (2.12.3-0.2) ...
Selecting previously unselected package x11proto-render-dev.
Preparing to unpack .../150-x11proto-render-dev_2%3a0.11.1-2_all.deb ...
Unpacking x11proto-render-dev (2:0.11.1-2) ...
Selecting previously unselected package libxrender-dev:armhf.
Preparing to unpack .../151-libxrender-dev_1%3a0.9.10-1_armhf.deb ...
Unpacking libxrender-dev:armhf (1:0.9.10-1) ...
Selecting previously unselected package libice6:armhf.
Preparing to unpack .../152-libice6_2%3a1.0.9-2_armhf.deb ...
Unpacking libice6:armhf (2:1.0.9-2) ...
Selecting previously unselected package libsm6:armhf.
Preparing to unpack .../153-libsm6_2%3a1.2.2-1+b3_armhf.deb ...
Unpacking libsm6:armhf (2:1.2.2-1+b3) ...
Selecting previously unselected package libice-dev:armhf.
Preparing to unpack .../154-libice-dev_2%3a1.0.9-2_armhf.deb ...
Unpacking libice-dev:armhf (2:1.0.9-2) ...
Selecting previously unselected package libsm-dev:armhf.
Preparing to unpack .../155-libsm-dev_2%3a1.2.2-1+b3_armhf.deb ...
Unpacking libsm-dev:armhf (2:1.2.2-1+b3) ...
Selecting previously unselected package libpixman-1-dev.
Preparing to unpack .../156-libpixman-1-dev_0.34.0-1_armhf.deb ...
Unpacking libpixman-1-dev (0.34.0-1) ...
Selecting previously unselected package libxcb-render0-dev:armhf.
Preparing to unpack .../157-libxcb-render0-dev_1.12-1_armhf.deb ...
Unpacking libxcb-render0-dev:armhf (1.12-1) ...
Selecting previously unselected package libxcb-shm0-dev:armhf.
Preparing to unpack .../158-libxcb-shm0-dev_1.12-1_armhf.deb ...
Unpacking libxcb-shm0-dev:armhf (1.12-1) ...
Selecting previously unselected package libcairo2-dev.
Preparing to unpack .../159-libcairo2-dev_1.14.10-1_armhf.deb ...
Unpacking libcairo2-dev (1.14.10-1) ...
Selecting previously unselected package libepoxy-dev:armhf.
Preparing to unpack .../160-libepoxy-dev_1.3.1-3_armhf.deb ...
Unpacking libepoxy-dev:armhf (1.3.1-3) ...
Selecting previously unselected package libgdk-pixbuf2.0-dev.
Preparing to unpack .../161-libgdk-pixbuf2.0-dev_2.36.10-2_armhf.deb ...
Unpacking libgdk-pixbuf2.0-dev (2.36.10-2) ...
Selecting previously unselected package libgmpxx4ldbl:armhf.
Preparing to unpack .../162-libgmpxx4ldbl_2%3a6.1.2+dfsg-1_armhf.deb ...
Unpacking libgmpxx4ldbl:armhf (2:6.1.2+dfsg-1) ...
Selecting previously unselected package libgmp-dev:armhf.
Preparing to unpack .../163-libgmp-dev_2%3a6.1.2+dfsg-1_armhf.deb ...
Unpacking libgmp-dev:armhf (2:6.1.2+dfsg-1) ...
Selecting previously unselected package libgpm-dev:armhf.
Preparing to unpack .../164-libgpm-dev_1.20.4-6.2_armhf.deb ...
Unpacking libgpm-dev:armhf (1.20.4-6.2) ...
Selecting previously unselected package libgraphite2-dev:armhf.
Preparing to unpack .../165-libgraphite2-dev_1.3.10-4_armhf.deb ...
Unpacking libgraphite2-dev:armhf (1.3.10-4) ...
Selecting previously unselected package libharfbuzz-icu0:armhf.
Preparing to unpack .../166-libharfbuzz-icu0_1.4.2-1_armhf.deb ...
Unpacking libharfbuzz-icu0:armhf (1.4.2-1) ...
Selecting previously unselected package libharfbuzz-gobject0:armhf.
Preparing to unpack .../167-libharfbuzz-gobject0_1.4.2-1_armhf.deb ...
Unpacking libharfbuzz-gobject0:armhf (1.4.2-1) ...
Selecting previously unselected package libicu-dev.
Preparing to unpack .../168-libicu-dev_57.1-6_armhf.deb ...
Unpacking libicu-dev (57.1-6) ...
Selecting previously unselected package libharfbuzz-dev:armhf.
Preparing to unpack .../169-libharfbuzz-dev_1.4.2-1_armhf.deb ...
Unpacking libharfbuzz-dev:armhf (1.4.2-1) ...
Selecting previously unselected package libxft-dev.
Preparing to unpack .../170-libxft-dev_2.3.2-1+b2_armhf.deb ...
Unpacking libxft-dev (2.3.2-1+b2) ...
Selecting previously unselected package libpango1.0-dev.
Preparing to unpack .../171-libpango1.0-dev_1.40.12-1_armhf.deb ...
Unpacking libpango1.0-dev (1.40.12-1) ...
Selecting previously unselected package x11proto-xinerama-dev.
Preparing to unpack .../172-x11proto-xinerama-dev_1.2.1-2_all.deb ...
Unpacking x11proto-xinerama-dev (1.2.1-2) ...
Selecting previously unselected package libxinerama-dev:armhf.
Preparing to unpack .../173-libxinerama-dev_2%3a1.1.3-1+b3_armhf.deb ...
Unpacking libxinerama-dev:armhf (2:1.1.3-1+b3) ...
Selecting previously unselected package x11proto-randr-dev.
Preparing to unpack .../174-x11proto-randr-dev_1.5.0-1_all.deb ...
Unpacking x11proto-randr-dev (1.5.0-1) ...
Selecting previously unselected package libxrandr-dev:armhf.
Preparing to unpack .../175-libxrandr-dev_2%3a1.5.1-1_armhf.deb ...
Unpacking libxrandr-dev:armhf (2:1.5.1-1) ...
Selecting previously unselected package libxcursor-dev:armhf.
Preparing to unpack .../176-libxcursor-dev_1%3a1.1.14-3_armhf.deb ...
Unpacking libxcursor-dev:armhf (1:1.1.14-3) ...
Selecting previously unselected package x11proto-composite-dev.
Preparing to unpack .../177-x11proto-composite-dev_1%3a0.4.2-2_all.deb ...
Unpacking x11proto-composite-dev (1:0.4.2-2) ...
Selecting previously unselected package libxcomposite-dev:armhf.
Preparing to unpack .../178-libxcomposite-dev_1%3a0.4.4-2_armhf.deb ...
Unpacking libxcomposite-dev:armhf (1:0.4.4-2) ...
Selecting previously unselected package x11proto-damage-dev.
Preparing to unpack .../179-x11proto-damage-dev_1%3a1.2.1-2_all.deb ...
Unpacking x11proto-damage-dev (1:1.2.1-2) ...
Selecting previously unselected package libxdamage-dev:armhf.
Preparing to unpack .../180-libxdamage-dev_1%3a1.1.4-3_armhf.deb ...
Unpacking libxdamage-dev:armhf (1:1.1.4-3) ...
Selecting previously unselected package xkb-data.
Preparing to unpack .../181-xkb-data_2.19-1.1_all.deb ...
Unpacking xkb-data (2.19-1.1) ...
Selecting previously unselected package libxkbcommon0:armhf.
Preparing to unpack .../182-libxkbcommon0_0.7.1-2_armhf.deb ...
Unpacking libxkbcommon0:armhf (0.7.1-2) ...
Selecting previously unselected package libxkbcommon-dev.
Preparing to unpack .../183-libxkbcommon-dev_0.7.1-2_armhf.deb ...
Unpacking libxkbcommon-dev (0.7.1-2) ...
Selecting previously unselected package libgtk-3-dev:armhf.
Preparing to unpack .../184-libgtk-3-dev_3.22.21-1+rpi1_armhf.deb ...
Unpacking libgtk-3-dev:armhf (3.22.21-1+rpi1) ...
Selecting previously unselected package libxml2-utils.
Preparing to unpack .../185-libxml2-utils_2.9.4+dfsg1-4_armhf.deb ...
Unpacking libxml2-utils (2.9.4+dfsg1-4) ...
Selecting previously unselected package libgtk2.0-dev.
Preparing to unpack .../186-libgtk2.0-dev_2.24.31-2_armhf.deb ...
Unpacking libgtk2.0-dev (2.24.31-2) ...
Selecting previously unselected package liblua5.2-0:armhf.
Preparing to unpack .../187-liblua5.2-0_5.2.4-1.1_armhf.deb ...
Unpacking liblua5.2-0:armhf (5.2.4-1.1) ...
Selecting previously unselected package libtinfo-dev:armhf.
Preparing to unpack .../188-libtinfo-dev_6.0+20170902-1_armhf.deb ...
Unpacking libtinfo-dev:armhf (6.0+20170902-1) ...
Selecting previously unselected package libreadline-dev:armhf.
Preparing to unpack .../189-libreadline-dev_7.0-3_armhf.deb ...
Unpacking libreadline-dev:armhf (7.0-3) ...
Selecting previously unselected package liblua5.2-dev:armhf.
Preparing to unpack .../190-liblua5.2-dev_5.2.4-1.1_armhf.deb ...
Unpacking liblua5.2-dev:armhf (5.2.4-1.1) ...
Selecting previously unselected package libperl-dev.
Preparing to unpack .../191-libperl-dev_5.26.0-8_armhf.deb ...
Unpacking libperl-dev (5.26.0-8) ...
Selecting previously unselected package libpython3.5:armhf.
Preparing to unpack .../192-libpython3.5_3.5.4-2_armhf.deb ...
Unpacking libpython3.5:armhf (3.5.4-2) ...
Selecting previously unselected package libpython3.5-dev:armhf.
Preparing to unpack .../193-libpython3.5-dev_3.5.4-2_armhf.deb ...
Unpacking libpython3.5-dev:armhf (3.5.4-2) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../194-libpython3-dev_3.5.3-3_armhf.deb ...
Unpacking libpython3-dev:armhf (3.5.3-3) ...
Selecting previously unselected package rubygems-integration.
Preparing to unpack .../195-rubygems-integration_1.11_all.deb ...
Unpacking rubygems-integration (1.11) ...
Selecting previously unselected package ruby2.3.
Preparing to unpack .../196-ruby2.3_2.3.3-1_armhf.deb ...
Unpacking ruby2.3 (2.3.3-1) ...
Selecting previously unselected package ruby.
Preparing to unpack .../197-ruby_1%3a2.3.3_armhf.deb ...
Unpacking ruby (1:2.3.3) ...
Selecting previously unselected package rake.
Preparing to unpack .../198-rake_12.0.0-1_all.deb ...
Unpacking rake (12.0.0-1) ...
Selecting previously unselected package ruby-did-you-mean.
Preparing to unpack .../199-ruby-did-you-mean_1.0.0-2_all.deb ...
Unpacking ruby-did-you-mean (1.0.0-2) ...
Selecting previously unselected package ruby-minitest.
Preparing to unpack .../200-ruby-minitest_5.10.3-1_all.deb ...
Unpacking ruby-minitest (5.10.3-1) ...
Selecting previously unselected package ruby-net-telnet.
Preparing to unpack .../201-ruby-net-telnet_0.1.1-2_all.deb ...
Unpacking ruby-net-telnet (0.1.1-2) ...
Selecting previously unselected package ruby-power-assert.
Preparing to unpack .../202-ruby-power-assert_0.3.0-1_all.deb ...
Unpacking ruby-power-assert (0.3.0-1) ...
Selecting previously unselected package ruby-test-unit.
Preparing to unpack .../203-ruby-test-unit_3.2.5-1_all.deb ...
Unpacking ruby-test-unit (3.2.5-1) ...
Selecting previously unselected package libyaml-0-2:armhf.
Preparing to unpack .../204-libyaml-0-2_0.1.7-2_armhf.deb ...
Unpacking libyaml-0-2:armhf (0.1.7-2) ...
Selecting previously unselected package libruby2.3:armhf.
Preparing to unpack .../205-libruby2.3_2.3.3-1_armhf.deb ...
Unpacking libruby2.3:armhf (2.3.3-1) ...
Selecting previously unselected package libsepol1-dev:armhf.
Preparing to unpack .../206-libsepol1-dev_2.7-1_armhf.deb ...
Unpacking libsepol1-dev:armhf (2.7-1) ...
Selecting previously unselected package libselinux1-dev:armhf.
Preparing to unpack .../207-libselinux1-dev_2.7-2_armhf.deb ...
Unpacking libselinux1-dev:armhf (2.7-2) ...
Selecting previously unselected package libtcl8.6:armhf.
Preparing to unpack .../208-libtcl8.6_8.6.7+dfsg-1_armhf.deb ...
Unpacking libtcl8.6:armhf (8.6.7+dfsg-1) ...
Selecting previously unselected package libxt6:armhf.
Preparing to unpack .../209-libxt6_1%3a1.1.5-1_armhf.deb ...
Unpacking libxt6:armhf (1:1.1.5-1) ...
Selecting previously unselected package libxmu6:armhf.
Preparing to unpack .../210-libxmu6_2%3a1.1.2-2_armhf.deb ...
Unpacking libxmu6:armhf (2:1.1.2-2) ...
Selecting previously unselected package libxpm4:armhf.
Preparing to unpack .../211-libxpm4_1%3a3.5.12-1_armhf.deb ...
Unpacking libxpm4:armhf (1:3.5.12-1) ...
Selecting previously unselected package libxaw7:armhf.
Preparing to unpack .../212-libxaw7_2%3a1.0.13-1_armhf.deb ...
Unpacking libxaw7:armhf (2:1.0.13-1) ...
Selecting previously unselected package libxt-dev:armhf.
Preparing to unpack .../213-libxt-dev_1%3a1.1.5-1_armhf.deb ...
Unpacking libxt-dev:armhf (1:1.1.5-1) ...
Selecting previously unselected package libxmu-headers.
Preparing to unpack .../214-libxmu-headers_2%3a1.1.2-2_all.deb ...
Unpacking libxmu-headers (2:1.1.2-2) ...
Selecting previously unselected package libxmu-dev:armhf.
Preparing to unpack .../215-libxmu-dev_2%3a1.1.2-2_armhf.deb ...
Unpacking libxmu-dev:armhf (2:1.1.2-2) ...
Selecting previously unselected package libxpm-dev:armhf.
Preparing to unpack .../216-libxpm-dev_1%3a3.5.12-1_armhf.deb ...
Unpacking libxpm-dev:armhf (1:3.5.12-1) ...
Selecting previously unselected package libxaw7-dev:armhf.
Preparing to unpack .../217-libxaw7-dev_2%3a1.0.13-1_armhf.deb ...
Unpacking libxaw7-dev:armhf (2:1.0.13-1) ...
Selecting previously unselected package lua5.2.
Preparing to unpack .../218-lua5.2_5.2.4-1.1_armhf.deb ...
Unpacking lua5.2 (5.2.4-1.1) ...
Selecting previously unselected package python3.5-dev.
Preparing to unpack .../219-python3.5-dev_3.5.4-2_armhf.deb ...
Unpacking python3.5-dev (3.5.4-2) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../220-python3-dev_3.5.3-3_armhf.deb ...
Unpacking python3-dev (3.5.3-3) ...
Selecting previously unselected package ruby2.3-dev:armhf.
Preparing to unpack .../221-ruby2.3-dev_2.3.3-1_armhf.deb ...
Unpacking ruby2.3-dev:armhf (2.3.3-1) ...
Selecting previously unselected package ruby-dev:armhf.
Preparing to unpack .../222-ruby-dev_1%3a2.3.3_armhf.deb ...
Unpacking ruby-dev:armhf (1:2.3.3) ...
Selecting previously unselected package tcl8.6.
Preparing to unpack .../223-tcl8.6_8.6.7+dfsg-1_armhf.deb ...
Unpacking tcl8.6 (8.6.7+dfsg-1) ...
Selecting previously unselected package tcl.
Preparing to unpack .../224-tcl_8.6.0+9_armhf.deb ...
Unpacking tcl (8.6.0+9) ...
Selecting previously unselected package tcl8.6-dev:armhf.
Preparing to unpack .../225-tcl8.6-dev_8.6.7+dfsg-1_armhf.deb ...
Unpacking tcl8.6-dev:armhf (8.6.7+dfsg-1) ...
Selecting previously unselected package tcl-dev:armhf.
Preparing to unpack .../226-tcl-dev_8.6.0+9_armhf.deb ...
Unpacking tcl-dev:armhf (8.6.0+9) ...
Selecting previously unselected package libattr1-dev:armhf.
Preparing to unpack .../227-libattr1-dev_1%3a2.4.47-2_armhf.deb ...
Unpacking libattr1-dev:armhf (1:2.4.47-2) ...
Selecting previously unselected package libacl1-dev.
Preparing to unpack .../228-libacl1-dev_2.2.52-3_armhf.deb ...
Unpacking libacl1-dev (2.2.52-3) ...
Selecting previously unselected package sbuild-build-depends-vim-dummy.
Preparing to unpack .../229-sbuild-build-depends-vim-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-vim-dummy (0.invalid.0) ...
Setting up libsepol1-dev:armhf (2.7-1) ...
Setting up libjson-glib-1.0-common (1.2.8-1) ...
Setting up libgtk2.0-common (2.24.31-2) ...
Setting up libperl-dev (5.26.0-8) ...
Setting up glib-networking-common (2.54.0-1) ...
Setting up libjpeg62-turbo:armhf (1:1.5.2-2) ...
Setting up libarchive-zip-perl (1.59-1) ...
Setting up mime-support (3.60) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up liblcms2-2:armhf (2.8-4) ...
Setting up libjbig0:armhf (2.1-3.1+b2) ...
Setting up libsigsegv2:armhf (2.11-1) ...
Setting up libgpm2:armhf (1.20.4-6.2) ...
Setting up libpthread-stubs0-dev:armhf (0.3-4) ...
Setting up fonts-dejavu-core (2.37-1) ...
Setting up libattr1-dev:armhf (1:2.4.47-2) ...
Setting up libelf1:armhf (0.170-0.1) ...
Setting up groff-base (1.22.3-9) ...
Setting up libglib2.0-0:armhf (2.54.0-1) ...
Setting up xorg-sgml-doctools (1:1.11-1) ...
Setting up libacl1-dev (2.2.52-3) ...
Setting up xkb-data (2.19-1.1) ...
Setting up libproxy1v5:armhf (0.4.14-3) ...
Setting up libtinfo-dev:armhf (6.0+20170902-1) ...
Setting up libgdk-pixbuf2.0-common (2.36.10-2) ...
Setting up glib-networking-services (2.54.0-1) ...
Setting up libdatrie1:armhf (0.2.10-5) ...
Setting up libtiff5:armhf (4.0.8-5) ...
Setting up gettext-base (0.19.8.1-4) ...
Setting up libpipeline1:armhf (1.4.2-1) ...
Setting up x11proto-kb-dev (1.0.7-1) ...
Setting up m4 (1.4.18-1) ...
Setting up x11proto-record-dev (1.14.2-1) ...
Setting up libicu57:armhf (57.1-6) ...
Setting up libbsd0:armhf (0.8.6-2) ...
Setting up ucf (3.0036) ...
Setting up libgirepository-1.0-1:armhf (1.54.0-2) ...
Setting up libxml2:armhf (2.9.4+dfsg1-4) ...
Setting up libfreetype6:armhf (2.8-0.2) ...
Setting up libmagic-mgc (1:5.32-1) ...
Setting up libmagic1:armhf (1:5.32-1) ...
Setting up libjson-glib-1.0-0:armhf (1.2.8-1) ...
Setting up libgraphite2-3:armhf (1.3.10-4) ...
Setting up libcroco3:armhf (0.6.12-1) ...
Setting up libssl1.0.2:armhf (1.0.2l-2) ...
Setting up libatk1.0-data (2.26.0-2) ...
Setting up pkg-config (0.29-4) ...
Setting up ruby-did-you-mean (1.0.0-2) ...
Setting up libyaml-0-2:armhf (0.1.7-2) ...
Setting up libpixman-1-0:armhf (0.34.0-1) ...
Setting up xtrans-dev (1.3.5-1) ...
Setting up gir1.2-glib-2.0:armhf (1.54.0-2) ...
Setting up libglib2.0-data (2.54.0-1) ...
Processing triggers for libc-bin (2.24-14) ...
Setting up libepoxy0:armhf (1.3.1-3) ...
Setting up x11proto-xinerama-dev (1.2.1-2) ...
Setting up autotools-dev (20161112.1) ...
Setting up libpixman-1-dev (0.34.0-1) ...
Setting up libatk1.0-0:armhf (2.26.0-2) ...
Setting up x11proto-randr-dev (1.5.0-1) ...
Processing triggers for systemd (234-3) ...
Setting up ruby-net-telnet (0.1.1-2) ...
Setting up libreadline-dev:armhf (7.0-3) ...
Setting up libdconf1:armhf (0.26.0-2) ...
Setting up rubygems-integration (1.11) ...
Setting up libexpat1-dev:armhf (2.2.3-1) ...
Setting up shared-mime-info (1.8-1) ...
Setting up libxkbcommon0:armhf (0.7.1-2) ...
Setting up libpcrecpp0v5:armhf (2:8.39-4) ...
Setting up libpcre32-3:armhf (2:8.39-4) ...
Setting up icu-devtools (57.1-6) ...
Setting up liblua5.2-0:armhf (5.2.4-1.1) ...
Setting up libpcre16-3:armhf (2:8.39-4) ...
Setting up libtcl8.6:armhf (8.6.7+dfsg-1) ...
Setting up libcolord2:armhf (1.3.3-2) ...
Setting up libthai-data (0.1.26-3) ...
Setting up libxdmcp6:armhf (1:1.1.2-3) ...
Setting up libkeyutils1:armhf (1.5.9-9) ...
Setting up bsdmainutils (9.0.12+nmu1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libgmpxx4ldbl:armhf (2:6.1.2+dfsg-1) ...
Setting up ruby-minitest (5.10.3-1) ...
Setting up x11-common (1:7.7+19) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
invoke-rc.d: could not determine current runlevel
All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of start.
Setting up hicolor-icon-theme (0.17-1) ...
Setting up libglib2.0-bin (2.54.0-1) ...
Setting up libgraphite2-dev:armhf (1.3.10-4) ...
Setting up libx11-data (2:1.6.4-3) ...
Setting up libxau6:armhf (1:1.0.8-1+b2) ...
Setting up autopoint (0.19.8.1-4) ...
Setting up libmpdec2:armhf (2.4.2-1) ...
Setting up libreadline6:armhf (6.3-9) ...
Setting up liblzo2-2:armhf (2.08-1.2) ...
Setting up ruby-power-assert (0.3.0-1) ...
Setting up libavahi-common-data:armhf (0.7-3) ...
Setting up libepoxy-dev:armhf (1.3.1-3) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-5) ...
Setting up libfile-stripnondeterminism-perl (0.038-1) ...
Setting up libgmp-dev:armhf (2:6.1.2+dfsg-1) ...
Setting up libdbus-1-dev:armhf (1.11.16+really1.10.22-1) ...
Setting up libpcre3-dev:armhf (2:8.39-4) ...
Setting up gir1.2-atk-1.0:armhf (2.26.0-2) ...
Setting up fontconfig-config (2.12.3-0.2) ...
Setting up libxkbcommon-dev (0.7.1-2) ...
Setting up x11proto-core-dev (7.0.31-1) ...
Setting up libgpm-dev:armhf (1.20.4-6.2) ...
Setting up dconf-service (0.26.0-2) ...
Setting up gettext (0.19.8.1-4) ...
Setting up libpython3.5-stdlib:armhf (3.5.4-2) ...
Setting up libxml2-utils (2.9.4+dfsg1-4) ...
Setting up libharfbuzz0b:armhf (1.4.2-1) ...
Setting up libxau-dev:armhf (1:1.0.8-1+b2) ...
Setting up autoconf (2.69-11) ...
Setting up libthai0:armhf (0.1.26-3) ...
Setting up libicu-dev (57.1-6) ...
Setting up file (1:5.32-1) ...
Setting up libkrb5support0:armhf (1.15.1-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up liblua5.2-dev:armhf (5.2.4-1.1) ...
Setting up libxdmcp-dev:armhf (1:1.1.2-3) ...
Setting up lua5.2 (5.2.4-1.1) ...
update-alternatives: using /usr/bin/lua5.2 to provide /usr/bin/lua (lua-interpreter) in auto mode
update-alternatives: using /usr/bin/luac5.2 to provide /usr/bin/luac (lua-compiler) in auto mode
Setting up tcl8.6 (8.6.7+dfsg-1) ...
Setting up automake (1:1.15.1-3) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up libice6:armhf (2:1.0.9-2) ...
Setting up man-db (2.7.6.1-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libavahi-common3:armhf (0.7-3) ...
Setting up libpng-dev:armhf (1.6.32-3) ...
Setting up x11proto-render-dev (2:0.11.1-2) ...
Setting up libselinux1-dev:armhf (2.7-2) ...
Setting up dconf-gsettings-backend:armhf (0.26.0-2) ...
Setting up libxcb1:armhf (1.12-1) ...
Setting up x11proto-input-dev (2.3.2-1) ...
Setting up libharfbuzz-gobject0:armhf (1.4.2-1) ...
Setting up tcl8.6-dev:armhf (8.6.7+dfsg-1) ...
Setting up libtool (2.4.6-2) ...
Setting up python3.5 (3.5.4-2) ...
Setting up libpython3-stdlib:armhf (3.5.3-3) ...
Setting up libfontconfig1:armhf (2.12.3-0.2) ...
Setting up libsm6:armhf (2:1.2.2-1+b3) ...
Setting up libk5crypto3:armhf (1.15.1-2) ...
Setting up libxcb-render0:armhf (1.12-1) ...
Setting up libharfbuzz-icu0:armhf (1.4.2-1) ...
Setting up po-debconf (1.0.20) ...
Setting up gsettings-desktop-schemas (3.24.1-1) ...
Setting up libgtk-3-common (3.22.21-1+rpi1) ...
Setting up libpython3.5:armhf (3.5.4-2) ...
Setting up libx11-6:armhf (2:1.6.4-3) ...
Setting up tcl (8.6.0+9) ...
Setting up libpython3.5-dev:armhf (3.5.4-2) ...
Setting up x11proto-xext-dev (7.3.0-1) ...
Setting up libfreetype6-dev (2.8-0.2) ...
Setting up libice-dev:armhf (2:1.0.9-2) ...
Setting up glib-networking:armhf (2.54.0-1) ...
Setting up libxcomposite1:armhf (1:0.4.4-2) ...
Setting up libxcb-shm0:armhf (1.12-1) ...
Setting up libxpm4:armhf (1:3.5.12-1) ...
Setting up libxt6:armhf (1:1.1.5-1) ...
Setting up libxrender1:armhf (1:0.9.10-1) ...
Setting up libxcb1-dev:armhf (1.12-1) ...
Setting up libavahi-client3:armhf (0.7-3) ...
Setting up libkrb5-3:armhf (1.15.1-2) ...
Setting up libx11-dev:armhf (2:1.6.4-3) ...
Setting up libxft2:armhf (2.3.2-1+b2) ...
Setting up python3.5-dev (3.5.4-2) ...
Setting up tcl-dev:armhf (8.6.0+9) ...
Setting up fontconfig (2.12.3-0.2) ...
Regenerating fonts cache... done.
Setting up libpython3-dev:armhf (3.5.3-3) ...
Setting up libfontconfig1-dev:armhf (2.12.3-0.2) ...
Setting up libsm-dev:armhf (2:1.2.2-1+b3) ...
Setting up libxext6:armhf (2:1.3.3-1+b2) ...
Setting up libxfixes3:armhf (1:5.0.3-1) ...
Setting up libxpm-dev:armhf (1:3.5.12-1) ...
Setting up libxmu-headers (2:1.1.2-2) ...
Setting up x11proto-fixes-dev (1:5.0-2) ...
Setting up libgdk-pixbuf2.0-0:armhf (2.36.10-2) ...
Setting up libxcb-shm0-dev:armhf (1.12-1) ...
Setting up gir1.2-gdkpixbuf-2.0:armhf (2.36.10-2) ...
Setting up libxrender-dev:armhf (1:0.9.10-1) ...
Setting up libxmu6:armhf (2:1.1.2-2) ...
Setting up libgssapi-krb5-2:armhf (1.15.1-2) ...
Setting up libxcb-render0-dev:armhf (1.12-1) ...
Setting up x11proto-damage-dev (1:1.2.1-2) ...
Setting up libxft-dev (2.3.2-1+b2) ...
Setting up gtk-update-icon-cache (3.22.21-1+rpi1) ...
Setting up libxcursor1:armhf (1:1.1.14-3) ...
Setting up libxext-dev:armhf (2:1.3.3-1+b2) ...
Setting up libpango-1.0-0:armhf (1.40.12-1) ...
Setting up libxfixes-dev:armhf (1:5.0.3-1) ...
Setting up x11proto-composite-dev (1:0.4.2-2) ...
Setting up libxrandr2:armhf (2:1.5.1-1) ...
Setting up libcups2:armhf (2.2.4-7+b1) ...
Setting up libxi6:armhf (2:1.7.9-1) ...
Setting up libxaw7:armhf (2:1.0.13-1) ...
Setting up libcairo2:armhf (1.14.10-1) ...
Setting up libxinerama1:armhf (2:1.1.3-1+b3) ...
Setting up libxcursor-dev:armhf (1:1.1.14-3) ...
Setting up libxt-dev:armhf (1:1.1.5-1) ...
Setting up libxdamage1:armhf (1:1.1.4-3) ...
Setting up libxrandr-dev:armhf (2:1.5.1-1) ...
Setting up libxcomposite-dev:armhf (1:0.4.4-2) ...
Setting up libxmu-dev:armhf (2:1.1.2-2) ...
Setting up libcairo-script-interpreter2:armhf (1.14.10-1) ...
Setting up libxaw7-dev:armhf (2:1.0.13-1) ...
Setting up libcairo-gobject2:armhf (1.14.10-1) ...
Setting up libsoup2.4-1:armhf (2.60.0-1) ...
Setting up libxdamage-dev:armhf (1:1.1.4-3) ...
Setting up libsoup-gnome2.4-1:armhf (2.60.0-1) ...
Setting up libxtst6:armhf (2:1.2.3-1) ...
Setting up libpangoft2-1.0-0:armhf (1.40.12-1) ...
Setting up libxinerama-dev:armhf (2:1.1.3-1+b3) ...
Setting up librest-0.7-0:armhf (0.8.0-2) ...
Setting up libxi-dev:armhf (2:1.7.9-1) ...
Setting up gir1.2-freedesktop:armhf (1.54.0-2) ...
Setting up libatspi2.0-0:armhf (2.26.0-2) ...
Setting up libpangoxft-1.0-0:armhf (1.40.12-1) ...
Setting up libpangocairo-1.0-0:armhf (1.40.12-1) ...
Setting up gir1.2-pango-1.0:armhf (1.40.12-1) ...
Setting up libxtst-dev:armhf (2:1.2.3-1) ...
Setting up libatk-bridge2.0-0:armhf (2.26.0-1) ...
Setting up gir1.2-atspi-2.0:armhf (2.26.0-2) ...
Setting up librsvg2-2:armhf (2.40.18-1) ...
Setting up librsvg2-common:armhf (2.40.18-1) ...
Setting up adwaita-icon-theme (3.26.0-1) ...
update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode
Setting up libgtk2.0-0:armhf (2.24.31-2) ...
Setting up libgtk-3-0:armhf (3.22.21-1+rpi1) ...
Setting up gir1.2-gtk-2.0 (2.24.31-2) ...
Setting up gir1.2-gtk-3.0:armhf (3.22.21-1+rpi1) ...
Setting up python3 (3.5.3-3) ...
Setting up libglib2.0-dev-bin (2.54.0-1) ...
Setting up rake (12.0.0-1) ...
Setting up python3-dev (3.5.3-3) ...
Setting up libglib2.0-dev:armhf (2.54.0-1) ...
Setting up libgdk-pixbuf2.0-dev (2.36.10-2) ...
Setting up libharfbuzz-dev:armhf (1.4.2-1) ...
Setting up dh-python (2.20170125) ...
Setting up dh-autoreconf (14) ...
Setting up libcairo2-dev (1.14.10-1) ...
Setting up ruby-test-unit (3.2.5-1) ...
Setting up libatk1.0-dev:armhf (2.26.0-2) ...
Setting up libatspi2.0-dev:armhf (2.26.0-2) ...
Setting up dh-strip-nondeterminism (0.038-1) ...
Setting up libatk-bridge2.0-dev:armhf (2.26.0-1) ...
Setting up libpango1.0-dev (1.40.12-1) ...
Setting up libruby2.3:armhf (2.3.3-1) ...
Setting up debhelper (10.8) ...
Setting up libgtk-3-dev:armhf (3.22.21-1+rpi1) ...
Setting up libgtk2.0-dev (2.24.31-2) ...
Setting up ruby2.3 (2.3.3-1) ...
Setting up ruby2.3-dev:armhf (2.3.3-1) ...
Setting up ruby-dev:armhf (1:2.3.3) ...
Setting up ruby (1:2.3.3) ...
Setting up sbuild-build-depends-vim-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.24-14) ...
Processing triggers for systemd (234-3) ...
Processing triggers for libgdk-pixbuf2.0-0:armhf (2.36.10-2) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.4.0-79-generic armhf (armv8l)
Toolchain package versions: binutils_2.29-9+rpi1 dpkg-dev_1.18.24 g++-7_7.2.0-5 gcc-7_7.2.0-5 libc6-dev_2.24-14 libstdc++-7-dev_7.2.0-5 libstdc++6_7.2.0-5 linux-libc-dev_4.9.30-2+deb9u2+rpi1+stretch
Package versions: adduser_3.116 adwaita-icon-theme_3.26.0-1 apt_1.5~rc4 autoconf_2.69-11 automake_1:1.15.1-3 autopoint_0.19.8.1-4 autotools-dev_20161112.1 base-files_10+rpi1 base-passwd_3.5.44 bash_4.4-5 binutils_2.29-9+rpi1 binutils-arm-linux-gnueabihf_2.29-9+rpi1 binutils-common_2.29-9+rpi1 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-5 build-essential_12.4 bzip2_1.0.6-8.1 ca-certificates_20170717 coreutils_8.26-3 cpio_2.11+dfsg-6 cpp_4:7.2.0-1d1 cpp-7_7.2.0-5 dash_0.5.8-2.5 dconf-gsettings-backend_0.26.0-2 dconf-service_0.26.0-2 debconf_1.5.63 debhelper_10.8 debianutils_4.8.2 dh-autoreconf_14 dh-python_2.20170125 dh-strip-nondeterminism_0.038-1 diffutils_1:3.6-1 dirmngr_2.2.1-1 dmsetup_2:1.02.142-1 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.6-1 e2fsprogs_1.43.6-1 fakeroot_1.22-1 fdisk_2.29.2-5 file_1:5.32-1 findutils_4.6.0+git+20170729-2 fontconfig_2.12.3-0.2 fontconfig-config_2.12.3-0.2 fonts-dejavu-core_2.37-1 g++_4:7.2.0-1d1 g++-7_7.2.0-5 gcc_4:7.2.0-1d1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.3-14 gcc-5-base_5.4.1-4 gcc-7_7.2.0-5 gcc-7-base_7.2.0-5 gettext_0.19.8.1-4 gettext-base_0.19.8.1-4 gir1.2-atk-1.0_2.26.0-2 gir1.2-atspi-2.0_2.26.0-2 gir1.2-freedesktop_1.54.0-2 gir1.2-gdkpixbuf-2.0_2.36.10-2 gir1.2-glib-2.0_1.54.0-2 gir1.2-gtk-2.0_2.24.31-2 gir1.2-gtk-3.0_3.22.21-1+rpi1 gir1.2-pango-1.0_1.40.12-1 glib-networking_2.54.0-1 glib-networking-common_2.54.0-1 glib-networking-services_2.54.0-1 gnupg_2.2.1-1 gnupg-agent_2.2.1-1 gnupg-l10n_2.2.1-1 gnupg-utils_2.2.1-1 gpg_2.2.1-1 gpg-agent_2.2.1-1 gpg-wks-client_2.2.1-1 gpg-wks-server_2.2.1-1 gpgconf_2.2.1-1 gpgsm_2.2.1-1 gpgv_2.2.1-1 grep_3.1-2 groff-base_1.22.3-9 gsettings-desktop-schemas_3.24.1-1 gtk-update-icon-cache_3.22.21-1+rpi1 gzip_1.6-5 hicolor-icon-theme_0.17-1 hostname_3.18 icu-devtools_57.1-6 init-system-helpers_1.49 initramfs-tools_0.130 initramfs-tools-core_0.130 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-9+rpi1 kmod_24-1 libacl1_2.2.52-3 libacl1-dev_2.2.52-3 libapparmor1_2.11.0-11 libapt-pkg5.0_1.5~rc4 libarchive-zip-perl_1.59-1 libasan4_7.2.0-5 libassuan0_2.4.3-3 libatk-bridge2.0-0_2.26.0-1 libatk-bridge2.0-dev_2.26.0-1 libatk1.0-0_2.26.0-2 libatk1.0-data_2.26.0-2 libatk1.0-dev_2.26.0-2 libatomic1_7.2.0-5 libatspi2.0-0_2.26.0-2 libatspi2.0-dev_2.26.0-2 libattr1_1:2.4.47-2 libattr1-dev_1:2.4.47-2 libaudit-common_1:2.7.7-1 libaudit1_1:2.7.7-1+b1 libavahi-client3_0.7-3 libavahi-common-data_0.7-3 libavahi-common3_0.7-3 libbinutils_2.29-9+rpi1 libblkid1_2.29.2-5 libbsd0_0.8.6-2 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-14 libc-dev-bin_2.24-14 libc6_2.24-14 libc6-dev_2.24-14 libcairo-gobject2_1.14.10-1 libcairo-script-interpreter2_1.14.10-1 libcairo2_1.14.10-1 libcairo2-dev_1.14.10-1 libcap-ng0_0.7.7-3 libcap2_1:2.25-1 libcc1-0_7.2.0-5 libcilkrts5_7.2.0-5 libcolord2_1.3.3-2 libcomerr2_1.43.6-1 libcroco3_0.6.12-1 libcryptsetup4_2:1.7.5-1 libcups2_2.2.4-7+b1 libdatrie1_0.2.10-5 libdb5.3_5.3.28-13.1 libdbus-1-3_1.11.16+really1.10.22-1 libdbus-1-dev_1.11.16+really1.10.22-1 libdconf1_0.26.0-2 libdebconfclient0_0.230 libdevmapper1.02.1_2:1.02.142-1 libdpkg-perl_1.18.24 libdrm-common_2.4.82-1+rpi1 libdrm2_2.4.82-1+rpi1 libelf1_0.170-0.1 libepoxy-dev_1.3.1-3 libepoxy0_1.3.1-3 libexpat1_2.2.3-1 libexpat1-dev_2.2.3-1 libfakeroot_1.22-1 libfdisk1_2.29.2-5 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.038-1 libfontconfig1_2.12.3-0.2 libfontconfig1-dev_2.12.3-0.2 libfreetype6_2.8-0.2 libfreetype6-dev_2.8-0.2 libgcc-7-dev_7.2.0-5 libgcc1_1:7.2.0-5 libgcrypt20_1.7.9-1 libgdbm3_1.8.3-14 libgdk-pixbuf2.0-0_2.36.10-2 libgdk-pixbuf2.0-common_2.36.10-2 libgdk-pixbuf2.0-dev_2.36.10-2 libgirepository-1.0-1_1.54.0-2 libglib2.0-0_2.54.0-1 libglib2.0-bin_2.54.0-1 libglib2.0-data_2.54.0-1 libglib2.0-dev_2.54.0-1 libglib2.0-dev-bin_2.54.0-1 libgmp-dev_2:6.1.2+dfsg-1 libgmp10_2:6.1.2+dfsg-1 libgmpxx4ldbl_2:6.1.2+dfsg-1 libgnutls30_3.5.15-2 libgomp1_7.2.0-5 libgpg-error0_1.27-3 libgpm-dev_1.20.4-6.2 libgpm2_1.20.4-6.2 libgraphite2-3_1.3.10-4 libgraphite2-dev_1.3.10-4 libgssapi-krb5-2_1.15.1-2 libgtk-3-0_3.22.21-1+rpi1 libgtk-3-common_3.22.21-1+rpi1 libgtk-3-dev_3.22.21-1+rpi1 libgtk2.0-0_2.24.31-2 libgtk2.0-common_2.24.31-2 libgtk2.0-dev_2.24.31-2 libharfbuzz-dev_1.4.2-1 libharfbuzz-gobject0_1.4.2-1 libharfbuzz-icu0_1.4.2-1 libharfbuzz0b_1.4.2-1 libhogweed4_3.3-2 libice-dev_2:1.0.9-2 libice6_2:1.0.9-2 libicu-dev_57.1-6 libicu57_57.1-6 libidn11_1.33-2 libidn2-0_2.0.2-5 libip4tc0_1.6.1-2 libisl15_0.18-1 libjbig0_2.1-3.1+b2 libjpeg62-turbo_1:1.5.2-2 libjson-glib-1.0-0_1.2.8-1 libjson-glib-1.0-common_1.2.8-1 libk5crypto3_1.15.1-2 libkeyutils1_1.5.9-9 libklibc_2.0.4-9+rpi1 libkmod2_24-1 libkrb5-3_1.15.1-2 libkrb5support0_1.15.1-2 libksba8_1.3.5-2 liblcms2-2_2.8-4 libldap-2.4-2_2.4.45+dfsg-1 libldap-common_2.4.45+dfsg-1 liblua5.2-0_5.2.4-1.1 liblua5.2-dev_5.2.4-1.1 liblz4-1_0.0~r131-2 liblzma5_5.2.2-1.3 liblzo2-2_2.08-1.2 libmagic-mgc_1:5.32-1 libmagic1_1:5.32-1 libmount1_2.29.2-5 libmpc3_1.0.3-2 libmpdec2_2.4.2-1 libmpfr4_3.1.6-1 libncurses5_6.0+20170902-1 libncursesw5_6.0+20170902-1 libnettle6_3.3-2 libnih-dbus1_1.0.3-8 libnih1_1.0.3-8 libnpth0_1.5-2 libp11-kit0_0.23.7-3 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpango-1.0-0_1.40.12-1 libpango1.0-dev_1.40.12-1 libpangocairo-1.0-0_1.40.12-1 libpangoft2-1.0-0_1.40.12-1 libpangoxft-1.0-0_1.40.12-1 libpcre16-3_2:8.39-4 libpcre3_2:8.39-4 libpcre3-dev_2:8.39-4 libpcre32-3_2:8.39-4 libpcrecpp0v5_2:8.39-4 libperl-dev_5.26.0-8 libperl5.24_5.24.1-7 libperl5.26_5.26.0-8 libpipeline1_1.4.2-1 libpixman-1-0_0.34.0-1 libpixman-1-dev_0.34.0-1 libplymouth4_0.9.3-1 libpng-dev_1.6.32-3 libpng16-16_1.6.32-3 libprocps6_2:3.3.12-3 libproxy1v5_0.4.14-3 libpthread-stubs0-dev_0.3-4 libpython3-dev_3.5.3-3 libpython3-stdlib_3.5.3-3 libpython3.5_3.5.4-2 libpython3.5-dev_3.5.4-2 libpython3.5-minimal_3.5.4-2 libpython3.5-stdlib_3.5.4-2 libreadline-dev_7.0-3 libreadline5_5.2+dfsg-3 libreadline6_6.3-9 libreadline7_7.0-3 librest-0.7-0_0.8.0-2 librsvg2-2_2.40.18-1 librsvg2-common_2.40.18-1 libruby2.3_2.3.3-1 libsasl2-2_2.1.27~101-g0780600+dfsg-3 libsasl2-modules_2.1.27~101-g0780600+dfsg-3 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3 libseccomp2_2.3.1-2.1 libselinux1_2.7-2 libselinux1-dev_2.7-2 libsemanage-common_2.7-2 libsemanage1_2.7-2 libsepol1_2.7-1 libsepol1-dev_2.7-1 libsigsegv2_2.11-1 libsm-dev_2:1.2.2-1+b3 libsm6_2:1.2.2-1+b3 libsmartcols1_2.29.2-5 libsoup-gnome2.4-1_2.60.0-1 libsoup2.4-1_2.60.0-1 libsqlite3-0_3.20.1-1 libss2_1.43.6-1 libssl1.0.2_1.0.2l-2 libssl1.1_1.1.0f-5 libstdc++-7-dev_7.2.0-5 libstdc++6_7.2.0-5 libsystemd0_234-3 libtasn1-6_4.12-2.1 libtcl8.6_8.6.7+dfsg-1 libthai-data_0.1.26-3 libthai0_0.1.26-3 libtiff5_4.0.8-5 libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20170902-1 libtinfo5_6.0+20170902-1 libtool_2.4.6-2 libubsan0_7.2.0-5 libudev1_234-3 libunistring2_0.9.7-2 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-5 libx11-6_2:1.6.4-3 libx11-data_2:1.6.4-3 libx11-dev_2:1.6.4-3 libxau-dev_1:1.0.8-1+b2 libxau6_1:1.0.8-1+b2 libxaw7_2:1.0.13-1 libxaw7-dev_2:1.0.13-1 libxcb-render0_1.12-1 libxcb-render0-dev_1.12-1 libxcb-shm0_1.12-1 libxcb-shm0-dev_1.12-1 libxcb1_1.12-1 libxcb1-dev_1.12-1 libxcomposite-dev_1:0.4.4-2 libxcomposite1_1:0.4.4-2 libxcursor-dev_1:1.1.14-3 libxcursor1_1:1.1.14-3 libxdamage-dev_1:1.1.4-3 libxdamage1_1:1.1.4-3 libxdmcp-dev_1:1.1.2-3 libxdmcp6_1:1.1.2-3 libxext-dev_2:1.3.3-1+b2 libxext6_2:1.3.3-1+b2 libxfixes-dev_1:5.0.3-1 libxfixes3_1:5.0.3-1 libxft-dev_2.3.2-1+b2 libxft2_2.3.2-1+b2 libxi-dev_2:1.7.9-1 libxi6_2:1.7.9-1 libxinerama-dev_2:1.1.3-1+b3 libxinerama1_2:1.1.3-1+b3 libxkbcommon-dev_0.7.1-2 libxkbcommon0_0.7.1-2 libxml2_2.9.4+dfsg1-4 libxml2-utils_2.9.4+dfsg1-4 libxmu-dev_2:1.1.2-2 libxmu-headers_2:1.1.2-2 libxmu6_2:1.1.2-2 libxpm-dev_1:3.5.12-1 libxpm4_1:3.5.12-1 libxrandr-dev_2:1.5.1-1 libxrandr2_2:1.5.1-1 libxrender-dev_1:0.9.10-1 libxrender1_1:0.9.10-1 libxt-dev_1:1.1.5-1 libxt6_1:1.1.5-1 libxtst-dev_2:1.2.3-1 libxtst6_2:1.2.3-1 libyaml-0-2_0.1.7-2 linux-base_4.5 linux-libc-dev_4.9.30-2+deb9u2+rpi1+stretch login_1:4.4-4.1 lsb-base_9.20170808+rpi1 lua5.2_5.2.4-1.1 m4_1.4.18-1 make_4.1-9.1 makedev_2.3.1-93 man-db_2.7.6.1-2 mawk_1.3.3-17 mime-support_3.60 mount_2.29.2-5 mountall_2.54 multiarch-support_2.24-14 ncurses-base_6.0+20170902-1 ncurses-bin_6.0+20170902-1 openssl_1.1.0f-5 passwd_1:4.4-4.1 patch_2.7.5-1 perl_5.26.0-8 perl-base_5.26.0-8 perl-modules-5.24_5.24.1-7 perl-modules-5.26_5.26.0-8 pinentry-curses_1.0.0-2 pkg-config_0.29-4 plymouth_0.9.3-1 po-debconf_1.0.20 procps_2:3.3.12-3 python3_3.5.3-3 python3-dev_3.5.3-3 python3-minimal_3.5.3-3 python3.5_3.5.4-2 python3.5-dev_3.5.4-2 python3.5-minimal_3.5.4-2 rake_12.0.0-1 raspbian-archive-keyring_20120528.2 readline-common_7.0-3 ruby_1:2.3.3 ruby-dev_1:2.3.3 ruby-did-you-mean_1.0.0-2 ruby-minitest_5.10.3-1 ruby-net-telnet_0.1.1-2 ruby-power-assert_0.3.0-1 ruby-test-unit_3.2.5-1 ruby2.3_2.3.3-1 ruby2.3-dev_2.3.3-1 rubygems-integration_1.11 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-vim-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.10 shared-mime-info_1.8-1 systemd_234-3 sysvinit-utils_2.88dsf-59.10 tar_1.29b-2 tcl_8.6.0+9 tcl-dev_8.6.0+9 tcl8.6_8.6.7+dfsg-1 tcl8.6-dev_8.6.7+dfsg-1 tzdata_2017b-2 ucf_3.0036 udev_234-3 util-linux_2.29.2-5 x11-common_1:7.7+19 x11proto-composite-dev_1:0.4.2-2 x11proto-core-dev_7.0.31-1 x11proto-damage-dev_1:1.2.1-2 x11proto-fixes-dev_1:5.0-2 x11proto-input-dev_2.3.2-1 x11proto-kb-dev_1.0.7-1 x11proto-randr-dev_1.5.0-1 x11proto-record-dev_1.14.2-1 x11proto-render-dev_2:0.11.1-2 x11proto-xext-dev_7.3.0-1 x11proto-xinerama-dev_1.2.1-2 xkb-data_2.19-1.1 xorg-sgml-doctools_1:1.11-1 xtrans-dev_1.3.5-1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.8.dfsg-5 zlib1g-dev_1:1.2.8.dfsg-5

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Mon Sep 25 02:38:25 2017 UTC
gpgv:                using RSA key 91BFBF4D6956BD5DF7B72D23DFE691AE331BA3DB
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./vim_8.0.1144-1.dsc
dpkg-source: info: extracting vim in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking vim_8.0.1144.orig.tar.gz
dpkg-source: info: unpacking vim_8.0.1144-1.debian.tar.xz
dpkg-source: info: applying upstream/Support-defining-compilation-date-in-SOURCE_DATE_EPOCH.patch
dpkg-source: info: applying debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
dpkg-source: info: applying debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
dpkg-source: info: applying debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
dpkg-source: info: applying debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=buster-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=buster-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=112
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=buster-staging-armhf-sbuild-fcbfe79c-cb74-4e2a-bbf8-803466bc7764
SCHROOT_UID=107
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package vim
dpkg-buildpackage: info: source version 2:8.0.1144-1
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build vim-8.0.1144
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh_testdir
dh_testdir
dh_testdir
dh_testdir
dh_testroot
dh_testroot
dh_testroot
dh_testroot
for x in install postinst prerm links lintian-overrides ; do \
  rm -f debian/vim-gtk3.$x ; \
done
for x in install postinst prerm links lintian-overrides ; do \
  rm -f debian/vim-tiny.$x ; \
done
if [ "vim-gtk3" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
if [ "vim-tiny" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
rm -rf src/vim-gtk3
dh_testdir
rm -rf src/vim-tiny
for x in install postinst prerm links lintian-overrides ; do \
  rm -f debian/vim-athena.$x ; \
done
for x in install postinst prerm links lintian-overrides ; do \
  rm -f debian/vim-gtk.$x ; \
done
dh_testdir
if [ "vim-gtk" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
if [ "vim-athena" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
rm -rf src/vim-gtk
rm -rf src/vim-athena
dh_testroot
dh_testroot
for x in install postinst prerm links lintian-overrides ; do \
  rm -f debian/vim-nox.$x ; \
done
for x in install postinst prerm links lintian-overrides ; do \
  rm -f debian/vim.$x ; \
done
if [ "vim-nox" = "vim-tiny" ]; then \
  rm -f debian/tiny/vimrc.tiny; \
fi
[ ! -L src/vim-basic/po ] || /usr/bin/make -C src/vim-basic/po clean
rm -rf src/vim-nox
rm -f debian/vim-common.install debian/vim-common.links debian/vim-gui-common.install debian/vim-gui-common.links debian/vim-runtime.install debian/vim-runtime.links debian/vim-runtime.postrm debian/vim-runtime.preinst debian/runtime/debian.vim
rm -rf src/vim-basic
dh_testdir
dh_testroot
rm -f extract-stamp* build-stamp* install-stamp* configure-stamp* autoconf-stamp
rm -f debian/helpztags.1
rm -rf debian/policy/vim-policy.html
rm -f debian/policy/vim-policy.txt
rm -f debian/tmplogo.*
[ ! -f src/auto/config.cache ] || make distclean
rm -f src/auto/config.mk src/pixmaps src/runtime
[ ! -f debian/configure.dist ] || mv debian/configure.dist src/auto/configure
rm -f src/auto/config.h
rm -f runtime/doc/doctags runtime/doc/tags.ref
rm -f runtime/doc/*.html runtime/doc/*.log
find src/testdir -name '*.pyc' -delete
dh_clean
 debian/rules build-arch
cp src/config.mk.dist src/auto/config.mk
dh_testdir
[ -f debian/configure.dist ] || cp src/auto/configure debian/configure.dist
/usr/bin/make -C src autoconf
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
if test ! -f configure.save; then mv configure configure.save; fi
autoconf
sed -e 's+>config.log+>auto/config.log+' -e 's+\./config.log+auto/config.log+' configure > auto/configure
chmod 755 auto/configure
mv -f configure.save configure
rm -rf autom4te.cache
rm -f auto/config.status auto/config.cache
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
/usr/bin/make distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && /usr/bin/make distclean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f auto/config.cache
if test "Xdistclean" != "Xclean" \
	-a "Xdistclean" != "Xdistclean" \
	-a "Xdistclean" != "Xautoconf" \
	-a "Xdistclean" != "Xreconfig"; then \
    GUI_INC_LOC="" GUI_LIB_LOC="" \
	CC="" CPPFLAGS="" CFLAGS="" \
	LDFLAGS=""  srcdir="." \
	./configure    \
	  \
	   \
	   \
	   \
	   \
	  \
	   \
	  \
	   \
	  \
	; \
fi
cd testdir; /usr/bin/make -f Makefile clean
rm -f auto/config.status auto/config.cache config.log auto/config.log
rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
touch auto/config.h
cp config.mk.dist auto/config.mk
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/testdir'
rm -rf *.out *.failed *.res *.rej *.orig opt_test.vim test.log messages test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out valgrind.*
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/testdir'
if test -d po; then \
	cd po; /usr/bin/make checkclean; \
fi
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/po'
rm -f *.ck
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/po'
rm -f *.o core vim.core vim vim xxd/*.o
rm -rf objects
rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c auto/gui_gtk_gresources.c auto/gui_gtk_gresources.h
rm -f conftest* *~ auto/link.sed
rm -f testdir/opt_test.vim
rm -f json_test kword_test memfile_test message_test
rm -f runtime pixmaps
rm -rf vim.app
rm -rf mzscheme_base.c
if test -d po; then \
	cd po; /usr/bin/make prefix= clean; \
fi
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/po'
rm -f *.ck
rm -f core core.* *.old.po *.mo *.pot sjiscorr
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/po'
rm -f tags
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch autoconf-stamp
dh_testdir
dh_testdir
dh_testdir
dh_testdir
*** DEBIAN *** CONFIGURING VARIANT vim-gtk
*** DEBIAN *** CONFIGURING VARIANT vim-tiny
/usr/bin/make -C src shadow SHADOWDIR=vim-gtk
/usr/bin/make -C src shadow SHADOWDIR=vim-tiny
*** DEBIAN *** CONFIGURING VARIANT vim-gtk3
/usr/bin/make -C src shadow SHADOWDIR=vim-gtk3
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
ln -s ../runtime .
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
ln -s ../runtime .
ln: failed to create symbolic link './runtime': File exists
ln -s ../pixmaps .
Makefile:2868: recipe for target 'runtime' failed
make[1]: [runtime] Error 1 (ignored)
ln -s ../pixmaps .
ln: failed to create symbolic link './pixmaps': File exists
Makefile:2872: recipe for target 'pixmaps' failed
make[1]: [pixmaps] Error 1 (ignored)
/bin/sh install-sh -c -d vim-gtk
/bin/sh install-sh -c -d vim-tiny
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/sh install-sh -c -d vim-gtk3
*** DEBIAN *** CONFIGURING VARIANT vim-basic
/usr/bin/make -C src shadow SHADOWDIR=vim-basic
cd vim-gtk; ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh .
cd vim-tiny; ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh .
cd vim-gtk3; ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh .
mkdir vim-gtk/auto
mkdir vim-tiny/auto
cd vim-gtk/auto; ln -s ../../auto/configure .
cd vim-tiny/auto; ln -s ../../auto/configure .
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/sh install-sh -c -d vim-gtk/po
/bin/sh install-sh -c -d vim-basic
/bin/sh install-sh -c -d vim-tiny/po
mkdir vim-gtk3/auto
cd vim-gtk3/auto; ln -s ../../auto/configure .
/bin/sh install-sh -c -d vim-gtk3/po
cd vim-basic; ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh .
cd vim-gtk/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-tiny/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-gtk3/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-gtk; rm -f auto/link.sed
cd vim-tiny; rm -f auto/link.sed
cd vim-gtk3; rm -f auto/link.sed
cp Makefile configure vim-gtk
cp Makefile configure vim-tiny
mkdir vim-basic/auto
cp Makefile configure vim-gtk3
rm -f vim-gtk/auto/config.mk vim-gtk/config.mk.dist
rm -f vim-tiny/auto/config.mk vim-tiny/config.mk.dist
cd vim-basic/auto; ln -s ../../auto/configure .
cp config.mk.dist vim-gtk/auto/config.mk
cp config.mk.dist vim-tiny/auto/config.mk
rm -f vim-gtk3/auto/config.mk vim-gtk3/config.mk.dist
/bin/sh install-sh -c -d vim-basic/po
cp config.mk.dist vim-tiny
cp config.mk.dist vim-gtk
cp config.mk.dist vim-gtk3/auto/config.mk
/bin/sh install-sh -c -d vim-tiny/xxd
/bin/sh install-sh -c -d vim-gtk/xxd
cp config.mk.dist vim-gtk3
/bin/sh install-sh -c -d vim-gtk3/xxd
cd vim-basic/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
cd vim-gtk/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
cd vim-tiny/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
if test -d os_mac_rsrc; then \
	cd vim-gtk; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
cd vim-basic; rm -f auto/link.sed
if test -d os_mac_rsrc; then \
	cd vim-tiny; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
cd vim-gtk3/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
cp Makefile configure vim-basic
/bin/sh install-sh -c -d vim-gtk/testdir
if test -d os_mac_rsrc; then \
	cd vim-gtk3; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
/bin/sh install-sh -c -d vim-tiny/testdir
rm -f vim-basic/auto/config.mk vim-basic/config.mk.dist
cp config.mk.dist vim-basic/auto/config.mk
/bin/sh install-sh -c -d vim-gtk3/testdir
cp config.mk.dist vim-basic
/bin/sh install-sh -c -d vim-basic/xxd
cd vim-gtk/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/Make_all.mak \
			 ../../testdir/README.txt \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/*.py \
			 ../../testdir/python* \
			 ../../testdir/pyxfile \
			 ../../testdir/sautest \
			 ../../testdir/samples \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
cd vim-tiny/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/Make_all.mak \
			 ../../testdir/README.txt \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/*.py \
			 ../../testdir/python* \
			 ../../testdir/pyxfile \
			 ../../testdir/sautest \
			 ../../testdir/samples \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
cd vim-gtk3/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/Make_all.mak \
			 ../../testdir/README.txt \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/*.py \
			 ../../testdir/python* \
			 ../../testdir/pyxfile \
			 ../../testdir/sautest \
			 ../../testdir/samples \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
cd vim-basic/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
if test -d os_mac_rsrc; then \
	cd vim-basic; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
/bin/sh install-sh -c -d vim-basic/testdir
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-gtk && LDFLAGS="-Wl,-z,relro -Wl,-z,now" CPPFLAGS="-Wdate-time" CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="pkg-vim-maintainers@lists.alioth.debian.org" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --enable-terminal --with-x --enable-xim --enable-gui=gtk2 --enable-gtk2-check --disable-gnome-check --disable-motif-check --disable-athena-check --disable-fontset --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-python3interp --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf --disable-pythoninterp --enable-rubyinterp --enable-tclinterp --with-tclsh=/usr/bin/tclsh
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-tiny && LDFLAGS="-Wl,-z,relro -Wl,-z,now" CPPFLAGS="-Wdate-time" CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="pkg-vim-maintainers@lists.alioth.debian.org" --enable-fail-if-missing --with-features=small --disable-gui --disable-xsmp --disable-xsmp-interact --disable-netbeans --disable-gpm --enable-nls --enable-multibyte --enable-acl --disable-terminal --enable-selinux --disable-smack
cd src/vim-gtk3 && LDFLAGS="-Wl,-z,relro -Wl,-z,now" CPPFLAGS="-Wdate-time" CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="pkg-vim-maintainers@lists.alioth.debian.org" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --enable-terminal --with-x --enable-xim --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-python3interp --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf --disable-pythoninterp --enable-rubyinterp --enable-tclinterp --with-tclsh=/usr/bin/tclsh --enable-gui=gtk3 --enable-gtk3-check --disable-gnome-check --disable-motif-check --disable-athena-check --disable-fontset
cd vim-basic/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/Make_all.mak \
			 ../../testdir/README.txt \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/*.py \
			 ../../testdir/python* \
			 ../../testdir/pyxfile \
			 ../../testdir/sautest \
			 ../../testdir/samples \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-basic && LDFLAGS="-Wl,-z,relro -Wl,-z,now" CPPFLAGS="-Wdate-time" CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="pkg-vim-maintainers@lists.alioth.debian.org" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --enable-terminal --without-x --enable-gui=no --disable-luainterp --disable-mzschemeinterp --disable-perlinterp --disable-pythoninterp --disable-python3interp --disable-rubyinterp --disable-tclinterp
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
yes
checking for gcc... gcc
checking whether the C compiler works... configure: creating cache auto/config.cache
configure: creating cache auto/config.cache
checking whether the C compiler works... checking whether make sets $(MAKE)... checking whether make sets $(MAKE)... yes
yes
checking for gcc... checking for gcc... gcc
gcc
checking whether the C compiler works... checking whether the C compiler works... yes
yes
yes
yes
checking for C compiler default output file name... checking for C compiler default output file name... checking for C compiler default output file name... checking for C compiler default output file name... a.out
a.out
a.out
a.out
checking for suffix of executables... checking for suffix of executables... checking for suffix of executables... checking for suffix of executables... 



checking whether we are cross compiling... checking whether we are cross compiling... checking whether we are cross compiling... checking whether we are cross compiling... no
no
no
no
checking for suffix of object files... checking for suffix of object files... checking for suffix of object files... checking for suffix of object files... o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... o
o
checking whether we are using the GNU C compiler... checking whether we are using the GNU C compiler... yes
yes
yes
checking whether gcc accepts -g... checking whether gcc accepts -g... checking whether gcc accepts -g... yes
checking whether gcc accepts -g... yes
yes
yes
checking for gcc option to accept ISO C89... checking for gcc option to accept ISO C89... checking for gcc option to accept ISO C89... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... none needed
checking how to run the C preprocessor... none needed
checking how to run the C preprocessor... none needed
checking how to run the C preprocessor... gcc -E
gcc -E
gcc -E
gcc -E
checking for grep that handles long lines and -e... checking for grep that handles long lines and -e... checking for grep that handles long lines and -e... checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep
checking for egrep... /bin/grep
checking for egrep... /bin/grep
checking for egrep... /bin/grep -E
/bin/grep -E
/bin/grep -E
/bin/grep -E
checking for fgrep... checking for fgrep... checking for fgrep... checking for fgrep... /bin/grep -F
/bin/grep -F
checking for library containing strerror... checking for library containing strerror... /bin/grep -F
checking for library containing strerror... /bin/grep -F
checking for library containing strerror... none required
none required
checking for gawk... checking for gawk... none required
no
no
checking for gawk... checking for mawk... checking for mawk... mawk
mawk
no
checking for mawk... checking for strip... checking for strip... mawk
checking for strip... strip
strip
checking for ANSI C header files... checking for ANSI C header files... strip
checking for ANSI C header files... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... yes
yes
checking for sys/wait.h that is POSIX.1 compatible... checking for sys/wait.h that is POSIX.1 compatible... yes
yes
checking for sys/wait.h that is POSIX.1 compatible... checking for sys/wait.h that is POSIX.1 compatible... yes
yes
yes
yes
checking --enable-fail-if-missing argument... yes
checking --enable-fail-if-missing argument... checking --enable-fail-if-missing argument... yes
yes
checking --enable-fail-if-missing argument... yes
checking for clang version... checking for clang version... checking for clang version... checking for clang version... N/A
N/A
configure: checking for buggy tools...
configure: checking for buggy tools...
N/A
configure: checking for buggy tools...
N/A
configure: checking for buggy tools...
checking for BeOS... checking for BeOS... checking for BeOS... no
checking for QNX... no
checking for QNX... no
checking for QNX... checking for BeOS... no
checking for Darwin (Mac OS X)... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking for Darwin (Mac OS X)... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h presence... no
checking AvailabilityMacros.h presence... no
no
checking AvailabilityMacros.h presence... checking AvailabilityMacros.h presence... no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... no
no
checking for AvailabilityMacros.h... no
checking --with-vim-name argument... checking for AvailabilityMacros.h... no
no
Defaulting to vim
no
checking for AvailabilityMacros.h... checking --with-ex-name argument... Defaulting to ex
no
checking --with-local-dir argument... checking --with-view-name argument... no
checking --with-local-dir argument... Defaulting to view
checking --with-vim-name argument... no
checking --with-global-runtime argument... Defaulting to vim
no
checking --with-vim-name argument... checking --with-local-dir argument... checking --with-ex-name argument... checking --with-modified-by argument... no
Defaulting to vim
Defaulting to ex
pkg-vim-maintainers@lists.alioth.debian.org
checking --with-ex-name argument... checking --with-view-name argument... checking --with-vim-name argument... Defaulting to ex
Defaulting to view
Defaulting to vim
checking --with-view-name argument... checking --with-global-runtime argument... checking --with-ex-name argument... Defaulting to view
no
Defaulting to ex
checking --with-modified-by argument... checking --with-global-runtime argument... checking --with-view-name argument... no
pkg-vim-maintainers@lists.alioth.debian.org
Defaulting to view
checking --with-modified-by argument... checking --with-global-runtime argument... pkg-vim-maintainers@lists.alioth.debian.org
no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... checking if character set is EBCDIC... checking if character set is EBCDIC... checking if character set is EBCDIC... no
no
checking --disable-smack argument... checking --disable-smack argument... yes
no
yes
no
checking --disable-smack argument... checking --disable-smack argument... yes
checking --disable-selinux argument... yes
no
checking --disable-selinux argument... checking for is_selinux_enabled in -lselinux... no
checking for is_selinux_enabled in -lselinux... checking --disable-selinux argument... checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking for is_selinux_enabled in -lselinux... yes
yes
checking --with-features argument... checking --with-features argument... huge
yes
huge
checking --with-features argument... checking --with-compiledby argument... small
checking --with-compiledby argument... yes
pkg-vim-maintainers@lists.alioth.debian.org
pkg-vim-maintainers@lists.alioth.debian.org
checking --disable-xsmp argument... checking --with-features argument... checking --disable-xsmp argument... checking --with-compiledby argument... huge
pkg-vim-maintainers@lists.alioth.debian.org
no
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... checking --disable-xsmp-interact argument... no
no
checking --with-compiledby argument... checking --enable-luainterp argument... yes
checking --enable-luainterp argument... pkg-vim-maintainers@lists.alioth.debian.org
checking --enable-luainterp argument... no
checking --disable-xsmp argument... no
yes
no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --enable-mzschemeinterp argument... checking --with-lua-prefix argument... checking --enable-mzschemeinterp argument... no
no
checking LUA_PREFIX environment var... no
not set, default to /usr
checking --with-luajit... no
checking for lua... checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
/usr/bin/lua
checking Lua version... checking for lua... /usr/bin/lua
checking Lua version... checking --enable-perlinterp argument... checking --enable-perlinterp argument... no
no
5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking if link with -L/usr/lib -llua5.2 is sane... checking --enable-pythoninterp argument... no
5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking --enable-pythoninterp argument... checking if link with -L/usr/lib -llua5.2 is sane... no
checking --enable-python3interp argument... no
checking --enable-python3interp argument... no
checking --enable-tclinterp argument... no
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... no
checking --enable-rubyinterp argument... checking --enable-cscope argument... no
yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... checking --enable-cscope argument... no
no
checking --enable-workshop argument... no
checking for socket in -lsocket... checking --disable-netbeans argument... yes
checking --disable-channel argument... cannot use channels with tiny or small features
checking --enable-terminal argument... cannot use terminal emulator with tiny or small features
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... no
checking for gethostbyname in -lnsl... yes
checking --enable-mzschemeinterp argument... no
yes
checking --enable-perlinterp argument... yes
checking --enable-mzschemeinterp argument... no
checking for perl... /usr/bin/perl
checking Perl version... checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... yes
OK
checking whether compiling with process communication is possible... OK
libraries , headers 
checking for gethostbyname... yes
checking --enable-terminal argument... yes
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
defaulting to: don't HAVE_X11
checking --enable-gui argument... yes
no GUI support
checking for connect... checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for remove... yes
checking for X11/SM/SMlib.h... yes
checking for /proc link to executable... /proc/self/exe
checking for CYGWIN or MSYS environment... no
checking whether toupper is broken... yes
checking for shmat... no
checking whether __DATE__ and __TIME__ work... yes
checking for IceConnectionNumber in -lICE... checking if compile and link flags for Perl are sane... checking if compile and link flags for Perl are sane... yes
checking whether __attribute__((unused)) is allowed... yes
checking elf.h usability... yes
checking if X11 header files can be found... yes
yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --enable-pythoninterp argument... no
checking for python3... checking --enable-python3interp argument... yes
/usr/bin/python3
checking Python version... checking for python3... /usr/bin/python3
checking Python version... yes
checking elf.h presence... 3.5
checking Python is 3.0 or better... 3.5
checking Python is 3.0 or better... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yep
checking Python's abiflags... yep
checking Python's abiflags... no
checking for dirent.h that defines DIR... m
checking Python's install prefix... yes
checking for IceOpenConnection in -lICE... m
checking Python's install prefix... yes
checking for library containing opendir... /usr
checking Python's execution prefix... /usr
checking Python's execution prefix... /usr
yes
checking for XpmCreatePixmapFromData in -lXpm... /usr
none required
checking stdint.h usability... checking Python's configuration directory... (cached) /usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf
checking Python's configuration directory... (cached) /usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf
yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking if X11 header files implicitly declare return values... checking Python3's dll name... libpython3.5m.so.1.0
checking if -pthread should be used... checking Python3's dll name... libpython3.5m.so.1.0
checking if -pthread should be used... yes
checking stdlib.h presence... no
checking size of wchar_t is 2 bytes... yes
checking for stdlib.h... yes
yes
yes
checking if compile and link flags for Python 3 are sane... checking if compile and link flags for Python 3 are sane... checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
no
checking --enable-gui argument... checking sys/select.h usability... no GUI support
checking for /proc link to executable... /proc/self/exe
checking for CYGWIN or MSYS environment... no
checking whether toupper is broken... yes
yes
checking if -fPIE can be added for Python3... checking if -fPIE can be added for Python3... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/utsname.h usability... yes
yes
checking --enable-tclinterp argument... yes
no
checking --enable-tclinterp argument... checking whether __DATE__ and __TIME__ work... yes
checking --with-tclsh argument... /usr/bin/tclsh
checking for /usr/bin/tclsh... checking --with-tclsh argument... /usr/bin/tclsh
checking for /usr/bin/tclsh... no
checking for tclsh... no
checking for tclsh... /usr/bin/tclsh
checking Tcl version... /usr/bin/tclsh
checking Tcl version... 8.6 - OK
8.6 - OK
checking for location of Tcl include... /usr/include/tcl8.6/tcl.h
checking for location of tclConfig.sh script... checking for location of Tcl include... yes
checking sys/utsname.h presence... /usr/include/tcl8.6/tcl.h
checking for location of tclConfig.sh script... /usr/lib/tclConfig.sh
/usr/lib/tclConfig.sh
yes
checking for sys/utsname.h... yes
yes
checking whether __attribute__((unused)) is allowed... checking termcap.h usability... yes
checking elf.h usability... no
checking termcap.h presence... checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... OK
OK
checking Ruby rbconfig... checking Ruby rbconfig... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... none required
checking stdint.h usability... yes
checking sys/ioctl.h presence... yes
checking stdint.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking for stdint.h... yes
checking stdlib.h usability... RbConfig
checking Ruby header files... RbConfig
checking Ruby header files... yes
checking stdlib.h presence... yes
checking sys/time.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking string.h presence... yes
checking for string.h... yes
yes
checking sys/types.h presence... checking sys/select.h usability... yes
checking for sys/types.h... yes
checking termio.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
yes
checking termio.h presence... checking sys/utsname.h usability... yes
checking for termio.h... yes
checking iconv.h usability... /usr/include/ruby-2.3.0
/usr/include/ruby-2.3.0
yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termcap.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking math.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking for math.h... yes
yes
checking sys/time.h presence... checking unistd.h usability... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking unistd.h presence... yes
checking sys/types.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking for sys/types.h... yes
checking termio.h usability... yes
checking stropts.h presence... yes
checking termio.h presence... yes
checking for stropts.h... yes
yes
checking for termio.h... yes
checking errno.h usability... checking iconv.h usability... yes
checking iconv.h presence... yes
checking errno.h presence... yes
checking for iconv.h... yes
yes
checking for errno.h... yes
checking inttypes.h usability... checking sys/resource.h usability... yes
checking inttypes.h presence... yes
checking sys/resource.h presence... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking langinfo.h presence... no
checking sys/systeminfo.h presence... yes
checking for langinfo.h... yes
checking math.h usability... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/stream.h usability... yes
checking math.h presence... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking for math.h... yes
checking unistd.h usability... yes
checking termios.h presence... yes
checking unistd.h presence... checking --enable-cscope argument... yes
checking --enable-workshop argument... checking --enable-cscope argument... no
yes
checking --disable-netbeans argument... checking --enable-workshop argument... no
no
checking --disable-netbeans argument... checking --disable-channel argument... no
no
checking --disable-channel argument... no
checking for socket in -lsocket... checking for socket in -lsocket... yes
checking for termios.h... yes
checking libc.h usability... yes
checking for unistd.h... yes
checking stropts.h usability... no
no
checking for gethostbyname in -lnsl... checking for gethostbyname in -lnsl... no
checking libc.h presence... yes
checking stropts.h presence... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking for stropts.h... yes
checking errno.h usability... yes
yes
checking whether compiling with process communication is possible... checking whether compiling with process communication is possible... yes
checking sys/statfs.h presence... yes
checking errno.h presence... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
yes
checking poll.h presence... checking --enable-terminal argument... yes
yes
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... yes
checking --enable-fontset argument... no
checking --enable-terminal argument... yes
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... yes
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... checking for xmkmf... no
checking for X... yes
checking sys/resource.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking sys/poll.h presence... no
checking sys/systeminfo.h presence... yes
checking for sys/poll.h... yes
checking pwd.h usability... no
checking for sys/systeminfo.h... no
checking locale.h usability... libraries , headers 
libraries , headers 
yes
checking pwd.h presence... yes
checking locale.h presence... yes
checking for pwd.h... yes
yes
checking for locale.h... yes
checking utime.h usability... checking sys/stream.h usability... checking for gethostbyname... checking for gethostbyname... yes
checking utime.h presence... no
checking sys/stream.h presence... yes
checking for utime.h... yes
no
checking for sys/stream.h... no
checking termios.h usability... checking sys/param.h usability... yes
checking for connect... yes
checking for connect... yes
checking termios.h presence... yes
checking sys/param.h presence... yes
checking for termios.h... yes
checking libc.h usability... yes
checking for remove... yes
checking for remove... yes
checking for sys/param.h... yes
checking libintl.h usability... no
checking libc.h presence... yes
checking for shmat... yes
checking for shmat... no
checking for libc.h... no
yes
checking libintl.h presence... checking sys/statfs.h usability... yes
checking for libintl.h... yes
checking libgen.h usability... yes
checking for IceConnectionNumber in -lICE... yes
checking for IceConnectionNumber in -lICE... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
yes
checking libgen.h presence... checking poll.h usability... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking if X11 header files can be found... yes
yes
checking poll.h presence... checking if X11 header files can be found... yes
checking for poll.h... yes
no
checking util/debug.h presence... checking sys/poll.h usability... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking sys/poll.h presence... no
checking util/msg18n.h presence... yes
checking for sys/poll.h... yes
checking pwd.h usability... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking for IceOpenConnection in -lICE... yes
checking for IceOpenConnection in -lICE... yes
checking pwd.h presence... no
checking frame.h presence... yes
checking for pwd.h... yes
checking utime.h usability... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking utime.h presence... yes
checking sys/acl.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
checking if X11 header files implicitly declare return values... yes
checking if X11 header files implicitly declare return values... no
checking sys/access.h presence... yes
checking sys/param.h presence... no
checking size of wchar_t is 2 bytes... no
no
checking for sys/access.h... no
checking size of wchar_t is 2 bytes... checking sys/sysinfo.h usability... yes
checking for sys/param.h... yes
checking libintl.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking libintl.h presence... no
checking --enable-gui argument... GTK+ 3.x GUI support
no
yes
checking for libintl.h... yes
checking --enable-gui argument... checking --disable-gtktest argument... gtk test enabled
checking for pkg-config... /usr/bin/pkg-config
GTK+ 2.x GUI support
checking --disable-gtktest argument... gtk test enabled
checking for pkg-config... /usr/bin/pkg-config
checking libgen.h usability... checking for GTK - version >= 3.0.0... checking for GTK - version >= 2.2.0... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
checking libgen.h presence... checking wctype.h usability... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking wctype.h presence... no
checking util/debug.h presence... yes
checking for wctype.h... yes
no
checking for util/debug.h... no
checking util/msg18n.h usability... checking for sys/ptem.h... no
checking for sys/sysctl.h... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking for pthread_np.h... no
checking strings.h usability... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking strings.h presence... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
yes
checking whether gcc needs -traditional... checking sys/access.h usability... no
checking for an ANSI C-conforming const... no
checking sys/access.h presence... yes
checking for working volatile... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking for mode_t... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for off_t... yes
checking for wchar.h... yes
checking wctype.h usability... yes; found version 2.24.31
checking version of Gdk-Pixbuf... OK.
checking for glib-compile-resources... /usr/bin/glib-compile-resources
checking glib-compile-resources... usable.
checking --disable-icon-cache-update argument... not set
checking for gtk-update-icon-cache... /usr/bin/gtk-update-icon-cache
checking --disable-desktop-database-update argument... not set
checking for update-desktop-database... no
not found in PATH.
checking X11/SM/SMlib.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking X11/xpm.h usability... no
checking for sys/sysctl.h... yes
checking for pid_t... yes
checking for pthread_np.h... yes; found version 3.22.21
checking version of Gdk-Pixbuf... OK.
checking for glib-compile-resources... /usr/bin/glib-compile-resources
checking glib-compile-resources... usable.
checking --disable-icon-cache-update argument... not set
checking for gtk-update-icon-cache... /usr/bin/gtk-update-icon-cache
checking --disable-desktop-database-update argument... not set
checking for update-desktop-database... no
not found in PATH.
checking X11/SM/SMlib.h usability... yes
checking X11/xpm.h presence... no
checking strings.h usability... yes
checking for X11/xpm.h... yes
checking X11/Sunkeysym.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
yes
checking for size_t... checking X11/xpm.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking strings.h presence... yes
checking for X11/Sunkeysym.h... yes
yes
checking for strings.h... yes
checking for XIMText in X11/Xlib.h... checking if strings.h can be included after string.h... yes
checking for /proc link to executable... /proc/self/exe
checking for CYGWIN or MSYS environment... no
checking whether toupper is broken... yes
checking whether gcc needs -traditional... yes
checking X11/xpm.h presence... no
checking for an ANSI C-conforming const... yes
checking for X11/xpm.h... yes
checking X11/Sunkeysym.h usability... yes
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for uint32_t... no
checking whether __DATE__ and __TIME__ work... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
yes
checking for mode_t... checking for XIMText in X11/Xlib.h... yes
yes
checking for /proc link to executable... /proc/self/exe
checking for CYGWIN or MSYS environment... checking whether __attribute__((unused)) is allowed... no
checking whether toupper is broken... yes
checking whether time.h and sys/time.h may both be included... yes
checking elf.h usability... yes
checking for ino_t... no
checking whether __DATE__ and __TIME__ work... yes
checking elf.h presence... yes
checking for off_t... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking whether __attribute__((unused)) is allowed... no
checking for dirent.h that defines DIR... yes
checking elf.h usability... yes
checking for dev_t... yes
checking for library containing opendir... yes
checking for pid_t... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for main in -lelf... none required
checking stdint.h usability... no
checking for dirent.h that defines DIR... yes
checking whether byte ordering is bigendian... yes
checking stdint.h presence... yes
checking for stdint.h... yes
yes
checking stdlib.h usability... checking for library containing opendir... yes
checking for size_t... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
none required
checking stdint.h usability... checking string.h usability... no
checking for inline... inline
checking for rlim_t... yes
checking stdint.h presence... yes
checking for uid_t in sys/types.h... yes
checking string.h presence... yes
checking for stack_t... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking for string.h... yes
yes
checking for uint32_t... checking sys/select.h usability... yes
checking whether stack_t has an ss_base field... yes
checking stdlib.h presence... no
checking --with-tlib argument... empty: automatic terminal library selection
yes
checking sys/select.h presence... checking for tgetent in -ltinfo... yes
checking for stdlib.h... yes
yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/select.h... yes
checking string.h usability... checking sys/utsname.h usability... yes
checking for ino_t... yes
checking string.h presence... yes
yes
checking sys/utsname.h presence... yes
checking for string.h... yes
checking sys/select.h usability... yes
checking for sys/utsname.h... yes
checking termcap.h usability... yes
checking sys/select.h presence... no
checking termcap.h presence... yes
checking for sys/select.h... yes
checking sys/utsname.h usability... checking whether we talk terminfo... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking for dev_t... yes
checking sys/utsname.h presence... yes
checking fcntl.h presence... yes
checking for sys/utsname.h... yes
checking termcap.h usability... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking what tgetent() returns for an unknown terminal... no
checking termcap.h presence... no
yes
checking for termcap.h... checking whether byte ordering is bigendian... no
yes
checking sgtty.h presence... checking fcntl.h usability... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... zero
checking whether termcap.h contains ospeed... yes
checking fcntl.h presence... no
checking whether ospeed can be extern... yes
checking for fcntl.h... yes
yes
checking sys/ioctl.h presence... checking sgtty.h usability... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... no
checking for inline... yes
checking sgtty.h presence... yes
inline
checking for rlim_t... checking whether termcap.h contains UP, BC and PC... yes
checking for sgtty.h... yes
yes
checking sys/time.h presence... checking sys/ioctl.h usability... yes
checking for stack_t... yes
no
checking for sys/time.h... checking whether UP, BC and PC can be extern... yes
checking sys/types.h usability... yes
checking whether stack_t has an ss_base field... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
yes
checking sys/types.h presence... no
checking --with-tlib argument... checking sys/time.h usability... empty: automatic terminal library selection
checking for tgetent in -ltinfo... yes
checking whether tputs() uses outfuntype... yes
checking for sys/types.h... yes
checking termio.h usability... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
yes
yes
checking termio.h presence... checking sys/types.h usability... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
yes
yes
checking iconv.h presence... checking termio.h usability... checking for ptyranges... checking whether we talk terminfo... don't know
checking default tty permissions/group... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking termio.h presence... yes
yes
checking inttypes.h presence... checking for termio.h... yes
checking iconv.h usability... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking what tgetent() returns for an unknown terminal... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
void
checking for struct sigcontext... checking math.h usability... zero
checking whether termcap.h contains ospeed... yes
checking inttypes.h presence... no
yes
checking whether ospeed can be extern... yes
checking for inttypes.h... yes
checking getcwd implementation is broken... checking langinfo.h usability... yes
checking math.h presence... yes
checking langinfo.h presence... yes
checking whether termcap.h contains UP, BC and PC... yes
checking for langinfo.h... yes
no
checking math.h usability... checking for fchdir... no
checking whether UP, BC and PC can be extern... yes
checking for math.h... yes
checking unistd.h usability... yes
yes
checking for fchown... checking whether tputs() uses outfuntype... yes
checking unistd.h presence... no
yes
checking math.h presence... checking whether sys/select.h and sys/time.h may both be included... yes
checking for unistd.h... yes
checking stropts.h usability... yes
yes
checking for /dev/ptc... no
checking for SVR4 ptys... checking for fsync... yes
checking for math.h... yes
checking unistd.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking errno.h usability... yes
checking for ptyranges... yes
checking for getcwd... yes
checking unistd.h presence... don't know
checking default tty permissions/group... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
checking for getpseudotty... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking errno.h usability... yes
can't determine - assume ptys are world accessible
checking sys/resource.h presence... world
checking return type of signal handlers... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... no
checking for getpwent... void
checking for struct sigcontext... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... no
checking sys/systeminfo.h presence... yes
checking getcwd implementation is broken... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking for getpwnam... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
no
checking for fchdir... yes
checking sys/stream.h usability... checking for getpwuid... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... no
checking sys/stream.h presence... yes
no
checking for sys/stream.h... no
checking for fchown... yes
checking termios.h usability... checking for getrlimit... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/stream.h usability... yes
checking termios.h presence... yes
checking for fsync... yes
checking for termios.h... yes
yes
checking for gettimeofday... checking libc.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking termios.h usability... no
checking libc.h presence... yes
checking for getcwd... yes
no
checking for libc.h... no
checking for getwd... checking sys/statfs.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking libc.h usability... yes
checking sys/statfs.h presence... yes
checking for getpseudotty... yes
yes
checking for sys/statfs.h... yes
checking for lstat... checking poll.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking poll.h presence... no
checking for getpwent... yes
yes
checking for poll.h... yes
checking for memset... checking sys/poll.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
yes
checking sys/poll.h presence... checking for getpwnam... yes
yes
checking for sys/poll.h... yes
checking for mkdtemp... checking pwd.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
yes
checking pwd.h presence... checking for getpwuid... yes
yes
checking for pwd.h... checking for nanosleep... yes
checking utime.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
yes
checking pwd.h usability... checking for getrlimit... yes
checking utime.h presence... yes
checking for opendir... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
yes
checking utime.h usability... checking for gettimeofday... yes
yes
checking sys/param.h presence... checking for putenv... yes
checking for sys/param.h... yes
checking libintl.h usability... yes
checking utime.h presence... yes
yes
checking for utime.h... yes
checking for getwd... checking sys/param.h usability... yes
checking for qsort... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking libgen.h usability... yes
checking sys/param.h presence... yes
checking for lstat... yes
checking for readlink... yes
checking for sys/param.h... yes
checking libintl.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking for memset... yes
checking libintl.h presence... yes
checking for select... yes
checking for libintl.h... yes
checking libgen.h usability... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking for mkdtemp... yes
checking libgen.h presence... yes
checking for setenv... yes
checking for libgen.h... yes
checking util/debug.h usability... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking for nanosleep... no
checking util/debug.h presence... yes
checking for getpgid... no
checking for util/debug.h... no
checking util/msg18n.h usability... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
no
checking util/msg18n.h presence... checking for opendir... yes
checking for setpgid... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
no
checking frame.h presence... checking for putenv... yes
checking for setsid... no
checking for frame.h... no
checking sys/acl.h usability... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking for qsort... yes
checking sys/acl.h presence... yes
checking for sigaltstack... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking for readlink... no
checking sys/access.h presence... yes
checking for sigstack... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
checking wctype.h usability... checking for select... yes
checking sys/sysinfo.h presence... yes
checking for sigset... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking wctype.h presence... yes
yes
checking for wctype.h... yes
checking for setenv... checking for sys/ptem.h... yes
checking for sigsetjmp... yes
checking wchar.h presence... no
checking for sys/sysctl.h... yes
checking for wchar.h... yes
checking wctype.h usability... yes
yes
checking for pthread_np.h... checking for getpgid... no
checking for sigaction... yes
checking wctype.h presence... no
checking strings.h usability... yes
checking for wctype.h... yes
checking for sys/ptem.h... yes
no
checking for sys/sysctl.h... checking for setpgid... yes
checking for sigprocmask... yes
checking strings.h presence... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking for pthread_np.h... yes
yes
checking for setsid... checking whether gcc needs -traditional... no
checking strings.h usability... yes
checking for sigvec... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking strings.h presence... yes
checking for sigaltstack... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... no
yes
checking for mode_t... checking for strcasecmp... yes
checking whether gcc needs -traditional... yes
no
checking for an ANSI C-conforming const... checking for sigstack... yes
checking for strerror... yes
checking for working volatile... yes
checking for mode_t... yes
checking for off_t... yes
checking for sigset... yes
checking for strftime... yes
checking for sigsetjmp... yes
checking for stricmp... yes
checking for off_t... yes
checking for pid_t... no
checking for sigaction... no
checking for strncasecmp... yes
checking for sigprocmask... yes
checking for pid_t... yes
checking for size_t... yes
checking for strnicmp... yes
checking for sigvec... no
checking for strpbrk... yes
yes
checking for uid_t in sys/types.h... checking for size_t... yes
checking for uint32_t... no
checking for strcasecmp... yes
checking for strtol... yes
checking whether time.h and sys/time.h may both be included... yes
checking for strerror... yes
checking for tgetent... yes
checking for ino_t... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking for strftime... yes
checking for towlower... yes
checking whether time.h and sys/time.h may both be included... yes
yes
checking for ino_t... yes
checking for dev_t... checking for stricmp... yes
checking for towupper... no
checking for strncasecmp... yes
checking for iswupper... yes
checking whether byte ordering is bigendian... yes
checking for dev_t... yes
checking for strnicmp... yes
checking for usleep... no
checking for strpbrk... no
checking for inline... yes
yes
checking whether byte ordering is bigendian... checking for utime... inline
checking for rlim_t... yes
checking for stack_t... yes
yes
checking whether stack_t has an ss_base field... checking for strtol... yes
checking for utimes... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... no
checking for inline... yes
checking for tgetent... inline
checking for rlim_t... yes
checking for _LARGEFILE_SOURCE value needed for large files... yes
checking for stack_t... yes
yes
checking whether stack_t has an ss_base field... yes
checking for towlower... no
no
checking --with-tlib argument... empty: automatic terminal library selection
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking for tgetent in -ltinfo... checking whether we talk terminfo... yes
checking for towupper... yes
64
checking for st_blksize... yes
checking whether stat() ignores a trailing slash... yes
checking what tgetent() returns for an unknown terminal... yes
checking for iswupper... checking whether we talk terminfo... yes
zero
no
checking for iconv_open()... checking whether termcap.h contains ospeed... checking for usleep... no
checking whether ospeed can be extern... yes
checking what tgetent() returns for an unknown terminal... yes
checking for utime... yes
checking whether termcap.h contains UP, BC and PC... yes
checking for nl_langinfo(CODESET)... no
checking whether UP, BC and PC can be extern... zero
checking whether termcap.h contains ospeed... yes
no
checking whether ospeed can be extern... checking for utimes... yes
checking whether tputs() uses outfuntype... yes
checking for strtod in -lm... yes
yes
checking whether termcap.h contains UP, BC and PC... no
checking whether sys/select.h and sys/time.h may both be included... checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether UP, BC and PC can be extern... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for strtod() and other floating point functions... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking whether tputs() uses outfuntype... yes
checking for ptyranges... no
checking whether sys/select.h and sys/time.h may both be included... don't know
checking default tty permissions/group... yes
64
checking for /dev/ptc... no
checking for SVR4 ptys... checking for st_blksize... yes
checking for isinf()... yes
checking whether stat() ignores a trailing slash... yes
checking for ptyranges... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... don't know
checking default tty permissions/group... void
checking for struct sigcontext... no
checking for iconv_open()... yes
checking for isnan()... yes
checking getcwd implementation is broken... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... void
checking for struct sigcontext... no
checking for fchdir... yes
checking for nl_langinfo(CODESET)... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
checking getcwd implementation is broken... no
checking for acl_get_file in -lacl... yes
checking for fchown... yes
checking for strtod in -lm... no
checking for fchdir... yes
checking for fgetxattr in -lattr... yes
yes
checking for strtod() and other floating point functions... checking for fsync... yes
checking for fchown... yes
checking for POSIX ACL support... yes
checking for getcwd... yes
checking for fsync... yes
checking for isinf()... yes
checking for acl_get in -lsec... yes
checking for getpseudotty... yes
no
checking for Solaris ACL support... checking for getcwd... no
checking for AIX ACL support... no
checking for getpwent... yes
checking for isnan()... yes
checking for getpseudotty... no
checking --disable-gpm argument... no
checking for gpm... yes
checking for getpwnam... no
checking for getpwent... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking --disable-acl argument... yes
no
checking for acl_get_file in -lposix1e... checking for getpwuid... no
checking for FD_CLOEXEC... yes
yes
checking for rename... no
checking for acl_get_file in -lacl... checking for getpwnam... yes
checking for getrlimit... yes
checking for fgetxattr in -lattr... yes
checking for getpwuid... yes
checking for sysctl... yes
checking for gettimeofday... not usable
checking for sysinfo... yes
checking for POSIX ACL support... yes
checking for getrlimit... yes
checking for sysinfo.mem_unit... yes
checking for getwd... yes
checking for sysconf... yes
checking for acl_get in -lsec... yes
checking for gettimeofday... yes
checking size of int... yes
checking for lstat... no
checking for Solaris ACL support... yes
checking for getwd... no
checking for AIX ACL support... yes
checking for memset... no
checking --disable-gpm argument... yes
checking --disable-sysmouse argument... no
checking for sysmouse... 4
checking size of long... yes
no
checking for FD_CLOEXEC... checking for lstat... yes
checking for mkdtemp... yes
checking for rename... yes
checking for memset... 4
yes
checking size of time_t... checking for nanosleep... yes
checking for sysctl... yes
not usable
checking for sysinfo... checking for mkdtemp... yes
checking for opendir... yes
checking for sysinfo.mem_unit... yes
4
checking for nanosleep... checking size of off_t... yes
checking for sysconf... yes
checking for putenv... yes
checking size of int... yes
checking for opendir... yes
checking for qsort... 8
checking uint32_t is 32 bits... yes
checking for putenv... 4
checking size of long... yes
checking for readlink... ok
checking whether memmove handles overlaps... yes
checking for qsort... yes
checking for select... 4
checking size of time_t... yes
yes
checking for _xpg4_setrunelocale in -lxpg4... checking for readlink... yes
checking for setenv... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... yes
checking for select... 4
checking size of off_t... yes
checking for getpgid... gettext() works
checking for bind_textdomain_codeset... yes
checking for setenv... yes
checking for setpgid... yes
checking for _nl_msg_cat_cntr... 8
checking uint32_t is 32 bits... yes
checking for getpgid... yes
checking for setsid... yes
checking dlfcn.h usability... ok
checking whether memmove handles overlaps... yes
checking for setpgid... yes
checking for sigaltstack... yes
checking dlfcn.h presence... yes
checking for setsid... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking whether X_LOCALE needed... yes
checking for sigstack... no
checking for dlopen() in -ldl... yes
checking for sigaltstack... yes
no
checking whether Xutf8SetWMProperties() can be used... checking for sigset... yes
checking for dlsym()... yes
checking for sigstack... yes
checking for sigsetjmp... yes
checking for _xpg4_setrunelocale in -lxpg4... yes
checking setjmp.h usability... yes
checking for sigset... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... yes
checking setjmp.h presence... msgfmt
checking for NLS... no
checking for sigaction... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
yes
checking for sigsetjmp... gettext() works
checking dlfcn.h usability... yes
checking for sigprocmask... configure: updating cache auto/config.cache
configure: creating auto/config.status
no
checking for sigaction... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for sigvec... yes
config.status: creating auto/config.mk
checking for sigprocmask... config.status: creating auto/config.h
no
checking for dlopen() in -ldl... no
checking for strcasecmp... yes
touch configure-stamp-vim-basic
checking for sigvec... dh_testdir
yes
checking for dlsym()... *** DEBIAN *** CONFIGURING VARIANT vim-athena
/usr/bin/make -C src shadow SHADOWDIR=vim-athena
yes
checking for strerror... make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/sh install-sh -c -d vim-athena
cd vim-athena; ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh .
mkdir vim-athena/auto
cd vim-athena/auto; ln -s ../../auto/configure .
/bin/sh install-sh -c -d vim-athena/po
no
cd vim-athena/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
checking for strcasecmp... yes
checking setjmp.h usability... cd vim-athena; rm -f auto/link.sed
cp Makefile configure vim-athena
rm -f vim-athena/auto/config.mk vim-athena/config.mk.dist
cp config.mk.dist vim-athena/auto/config.mk
cp config.mk.dist vim-athena
/bin/sh install-sh -c -d vim-athena/xxd
cd vim-athena/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
if test -d os_mac_rsrc; then \
	cd vim-athena; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
/bin/sh install-sh -c -d vim-athena/testdir
cd vim-athena/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/Make_all.mak \
			 ../../testdir/README.txt \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/*.py \
			 ../../testdir/python* \
			 ../../testdir/pyxfile \
			 ../../testdir/sautest \
			 ../../testdir/samples \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-athena && LDFLAGS="-Wl,-z,relro -Wl,-z,now" CPPFLAGS="-Wdate-time" CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="pkg-vim-maintainers@lists.alioth.debian.org" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --enable-terminal --with-x --enable-xim --enable-gui=athena --disable-gtk2-check --disable-gtk3-check --disable-gnome-check --disable-motif-check --enable-athena-check --enable-fontset --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-python3interp --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf --disable-pythoninterp --enable-rubyinterp --enable-tclinterp --with-tclsh=/usr/bin/tclsh
yes
checking for strftime... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... checking for strerror... yes
yes
checking for stricmp... configure: updating cache auto/config.cache
configure: creating auto/config.status
yes
checking for strftime... no
checking for strncasecmp... yes
config.status: creating auto/config.mk
checking for stricmp... config.status: creating auto/config.h
yes
checking for strnicmp... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... touch configure-stamp-vim-tiny
dh_testdir
yes
checking for gcc... gcc
no
checking for strncasecmp... checking whether the C compiler works... *** DEBIAN *** CONFIGURING VARIANT vim-nox
/usr/bin/make -C src shadow SHADOWDIR=vim-nox
no
checking for strpbrk... make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/sh install-sh -c -d vim-nox
cd vim-nox; ln -s ../*.[chm] ../*.in ../*.sh ../*.xs ../*.xbm ../gui_gtk_res.xml ../toolcheck ../proto ../libvterm ../vimtutor ../gvimtutor ../install-sh .
mkdir vim-nox/auto
cd vim-nox/auto; ln -s ../../auto/configure .
/bin/sh install-sh -c -d vim-nox/po
cd vim-nox/po; ln -s ../../po/*.po ../../po/*.mak ../../po/*.vim ../../po/Makefile .
yes
cd vim-nox; rm -f auto/link.sed
cp Makefile configure vim-nox
rm -f vim-nox/auto/config.mk vim-nox/config.mk.dist
cp config.mk.dist vim-nox/auto/config.mk
cp config.mk.dist vim-nox
checking for strnicmp... /bin/sh install-sh -c -d vim-nox/xxd
yes
checking for C compiler default output file name... a.out
checking for suffix of executables... cd vim-nox/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
if test -d os_mac_rsrc; then \
	cd vim-nox; \
	ln -s ../infplist.xml .; \
	ln -s ../os_mac_rsrc ../os_mac.rsr.hqx ../dehqx.py .; \
fi
/bin/sh install-sh -c -d vim-nox/testdir
cd vim-nox/testdir; ln -s ../../testdir/Makefile \
			 ../../testdir/Make_all.mak \
			 ../../testdir/README.txt \
			 ../../testdir/*.in \
			 ../../testdir/*.vim \
			 ../../testdir/*.py \
			 ../../testdir/python* \
			 ../../testdir/pyxfile \
			 ../../testdir/sautest \
			 ../../testdir/samples \
			 ../../testdir/test83-tags? \
			 ../../testdir/*.ok .
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
if test -f src/auto/config.cache; then make distclean; fi
cd src/vim-nox && LDFLAGS="-Wl,-z,relro -Wl,-z,now" CPPFLAGS="-Wdate-time" CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" ./configure --prefix=/usr --mandir='${prefix}'/share/man --without-local-dir --with-modified-by="pkg-vim-maintainers@lists.alioth.debian.org" --with-compiledby="pkg-vim-maintainers@lists.alioth.debian.org" --enable-fail-if-missing --enable-cscope --enable-gpm --enable-selinux --disable-smack --with-features=huge --enable-multibyte --enable-acl --enable-terminal --without-x --enable-gui=no --enable-luainterp --disable-mzschemeinterp --enable-perlinterp --enable-python3interp --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf --disable-pythoninterp --enable-rubyinterp --enable-tclinterp --with-tclsh=/usr/bin/tclsh
yes
checking for strtol... 
checking whether we are cross compiling... no
checking for strpbrk... yes
checking for tgetent... no
checking for suffix of object files... yes
checking for strtol... o
checking whether we are using the GNU C compiler... yes
checking for towlower... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... yes
checking for tgetent... configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
yes
checking for gcc... gcc
checking for towupper... none needed
checking how to run the C preprocessor... checking whether the C compiler works... yes
checking for towlower... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... yes
/bin/grep -E
checking for iswupper... checking for fgrep... /bin/grep -F
checking for library containing strerror... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for towupper... 
none required
checking for gawk... no
checking whether we are cross compiling... checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... yes
checking for usleep... yes
checking for iswupper... no
checking for suffix of object files... yes
checking for utime... o
checking whether we are using the GNU C compiler... yes
checking for usleep... yes
checking whether gcc accepts -g... yes
checking for utimes... yes
checking for gcc option to accept ISO C89... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for utime... yes
none needed
checking --enable-fail-if-missing argument... checking how to run the C preprocessor... yes
checking for clang version... yes
N/A
configure: checking for buggy tools...
checking for BeOS... checking for _LARGEFILE_SOURCE value needed for large files... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... gcc -E
yes
checking for grep that handles long lines and -e... no
checking AvailabilityMacros.h presence... /bin/grep
checking for egrep... checking for utimes... /bin/grep -E
checking for fgrep... no
checking for AvailabilityMacros.h... no
/bin/grep -F
checking for library containing strerror... checking --with-local-dir argument... no
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking --disable-smack argument... yes
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... yes
checking for _LARGEFILE_SOURCE value needed for large files... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... yes
checking --with-features argument... huge
checking --with-compiledby argument... pkg-vim-maintainers@lists.alioth.debian.org
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
64
checking for lua... /usr/bin/lua
checking Lua version... 5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking if link with -L/usr/lib -llua5.2 is sane... checking for st_blksize... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... yes
checking whether stat() ignores a trailing slash... yes
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... 64
OK
checking for st_blksize... no
checking for iconv_open()... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether stat() ignores a trailing slash... yes
checking --enable-fail-if-missing argument... yes
checking for clang version... N/A
configure: checking for buggy tools...
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h presence... yes
no
checking for iconv_open()... checking for nl_langinfo(CODESET)... no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... no
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... pkg-vim-maintainers@lists.alioth.debian.org
checking if character set is EBCDIC... no
checking --disable-smack argument... yes
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... yes
checking for strtod in -lm... yes
checking --with-features argument... huge
checking --with-compiledby argument... pkg-vim-maintainers@lists.alioth.debian.org
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
checking for lua... /usr/bin/lua
checking Lua version... 5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking if link with -L/usr/lib -llua5.2 is sane... yes
checking for nl_langinfo(CODESET)... yes
checking for strtod() and other floating point functions... checking if compile and link flags for Perl are sane... yes
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/bin/perl
checking Perl version... yes
checking for strtod in -lm... OK
yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking for python3... /usr/bin/python3
checking Python version... yes
checking for strtod() and other floating point functions... 3.5
checking Python is 3.0 or better... yes
checking for isinf()... yep
checking Python's abiflags... m
checking Python's install prefix... yes
checking for isinf()... /usr
checking Python's execution prefix... yes
checking for isnan()... /usr
checking Python's configuration directory... (cached) /usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf
checking Python3's dll name... libpython3.5m.so.1.0
checking if -pthread should be used... yes
checking for isnan()... checking if compile and link flags for Perl are sane... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
checking if compile and link flags for Python 3 are sane... no
checking for acl_get_file in -lacl... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking for python3... /usr/bin/python3
checking Python version... 3.5
checking Python is 3.0 or better... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
checking for fgetxattr in -lattr... yes
checking if -fPIE can be added for Python3... yep
checking Python's abiflags... no
checking for acl_get_file in -lacl... yes
checking for POSIX ACL support... yes
checking --enable-tclinterp argument... yes
m
checking Python's install prefix... checking --with-tclsh argument... /usr/bin/tclsh
checking for /usr/bin/tclsh... no
checking for tclsh... /usr/bin/tclsh
checking Tcl version... 8.6 - OK
yes
checking for fgetxattr in -lattr... checking for location of Tcl include... /usr/include/tcl8.6/tcl.h
checking for location of tclConfig.sh script... /usr
checking Python's execution prefix... /usr/lib/tclConfig.sh
yes
checking for acl_get in -lsec... /usr
yes
checking for POSIX ACL support... checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... checking Python's configuration directory... (cached) /usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf
no
checking for Solaris ACL support... checking Python3's dll name... libpython3.5m.so.1.0
checking if -pthread should be used... no
checking for AIX ACL support... yes
checking for acl_get in -lsec... no
checking for pango_shape_full... yes
checking if compile and link flags for Python 3 are sane... no
checking for Solaris ACL support... OK
checking Ruby rbconfig... no
checking for AIX ACL support... yes
checking if -fPIE can be added for Python3... no
checking for pango_shape_full... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... /usr/bin/tclsh
checking for /usr/bin/tclsh... no
checking for tclsh... /usr/bin/tclsh
checking Tcl version... 8.6 - OK
RbConfig
checking Ruby header files... checking for location of Tcl include... /usr/include/tcl8.6/tcl.h
checking for location of tclConfig.sh script... /usr/lib/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/bin/ruby
checking Ruby version... /usr/include/ruby-2.3.0
OK
checking Ruby rbconfig... yes
checking --disable-gpm argument... no
checking for gpm... RbConfig
checking Ruby header files... yes
checking --disable-sysmouse argument... no
checking for sysmouse... no
checking for FD_CLOEXEC... yes
checking for rename... yes
checking for sysctl... /usr/include/ruby-2.3.0
yes
checking --disable-gpm argument... no
checking for gpm... not usable
checking for sysinfo... yes
checking for sysinfo.mem_unit... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking for sysconf... no
checking for FD_CLOEXEC... yes
checking size of int... yes
checking for rename... yes
checking for sysctl... 4
checking size of long... not usable
checking for sysinfo... yes
checking for sysinfo.mem_unit... yes
checking for sysconf... 4
checking size of time_t... yes
checking size of int... 4
checking size of off_t... 4
checking size of long... 8
checking uint32_t is 32 bits... checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... 4
checking size of time_t... no
checking for gethostbyname in -lnsl... ok
checking whether memmove handles overlaps... yes
checking whether compiling with process communication is possible... 4
checking size of off_t... yes
checking whether X_LOCALE needed... yes
checking --enable-terminal argument... yes
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... yes
checking --enable-fontset argument... yes
checking for xmkmf... no
checking for X... 8
checking uint32_t is 32 bits... no
checking whether Xutf8SetWMProperties() can be used... ok
checking whether memmove handles overlaps... checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... libraries , headers 
yes
checking for _xpg4_setrunelocale in -lxpg4... no
checking for gethostbyname in -lnsl... checking for gethostbyname... no
checking how to create tags... ctags
checking how to run man with a section nr... yes
checking whether X_LOCALE needed... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... yes
checking whether compiling with process communication is possible... yes
checking for connect... gettext() works
checking for bind_textdomain_codeset... yes
checking for remove... no
checking whether Xutf8SetWMProperties() can be used... yes
checking --enable-terminal argument... yes
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
defaulting to: don't HAVE_X11
checking --enable-gui argument... no GUI support
checking X11/SM/SMlib.h usability... yes
checking for _nl_msg_cat_cntr... yes
checking for shmat... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for /proc link to executable... /proc/self/exe
checking for CYGWIN or MSYS environment... no
checking whether toupper is broken... yes
checking for _xpg4_setrunelocale in -lxpg4... yes
checking dlfcn.h usability... yes
checking for IceConnectionNumber in -lICE... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... no
yes
checking whether __DATE__ and __TIME__ work... checking for dlopen()... yes
checking if X11 header files can be found... gettext() works
checking for bind_textdomain_codeset... yes
checking whether __attribute__((unused)) is allowed... no
checking for dlopen() in -ldl... yes
checking elf.h usability... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking for _nl_msg_cat_cntr... yes
checking for dlsym()... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for IceOpenConnection in -lICE... yes
checking dlfcn.h usability... no
checking for dirent.h that defines DIR... yes
checking setjmp.h usability... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for library containing opendir... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
none required
checking stdint.h usability... yes
checking if X11 header files implicitly declare return values... no
checking for dlopen() in -ldl... configure: updating cache auto/config.cache
configure: creating auto/config.status
yes
checking stdint.h presence... no
checking size of wchar_t is 2 bytes... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking for dlsym()... yes
checking stdlib.h presence... config.status: creating auto/config.mk
yes
checking for stdlib.h... yes
checking string.h usability... config.status: creating auto/config.h
no
checking --enable-gui argument... Athena GUI support
checking if Athena header files can be found... yes
checking setjmp.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking sys/select.h usability... touch configure-stamp-vim-gtk
dh_testdir
yes
checking setjmp.h presence... yes
checking for XShapeQueryExtension in -lXext... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
yes
checking sys/select.h presence... dh_prep -p vim
yes
checking for sys/select.h... yes
checking sys/utsname.h usability... yes
checking for wslen in -lw... configure: updating cache auto/config.cache
configure: creating auto/config.status
yes
checking sys/utsname.h presence... *** DEBIAN *** BUILDING VARIANT vim-basic
/usr/bin/make -C src/vim-basic
yes
checking for sys/utsname.h... yes
no
checking for dlsym in -ldl... checking termcap.h usability... make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
/bin/sh install-sh -c -d objects
touch objects/.dirstamp
CC="gcc -Iproto -DHAVE_CONFIG_H   -Wdate-time    " srcdir=. sh ./osdef.sh
no
checking termcap.h presence... config.status: creating auto/config.mk
no
checking for termcap.h... no
config.status: creating auto/config.h
checking fcntl.h usability... yes
checking for XmuCreateStippledPixmap in -lXmu... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
touch configure-stamp-vim-gtk3
dh_testdir
checking sgtty.h usability... yes
checking for extra X11 defines... no
checking X11/SM/SMlib.h usability... dh_prep -p vim-tiny
yes
checking sgtty.h presence... yes
checking X11/SM/SMlib.h presence... yes
checking for sgtty.h... yes
yes
checking for X11/SM/SMlib.h... yes
creating auto/pathdef.c
checking sys/ioctl.h usability... checking X11/xpm.h usability... gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/popupmnu.o popupmnu.c
*** DEBIAN *** BUILDING VARIANT vim-tiny
/usr/bin/make -C src/vim-tiny
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-tiny'
/bin/sh install-sh -c -d objects
touch objects/.dirstamp
CC="gcc -Iproto -DHAVE_CONFIG_H   -Wdate-time    " srcdir=. sh ./osdef.sh
yes
checking sys/ioctl.h presence... yes
checking X11/xpm.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking for X11/xpm.h... yes
checking X11/Sunkeysym.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
yes
checking X11/Sunkeysym.h presence... checking sys/types.h usability... yes
checking for X11/Sunkeysym.h... yes
checking for XIMText in X11/Xlib.h... yes
checking for X11/Xmu/Editres.h... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking termio.h usability... yes
checking for /proc link to executable... /proc/self/exe
checking for CYGWIN or MSYS environment... no
checking whether toupper is broken... yes
checking termio.h presence... yes
checking for termio.h... yes
checking iconv.h usability... no
checking whether __DATE__ and __TIME__ work... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... creating auto/pathdef.c
yes
checking whether __attribute__((unused)) is allowed... gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/popupmnu.o popupmnu.c
yes
checking inttypes.h presence... yes
checking elf.h usability... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking elf.h presence... yes
checking langinfo.h presence... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for langinfo.h... yes
checking math.h usability... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pty.o pty.c
yes
checking math.h presence... none required
checking stdint.h usability... gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pty.o pty.c
yes
checking for math.h... yes
checking unistd.h usability... yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking stdlib.h presence... gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/quickfix.o quickfix.c
yes
checking for stdlib.h... yes
checking string.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking errno.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking sys/select.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
yes
checking sys/select.h presence... checking sys/resource.h usability... yes
checking for sys/select.h... yes
checking sys/utsname.h usability... gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/quickfix.o quickfix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/regexp.o regexp.c
yes
checking sys/resource.h presence... yes
checking sys/utsname.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... yes
checking for sys/utsname.h... yes
checking termcap.h usability... no
checking termcap.h presence... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
no
checking for termcap.h... no
checking locale.h usability... checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking locale.h presence... yes
checking for fcntl.h... yes
yes
checking for locale.h... yes
checking sgtty.h usability... checking sys/stream.h usability... yes
checking sgtty.h presence... no
checking sys/stream.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
yes
checking termios.h presence... checking sys/time.h usability... yes
checking for termios.h... yes
checking libc.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
no
checking libc.h presence... checking sys/types.h usability... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
yes
checking sys/statfs.h presence... checking termio.h usability... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pwd.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking utime.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking math.h presence... yes
checking for sys/param.h... yes
checking libintl.h usability... yes
checking for math.h... yes
checking unistd.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking libgen.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking errno.h usability... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking sys/access.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/stream.h usability... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking libc.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... no
checking for sys/sysctl.h... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
checking for pthread_np.h... no
checking strings.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking strings.h presence... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pwd.h usability... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking pwd.h presence... yes
checking for working volatile... yes
checking for pwd.h... yes
checking utime.h usability... yes
checking for mode_t... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking for off_t... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking libgen.h usability... yes
checking for pid_t... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... yes
checking for size_t... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/acl.h presence... yes
checking for ino_t... yes
checking for sys/acl.h... yes
checking sys/access.h usability... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking for dev_t... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
yes
checking whether byte ordering is bigendian... checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/regexp.o regexp.c
no
checking for sys/sysctl.h... no
checking for inline... inline
checking for rlim_t... yes
checking for pthread_np.h... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... no
checking strings.h usability... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... yes
checking strings.h presence... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for working volatile... checking whether we talk terminfo... yes
checking for mode_t... yes
checking what tgetent() returns for an unknown terminal... yes
checking for off_t... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... yes
checking for pid_t... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... yes
checking whether tputs() uses outfuntype... yes
checking for size_t... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for uid_t in sys/types.h... yes
checking for ptyranges... yes
checking for uint32_t... don't know
checking default tty permissions/group... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... yes
checking for dev_t... no
checking for fchdir... yes
checking whether byte ordering is bigendian... yes
checking for fchown... yes
checking for fsync... no
checking for inline... inline
checking for rlim_t... yes
checking for stack_t... yes
checking for getcwd... yes
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... yes
checking for getpseudotty... yes
no
checking for getpwent... checking whether we talk terminfo... yes
checking for getpwnam... yes
yes
checking what tgetent() returns for an unknown terminal... checking for getpwuid... yes
checking for getrlimit... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... yes
checking for gettimeofday... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... yes
checking for getwd... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for lstat... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for memset... yes
checking for ptyranges... don't know
checking default tty permissions/group... yes
checking for mkdtemp... yes
checking for nanosleep... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... void
checking for struct sigcontext... yes
checking for opendir... yes
checking getcwd implementation is broken... yes
checking for putenv... no
checking for fchdir... yes
checking for qsort... yes
checking for fchown... yes
checking for readlink... yes
checking for fsync... yes
checking for select... yes
checking for getcwd... yes
checking for setenv... yes
checking for getpseudotty... yes
checking for getpgid... no
checking for getpwent... yes
checking for setpgid... yes
checking for getpwnam... yes
checking for setsid... yes
checking for getpwuid... yes
checking for sigaltstack... yes
checking for getrlimit... yes
checking for sigstack... yes
checking for gettimeofday... yes
checking for sigset... yes
checking for getwd... yes
checking for sigsetjmp... yes
checking for lstat... no
checking for sigaction... yes
checking for memset... yes
checking for sigprocmask... yes
checking for mkdtemp... yes
checking for sigvec... yes
checking for nanosleep... no
checking for strcasecmp... yes
checking for opendir... yes
checking for strerror... yes
checking for putenv... yes
checking for strftime... yes
checking for qsort... yes
checking for stricmp... yes
checking for readlink... no
checking for strncasecmp... yes
checking for select... yes
checking for strnicmp... yes
checking for setenv... no
checking for strpbrk... yes
checking for getpgid... yes
checking for strtol... yes
checking for setpgid... yes
checking for tgetent... yes
checking for setsid... yes
checking for towlower... yes
checking for sigaltstack... yes
checking for towupper... yes
checking for sigstack... yes
checking for iswupper... yes
checking for sigset... yes
checking for usleep... yes
checking for sigsetjmp... yes
checking for utime... no
checking for sigaction... yes
checking for utimes... yes
checking for sigprocmask... yes
checking for _LARGEFILE_SOURCE value needed for large files... yes
checking for sigvec... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for strcasecmp... 64
checking for st_blksize... yes
checking for strerror... yes
checking whether stat() ignores a trailing slash... yes
checking for strftime... no
checking for iconv_open()... yes
checking for stricmp... yes
checking for nl_langinfo(CODESET)... no
checking for strncasecmp... yes
checking for strtod in -lm... yes
checking for strnicmp... yes
checking for strtod() and other floating point functions... no
checking for strpbrk... yes
checking for strtol... yes
checking for isinf()... yes
checking for tgetent... yes
checking for towlower... yes
checking for isnan()... yes
checking for towupper... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... yes
checking for iswupper... no
checking for acl_get_file in -lacl... yes
checking for usleep... yes
checking for fgetxattr in -lattr... yes
checking for utime... yes
checking for POSIX ACL support... yes
checking for utimes... yes
checking for acl_get in -lsec... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for Solaris ACL support... no
checking for AIX ACL support... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking --disable-gpm argument... no
checking for gpm... 64
checking for st_blksize... yes
checking --disable-sysmouse argument... no
checking for sysmouse... no
checking for FD_CLOEXEC... yes
checking whether stat() ignores a trailing slash... yes
checking for rename... no
checking for iconv_open()... yes
checking for sysctl... not usable
checking for sysinfo... yes
checking for sysinfo.mem_unit... yes
checking for nl_langinfo(CODESET)... yes
checking for sysconf... yes
checking size of int... yes
checking for strtod in -lm... yes
checking for strtod() and other floating point functions... 4
checking size of long... yes
checking for isinf()... 4
checking size of time_t... yes
checking for isnan()... 4
checking size of off_t... 8
checking uint32_t is 32 bits... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... no
checking for acl_get_file in -lacl... ok
checking whether memmove handles overlaps... yes
checking for fgetxattr in -lattr... yes
checking for _xpg4_setrunelocale in -lxpg4... yes
checking for POSIX ACL support... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... yes
checking for acl_get in -lsec... gettext() works
checking for bind_textdomain_codeset... no
checking for Solaris ACL support... no
checking for AIX ACL support... yes
checking for _nl_msg_cat_cntr... no
checking --disable-gpm argument... no
checking for gpm... yes
checking dlfcn.h usability... yes
checking --disable-sysmouse argument... no
checking for sysmouse... yes
checking dlfcn.h presence... no
checking for FD_CLOEXEC... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for rename... no
checking for dlopen() in -ldl... yes
checking for sysctl... yes
checking for dlsym()... not usable
checking for sysinfo... yes
checking for sysinfo.mem_unit... yes
checking setjmp.h usability... yes
checking for sysconf... yes
checking setjmp.h presence... yes
checking size of int... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
configure: updating cache auto/config.cache
configure: creating auto/config.status
4
checking size of long... config.status: creating auto/config.mk
config.status: creating auto/config.h
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/screen.o screen.c
4
checking size of time_t... touch configure-stamp-vim-nox
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/search.o search.c
4
checking size of off_t... 8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... yes
checking whether X_LOCALE needed... no
checking whether Xutf8SetWMProperties() can be used... yes
checking for _xpg4_setrunelocale in -lxpg4... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... gettext() works
checking for bind_textdomain_codeset... yes
checking for _nl_msg_cat_cntr... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... no
checking for dlopen() in -ldl... yes
checking for dlsym()... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
configure: updating cache auto/config.cache
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h
touch configure-stamp-vim-athena
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spellfile.o spellfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/search.o search.c
dh_testdir
dh_prep -p vim-gtk
*** DEBIAN *** BUILDING VARIANT vim-gtk
/usr/bin/make -C src/vim-gtk
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk'
/bin/sh install-sh -c -d objects
touch objects/.dirstamp
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time    " srcdir=. sh ./osdef.sh
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/popupmnu.o popupmnu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pty.o pty.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/quickfix.o quickfix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/terminal.o terminal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ui.o ui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/undo.o undo.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/userfunc.o userfunc.c
dh_testdir
dh_prep -p vim-gtk3
*** DEBIAN *** BUILDING VARIANT vim-gtk3
/usr/bin/make -C src/vim-gtk3
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk3'
/bin/sh install-sh -c -d objects
touch objects/.dirstamp
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time    " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/window.o window.c
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/popupmnu.o popupmnu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pty.o pty.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/regexp.o regexp.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/quickfix.o quickfix.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json.o json.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile.o memfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/regexp.o regexp.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spellfile.o spellfile.c
cd xxd; CC="gcc" CFLAGS="-Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-tiny/xxd'
gcc -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-tiny/xxd'
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/dict.o dict.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/evalfunc.o evalfunc.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_eval.o ex_eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/terminal.o terminal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/farsi.o farsi.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ui.o ui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fileio.o fileio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/undo.o undo.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/userfunc.o userfunc.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fold.o fold.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/getchar.o getchar.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_cscope.o if_cscope.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_xcmdsrv.o if_xcmdsrv.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/list.o list.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mark.o mark.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memline.o memline.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_encoding.o libvterm/src/encoding.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_keyboard.o libvterm/src/keyboard.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_mouse.o libvterm/src/mouse.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_parser.o libvterm/src/parser.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spell.o spell.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_pen.o libvterm/src/pen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc1.o misc1.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_screen.o libvterm/src/screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spellfile.o spellfile.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_state.o libvterm/src/state.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc2.o misc2.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_unicode.o libvterm/src/unicode.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_vterm.o libvterm/src/vterm.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/netbeans.o netbeans.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/channel.o channel.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spellfile.o spellfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/normal.o normal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json.o json.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/syntax.o syntax.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile.o memfile.c
gcc -c -I.       -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/os_unix.o os_unix.c
cd xxd; CC="gcc" CFLAGS="-Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/xxd'
gcc -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1938 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
182 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1902 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1928 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pathdef.o auto/pathdef.c
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/tag.o tag.c
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1634 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o               objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o    -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo  -lselinux -lacl -lattr -ldl           
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/terminal.o terminal.c
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-tiny'
# Ensure ERM is set to a sane value for testing
[ yes != "yes" ] || flock debian env TERM=xterm /usr/bin/make -j1 -C src/vim-tiny test
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-tiny'
/usr/bin/make -f Makefile vim
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-tiny'
make[2]: 'vim' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-tiny'
if test -n "" -a -f po/Makefile; then \
	cd po; /usr/bin/make -f Makefile check VIM=../vim; \
fi
if test vim != vim -a ! -r vim; then \
	ln -s vim vim; \
fi
cd testdir; /usr/bin/make -f Makefile  VIMPROG=../vim  SCRIPTSOURCE=../../runtime
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-tiny/testdir'
rm -f test.log messages
rm -rf test1.failed test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out wrongtermsize
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test1.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test1.in" 57 lines, 2069 charactersFirst 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 1133 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l





/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" If columns or lines are too small, create wrongtermsize.
[?25l[?25h[?25l:[?2004h[?25h" (Some tests will fail. When columns and/or lines are small)
[?25l[?25h[?25l:[?2004h[?25hif &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Write a single line to test.out to check if testing works at all.
[?25l[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lthis is a test[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 15 characters written[?25h[?25l:[?2004h[?25h" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?25h
[?25l[?25h[?25l:[?2004h[?25hw! small.vim
[?25l"small.vim" gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/buffer.o buffer.c
[New File] 1 line, 1 character written[?25h[?25l:[?2004h[?25hw! tiny.vim
[?25l"tiny.vim" [New File] 1 line, 1 character written[?25h[?2004l[?2004h[?25le! test.ok

w! test.outqa![?25h[?25l:[?2004h[?25hw! mbyte.vim
[?25l"mbyte.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! mzscheme.vim
[?25l"mzscheme.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! lua.vim
[?25l"lua.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +lua feature supported, make lua.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("lua") | sp another | w! lua.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?25h[?25l:[?2004h[?25h" Otherwise write small.vim to skip the test.
[?25l[?25h[?25l:[?2004h[?25hif 1 | q! | endif
[?25l[?25h[?25l:[?2004h[?25hw! small.vim
[?25l"small.vim" 4 lines, 28 characters written[?25h[?25l:[?2004h[?25h" If +windows feature not supported :sp will fail and tiny.vim will be
[?25l[?25h[?25l:[?2004h[?25h" written to skip the test.
[?25l[?25h[?25l:[?2004h[?25hsp another
[?25l"another" [New File]~                                                                               ~                                                                               ~                                                                               another                                                                         qa!test1.in                                                                        [?25h[?25l:[?2004h[?25hwq! tiny.vim
[?25l"tiny.vim" 0 lines, 0 characters writtene! test.ok

w! test.outqa!~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049lrm -rf X* 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test3.in" 2344 lines, 23156 characters/* vim: set cin ts=4 sw=4 : */



Test for 'cindent'.

For new tests, consider putting them in test_cindent.vim.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo 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;[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 : */[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 125 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 2096 lines, 20188 characters


"test.out" [New File] 2096 lines, 20188 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test3 = test61; then \
#	  if diff test.out test3.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test3.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test4.failed test.ok test.out X* viminfo
cp test4.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test4.in" 34 lines, 960 charactersTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew

/start of

:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx" split to Xxx, autocmd will do :brew

G?this is a

othis should be auto-indented^[

:" Append text with autoindent to this file

:au! BufEnter Xxx

:buf Xxx" go to Xxx, no autocmd anymore

G?this is a

othis should be in column 1^[:wq " append text without autoindent to Xxx

G:r Xxx" include Xxx in the current file

:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is sset

Go# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes current buffer on BufEnter event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 20 lines, 678 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:?startstart?,$w! test.out

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 20 lines, 330 characters


"test.out" [New File] 20 lines, 330 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test4 = test61; then \
#	  if diff test.out test4.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test4.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test5.failed test.ok test.out X* viminfo
cp test5.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test5.in" 29 lines, 949 charactersTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.



STARTTEST

:so small.vim

:au BufLeave Xxx bwipe

/start of

:.,/end of/w! Xxx" write test file Xxx

:sp Xxx" split to Xxx

:bwipe" delete buffer Xxx, now we're back here

G?this is a

othis is some more text^[

:" Append some text to this file

:?start?,$w! test.out" Write current file contents

:bwipe test.out" delete alternate buffer

:au bufleave test5.in bwipe

:bwipe!" delete current buffer, get an empty one

ithis is another test line^[:w >>test.out

:" append an extra line to the output file

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that deletes the current buffer on BufLeave event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 664 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 9 lines, 173 characters


"test.out" [New File] 9 lines, 173 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test5 = test61; then \
#	  if diff test.out test5.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test5.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test7.failed test.ok test.out X* viminfo
cp test7.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test7.in" 26 lines, 675 charactersTest for autocommand that changes the buffer list, when doing ":ball".



STARTTEST

:so small.vim

/^start of

A1^[:.,/end of/w! Xxx1   " write test file Xxx1

:sp Xxx1

:close

$r2:.,/end of/w! Xxx2    " write test file Xxx2

:sp Xxx2

:close

$r3:.,/end of/w! Xxx3    " write test file Xxx3

:sp Xxx3

:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes the buffer list, when doing ":ball".[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 508 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 12 lines, 231 characters


"test.out" [New File] 12 lines, 231 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test7 = test61; then \
#	  if diff test.out test7.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test7.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test8.in" 46 lines, 1236 charactersTest 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('$')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1054 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTif 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,nviminfo

:au BufUnload * call CloseAll()

:au VimLeave * call WriteToOut()

:e small.vim

:sp mbyte.vim

:q

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 7 lines, 76 characters


"test.out" [New File] 7 lines, 76 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test8 = test61; then \
#	  if diff test.out test8.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test8.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test14.in" 100 lines, 1623 charactersTests 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

:set belloff=all

/Start cursor here

vaBiBD:?Bug?,/Piece/-2w! test.out

/^- Bug

:s/u/~u~/

:s/i/~u~/

:s/o/~~~/

:.w >>test.out

:if has("ebcdic")

: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>"

:else

: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"

:endif

:exe "normal " . tt

:unlet tt[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1158 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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 */{}}}[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 26 lines, 252 characters


"test.out" [New File] 26 lines, 252 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test14 = test61; then \
#	  if diff test.out test14.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test14.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test15.in" 136 lines, 2246 charactersTests 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

:set nocp viminfo+=nviminfo

:" 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 401 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 111 lines, 2304 characters


"test.out" [New File] 111 lines, 2304 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test15 = test61; then \
#	  if diff test.out test15.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test15.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test19.in" 33 lines, 692 charactersTests 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![?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 447 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 10 lines, 121 characters


"test.out" [New File] 10 lines, 121 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test19 = test61; then \
#	  if diff test.out test19.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test19.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test20.failed test.ok test.out X* viminfo
cp test20.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test20.in" 28 lines, 398 charactersTests Blockwise Visual when there are TABs before the text.

First test for undo working properly when executing commands from a register.

Also test this in an empty buffer.



STARTTEST

:so tiny.vim

G0"ay$k@au

:new

@auY:quit!

GP

/start here$

"by$^Vjjlld

/456$

^Vjj"bP

:/56$/,$-1w! test.out

:qa!

ENDTEST



123456

234567

345678



test text test tex start here[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests Blockwise Visual when there are TABs before the text.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 107 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso tiny.vim
[?25l[?25h[?25lsome texttest text

test text



Ox^[jAy^[kdd[?25h[?2004l[?2004h[?25lx[?25h

[?2004l[?2004h[?25ly[?25h[?25ly

Ox^[jAy^[kdd[?25h[?25l



2 changes; before #1  0 seconds ago[?25h

[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       123456

234567

345678test text test tex start here

                some texttest

test textOx^[jAy^[kdd

test20.in                                                                       [?25h[?2004l[?2004h[?25lx[+][?25h

[?2004l[?2004h[?25ly[?25h[?25l

~                                                                               [?25h[?25l1 line less; before #1  0 seconds ago    [?25h[?25l:[?2004h[?25hquit!
[?25l:so tiny.vim

G0"ay$k@au:new@auY:quit!GP/start here$"by$^Vjjlld/456$^Vjj"bP:/56$/,$-1w! test.out:qa!ENDTEST123456

234567

345678test text test tex start heresome

         test text

test textOx^[jAy^[kdd[?25h[?25l[?25h[?25l

Ox^[jAy^[kdd[?25h[?25l

/[?2004h[?25hstart here$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25ls[?25h[?25le[?25h[?25lt t[?25h[?25lat [?25h[?25lrt hereextex[?25h[?25l/[?2004h[?25h456$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25l4

234[?25h[?25l5

345[?25h[?25l[?25h[?25lstart here56

234start here67

345start here78[?25h[?25l:[?2004h[?25h/56$/,$-1w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 10 lines, 106 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test20 = test61; then \
#	  if diff test.out test20.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test20.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test28.failed test.ok test.out X* viminfo
cp test28.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test28.in" 23 lines, 364 charactersTest for sourcing a file with CTRL-V's at the end of the line



STARTTEST

:/firstline/+1,/lastline/-1w! Xtestfile

:so Xtestfile

Gmm__1^[^[__2^[__3^[^[__4^[__5^[:'m,$s/^@/0/g

:'m,$w! test.out

:qa!

ENDTEST



firstline

map __1 afirst

map __2 asecond

map __3 athird

map __4 afourth

map __5 afifth

map __1 asd^V

map __2 asd^V^V

map __3 asd^V^V

map __4 asd^V^V^V

map __5 asd^V^V^V

lastline[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 sourcing a file with CTRL-V's at the end of the line[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 114 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h/firstline/+1,/lastline/-1w! Xtestfile
[?25l"Xtestfile" [New File] 10 lines, 148 characters written[?25h[?25l:[?2004h[?25hso Xtestfile
[?25l[?25h[?2004l[?2004h[?25l

sd

map __2 asd^[[?25h[?2004l[?2004h[?25lsecond[?25h[?2004l[?2004h[?25ldsd^[[?25h[?2004l[?2004h[?25lsd^@map __5 asd^@[?25h[?2004l[?2004h[?25lfifth[?25h[?25l

:[?2004h[?25h'm,$s/^@/0/g
[?25l0map __5 asd0fifth[?25h[?25l:[?2004h[?25h'm,$w! test.out
[?25l"test.out" [New File] 2 lines, 45 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test28 = test61; then \
#	  if diff test.out test28.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test28.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test29.in" 231 lines, 4278 charactersTest 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 nocompatible viminfo+=nviminfo

: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 cpoptions-=j nojoinspaces compatible

j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2

ENDTEST



firstline

asdfasdf.

asdf[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 478 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 97 lines, 3018 characters


"test.out" [New File] 97 lines, 3018 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test29 = test61; then \
#	  if diff test.out test29.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test29.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test31.in" 95 lines, 1832 charactersTest for commands that close windows and/or buffers:

:quit

:close

:hide

:only

:sall

:all

:ball

:buf

:edit



STARTTEST

:so small.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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 80 lines, 1697 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" test ":q!" and hidden buffer.

:bw! Xtest1 Xtest2 Xtest3 Xtest4

:sp Xtest1

:wincmd w

:bw!

:set modified

:bot sp Xtest2

:set modified

:bot sp Xtest3

:set modified

:wincmd t

:hide

:q!

:w >>test.out

:q!

:w >>test.out

:q!

:call append(line('$'), "Oh, Not finished yet.")

:w >>test.out

:qa!

ENDTEST



testtext[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 14 lines, 176 characters


"test.out" [New File] 14 lines, 176 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test31 = test61; then \
#	  if diff test.out test31.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test31.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test33.failed test.ok test.out X* viminfo
cp test33.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ui.o ui.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test33.in" 34 lines, 616 charactersTest for 'lisp'

If the lisp feature is not enabled, this will fail!



STARTTEST

:so small.vim

:set lisp

/^(defun

=G:/^(defun/,$w! test.out

:q!

ENDTEST



(defun html-file (base)

(format nil "~(~A~).html" base))



(defmacro page (name title &rest body)

(let ((ti (gensym)))

`(with-open-file (*standard-output*

(html-file ,name)

:direction :output

:if-exists :supersede)

(let ((,ti ,title))

(as title ,ti)

(with center[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'lisp'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 63 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 23 lines, 544 characters


"test.out" [New File] 23 lines, 544 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test33 = test61; then \
#	  if diff test.out test33.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test33.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in; \
#	  fi \
#	fi"
# 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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/term.o term.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test34.in" 87 lines, 1833 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1621 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 10 lines, 81 characters


"test.out" [New File] 10 lines, 81 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test34 = test61; then \
#	  if diff test.out test34.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test34.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test36.in" 114 lines, 2136 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 107 lines, 1961 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTp: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\%210l^\t...//g

p:s/\%#=1\%211l^\t...//g

p:s/\%#=2\%212l^\t...//g

p:s/\%#=0[0-z]//g

p:s/\%#=1[0-z]//g

p:s/\%#=2[0-z]//g

p:s/\%#=0[^0-z]//g

p:s/\%#=1[^0-z]//g

p:s/\%#=2[^0-z]//g

:/^start-here/+1,$wq! test.out

ENDTEST




[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^start-here/+1
[?25l[?25h[?25l:[?2004h[?25hs/\%#=0\d//g



:[?2004h[?25hs/\%#=1\d//g



:[?2004h[?25hs/\%#=2\d//g



:[?2004h[?25hs/\%#=0[0-9]//g



:[?2004h[?25hs/\%#=1[0-9]//g



:[?2004h[?25hs/\%#=2[0-9]//g



:[?2004h[?25hs/\%#=0\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\o//g



:[?2004h[?25hs/\%#=1\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l

[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\x//g




:[?2004h[?25hs/\%#=1\x//g




:[?2004h[?25hs/\%#=2\x//g




:[?2004h[?25hs/\%#=0[0-9A-Fa-f]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-9A-Fa-f]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\w//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\w//g





:[?2004h[?25hs/\%#=1[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=2[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=0\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\h//g




:[?2004h[?25hs/\%#=1\h//g




:[?2004h[?25hs/\%#=2\h//g




:[?2004h[?25hs/\%#=0[A-Za-z_]//g




:[?2004h[?25hs/\%#=1[A-Za-z_]//g




:[?2004h[?25hs/\%#=2[A-Za-z_]//g




:[?2004h[?25hs/\%#=0\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\a//g




:[?2004h[?25hs/\%#=1\a//g




:[?2004h[?25hs/\%#=2\a//g




:[?2004h[?25hs/\%#=0[A-Za-z]//g




:[?2004h[?25hs/\%#=1[A-Za-z]//g




:[?2004h[?25hs/\%#=2[A-Za-z]//g




:[?2004h[?25hs/\%#=0\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\l//g



:[?2004h[?25hs/\%#=1\l//g



:[?2004h[?25hs/\%#=2\l//g



:[?2004h[?25hs/\%#=0[a-z]//g



:[?2004h[?25hs/\%#=1[a-z]//g



:[?2004h[?25hs/\%#=2[a-z]//g



:[?2004h[?25hs/\%#=0\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\u//g



:[?2004h[?25hs/\%#=1\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l

[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\%210l^\t...//g



:[?2004h[?25hs/\%#=1\%211l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\%212l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-z]//g
[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l

[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l:[?2004h[?25h/^start-here/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 105 lines, 4521 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test36 = test61; then \
#	  if diff test.out test36.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test36.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test37.in" 116 lines, 3262 charactersTest 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 --[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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![?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 72 lines, 1498 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTHk^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

. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 33 lines, 1329 characters


"test.out" [New File] 33 lines, 1329 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test37 = test61; then \
#	  if diff test.out test37.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test37.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test38.in" 35 lines, 455 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 29 lines, 407 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTopq 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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 13 lines, 107 characters


"test.out" [New File] 13 lines, 107 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test38 = test61; then \
#	  if diff test.out test38.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test38.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test39.in" 118 lines, 2435 charactersTest Visual block mode commands

And test "U" in Visual mode, also on German sharp S.



#define BO_ALL      0x0001

#define BO_BS0x0002

#define BO_CRSR     0x0004



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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 2061 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 63 lines, 662 characters


"test.out" [New File] 63 lines, 662 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test39 = test61; then \
#	  if diff test.out test39.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test39.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test40.in" 63 lines, 1536 charactersTest for "*Cmd" autocommands



STARTTEST

:so small.vim

:/^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

:" 6     end of Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1455 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 11 lines, 107 characters


"test.out" [New File] 11 lines, 107 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test40 = test61; then \
#	  if diff test.out test40.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test40.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test41.failed test.ok test.out X* viminfo
cp test41.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in
[?2004h[?1049h[?1h=[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blowfish.o blowfish.c
[?12h[?12l[?2004l[?2004h[?25l"test41.in" 24 lines, 421 charactersTest for writing and reading a file of over 100 Kbyte



1 line: "This is the start"

3001 lines: "This is the leader"

1 line: "This is the middle"

3001 lines: "This is the trailer"

1 line: "This is the end"



STARTTEST

:%d

aThis is the start

This is the leader

This is the middle

This is the trailer

This is the end^[kY3000p2GY3000p

:w! Xtest

:%d

:e! Xtest

:.w! test.out

3003G:.w >>test.out

6005G:.w >>test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 of over 100 Kbyte[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 196 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lThis is the start

This is the leaderThis is the middleThis is the trailerThis is the end[?25h[?25l3000 more linestrailer

This is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailer[?25h[?25lleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleader[?25h

[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 6005 lines, 117092 characters written[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25he! Xtest
[?25l"Xtest" 6005 lines, 117092 charactersThis is the start

This is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leader[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 18 characters written[?25h[?25lThis is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the middle

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 19 characters appended[?25h[?25lThis is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the end
[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 16 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test41 = test61; then \
#	  if diff test.out test41.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test41.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test42.in" 130 lines, 2368 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 111 lines, 2116 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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


utf-8

utf-8

utf-8-err

utf-8~@err

ucs-2


ucs-2le


[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l"test.ok" 44 lines, 409 characters


"test.out" [New File] 44 lines, 409 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test42 = test61; then \
#	  if diff test.out test42.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test42.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test43.failed test.ok test.out X* viminfo
cp test43.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test43.in" 34 lines, 473 charactersTests for regexp with various magic settings.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

/^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:$

:set undolevels=100

dv?bar?

Yup:"

:?^1?,$w! test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various magic settings.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 268 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 11 lines, 137 characters


"test.out" [New File] 11 lines, 137 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test43 = test61; then \
#	  if diff test.out test43.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test43.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test44.in" 81 lines, 1492 charactersTests 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 nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

: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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1023 characters written[?25h[?25l:[?2004hset ff& cpo+=A



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l"test.ok" 25 lines, 271 characters


"test.out" [New File] 25 lines, 271 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test44 = test61; then \
#	  if diff test.out test44.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test44.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt.o crypt.c
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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test45.in" 92 lines, 1979 charactersTests for folding. vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:" 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("."))[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 1846 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:new

iTest fdm=indent and :move bug END

line2Test fdm=indent STARTline3line4^[

:set fdm=indent

:1m1

2jzc:m0

:%w >> test.out

:qa!

ENDTEST



1 aa

2 bb

3 cc

4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 23 lines, 173 characters


"test.out" [New File] 23 lines, 173 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test45 = test61; then \
#	  if diff test.out test45.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test45.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in; \
#	  fi \
#	fi"
# 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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/undo.o undo.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test48.in" 83 lines, 1658 charactersThis is a test of 'virtualedit'.



STARTTEST

:so small.vim

:set noswf

:set ve=all

-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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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'.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 61 lines, 1442 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

this is a test[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 23 lines, 479 characters


"test.out" [New File] 23 lines, 479 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test48 = test61; then \
#	  if diff test.out test48.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test48.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test53.failed test.ok test.out X* viminfo
cp test53.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test53.in" 75 lines, 1763 charactersTests for string and html text objects. vim: set ft=vim :



Note that the end-of-line moves the cursor to the next test line.



Also test match() and matchstr()



STARTTEST

:so small.vim

/^start:/

da"

0va'a'rx

02f`da`

0fXdi"

03f'vi'ry

:set quoteescape=+*-

di`

$F"va"oha"i"rz

:"

/^<begin

jfXdit

0fXdit

fXdat

0fXdat[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 string and html text objects. vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 47 lines, 1237 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:put =match('abc', '$', 4, 1) " -1

:put =match('abc', '\zs', 0, 1) " 0

:put =match('abc', '\zs', 0, 2) " 1

:put =match('abc', '\zs', 0, 3) " 2

:put =match('abc', '\zs', 0, 4) " 3

:put =match('abc', '\zs', 0, 5) " -1

:put =match('abc', '\zs', 1, 1) " 1

:put =match('abc', '\zs', 2, 1) " 2

:put =match('abc', '\zs', 3, 1) " 3

:put =match('abc', '\zs', 4, 1) " -1

:/^start:/,/^end:/wq! test.out

ENDTEST



start: "wo\"rd\\" foo

'foo' 'bar' 'piep'

bla bla `quote` blah

out " in "noXno"

"'" 'blah' rep 'buh'

bla `s*`d-`+++`l**` b`la

voo "nah" sdf " asdf" sdf " sdf" sd



<begin>

-<b>asdf<i>Xasdf</i>asdf</b>-[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 45 lines, 284 characters


"test.out" [New File] 45 lines, 284 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test53 = test61; then \
#	  if diff test.out test53.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test53.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test55.failed test.ok test.out X* viminfo
cp test55.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt_zip.o crypt_zip.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test55.in" 586 lines, 12256 charactersTests for List and Dictionary types.     vim: set ft=vim :



STARTTEST

:so small.vim

:fun Test(...)

:lang C

:" Creating List directly with different types

:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]

:$put =string(l)

:$put =string(l[-1])

:$put =string(l[-4])

:try

:  $put =string(l[-5])

:catch

:  $put =v:exception[:14]

:endtry

:" List slices

:$put =string(l[:])

:$put =string(l[1:])

:$put =string(l[:-2])

:$put =string(l[0:8])

:$put =string(l[8:-1])

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 List and Dictionary types.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 580 lines, 12170 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 197 lines, 3821 characters


"test.out" [New File] 197 lines, 3821 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test55 = test61; then \
#	  if diff test.out test55.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test55.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test60.failed test.ok test.out X* viminfo
cp test60.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test60.in" 601 lines, 13116 charactersTests for the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :



STARTTEST

:so small.vim

:function! RunTest(str, result)

    if exists(a:str) == a:resultecho "OK"

    elseecho "FAILED: Checking for " . a:str

    endif

endfunction

:function! TestExists()

    augroup myagroupautocmd! BufEnter*.my     echo "myfile edited"autocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"

    augroup END

    set rtp+=./sautestlet test_cases = []" valid autocmd group

    let test_cases += [['#myagroup', 1]]

    " valid autocmd group with garbage[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 596 lines, 13023 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 206 lines, 1941 characters


"test.out" [New File] 206 lines, 1941 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test60 = test61; then \
#	  if diff test.out test60.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test60.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test64.failed test.ok test.out X* viminfo
cp test64.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/dict.o dict.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test64.in" 654 lines, 27565 charactersTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns without multi-byte support.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 621 lines, 27090 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:for pat in [' \ze*', ' \zs*']

:  try

:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 1107 lines, 22167 characters


"test.out" [New File] 1107 lines, 22167 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test64 = test61; then \
#	  if diff test.out test64.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test64.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test66.failed test.ok test.out X* viminfo
cp test66.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test66.in" 33 lines, 509 charactersTest for visual block shift and tab characters.



STARTTEST

:so small.vim

/^one

fe^V4jR^[ugvr1:'<,'>w! test.out

/^abcdefgh

^V4jI    ^[j<<11|D

7|a^[

7|a^[

7|a^[4k13|^V4j<

:$-5,$w >> test.out

:$-4,$s/\s\+//g

^V4kI    ^[j<<

7|a^[

7|a^[

7|a^[4k13|^V4j3<

:$-4,$w >> test.out

:qa!

ENDTEST



one two three[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 234 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 16 lines, 368 characters


"test.out" [New File] 16 lines, 368 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test66 = test61; then \
#	  if diff test.out test66.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test66.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test68.failed test.ok test.out X* viminfo
cp test68.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test68.in" 131 lines, 1004 charactersTest for text formatting.



Results of test68:



STARTTEST

:so small.vim

/^{/+1

:set noai tw=2 fo=t

gRa b^[

ENDTEST



{





}



STARTTEST

/^{/+1

:set ai tw=2 fo=tw

gqgqjjllab^[

ENDTEST



{[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 4 lines, 48 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 77 lines, 281 characters


"test.out" [New File] 77 lines, 281 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test68 = test61; then \
#	  if diff test.out test68.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test68.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test69.failed test.ok test.out X* viminfo
cp test69.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test69.in" 192 lines, 2185 charactersTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 multi-byte text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 2 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l"test.ok" 166 lines, 730 characters


"test.out" [New File] 166 lines, 730 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test69 = test61; then \
#	  if diff test.out test69.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test69.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test70.failed test.ok test.out X* viminfo
cp test70.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/terminal.o terminal.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test70.in" 63 lines, 1501 charactersSmoke test for MzScheme interface and mzeval() function



STARTTEST

:so mzscheme.vim

:set nocompatible viminfo+=nviminfo

:function! MzRequire()

:redir => l:mzversion

:mz (version)

:redir END

:if strpart(l:mzversion, 1, 1) < "4"

:" MzScheme versions < 4.x:

:mz (require (prefix vim- vimext))

:else

:" newer versions:

:mz (require (prefix-in vim- 'vimext))

:mz (require r5rs)

:endif

:endfunction

:silent call MzRequire()

:mz (define l '("item0" "dictionary with list OK" "item2"))

:mz (define h (make-hash))

:mz (hash-set! h "list" l)

/^1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotestgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/diff.o diff.c

[?25lSmoke test for MzScheme interface and mzeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1398 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:if l2[2] == l2

:let res = "OK"

:else

:let res = "FAILED: " . l2[2]

:endif

:call setline(search("^3"), "circular test " . res)

:" funcrefs

:mz (define vim:max (vim-eval "function('max')"))

:mz (define m (vim:max '(1 100 8)))

:let m = mzeval('m')

:if m == 100

:let fref_res = "OK"

:else

:let fref_res = "FAILED: " . m

:end

:call append(line('$'), 'funcrefs '. fref_res)

:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mzscheme.vim
[?25l"test.ok" 6 lines, 94 characters


"test.out" [New File] 6 lines, 94 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test70 = test61; then \
#	  if diff test.out test70.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test70.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test73.failed test.ok test.out X* viminfo
cp test73.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test73.in" 170 lines, 3664 charactersTests for find completion.



STARTTEST

:so small.vim

:set belloff=all

:" Do all test in a separate window to avoid E211 when we recursively

:" delete the Xfind directory during cleanup

:"

:" This will cause a few errors, do it silently.

:set visualbell

:set nocp viminfo+=nviminfo

:"

:" On windows a stale "Xfind" directory may exist, remove it so that

:" we start from a clean state.

:call delete("Xfind", "rf")

:new

:let cwd=getcwd()

:let test_out = cwd . '/test.out'

:call mkdir('Xfind')

:cd Xfind

:set path=

:find

:exec "w! " . test_out[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 find completion.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 165 lines, 3617 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exec "cd " . cwd . "/Xfind/"

:set path=./path

:" Open the file where Jimmy Hoffa is found

:e in/file.txt

:" Find the file containing 'E.T.' in the Xfind/in/path directory

:find file

:exec "w >>" . test_out

:"

:" Test that completion works when path=.,,

:"

:set path=.,,

:" Open Jimmy Hoffa file

:e in/file.txt

:exec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu

:exec "w >>" . test_out

:q

:exec "cd " . cwd

:call delete("Xfind", "rf")

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 21 lines, 222 characters


"test.out" [New File] 21 lines, 222 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test73 = test61; then \
#	  if diff test.out test73.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test73.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test79.failed test.ok test.out X* viminfo
cp test79.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test79.in" 255 lines, 3381 charactersTest for *sub-replace-special* and *sub-replace-expression* on :substitute.

Test for submatch() on :substitue.

Test for *:s%* on :substitute.

Test for :s replacing \n with  line break.



STARTTEST

:so small.vim

ENDTEST



Results of test71:



STARTTEST

:set magic

:set cpo&

/^TEST/

j:s/A/&&/

j:s/B/\&/

j:s/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/

j:s/D/d/

j:s/E/~/

j:s/F/\~/

j:s/G/\ugg/

j:s/H/\Uh\Eh/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 *sub-replace-special* and *sub-replace-expression* on :substitute.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 14 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 134 lines, 574 characters


"test.out" [New File] 134 lines, 574 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test79 = test61; then \
#	  if diff test.out test79.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test79.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test88.failed test.ok test.out X* viminfo
cp test88.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test88.in" 99 lines, 1449 charactersvim: set ft=vim



Tests for correct display (cursor column position) with +conceal and

tabulators.



STARTTEST

:so small.vim

:if !has('conceal')

   e! test.ok

   wq! test.out

:endif

:" Conceal settings.

:set conceallevel=2

:set concealcursor=nc

:syntax match test /|/ conceal

:" Save current cursor position. Only works in <expr> mode, can't be used

:" with :normal because it moves the cursor to the command line. Thanks to ZyX

:" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.

:let positions = []

:nnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"

:" Start test.

/^start:

:normal ztj[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 82 lines, 1216 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:normal W

GGk

:normal W

GGk

:normal W

GGk

:normal $

GGk

:" Display result.

:call append('$', 'end:')

:call append('$', positions)

:/^end/,$wq! test.out

ENDTEST



start:

.concealed.     text

|concealed|     text.concealed.     text|concealed|     text



.a.     .b.     .c.     .d.

|a|     |b|     |c|     |d|[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 29 lines, 135 characters


"test.out" [New File] 29 lines, 135 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test88 = test61; then \
#	  if diff test.out test88.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test88.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test94.failed test.ok test.out X* viminfo
cp test94.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test94.in" 257 lines, 4841 charactersTest for Visual mode and operators



Tests for the two kinds of operations: Those executed with Visual mode

followed by an operator and those executed via Operator-pending mode. Also

part of the test are mappings, counts, and repetition with the . command.



Test cases:

- Visual modes (v V CTRL-V) followed by an operator; count; repeating

- Visual mode maps; count; repeating

  - Simple

  - With an Ex command (custom text object)

- Operator-pending mode maps

  - Simple

  - With Ex command moving the cursor

  - With Ex command and Visual selection (custom text object)

- Patch 7.3.879: Properly abort Ex command in Operator-pending mode



STARTTEST

:so small.vim

:set belloff=all

:set enc=utf-8 nocp viminfo+=nviminfo

:

:" User functions[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Visual mode and operators[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 212 lines, 3854 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 123 lines, 1328 characters


"test.out" [New File] 123 lines, 1328 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test94 = test61; then \
#	  if diff test.out test94.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test94.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test95.failed test.ok test.out X* viminfo
cp test95.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test95.in" 141 lines, 5827 charactersTest for regexp patterns with multi-byte support, using utf-8.

See test64 for the non-multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:so mbyte.vim

:set nocp encoding=utf-8 viminfo+=nviminfo nomore

:" tl is a List of Lists with:

:"    2: test auto/old/new  0: test auto/old  1: test auto/new

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:

:"""" Multi-byte character tests. These will fail unless vim is compiled

:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns with multi-byte support, using utf-8.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 131 lines, 5590 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h

[?25l





:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 140 lines, 2022 characters


"test.out" [New File] 140 lines, 2022 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test95 = test61; then \
#	  if diff test.out test95.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test95.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test99.failed test.ok test.out X* viminfo
cp test99.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test99.in" 69 lines, 1400 charactersTests for regexp with multi-byte encoding and various magic settings.

Test matchstr() with a count and multi-byte chars.

See test44 for exactly the same test with re=1.



STARTTEST

:so mbyte.vim

:set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

:set re=2

/^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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 43 lines, 931 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l"test.ok" 23 lines, 264 characters


"test.out" [New File] 23 lines, 264 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test99 = test61; then \
#	  if diff test.out test99.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test99.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test108.failed test.ok test.out X* viminfo
cp test108.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/userfunc.o userfunc.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test108.in" 88 lines, 1329 charactersTests for backtrace debug commands.     vim: set ft=vim :



STARTTEST

:so small.vim

:lang mess C

:function! Foo()

:   let var1 = 1

:   let var2 = Bar(var1) + 9

:   return var2

:endfunction

:

:function! Bar(var)

:    let var1 = 2 + a:var

:    let var2 = Bazz(var1) + 4

:    return var2

:endfunction

:

:function! Bazz(var)

:    let var1 = 3 + a:var

:    let var3 = "another var"

:    return var1

:endfunction

:new[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 backtrace debug commands.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 83 lines, 1251 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTup

b

echo "fil is not frame or finish, it is file"

fil

echo "\n- relative backtrace movement\n"

fr -1

frame

fra +1

fram

echo "\n- go beyond limits does not crash\n"

fr 100

fra

frame -40

fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 84 lines, 1390 characters


"test.out" [New File] 84 lines, 1390 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test108 = test61; then \
#	  if diff test.out test108.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test108.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_autoformat_join.failed test.ok test.out X* viminfo
cp test_autoformat_join.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autoformat_join.in" 23 lines, 524 charactersTests for setting the '[,'] marks when joining lines.



STARTTEST

:so small.vim

:/^\t\t/

0gqj:

:let a=string(getpos("'[")).'/'.string(getpos("']"))

:/^This line/;'}-join

:let b=string(getpos("'[")).'/'.string(getpos("']"))

:$put ='First test: Start/End '.string(a)

:$put ='Second test: Start/End '.string(b)

:/^\t\t/,$wq! test.out

ENDTESTO sodales, ludite, vos qui

attamen consulite per voster honur. Tua pulchra facies me fay planszer milies



This line.

Should be joined with the next line

and with this line



Results:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 setting the '[,'] marks when joining lines.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 9 lines, 265 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 8 lines, 292 characters


"test.out" [New File] 8 lines, 292 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_autoformat_join = test61; then \
#	  if diff test.out test_autoformat_join.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_autoformat_join.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_changelist.failed test.ok test.out X* viminfo
cp test_changelist.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_changelist.in" 22 lines, 288 charactersTest changelist position after splitting window

Set 'undolevels' to make changelist for sourced file



STARTTEST

:so small.vim

Gkylp:set ul=100

Gylp:set ul=100

gg

:vsplit

:try

:  normal g;

:  normal ggVGcpass^[

:catch

:  normal ggVGcfail^[

:finally

:  %w! test.out

:endtry

:qa!

ENDTEST



1

2

~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest changelist position after splitting window[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 14 lines, 163 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 1 line, 5 characters


"test.out" [New File] 1 line, 5 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_changelist = test61; then \
#	  if diff test.out test_changelist.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_changelist.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_close_count.failed test.ok test.out X* viminfo
cp test_close_count.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_close_count.in" 154 lines, 2682 charactersTests for :[count]close! and :[count]hide     vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:let tests = []

:for i in range(5)

:new

:endfor

:4wincmd w

:close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:$close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[count]close! and :[count]hide     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 42 lines, 766 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call add(tests, buffers)

:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:for i in range(5)

:new

:endfor

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:4wincmd w

:.hide[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 23 lines, 183 characters


"test.out" [New File] 23 lines, 183 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_close_count = test61; then \
#	  if diff test.out test_close_count.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_close_count.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_erasebackword.failed test.ok test.out X* viminfo
cp test_erasebackword.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_erasebackword.in" 20 lines, 444 charactersTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G







:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 erasing backword[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/digraph.o digraph.c
[New File] 13 lines, 379 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 8 lines, 111 characters


"test.out" [New File] 8 lines, 111 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_erasebackword = test61; then \
#	  if diff test.out test_erasebackword.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_erasebackword.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_eval.in" 247 lines, 6201 charactersTest for various eval features.   vim: set ft=vim :



Note: system clipboard is saved, changed and restored.



clipboard contents

something else



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:lang C

:fun AppendRegContents(reg)

  call AppendRegParts(a:reg, getregtype(a:reg), getreg(a:reg), string(getreg(a:rreg, 0, 1)), getreg(a:reg, 1), string(getreg(a:reg, 1, 1)))

:endfun

:fun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)

  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:reg, aa:type, a:cont, a:strcont, a:cont1, a:strcont1))

endfun

:command -nargs=? AR :call AppendRegContents(<q-args>)

:fun SetReg(...)

    call call('setreg', a:000)[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 233 lines, 6010 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 362 lines, 11279 characters


"test.out" [New File] 362 lines, 11279 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_eval = test61; then \
#	  if diff test.out test_eval.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_eval.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_fixeol.failed test.ok test.out X* viminfo
cp test_fixeol.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fixeol.in" 40 lines, 780 charactersTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol

:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol

:w! XXTestNoEol

:bwipe XXEol XXNoEol XXTestEol XXTestNoEol

:set fixeol[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'fixeol'vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 698 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:"

:" Append "END" to each file so that we can see what the last written char was.

ggdGaEND^[:w >>XXEol

:w >>XXNoEol

:w >>XXTestEol

:w >>XXTestNoEol

:"

:" Concatenate the results

:e! test.out

a0^[:$r XXEol

:$r XXNoEol

Go1^[:$r XXTestEol

:$r XXTestNoEol

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25l[?25h[?25l:[?2004h[?25h" use Unix fileformat for consistency
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lwith eol[?25h[?25l:[?2004h[?25hw! XXEol
[?25l"XXEol" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25henew!
[?25l[?25h[?25l:[?2004h[?25hset noeol nofixeol
[?25l[?25h[?2004l[?2004h[?25lwithout eol[?25h[?25l:[?2004h[?25hw! XXNoEol
[?25l"XXNoEol" [New File][Incomplete last line] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hset eol fixeol
[?25l[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol
[?25lE319: Sorry, the command is not available in this version[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try editing files with 'fixeol' disabled
[?25l[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" 1 line, 9 characters eol[?25h[?2004l[?2004h[?25l

stays eol[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestEol
[?25l"XXTestEol" [New File] 2 lines, 19 characters written[?25h[?25l:[?2004h[?25he! XXNoEol
[?25l"XXNoEol" [Incomplete last line] 1 line, 11 charactersout eol

~                                                                               [?25h[?2004l[?2004h[?25l

stays without[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestNoEol
[?25l"XXTestNoEol" [New File][Incomplete last line] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol XXTestEol XXTestNoEol
[?25lE319: Sorry, the command is not available in this version[?25h[?25l:[?2004h[?25hset fixeol
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25l~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXEol
[?25l"XXEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXNoEol
[?25l"XXNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestEol
[?25l"XXTestEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestNoEol
[?25l"XXTestNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File][?25h[?2004l[?2004h[?25l0[?25h[?25l:[?2004h[?25h$r XXEol
[?25l"XXEol" 2 lines, 13 characterswith eolEND[?25h[?25l:[?2004h[?25h$r XXNoEol
[?25l"XXNoEol" 1 line, 15 characterswithout eolEND[?25h[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXTestEol
[?25l"XXTestEol" 3 lines, 23 characterswith eolstays eolEND[?25h[?25l:[?2004h[?25h$r XXTestNoEol
[?25l"XXTestNoEol" 2 lines, 29 characterswithout eolstays withoutEND[?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 10 lines, 84 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_fixeol = test61; then \
#	  if diff test.out test_fixeol.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_fixeol.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_insertcount.failed test.ok test.out X* viminfo
cp test_insertcount.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/edit.o edit.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_insertcount.in" 14 lines, 204 charactersTests for repeating insert and replace.



STARTTEST

:so small.vim

:/Second

4gro

:/^First/,$wq! test.out

:" get here when failed and in Insert mode

^[:.wq! test.out

ENDTEST



First line

Second line

Last line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 repeating insert and replace.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 111 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 3 lines, 36 characters


"test.out" [New File] 3 lines, 36 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_insertcount = test61; then \
#	  if diff test.out test_insertcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_insertcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_listchars.failed test.ok test.out X* viminfo
cp test_listchars.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ui.o ui.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listchars.in" 54 lines, 705 charactersTests for 'listchars' display with 'list' and :list



STARTTEST

:so small.vim

:set ff=unix

:let g:lines = []

:function GetScreenCharsForLine(lnum)

:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val))')), '')

:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"

:set listchars+=tab:>-,space:.,trail:<

:set list

:

/^start:/

:normal! jzt

GG

GG

GG

GG

GGH:

:set listchars-=trail:<[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'listchars' display with 'list' and :list[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 25 lines, 431 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTGG

GG

GG

GG

GG:

:put =g:lines

:'[,']w! test.out

ENDTEST[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 16 lines, 178 characters


"test.out" [New File] 16 lines, 178 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_listchars = test61; then \
#	  if diff test.out test_listchars.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_listchars.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_search_mbyte.failed test.ok test.out X* viminfo
cp test_search_mbyte.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search_mbyte.in" 15 lines, 226 charactersTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 search('multi-byte char', 'bce')[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hsource small.vim
[?25l"test.ok" 5 lines, 27 characters


"test.out" [New File] 5 lines, 27 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_search_mbyte = test61; then \
#	  if diff test.out test_search_mbyte.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_search_mbyte.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_wordcount.failed test.ok test.out X* viminfo
cp test_wordcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_wordcount.in" 126 lines, 2815 charactersTest for wordcount() function



STARTTEST

:so small.vim

:so mbyte.vim

:set enc=utf8

:set selection=inclusive fileformat=unix fileformats=unix

:new

:fu DoRecordWin(...)

:wincmd k

:if exists("a:1")

:call cursor(a:1)

:endif

:let result=[]

:call add(result, g:test)

:call add(result, getline(1, '$'))

:call add(result, wordcount())

:wincmd j

:return result

:endfu

:fu PutInWindow(args)

:wincmd k

:%d _[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 wordcount() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 121 lines, 2753 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"


:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 34 lines, 1905 characters


"test.out" [New File] 34 lines, 1905 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_wordcount = test61; then \
#	  if diff test.out test_wordcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_wordcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test11.in" 84 lines, 3366 charactersTests 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 48 lines, 2298 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 61 lines, 1599 characters


"test.out" [New File] 61 lines, 1599 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test11 = test61; then \
#	  if diff test.out test11.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test11.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test52.failed test.ok test.out X* viminfo
cp test52.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test52.in" 65 lines, 1645 charactersTests for reading and writing files with conversion for Win32.



STARTTEST

:so mbyte.vim

:" make this a dummy test for non-Win32 systems

:if !has("win32") | e! test.ok | wq! test.out | endif

:"

:" write tests:

:" combine three values for 'encoding' with three values for 'fileencoding'

:" also write files for read tests

/^1

:set encoding=utf-8

:.w! ++enc=utf-8 test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=utf-8 Xutf8

/^2

:set encoding=cp1251

:.w ++enc=utf-8 >>test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=cp1251 Xcp1251

/^3[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 reading and writing files with conversion for Win32.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1333 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:e Xcp1251

:.w ++enc=cp1251 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp1251 >>test.out

:"

:" read three 'fileencoding's with cp866 'encoding'

:set encoding=cp866 fencs=utf-8,cp1251

:e Xutf8

:.w ++enc=cp866 >>test.out

:e Xcp1251

:.w ++enc=cp866 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp866 >>test.out

:"

:qa!

ENDTEST






[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l"test.ok" 18 lines, 1374 characters


"test.out" [New File] 18 lines, 1374 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test52 = test61; then \
#	  if diff test.out test52.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test52.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test85.failed test.ok test.out X* viminfo
cp test85.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test85.in" 86 lines, 1885 charactersTest for Lua interface and luaeval() function



STARTTEST

:so small.vim

:set belloff=all

:so lua.vim

:set nocompatible viminfo+=nviminfo

:lua l = vim.list():add"item0":add"dictionary with list OK":add"item2"

:lua h = vim.dict(); h.list = l

:call garbagecollect()

/^1

:" change buffer contents

:lua curbuf = vim.buffer()

:lua curline = vim.eval"line('.')"

:lua curbuf[curline] = "1 changed line 1"

:" scalar test

:let tmp_string = luaeval('"string"')

:let tmp_1000 = luaeval('1000')

:if printf("%s%.0f", tmp_string, tmp_1000) == "string1000"

:let scalar_res = "OK"

:else

:let scalar_res = "FAILED"

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Lua interface and luaeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1792 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")

:lua d[4] = d[0]

:lua d[5] = d[1]

:lua d[6] = d[2]

:lua d[7] = d[3]

:lua d[3] = nil

:lua d[2] = nil

:lua d[1] = nil

:lua d[0] = nil

:lua d = nil

:$put =string(d)



:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 7 lines, 206 characters


"test.out" [New File] 7 lines, 206 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test85 = test61; then \
#	  if diff test.out test85.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test85.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test86.failed test.ok test.out X* viminfo
cp test86.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test86.in" 1711 lines, 48481 charactersTests for various python features.     vim: set ft=vim :



NOTE: This will cause errors when run under valgrind.

This would require recompiling Python with:

  ./configure --without-pymalloc

See http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:if !has('python') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py import vim

:py cb = vim.current.buffer

:let l = []

:py l=vim.bindeval('l')

:py f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py l.extend([1, "as'd", [1, 2, f, {'a': 1}]])

:$put =string(l)

:$put =string(l[-1])[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1700 lines, 48188 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 1445 lines, 67439 characters


"test.out" [New File] 1445 lines, 67439 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test86 = test61; then \
#	  if diff test.out test86.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test86.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test87.failed test.ok test.out X* viminfo
cp test87.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test87.in" 1720 lines, 50002 charactersTests for various python features.     vim: set ft=vim :



STARTTEST

:so small.vim

:set noswapfile

:if !has('python3') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py3 import vim

:py3 cb = vim.current.buffer

:let l = []

:py3 l=vim.bindeval('l')

:py3 f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]

:$put =string(l)

:$put =string(l[-1])

:try

:  $put =string(l[-4])

:catch

:  $put =v:exception[:13]

:endtry

:" List assignment[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1714 lines, 49918 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 1445 lines, 77744 characters


"test.out" [New File] 1445 lines, 77744 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test87 = test61; then \
#	  if diff test.out test87.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test87.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test12.in" 52 lines, 1199 charactersTests 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 nocompatible viminfo+=nviminfo

: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/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 40 lines, 965 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:!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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 10 lines, 127 characters


"test.out" [New File] 10 lines, 127 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test12 = test61; then \
#	  if diff test.out test12.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test12.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test25.failed test.ok test.out X* viminfo
cp test25.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/window.o window.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test25.in" 31 lines, 840 charactersTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 jumping to a tag with 'hidden' set, with symbolic link in path of tag.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 540 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 1 line, 23 characters


"test.out" [New File] 1 line, 23 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test25 = test61; then \
#	  if diff test.out test25.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test25.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test49.in" 32 lines, 705 charactersThis 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 nocp nomore viminfo+=nviminfo

:lang mess C

:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 23 lines, 475 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endfor

:for v in keys(g:)

:  silent! exe "unlet " . v

:endfor

:unlet v

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 84 lines, 2484 characters


"test.out" [New File] 84 lines, 2484 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test49 = test61; then \
#	  if diff test.out test49.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test49.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test54.failed test.ok test.out X* viminfo
cp test54.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test54.in" 22 lines, 658 charactersSome tests for buffer-local autocommands



STARTTEST

:so small.vim

:e xx

:if has("vms")

: !del test.out.*

: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.oout

:else

: !rm -f test.out

: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out

:endif

:e somefile" here, autocommand for xx shall write test.out

:" but autocommand shall not apply to buffer named <buffer>:bwipe xx" here, autocommand shall be auto-deleted

:e xx" nothing shall be written

:e somefile" nothing shall be written

:qa!

ENDTEST



start of test file xx

end of test file xx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSome tests for buffer-local autocommands[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 15 lines, 555 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 1 line, 29 characters


"test.out" [New File] 1 line, 29 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test54 = test61; then \
#	  if diff test.out test54.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test54.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test17.in" 135 lines, 2431 charactersTests for:

- "gf" on ${VAR},

- ":checkpath!" with various 'include' settings.



STARTTEST

:so small.vim

:if has("ebcdic")

: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}

:else

: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}

:endif

:"

:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/TDIR

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 27 lines, 564 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" 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.out

gf

:set ff=unix

:w! test.out

:brewind

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 33 lines, 655 characters


"test.out" [New File] 33 lines, 655 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test17 = test61; then \
#	  if diff test.out test17.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test17.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available.



STARTTEST

:so small.vim

:set belloff=all

:" first write three test files, one in each format

:set fileformat=unix

:set fileformats=

:/^unix/;/eof/-1w! XXUnix

:/^dos/;/eof/-1w! XXDos

:set bin noeol

:$w! XXMac

Gonoeol^[

:$w! XXEol

:set nobin eol

:enew!

:bwipe XXUnix XXDos XXMac

:" create mixed format files

:if has("vms")

: !copy XXUnix,XXDos XXUxDs.

: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 222 lines, 3609 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72

Go8^[:$r XXtt81

:$r XXtt82

Go9^[:$r XXtt91

:$r XXtt92

:$r XXtt93

Go10^[:$r XXUnix

:set nobinary ff&

:w

:qa!

ENDTEST



unix

unix

eof



dos^M

dos^M

eof



mac^Mmac^M[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 130 lines, 786 characters


"test.out"gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/undo.o undo.c
 [New File] 130 lines, 786 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test30 = test61; then \
#	  if diff test.out test30.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test30.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test32.in" 61 lines, 1408 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h[?25l

:so small.vim[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 28 lines, 550 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTO^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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 15 lines, 175 characters


"test.out" [New File] 15 lines, 175 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test32 = test61; then \
#	  if diff test.out test32.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test32.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test59.failed test.ok test.out X* viminfo
cp test59.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 106 lines, 2520 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1










[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 270 lines, 3685 characters


"test.out" [New File] 270 lines, 3685 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test59 = test61; then \
#	  if diff test.out test59.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test59.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test72.failed test.ok test.out X* viminfo
cp test72.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test72.in" 146 lines, 2107 charactersTests for undo file.

Since this script is sourced we need to explicitly break changes up in

undo-able pieces.  Do that by setting 'undolevels'.



STARTTEST

:so small.vim

:set belloff=all

:"

:" Test 'undofile': first a simple one-line change.

:set nocompatible viminfo+=nviminfo visualbell

:set ul=100 undofile nomore

:e! Xtestfile

ggdGithis is one line^[:set ul=100

:s/one/ONE/

:set ul=100

:w

:bwipe!

:e Xtestfile

u:.w! test.out

:"

:" Test 'undofile', change in original file fails check

:set noundofile

:e! Xtestfile[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 undo file.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 135 lines, 1910 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar

:.w >>test.out

u:.w >>test.out

u:.w >>test.out

u:.w >>test.out

:"

:" Rename the undo file so that it gets cleaned up.

:if has("vms")

: call rename("_un_Xtestfile", "Xtestundo")

:else

: call rename(".Xtestfile.un~", "Xtestundo")

:endif

:qa!

ENDTEST



1111 -----

2222 -----



123456789[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 31 lines, 197 characters


"test.out" [New File] 31 lines, 197 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test72 = test61; then \
#	  if diff test.out test72.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test72.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test78.failed test.ok test.out X* viminfo
cp test78.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test78.in" 46 lines, 1476 charactersInserts 10000 lines with text to fill the swap file with two levels of pointer

blocks.  Then recovers from the swap file and checks all text is restored.



We need about 10000 lines of 100 characters to get two levels of pointer

blocks.



STARTTEST

:so small.vim

:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all

:e! Xtest

ggdG

:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01223456789abcdefghijklmnoparstuvwxyz0123456789"

:let i = 1

:let linecount = 10000

:while i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile

:preserve

:" get the name of the swap file

:redir => swapname

:swapname

:redir END

:let swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][::cntrl:]]*$', '\1', '')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lInserts 10000 lines with text to fill the swap file with two levels of pointer[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1220 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:set nobin

:new

:only!

:bwipe! Xtest

:call rename('Xswap', swapname)

:recover Xtest

:call delete(swapname)

:new

:call append(0, 'recovery start')

:wincmd w

:let linedollar = line('$')

:if linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected "" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let linnecount = linedollar | endif

:let i = 1

:while i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appendd(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile

:q!

:call append(line('$'), 'recovery end')

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l"test.ok" 3 lines, 29 characters


"test.out" [New File] 3 lines, 29 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test78 = test61; then \
#	  if diff test.out test78.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test78.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test83.failed test.ok test.out X* viminfo
cp test83.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test83.in" 76 lines, 1273 charactersTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 tag search with !_TAG_FILE_ENCODING.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 58 lines, 1021 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l"test.ok" 4 lines, 48 characters


"test.out" [New File] 4 lines, 48 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test83 = test61; then \
#	  if diff test.out test83.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test83.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arabic.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arabic.vim" 613 lines, 18247 characters


"test.ok" [New File]


"test.out" [New File] 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arglist.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arglist.vim" 358 lines, 7814 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_assert.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_assert.vim" 147 lines, 3536 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autochdir.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autochdir.vim" 17 lines, 332 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autocmd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autocmd.vim" 647 lines, 17194 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_backspace_opt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_backspace_opt.vim" 59 lines, 1673 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_breakindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_breakindent.vim" 298 lines, 7493 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_bufwintabinfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_bufwintabinfo.vim" 116 lines, 3459 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cdo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cdo.vim" 205 lines, 5116 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_channel.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_channel.vim" 1761 lines, 51515 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_charsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_charsearch.vim" 62 lines, 1475 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cindent.vim" 105 lines, 2962 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_clientserver.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_clientserver.vim" 108 lines, 3648 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cmdline.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cmdline.vim" 434 lines, 12686 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_command_count.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_command_count.vim" 191 lines, 4742 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_crypt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_crypt.vim" 83 lines, 2590 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cscope.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cscope.vim" 279 lines, 10587 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_curswant.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_curswant.vim" 23 lines, 563 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_diffmode.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_diffmode.vim" 568 lines, 12076 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_digraph.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_digraph.vim" 462 lines, 14944 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_display.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_display.vim" 69 lines, 1694 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_edit.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_edit.vim" 1365 lines, 41657 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_farsi.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_farsi.vim" 133 lines, 5364 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_file_size.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_file_size.vim" 30 lines, 871 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fnameescape.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fnameescape.vim" 21 lines, 467 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fold.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fold.vim" 462 lines, 13611 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_getvar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_getvar.vim" 88 lines, 2988 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gf.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gf.vim" 56 lines, 1578 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gn.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gn.vim" 118 lines, 3078 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u NONE -U NONE --noplugin --not-a-term -S runtest.vim test_gui.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui.vim" 696 lines, 19832 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u gui_preinit.vim -U gui_init.vim --noplugin --not-a-term -S runtest.vim test_gui_init.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui_init.vim" 61 lines, 1190 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hardcopy.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hardcopy.vim" 73 lines, 2260 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_help.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_help.vim" 32 lines, 551 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hide.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hide.vim" 97 lines, 2443 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_highlight.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_highlight.vim" 36 lines, 1417 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_history.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_history.vim" 106 lines, 3567 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hlsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hlsearch.vim" 53 lines, 1490 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment.vim" 760 lines, 19011 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment_dbcs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment_dbcs.vim" 30 lines, 604 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_job_fails.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_job_fails.vim" 19 lines, 598 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_json.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_json.vim" 292 lines, 10880 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_langmap.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_langmap.vim" 28 lines, 628 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_let.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_let.vim" 27 lines, 806 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lineending.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lineending.vim" 19 lines, 429 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr.vim" 235 lines, 6445 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr_utf8.vim" 271 lines, 7788 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lua.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lua.vim" 22 lines, 438 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_makeencoding.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_makeencoding.vim" 106 lines, 2413 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_man.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_man.vim" 60 lines, 1358 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_marks.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_marks.vim" 70 lines, 2047 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_matchadd_conceal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_matchadd_conceal.vim" 289 lines, 9276 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession.vim" 155 lines, 3363 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession_utf8.vim" 104 lines, 2328 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_nested_function.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_nested_function.vim" 67 lines, 1305 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_netbeans.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_netbeans.vim" 80 lines, 2145 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_normal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_normal.vim" 2392 lines, 61363 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_number.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_number.vim" 254 lines, 5032 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l../vim -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"../option.c" 12669 lines, 331004 characters
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_options.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_options.vim" 334 lines, 10325 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_packadd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_packadd.vim" 275 lines, 9157 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_paste.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_paste.vim" 99 lines, 2938 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_perl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_perl.vim" 238 lines, 5919 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_preview.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_preview.vim" 13 lines, 248 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_profile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_profile.vim" 147 lines, 6308 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python2.vim" 24 lines, 523 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python3.vim" 24 lines, 534 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx2.vim" 74 lines, 1409 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx3.vim" 74 lines, 1409 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quickfix.vim" 2639 lines, 77130 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quotestar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quotestar.vim" 158 lines, 4650 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_retab.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_retab.vim" 77 lines, 3189 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_registers.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_registers.vim" 27 lines, 821 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_ruby.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_ruby.vim" 51 lines, 1229 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_scrollbind.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_scrollbind.vim" 32 lines, 807 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_search.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search.vim" 358 lines, 10339 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_signs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_signs.vim" 199 lines, 6383 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_smartindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_smartindent.vim" 41 lines, 935 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_spell.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_spell.vim" 779 lines, 25186 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup.vim" 265 lines, 7013 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup_utf8.vim" 64 lines, 1366 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_stat.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_stat.vim" 92 lines, 2287 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_substitute.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_substitute.vim" 296 lines, 12358 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_syntax.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_syntax.vim" 522 lines, 14436 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_system.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_system.vim" 92 lines, 2923 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_tcl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_tcl.vim" 23 lines, 471 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal.vim" 678 lines, 17334 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal_fail.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal_fail.vim" 21 lines, 627 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_textobjects.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_textobjects.vim" 54 lines, 1127 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_undo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_undo.vim" 276 lines, 7228 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_usercommands.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_usercommands.vim" 209 lines, 6183 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_viminfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_viminfo.vim" 515 lines, 13492 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_vimscript.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_vimscript.vim" 1448 lines, 36110 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_visual.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_visual.vim" 93 lines, 1991 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_winbar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_winbar.vim" 23 lines, 426 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_window_id.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_window_id.vim" 103 lines, 2714 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_windows_home.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_windows_home.vim" 121 lines, 3249 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_writefile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_writefile.vim" 51 lines, 1496 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_latin.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_latin.vim" 7 lines, 280 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_utf8.vim" 15 lines, 542 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot.vim" 62 lines, 1523 characters


"test.ok" [New File]


"test.out" 0 lines, 0 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l
Test results:
ALL DONE
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-tiny/testdir'
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json_test.o json_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/userfunc.o userfunc.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o json_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o               objects/charset.o objects/memfile.o objects/message.o objects/json_test.o    -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo  -lselinux -lacl -lattr -ldl           
link.sh: Linked fine
./json_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/kword_test.o kword_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui.o gui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o kword_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o               objects/json.o objects/memfile.o objects/message.o objects/kword_test.o    -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo  -lselinux -lacl -lattr -ldl           
link.sh: Linked fine
./kword_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile_test.o memfile_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_gtk.o gui_gtk.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o memfile_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o               objects/charset.o objects/json.o objects/message.o objects/memfile_test.o    -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo  -lselinux -lacl -lattr -ldl           
link.sh: Linked fine
./memfile_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message_test.o message_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/evalfunc.o evalfunc.c
if test -z "/usr/bin/glib-compile-resources"; then touch auto/gui_gtk_gresources.h; else \
	/usr/bin/glib-compile-resources --target=auto/gui_gtk_gresources.h --sourcedir=../pixmaps --generate --c-name=gui_gtk --manual-register gui_gtk_res.xml; \
fi
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_gtk_f.o gui_gtk_f.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DTINY_VIMRC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_beval.o gui_beval.c
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o message_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o               objects/charset.o objects/json.o objects/memfile.o objects/message_test.o    -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo  -lselinux -lacl -lattr -ldl           
link.sh: Linked fine
./message_test || exit 1; echo  passed;
passed
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-tiny'
touch build-stamp-vim-tiny
dh_testdir
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui.o gui.c
dh_prep -p vim-athena
*** DEBIAN *** BUILDING VARIANT vim-athena
/usr/bin/make -C src/vim-athena
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena'
/bin/sh install-sh -c -d objects
touch objects/.dirstamp
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time    " srcdir=. sh ./osdef.sh
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/popupmnu.o popupmnu.c
/usr/bin/glib-compile-resources --target=auto/gui_gtk_gresources.c --sourcedir=../pixmaps --generate --c-name=gui_gtk --manual-register gui_gtk_res.xml
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_encoding.o libvterm/src/encoding.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_keyboard.o libvterm/src/keyboard.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_mouse.o libvterm/src/mouse.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_parser.o libvterm/src/parser.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pty.o pty.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_pen.o libvterm/src/pen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/quickfix.o quickfix.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_screen.o libvterm/src/screen.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_state.o libvterm/src/state.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_gtk.o gui_gtk.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_unicode.o libvterm/src/unicode.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_vterm.o libvterm/src/vterm.c
gcc -c -I. -I/usr/include/lua5.2 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_lua.o if_lua.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds.o ex_cmds.c
if test -z "/usr/bin/glib-compile-resources"; then touch auto/gui_gtk_gresources.h; else \
	/usr/bin/glib-compile-resources --target=auto/gui_gtk_gresources.h --sourcedir=../pixmaps --generate --c-name=gui_gtk --manual-register gui_gtk_res.xml; \
fi
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_gtk_f.o gui_gtk_f.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/regexp.o regexp.c
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl /usr/share/perl/5.26/ExtUtils/xsubpp -prototypes -typemap \
    /usr/share/perl/5.26/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_beval.o gui_beval.c
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread -fPIE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_python3.o if_python3.c
/usr/bin/glib-compile-resources --target=auto/gui_gtk_gresources.c --sourcedir=../pixmaps --generate --c-name=gui_gtk --manual-register gui_gtk_res.xml
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_encoding.o libvterm/src/encoding.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_keyboard.o libvterm/src/keyboard.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_mouse.o libvterm/src/mouse.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_parser.o libvterm/src/parser.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_pen.o libvterm/src/pen.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_screen.o libvterm/src/screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_state.o libvterm/src/state.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_unicode.o libvterm/src/unicode.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_vterm.o libvterm/src/vterm.c
gcc -c -I. -I/usr/include/lua5.2 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_lua.o if_lua.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_tcl.o if_tcl.c
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl /usr/share/perl/5.26/ExtUtils/xsubpp -prototypes -typemap \
    /usr/share/perl/5.26/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -I/usr/include/ruby-2.3.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.3.0 -DRUBY_VERSION=23 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_ruby.o if_ruby.c
gcc -c -I. -I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread -fPIE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_python3.o if_python3.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/netbeans.o netbeans.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/screen.o screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/channel.o channel.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_eval.o ex_eval.c
gcc -c -I. -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_tcl.o if_tcl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_getln.o ex_getln.c
gcc -c -I. -I/usr/include/ruby-2.3.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.3.0 -DRUBY_VERSION=23 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_ruby.o if_ruby.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/netbeans.o netbeans.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json.o json.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/main.o main.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/farsi.o farsi.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/search.o search.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/channel.o channel.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fileio.o fileio.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile.o memfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/sha256.o sha256.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spell.o spell.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json.o json.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fold.o fold.c
cd xxd; CC="gcc" CFLAGS="-Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk/xxd'
gcc -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/main.o main.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1938 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
182 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1902 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1928 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/getchar.o getchar.c
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1634 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile.o memfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spellfile.o spellfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message.o message.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_cscope.o if_cscope.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/syntax.o syntax.c
cd xxd; CC="gcc" CFLAGS="-Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk3/xxd'
gcc -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_xcmdsrv.o if_xcmdsrv.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk3/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk3/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/list.o list.c
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1938 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
182 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1902 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1928 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt_zip.o crypt_zip.c
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mark.o mark.c
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1634 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk3/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk3/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk3/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/dict.o dict.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memline.o memline.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/tag.o tag.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc1.o misc1.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blowfish.o blowfish.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/term.o term.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/dict.o dict.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/terminal.o terminal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/diff.o diff.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ui.o ui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc2.o misc2.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/undo.o undo.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/edit.o edit.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/userfunc.o userfunc.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/evalfunc.o evalfunc.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/window.o window.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/normal.o normal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui.o gui.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_athena.o gui_athena.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_x11.o gui_x11.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/evalfunc.o evalfunc.c
gcc -c -I.       -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_beval.o gui_beval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_at_sb.o gui_at_sb.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_at_fs.o gui_at_fs.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds2.o ex_cmds2.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_encoding.o libvterm/src/encoding.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_keyboard.o libvterm/src/keyboard.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_mouse.o libvterm/src/mouse.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_parser.o libvterm/src/parser.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_pen.o libvterm/src/pen.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_screen.o libvterm/src/screen.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/os_unix.o os_unix.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_state.o libvterm/src/state.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_unicode.o libvterm/src/unicode.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds.o ex_cmds.c
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_vterm.o libvterm/src/vterm.c
gcc -c -I. -I/usr/include/lua5.2 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_lua.o if_lua.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o          objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl           
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl /usr/share/perl/5.26/ExtUtils/xsubpp -prototypes -typemap \
    /usr/share/perl/5.26/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
# Ensure ERM is set to a sane value for testing
[ yes != "yes" ] || flock debian env TERM=xterm /usr/bin/make -j1 -C src/vim-basic test
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
/usr/bin/make -f Makefile vim
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
make[2]: 'vim' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
if test -n "yes" -a -f po/Makefile; then \
	cd po; /usr/bin/make -f Makefile check VIM=../vim; \
fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq af.po
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perlsfio.o if_perlsfio.c
gcc -c -I. -I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread -fPIE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_python3.o if_python3.c
touch af.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ca.po
touch ca.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds2.o ex_cmds2.c
touch cs.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq de.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_eval.o ex_eval.c
gcc -c -I. -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_tcl.o if_tcl.c
touch de.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq en_GB.po
touch en_GB.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq eo.po
gcc -c -I. -I/usr/include/ruby-2.3.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.3.0 -DRUBY_VERSION=23 -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_ruby.o if_ruby.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_docmd.o ex_docmd.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/netbeans.o netbeans.c
touch eo.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq es.po
touch es.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fi.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/channel.o channel.c
touch fi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fr.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/farsi.o farsi.c
touch fr.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ga.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/charset.o charset.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fileio.o fileio.c
touch ga.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq it.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json.o json.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_eval.o ex_eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/main.o main.c
touch it.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_getln.o ex_getln.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile.o memfile.c
touch ja.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message.o message.c
touch ko.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.UTF-8.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fold.o fold.c
touch ko.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nb.po
cd xxd; CC="gcc" CFLAGS="-Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena/xxd'
gcc -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1938 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
182 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/farsi.o farsi.c
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
touch nb.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nl.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1902 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/getchar.o getchar.c
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1928 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
touch nl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq no.po
1634 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/buffer.o buffer.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fileio.o fileio.c
touch no.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hardcopy.o hardcopy.c
touch pl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pt_BR.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blowfish.o blowfish.c
touch pt_BR.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt.o crypt.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hashtab.o hashtab.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt_zip.o crypt_zip.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/dict.o dict.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_cscope.o if_cscope.c
touch ru.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fold.o fold.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/diff.o diff.c
touch sk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sv.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_xcmdsrv.o if_xcmdsrv.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/digraph.o digraph.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/edit.o edit.c
touch sv.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/getchar.o getchar.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/list.o list.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mark.o mark.c
touch uk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq vi.po
touch vi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.UTF-8.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hardcopy.o hardcopy.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memline.o memline.c
touch zh_CN.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.po
touch zh_CN.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.UTF-8.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/eval.o eval.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hashtab.o hashtab.c
touch zh_TW.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_cscope.o if_cscope.c
touch zh_TW.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.cp1250.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc1.o misc1.c
touch cs.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.sjis.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_xcmdsrv.o if_xcmdsrv.c
touch ja.sjis.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.euc-jp.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/list.o list.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/evalfunc.o evalfunc.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mark.o mark.c
touch ja.euc-jp.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.cp1250.po
touch pl.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.UTF-8.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memline.o memline.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc2.o misc2.c
touch pl.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.cp1251.po
touch ru.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.cp1250.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/menu.o menu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds.o ex_cmds.c
touch sk.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.cp1251.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc1.o misc1.c
touch uk.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.cp936.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mbyte.o mbyte.c
touch zh_CN.cp936.ck
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/po'
if test vim != vim -a ! -r vim; then \
	ln -s vim vim; \
fi
cd testdir; /usr/bin/make -f Makefile  VIMPROG=../vim  SCRIPTSOURCE=../../runtime
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic/testdir'
rm -f test.log messages
rm -rf test1.failed test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out wrongtermsize
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test1.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test1.in" 57 lines, 2069 charactersFirst 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 1133 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l





/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" If columns or lines are too small, create wrongtermsize.
[?25l[?25h[?25l:[?2004h[?25h" (Some tests will fail. When columns and/or lines are small)
[?25l[?25h[?25l:[?2004h[?25hif &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Write a single line to test.out to check if testing works at all.
[?25l[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lthis is a test[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 15 characters written[?25h[?25l:[?2004h[?25h" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?25h
[?25l[?25h[?25l:[?2004h[?25hw! small.vim
[?25l"small.vim" [New File] 1 line, 1 character written[?25h[?25l:[?2004h[?25hw! tiny.vim
[?25l"tiny.vim" [New File] 1 line, 1 character written[?25h[?2004l[?2004h[?25le! test.ok

w! test.outqa![?25h[?25l:[?2004h[?25hw! mbyte.vim
[?25l"mbyte.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! mzscheme.vim
[?25l"mzscheme.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! lua.vim
[?25l"lua.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l"another" [New File]

"mbyte.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +lua feature supported, make lua.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("lua") | sp another | w! lua.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?25h[?25l:[?2004h[?25h" Otherwise write small.vim to skip the test.
[?25l[?25h[?25l:[?2004h[?25hif 1 | q! | endif
[?25l[?2004l[?2004l[?1l>[?25h[?1049lrm -rf X* 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test3.in" 2344 lines, 23156 characters/* vim: set cin ts=4 sw=4 : */



Test for 'cindent'.

For new tests, consider putting them in test_cindent.vim.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo 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;[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 : */[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 125 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo modeline
[?25l[?25h[?25l:[?2004h[>ce[?25hdit                " read modeline
[?25l"test3.in"2344L, 23156CTest for 'cindent'.

For new tests, consider putting them in test_cindent.vim.STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo modeline

:edit                " read modeline/start of AUTO=/end of AUTOENDTEST/* start of AUTO matically checked vim: set ts=4 : */

{    if (test)cmd1;cmd2;}{

    if (test)cmd1;else[?25h[?25l/[?2004h[?25hstart of AUTO
[?25l[?25h[?25l/[?2004h[?25hend of AUTO
[?25l956 lines to indent...
9500
850
750
650
550
450
350
250
150
50 lines to indent... 
957 lines indented [?25h[?25l/[?2004h^STARTTEST
}break;default:baz();baz();break;

    }

}



/* end of AUTO */



STARTTEST

:set tw=0 noai fo=croq

:let &wm = &columns - 20

/serious/e

a about life, the universe, and the rest^[

ENDTEST



{



/* this is

 * a real serious important big

 * comment[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 101C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset tw=0 noai fo=croq
[?25l[?25h[?25l:[?2004h[?25hlet &wm = &columns - 20
[?25l[?25h[?25l/[?2004h[?25hserious/e
[?25l[?25h[?25l



-- INSERT --about life, the

 * universe, and the

 * rest important big[?25h[?25l

* comment[?25h[?25l

/[?2004h^STARTTEST
*/

    /* insert " about life, the universe, and the rest" after "serious" */

}



STARTTEST[?25h[?25l

:set nocin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 6L, 78C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comments

joabout life^[/happens

jothere^[/below

oline^[/this

Ohello^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nocin
[?25l[?25h[?25l/[?2004h[?25hcomments
[?25l{

    /** Testing for comments, without 'cin' set[?25h[?25l

*/[?25h[?25l

-- INSERT --

about life[?25h[?25l

/[?2004h[?25hhappens
[?25l/*

* what happens here?[?25h[?25l

*/[?25h[?25l

-- INSERT --

there[?25h[?25l

/[?2004h[?25hbelow
[?25l/*the end of the comment, try inserting a line below */[?25h[?25l

-- INSERT --

line[?25h[?25l

/[?2004h[?25hthis
[?25l/* how aboutthis one */[?25h[?25l

-- INSERT --hello[?25h[?25l

this one */[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 18C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/vec2

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l/[?2004h[?25hvec2
[?25l{

    var = this + that + vec[0] * vec[0]+ vec[1] * vec[1]+ vec2[2] * vec[2];[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5L, 51C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=}4

/testing1

k2==/testing2

k2==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=}4
[?25l[?25h[?25l/[?2004h[?25htesting1
[?25l{asdf asdflkajds f;

    if (tes & ting) {asdf asdf asdf ;asdfa sdf asdf;}

    testing1;[?25h [?25l



/[?2004h[?25htesting2
[?25lif (tes & ting)

    {asdf asdf asdf ;asdfa sdf asdf;}

    testing2;[?25h [?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=(0,)20

/main

=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=(0,)20
[?25l[?25h[?25l/[?2004h[?25hmain
[?25lmain ( int first_par, /*[?25h[?25l

19 lines to indent...
20indented [?25h[?25l

* Comment for[?25h[?25l

/[?2004h^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();[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=es,n0s
[?25l[?25h[?25l/[?2004h[?25hmain
[?25l[?25h[?25l8 lines to indent...
9indented [?25h

[?25l/[?2004h^STARTTEST
else

    {bar();

    }

}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l{[?25h[?25l

11 lines to indent...
12indented [?25h[?25l

do[?25h[?25l

/[?2004h^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();

    }[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 1L, 6C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h





[?25l8 lines to indent...
9indented [?25h

   [?25l/[?2004h^STARTTEST
n();

}



STARTTEST[?25h[?25l

:set cino={s,e-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,e-s
[?25l[?25h[?25lvoid f()

{[?25h[?25l

7 lines to indent...
8indented     {[?25h[?25l

if ( k() )[?25h[?25l

/[?2004h^STARTTEST
{l();} else { /* Start (two words) end */m();}

    n();    /* should be under the if () */

}



STARTTEST[?25h[?25l

:set cino={s,fs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=/ foo[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,fs
[?25l[?25h[?25lvoid bar(void)

{[?25h[?25l

/[?2004h[?25h foo
[?25l30 lines to indent...
31indented     {[?25h[?25l/[?2004h^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 */[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l/[?2004h[?25hwhile
[?25l[?25h[?25l

-- INSERT --

here[?25h[?25l

if ( a )
    i[?25h[?25l

/[?2004h^STARTTEST
a;

}



STARTTEST[?25h[?25l

:set cino= com=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 109C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comment

olabel2: b();^Mlabel3 /* post */:^M/* pre */ label4:^Mf(/*com*/);^Mif (/*com*/)^^Mcmd();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino= com=
[?25l[?25h[?25l/[?2004h[?25hcomment
[?25la()

{

label1:/* hmm */// comment[?25h[?25l

-- INSERT --label2: b();

label3 /* post */:

/* pre */ label4:f(/*com*/);if (/*com*/)cmd();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set comments& comments^=s:/*,m:**,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 53C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/simple

=5j[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset comments& comments^=s:/*,m:**,ex:*/
[?25l[?25h[?25l/[?2004h[?25hsimple
[?25l/*

  * A simple comment[?25h[?25l

5 lines to indent...
6indented * A simple comment[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
/*

** A different comment

*/



STARTTEST[?25h[?25l

:set cino=c0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 70C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=c0,C1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 73C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0,C1
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********

    A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 17C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s,U1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,U1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(0,w1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,w1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3) && c4;

    if (c1 && c2)foo;

}



STARTTEST[?25h[?25l

:set cino=(s,m1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,m1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3

    ) && c4;

    if (c1 && c2

    )foo;

}



STARTTEST[?25h[?25l

:set cino=b1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=b1
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

9 lines to indent...
10 lines indented [?25h[?25l

switch (x)[?25h[?25l

/[?2004h^STARTTEST
{case 1:a = b;break;default:a = 0;break;

    }

}



STARTTEST[?25h[?25l

:set cino=(0,W5
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W5
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

10 lines to indent...
11indented [?25h[?25l

invokeme([?25h[?25l

/[?2004h^STARTTEST
argu,ment);

    invokeme(argu,ment);

    invokeme(argu,ment);

}



STARTTEST[?25h[?25l

:set cino=/6
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=/6
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

3 lines to indent...
4indented [?25h[?25l

statement;[?25h[?25l

/[?2004h^STARTTEST
// comment 1// comment 2

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds2.o ex_cmds2.c
3L, 34C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-12kdd]]/comment 1/+1

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l==ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

/[?2004h[?25hcomment 1/+1
[?25lstatement;// comment 1

    // comment 2[?25h[?25l    // comment 2[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino=g0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=g0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass CAbc

{[?25h[?25l

6 lines to indent...
7indented [?25h[?25l

int Test() { return FALSE; }[?25h[?25l

/[?2004h^STARTTEST
public: // comment

    void testfall();

protected:

    void testfall();

};



STARTTEST[?25h[?25l

:set cino=(0,gs,hs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 29C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,gs,hs
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass Foo : public Bar

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

public:[?25h[?25l

/[?2004h^STARTTEST
virtual void method1(void) = 0;virtual void method2(int arg1,int arg2,int arg3) = 0;

};



STARTTEST[?25h[?25l

:set cino=+20
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 24C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=+20
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid

foo()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (a)[?25h[?25l

/[?2004h^STARTTEST
{

    } elseasdf;

}



STARTTEST[?25h[?25l

:set cino=(0,W2s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W2s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25l

{[?25h[?25l

34 lines to indent...
35indented [?25h[?25l

averylongfunctionnamelongfunctionnameaverylongfunctionname()->asd([?25h[?25l

/[?2004h^STARTTEST
dec)->asdfasdfasdf(asdfadsf,asdfasdf,asdfasdf,),func(asdfadf,asdfasdf),asdasdf);

}



STARTTEST

:set cino=M1

2kdd]]=][

ENDTEST



int main ()

{

    if (cond1 &&cond2)foo;

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=M1
[?25l[?25h[?25l

[?25h[?25l4 lines to indent...
5indented [?25h

   [?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set cino=(0,ts
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,ts
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

7 lines to indent...
8indented [?25h[?25l

void func(int a[?25h[?25l

/[?2004h^STARTTEST
#if defined(FOO), int b, int c

#endif)

{

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void[?25h[?25l

/[?2004h^STARTTEST
func(int a

#if defined(FOO), int b, int c

#endif

    )

{

}



STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 22C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=7][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=7][

ENDTEST[?25h



[?25l

69 lines to indent...
50
7indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^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};[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l:[?2004h[?25hset cino+=l1
[?25l[?25h[?25l

[?25h



[?25l22 lines to indent...
23indented [?25h

[?25l/[?2004h^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";

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l

[?25h



[?25l6 lines to indent...
7indented     << "b"

        << ") :"

        << "c";[?25h

[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set com=s1:/*,m:*,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]3jofoo();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset com=s1:/*,m:*,ex:*/
[?25l[?25h[?25lvoid func(void)

{[?25h[?25l/** This is a comment.*/[?25h[?25l

-- INSERT --

foo();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^STARTTEST
{

    for (int i = 0; i < 10; ++i)if (i & 1) {foo(1);} elsefoo(0);

    baz();

}



STARTTEST[?25h[?25l

:set cino=k2s,(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd3j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0
[?25l[?25h[?25l2kdd3j=][ENDTEST[?25h[?25l

void func(void)[?25h[?25l

23 lines to indent...
24indented [?25h[?25l

{[?25h[?25l

/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s
[?25l[?25h[?25l

[?25h





[?25l23 lines to indent...
24indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s,U1
[?25l[?25h[?25l

[?25h





[?25l24 lines to indent...
25indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,W4
[?25l[?25h[?25l

[?25h





[?25l29 lines to indent...
30indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,u2
[?25l[?25h[?25l

[?25h





[?25l18 lines to indent...
19indented         && condition2)

        action();        && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,w1
[?25l[?25h[?25l

[?25h





[?25l27 lines to indent...
28indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2,(s
[?25l[?25h[?25l

[?25h





[?25l14 lines to indent...
15indented [?25h

[?25l/[?2004h^STARTTEST
if (c1 && (c2 ||c3))foo;

    if (c1 &&(c2 || c3))

    {

    }

}



STARTTEST[?25h[?25l

:set cino=N-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 47C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^NAMESPACESTART

=/^NAMESPACEEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=N-s
[?25l[?25h[?25l/[?2004h[?25h^NAMESPACESTART
[?25lNAMESPACESTART[?25h[?25l

/[?2004h[?25h^NAMESPACEEND
[?25l81 lines to indent...
50
82indented [?25h[?25l/[?2004h^STARTTEST
namespace test test2

{

    1111111111111111111;

}

namespace111111111

{

    111111111111111111;

}

NAMESPACEEND





STARTTEST

:set cino=j1,J1

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

var bar = {

foo: {

that: this,

some: ok,

},[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l12 lines to indent...
13indented     foo: {

        that: this,

        some: ok,

    },[?25h[?25l/[?2004h^STARTTEST
"bar":{a : 2,b: "123abc",x: 4,"y": 5

    }

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l5 lines to indent...
6indented [?25h[?25l/[?2004h^STARTTEST
var foo = [

    1,

    2,

    3

];

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l7 lines to indent...
8indented [?25h[?25l/[?2004h^STARTTEST
function bar() {

    var foo = [1,2,3

    ];

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l58 lines to indent...
509indented [?25h[?25l/[?2004h^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: [[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l14 lines to indent...
15indented     $(this).data(class_name+'_public',$.extend({},{

        foo: 'bar',

        bar: 2,

        foobar: [[?25h[?25l/[?2004h^STARTTEST
1,2,3],callback: function(){return true;}

    }, options||{}));

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l16 lines to indent...
17indented [?25h[?25l/[?2004h^STARTTEST
2,3],callback: function(){return true;}}, options||{}));

    }

})(jQuery);

JSEND



STARTTEST

:set cino=j1,J1,+2

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

// Results of JavaScript indent

// 1

(function(){

var a = [

'a',[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1,+2
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l149 lines to indent...
100
50 lines to indent... 
150 lines indented     var a = [

      'a',[?25h[?25l/[?2004h^STARTTEST
var a,

    b,

    c,

    d,

    e,

    f,

    g,

    h,

    i;

JSEND



STARTTEST

:set cin cino&

/start of define

=/end of define

ENDTEST



/* start of define */

{

}

#define AAA \

BBB\

CCC[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 48C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin cino&
[?25l[?25h[?25l/[?2004h[?25hstart of define
[?25l[?25h[?25l/[?2004h[?25hend of define
[?25l11 lines to indent...
12indented     BBB\

    CCC[?25h[?25l/[?2004h^STARTTEST
#define CNT \

    1 + \

    2 + \

    4

/* end of define */



STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 61C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l227 fewer lines    c,

    d,

    e,    f,    g,    h,    i;JSEND/* start of define */

{}#define AAA \

    BBB\

    CCC#define CNT \

    1 + \

    2 + \4

/* end of define */[?25h[?25l:[?2004h[?25h1;/start of AUTO/,$wq! test.out
[?25l[?2004l"test.out" [New] 2096L, 20188C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test3 = test61; then \
#	  if diff test.out test3.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test3.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test4.failed test.ok test.out X* viminfo
cp test4.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test4.in" 34 lines, 960 charactersTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew

/start of

:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx" split to Xxx, autocmd will do :brew

G?this is a

othis should be auto-indented^[

:" Append text with autoindent to this file

:au! BufEnter Xxx

:buf Xxx" go to Xxx, no autocmd anymore

G?this is a

othis should be in column 1^[:wq " append text without autoindent to Xxx

G:r Xxx" include Xxx in the current file

:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is sset

Go# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes current buffer on BufEnter event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 20 lines, 678 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:?startstart?,$w! test.out

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>ca[?25hu BufEnter Xxx brew
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25lstartstart

start of test file Xxx[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx   " write test file Xxx
[?25l"Xxx" [New] 7L, 124C written[?25h[?25l:[?2004h[?25hset ai modeline modelines=3
[?25l[?25h[?25l:[?2004h[?25hsp Xxx             " split to Xxx, autocmd will do :brew
[?25l"Xxx" 7L, 124CTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.STARTTESTo small.vim:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew/start of.,/end of/w!" write test file Xxx

:set ai modeline modelines=3:sp Xxx    " split to Xxx, autocmd will do :brew

test4.in                                                                        :set fo+=rssue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.outqa!ENDTESTstartstart of test file Xxx

test4.in                                                                        test4.in" line 1 of 34 --2%-- col 1[?25h[?25l:qa!ENDTESTstartstart

start of test file Xxx

vim: set noai :        this is a test

        this is a test

        this is a test        this is a testend of test file Xxx[?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --        this should be auto-indented[+][+][?25h[?25l

end of test file Xxx[?25h[?25l:[?2004h[?25h                   " Append text with autoindent to this file
[?25l[?25h[?25l:[?2004h[?25hau! BufEnter Xxx
[?25l[?25h[?25l:[?2004h[?25hbuf Xxx            " go to Xxx, no autocmd anymore
[?25l"Xxx" 7L, 124Cstart of test file Xxx

vim: set noai :

        this is a test

        this is a test

        this is a test



end of test file Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxxt          [?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --this should be in column 1[+][?25h[?25l:[?2004h[?25hwq " append text without autoindent to Xxx
[?25l"Xxx8L, 151C written:au BufEnter Xxx brew/start of:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx             " split to Xxx, autocmd will do :brew

G?this is aothis should be auto-indented^[

:                   " Append text with autoindent to this file

:au! BufEnter Xxx:buf Xxx            " go to Xxx, no autocmd anymoreG?this is aothis should be in column 1^[:wq " append text without autoindent to XxxG:r Xxx   nclude Xxx in the current file:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.out

:qa!ENDTESTstarstart of test file Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a testthis should be auto-indented

end of test file Xxx[?25h[?25l

:[?2004h[?25hr Xxx             " include Xxx in the current file
[?25l"Xxx" 8L, 151C

start of test file Xxx[?25h[?25l

:[?2004h[?25hset fo+=r          " issue #57 do not move cursor on <c-o> when autoindent is 


set
[?25l:au! BufEnter Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

this should be in column 1

end of test file Xxx
[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --

# def[?25h[?25lINSERTt --defo[?25hd[?25l[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --[?25h[?25l

-- INSERTt --def:[?25hd[?25l[?25h[?25l

:[?2004h[?25h[?25l:[?2004h[?25h?startstart?,$w! test.out
[?25l"test.out" [New] 20L, 330C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test4 = test61; then \
#	  if diff test.out test4.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test4.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test5.failed test.ok test.out X* viminfo
cp test5.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test5.in" 29 lines, 949 charactersTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.



STARTTEST

:so small.vim

:au BufLeave Xxx bwipe

/start of

:.,/end of/w! Xxx" write test file Xxx

:sp Xxx" split to Xxx

:bwipe" delete buffer Xxx, now we're back here

G?this is a

othis is some more text^[

:" Append some text to this file

:?start?,$w! test.out" Write current file contents

:bwipe test.out" delete alternate buffer

:au bufleave test5.in bwipe

:bwipe!" delete current buffer, get an empty one

ithis is another test line^[:w >>test.out

:" append an extra line to the output file

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that deletes the current buffer on BufLeave event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 664 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufLeave Xxx bwipe
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25l[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx               " write test file Xxx
[?25l"Xxx" [New File] 7 lines, 124 characters written[?25h[?25l:[?2004h[?25hsp Xxx                         " split to Xxx
[?25l"Xxx" 7 lines, 124 charactersstart of test file Xxxvim: set noai :this is a test

        this is a test

        this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx                                                                             ?start?,$w! test.outWrite current file contentsbwipe test.out      delete alternate bufferau bufleave test5.in bwipebwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out:                               " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx

test5.in                                                                        [?25h[?25l:[?2004h[?25hbwipe                          " delete buffer Xxx, now we're back here
[?25lTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.STARTTEST:so small.vim:au BufLeave Xxx bwipe

/start of:.,/end of/w! Xxx               " write test file Xxx:sp Xxx                         " split to Xxx:bwipe                          " delete buffer Xxx, now we're back hereG?this is aothis is some more text^[                    Append some text to this file

:?start?,$w! test.outWrite current file contents

:bwipe test.out                 " delete alternate buffer

:au bufleave test5.in bwipe:bwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out   " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx"test5.in" line 23 of 29 --79%-- col 1[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

end of test file Xxx[?25h[?25l

?[?2004h[?25hthis is a
[?25l[?25h[?2004l[?2004h[?25l

this is some more text[?25h[?25l

end of test file Xxx[?25h[?25l

:[?2004h[?25h                               " Append some text to this file
[?25l[?25h[?25l:[?2004h[?25h?start?,$w! test.out           " Write current file contents
[?25l"test.out" [New File] 8 lines, 147 characters written[?25h[?25l:[?2004h[?25hbwipe test.out                 " delete alternate buffer
[?25l[?25h[?25l:[?2004h[?25hau bufleave test5.in bwipe
[?25l[?25h[?25l:[?2004h[?25hbwipe!                         " delete current buffer, get an empty one
[?25lError detected while processing BufLeave Auto commands for "test5.in":

E89: No write since last change for buffer 1 (add ! to override)


Press ENTER or type command to continue[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lthis is another test line[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 26 characters appended[?25h[?25l:[?2004h[?25h                               " append an extra line to the output file
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test5 = test61; then \
#	  if diff test.out test5.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test5.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test7.failed test.ok test.out X* viminfo
cp test7.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test7.in" 26 lines, 675 charactersTest for autocommand that changes the buffer list, when doing ":ball".



STARTTEST

:so small.vim

/^start of

A1^[:.,/end of/w! Xxx1   " write test file Xxx1

:sp Xxx1

:close

$r2:.,/end of/w! Xxx2    " write test file Xxx2

:sp Xxx2

:close

$r3:.,/end of/w! Xxx3    " write test file Xxx3

:sp Xxx3

:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes the buffer list, when doing ":ball".[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/normal.o normal.c
[New File] 17 lines, 508 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx1   " write test file Xxx1
[?25l"Xxx1" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx1
[?25l"Xxx1" 4 lines, 77 charactersstart of test file Xxx1this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2    " write test file Xxx2
[?25l"Xxx2" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx2
[?25l"Xxx2" 4 lines, 77 charactersstart of test file Xxx2this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx2                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2[?25h[?25l3[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx3    " write test file Xxx3
[?25l"Xxx3" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx3
[?25l"Xxx3" 4 lines, 77 charactersstart of test file Xxx3this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx3                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3[?25h[?25l:[?2004h[?25hau BufReadPost Xxx2 bwipe
[?25l[?25h[?25l4[?25h[?25l:[?2004h[?25hball                 " open window for all args, close Xxx2
[?25l"Xxx1"4 lines, 77 characters


"Xxx2" 4 lines, 77 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h.,$w! test.out          " Write contents of this file
[?25l"test.out" [New File] 4 lines, 77 characters written


Press ENTER or type command to continue[?25h[?25l:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx4

test7.in [+]                                                                    start of test file Xxx1this is a testthis is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            [?25h

test7.in [+]                                                                     Xxx1                                                                            [?25l:[?2004h[?25hw >>test.out        " Append contents of second window (Xxx1)
[?25l"test.out" 4 lines, 77 characters appended[?25htest7.in [+]                                                                    Xxx1                                                                             [?25l:[?2004h[?25h/^start of/,$w >>test.out   " Append contents of last window (this file)
[?25lsearch hit BOTTOM, continuing at TOP"test.out" 4 lines, 77 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test7 = test61; then \
#	  if diff test.out test7.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test7.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test8.in" 46 lines, 1236 charactersTest 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('$')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1054 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTif 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,nviminfo

:au BufUnload * call CloseAll()

:au VimLeave * call WriteToOut()

:e small.vim

:sp mbyte.vim

:q

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx1 bunload
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx2 bwipe
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l

start of Xxx[?25h[?2004l[?2004h[?25l1[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx1  " write test file Xxx1
[?25l"Xxx1" [New File] 3 lines, 31 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2   " write test file Xxx2
[?25l"Xxx2" [New File] 3 lines, 31 characters written[?25h[?25l:[?2004h[?25he! Xxx2                " edit Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2

        testend of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbdel test8.in^I^I" delete this file from the buffer list
[?25l[?25h[?25l:[?2004h[?25he Xxx1                 " edit Xxx1
[?25l"Xxx1" 3 lines, 31 characters1
[?25h[?25l:[?2004h[?25hw                      " write it, will unload it and give an error msg
[?25l"Xxx2"3 lines, 31 characters


E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! test.out            " Write contents of this file
[?25l"test.out" [New File] 3 lines, 31 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he! Xxx2                " start editing Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2test

end of Xxx"Xxx2" 3 lines, 31 characters[?25h[?25l:[?2004h[?25hbwipe test.out         " remove test.out from the buffer list
[?25l[?25h[?25l:[?2004h[?25hw                      " write it, will delete the buffer and give an error ms


g[?25l"Xxx1"3 lines, 31 characters

E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out           " Append contents of this file
[?25l"test.out" 3 lines, 31 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! BufWritePre
[?25lstart of Xxx1test

end of Xxx[?25h[?25l:[?2004h[?25hfunc CloseAll()
[?25l

:[?2004h  [?25h  let i = 0


[?25l:[?2004h  [?25h  while i <= bufnr('$')


[?25l:[?2004h    [?25h    if i != bufnr('%') && bufloaded(i)


[?25l:[?2004h      [?25h      exe  i . "bunload"


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let i += 1


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfunc WriteToOut()
[?25l

:[?2004h  [?25h  edit! test.out


[?25l:[?2004h  [?25h  $put ='VimLeave done'


[?25l:[?2004h  [?25h  write


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               [?25h[?25l:[?2004h[?25hset viminfo='100,nviminfo
[?25l[?25h[?25l:[?2004h[?25hau BufUnload * call CloseAll()
[?25l[?25h[?25l:[?2004h[?25hau VimLeave * call WriteToOut()
[?25l[?25h[?25l:[?2004h[?25he small.vim
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"small.vim" 1 line, 1 character


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp mbyte.vim
[?25l"mbyte.vim" 0 lines, 0 characters~                                                                               ~                                                                               ~                                                                               mbyte.vim                                                                       small.vim                                                                       "mbyte.vim" 0 lines, 0 characters[?25h[?25l:[?2004h[?25hq
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"test.out" 6 lines, 62 characters[?2004l


"test.out" 7 lines, 76 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test8 = test61; then \
#	  if diff test.out test8.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test8.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test14.in" 100 lines, 1623 charactersTests 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

:set belloff=all

/Start cursor here

vaBiBD:?Bug?,/Piece/-2w! test.out

/^- Bug

:s/u/~u~/

:s/i/~u~/

:s/o/~~~/

:.w >>test.out

:if has("ebcdic")

: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>"

:else

: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"

:endif

:exe "normal " . tt

:unlet tt[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1158 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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 */{}}}[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25hStart cursor here
[?25l[?25h[?25l[?25h[?25l{ 

                        cmd;    /* <-- Start cursor here */ 

                        { 

                        } 

                [?25h[?25l                cmd; 

                }[?25h[?25l





6 fewer lines        }Piece of Java{        tt m1 {                t1;e1[?25h[?25l:[?2004h[?25h?Bug?,/Piece/-2w! test.out
[?25l"test.out" [New File] 3 lines, 44 characters written[?25h[?25l/[?2004h[?25h^- Bug
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/u/~u~/
[?25l[?25h[?25l:[?2004h[?25hs/i/~u~/
[?25luuun "vPPPP" on this text (Webb):
[?25h[?25l:[?2004h[?25hs/o/~~~/
[?25luuuuuuuuun this text (Webb):
[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 48 characters appended[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>


"

[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"


[?25l:[?2004h  [?25h:endif
[?25l:$put =@/

/^substitute

:keeppatterns s/asdf/xyz/

:$put =@/

/^substitute[?25h[?25l:[?2004h[?25hexe "normal " . tt
[?25l[?2004l[?2004hABC !a^Og^G8[?25h[?25l:[?2004h[?25hunlet tt
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset vb
[?25l[?25h[?25l/[?2004h[?25h^Piece
[?25l[?25h[?2004l[?2004h[?25l{A[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25ltt m2 {[?25h[?2004l[?2004h[?25l{B[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25lt2;} e2tt m3 {[?25h[?2004l[?2004h[?25l{C[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?2004l[?2004h[?25l{DC[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{EA[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{F[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}G e1[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h

[?25lif (x){t3;}} e3[?25h[?2004l[?2004h[?25l}H e3[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?25l

}[?25h[?2004l[?2004h[?25l}I[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}JH e3[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?25h[?2004l[?2004h[?25l}K e2[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?2004l[?2004h[?25l{LF[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^foobar
[?25lfoobar[?25h[?25l

:[?2004h[?25hlet startline = line('.')
[?25l[?25h[?25l:[?2004h[?25hcall search('foobar', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l

[?25h[?25l

:[?2004h[?25hcall search('^$', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l:[?2004h[?25hcall search('^$', 'bc')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l/[?2004h[?25htwo
[?25lsubstitute foo asdf



one two[?25h[?25l

:[?2004h[?25hcall search('.', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), getline('.')[col('.') - 1:])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/foo/bar/
[?25lbar
[?25h[?25l:[?2004h[?25h$put =@/
[?25lsearch()

0

1

1

two

foo[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hkeeppatterns s/asdf/xyz/
[?25lxyz[?25h[?25l:[?2004h[?25h$put =@/
[?25l

^substitute[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l

/[?2004h[?25hbar /e
[?25l[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l



:[?2004h[?25hkeeppatterns /xyz
[?25l[?25h[?25l

/bar /exyz[?25h[?25l:[?2004h[?25h/^search()/,$w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 9 lines, 58 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test14 = test61; then \
#	  if diff test.out test14.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test14.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test15.in" 136 lines, 2246 charactersTests 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

:set nocp viminfo+=nviminfo

:" 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 401 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset tw=65
[?25l[?25h[?25l

test for :left[?25h[?25l

:[?2004h[?25h/^\s*test for :left/,/^\s*test for :center/ left
[?25lsearch hit BOTTOM, continuing at TOPtest for :left[?25h[?25l:[?2004h[?25h/^\s*test for :center/,/^\s*test for :right/ center
[?25l[?25h[?25l:[?2004h[?25h/^\s*test for :right/,/^xxx/-1 right
[?25l[?25h[?25l:[?2004h[?25hset fo+=tcroql tw=72
[?25l[?25h[?25l/[?2004h[?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[?25h
[?25l

 xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xxxx xxxxxxx.

xxxx xxxx.xxxxxxx: xxxx xxxxxxx, xx xxxx xxxxxxx~                                                                               [?25h

[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h undo/redo here to make the next undo only work on the following changes
[?25l[?25h[?25l1 more line; before #1  0 seconds ago0gq6kk

:set nocp viminfo+=nviminfo

:" 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 :centeraafaafd asdf[?25h[?25l1 line less; after #1  0 seconds agotest for :lefta      afa    adfa      asdfaaasdfa           axasdfaa                test for :center  aa  fa        afd asdf[?25h

[?25l:[?2004h[?25hmap gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
[?25l[?25h[?25l/[?2004h[?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[?25h[?25l





:[?2004h.,.+2s/^/x/
3 substitutions on 3 linesxaa aa aa aa

xbb bb bb bb

xcc cc cc cc
[?25h[?25l:[?2004hset tw=3
[?25h[?25l





3 more lines

aaaaaa3 more lines[?25h[?25l

3 fewer lines; before #2  0 seconds agoaa aa aa aa

bb bb bb bb

cc cc cc cc

~                                                                               [?25h

[?25l:[?2004h[?25h?test for :left?,$w! test.out
[?25l"test.out"[New] 111L, 2304C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test15 = test61; then \
#	  if diff test.out test15.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test15.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test19.in" 33 lines, 692 charactersTests 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![?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 447 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset smarttab expandtab ts=8 sw=4
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25lSTARTTEST

: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

[?25h[?25l

/[?2004h[?25hsome
[?25lstart textsome test text[?25h[?2004l[?2004h[?25l    ome test text[?25h[?25l

:[?2004h[?25hset noexpandtab
[?25l[?25h[?25l/[?2004h[?25hother
[?25ltest textother test text[?25h[?2004l[?2004h[?25l    ther test text[?25h[?25l

a cde[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs and then backspacing to undo it
[?25l[?25h
    [?2004l[?2004h[?25l[?25h[?25l

f ghi[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs
[?25l[?25h
    [?2004l[?2004h[?25l     hi[?25h[?25l

test text[?25h[?25l

:[?2004h[?25h" Test that copyindent works with expandtab set
[?25l[?25h[?25l:[?2004h[?25hset expandtab smartindent copyindent ts=8 sw=8 sts=8
[?25l[?25h[?2004l[?2004h[?25l{x[?25h[?25l

:[?2004h[?25hset nosol
[?25l[?25h[?25l/[?2004h[?25hSecond line/
[?25l

Second line beginning with whitespace[?25h[?25l
  with whitespace[?25h[?25l

:[?2004h[?25h?^start?,$w! test.out
[?25l"test.out" [New File] 10 lines, 121 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test19 = test61; then \
#	  if diff test.out test19.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test19.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test20.failed test.ok test.out X* viminfo
cp test20.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_docmd.o ex_docmd.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test20.in" 28 lines, 398 charactersTests Blockwise Visual when there are TABs before the text.

First test for undo working properly when executing commands from a register.

Also test this in an empty buffer.



STARTTEST

:so tiny.vim

G0"ay$k@au

:new

@auY:quit!

GP

/start here$

"by$^Vjjlld

/456$

^Vjj"bP

:/56$/,$-1w! test.out

:qa!

ENDTEST



123456

234567

345678



test text test tex start here[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests Blockwise Visual when there are TABs before the text.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 107 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso tiny.vim
[?25l[?25h[?25lsome texttest text

test text



Ox^[jAy^[kdd[?25h[?2004l[?2004h[?25lx[?25h

[?2004l[?2004h[?25ly[?25h[?25ly

Ox^[jAy^[kdd[?25h[?25l



2 changes; before #1  0 seconds ago[?25h

[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       123456

234567

345678test text test tex start here

                some texttest

test textOx^[jAy^[kdd

test20.in                                                                       [?25h[?2004l[?2004h[?25lx[+][?25h

[?2004l[?2004h[?25ly[?25h[?25l

~                                                                               [?25h[?25l1 line less; before #1  0 seconds ago    [?25h[?25l:[?2004h[?25hquit!
[?25l:so tiny.vim

G0"ay$k@au:new@auY:quit!GP/start here$"by$^Vjjlld/456$^Vjj"bP:/56$/,$-1w! test.out:qa!ENDTEST123456

234567

345678test text test tex start heresome

         test text

test textOx^[jAy^[kdd[?25h[?25l[?25h[?25l

Ox^[jAy^[kdd[?25h[?25l

/[?2004h[?25hstart here$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25ls[?25h[?25le[?25h[?25lt t[?25h[?25lat [?25h[?25lrt hereextex[?25h[?25l/[?2004h[?25h456$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25l4

234[?25h[?25l5

345[?25h[?25l[?25h[?25lstart here56

234start here67

345start here78[?25h[?25l:[?2004h[?25h/56$/,$-1w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 10 lines, 106 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test20 = test61; then \
#	  if diff test.out test20.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test20.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test28.failed test.ok test.out X* viminfo
cp test28.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test28.in" 23 lines, 364 charactersTest for sourcing a file with CTRL-V's at the end of the line



STARTTEST

:/firstline/+1,/lastline/-1w! Xtestfile

:so Xtestfile

Gmm__1^[^[__2^[__3^[^[__4^[__5^[:'m,$s/^@/0/g

:'m,$w! test.out

:qa!

ENDTEST



firstline

map __1 afirst

map __2 asecond

map __3 athird

map __4 afourth

map __5 afifth

map __1 asd^V

map __2 asd^V^V

map __3 asd^V^V

map __4 asd^V^V^V

map __5 asd^V^V^V

lastline[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 sourcing a file with CTRL-V's at the end of the line[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 114 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h/firstline/+1,/lastline/-1w! Xtestfile
[?25l"Xtestfile" [New File] 10 lines, 148 characters written[?25h[?25l:[?2004h[?25hso Xtestfile
[?25l[?25h[?2004l[?2004h[?25l

sd

map __2 asd^[[?25h[?2004l[?2004h[?25lsecond[?25h[?2004ld  [?2004h[?25lsd^[[?25h[?2004l^[  [?2004h[?25lsd^@map __5 asd^@[?25h[?2004l[?2004h[?25lfifth[?25h[?25l

:[?2004h[?25h'm,$s/^@/0/g
[?25l0map __5 asd0fifth[?25h[?25l:[?2004h[?25h'm,$w! test.out
[?25l"test.out" [New File] 2 lines, 45 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test28 = test61; then \
#	  if diff test.out test28.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test28.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test29.in" 231 lines, 4278 charactersTest 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 nocompatible viminfo+=nviminfo

: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 cpoptions-=j nojoinspaces compatible

j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2

ENDTEST



firstline

asdfasdf.

asdf[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 478 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het nojoinspaces
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j
[?25l[?25h[?25l/[?2004h[?25hfirstline/
[?25l[?25h

[?25l/[?2004h[?25h^STARTTEST/-1
[?25l+-1
37 fewer linesSTARTTEST

/^{/+1[?25h[?25lmore linesasdfasdf.

asdf[?25h[?25lasdf

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop!

ert[?25h
hjkl i[?25l. as dfg? hjkl iop! ert

zx cvn.

as dfg?hjkl iop![?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv
hjkl i[?25l. as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop![?25h
hjkl i[?25l.  as dfg?  hjkl iop!  ert

zx cvn.

as dfg?[?25h  er[?25lt  e[?25h
zx cv[?25len[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv[?25l

hjkl iop![?25h
hjkl i[?25l.  as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions-=j nojoinspaces compatible
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h[?25l.  as dfg? hjkl iop! ert[?25h[?25lt  a[?25h[?25l

zx cvn.[?25h[?25l

/[?2004h[?25hSTARTTEST/-2
[?25l+-2
4 fewer lines[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 12 lines, 147 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset comments=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset nojoinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();
[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:" Test with backspace set to the non-compatible setting
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 18 lines, 364 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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 backspace= visualbell

A vim5^[A^U^U^[

A vim6^[Azwei^Gu^U^[

:inoremap <c-u> <left><c-u>

A vim7^U^U^[

:set compatible novisualbell

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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" Test with backspace set to the non-compatible setting
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25h^\d\+ this
[?25l[?25h[?25l:[?2004h[?25hset cp bs=2
[?25l[?25h[?2004l[?2004h[?25l[?25h[?2004ld    [?25lvim2[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hset cpo-=<
[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25ld3[?25h[?25l:[?2004h[?25hiunmap <c-u>
[?25l[?25h[?2004l[?2004h[?25l[?25h

[?25l:[?2004h[?25h" Test with backspace set to the compatible setting
[?25l[?25h[?25l:[?2004h[?25hset backspace= visualbell
[?25l[?25h[?2004l[?2004h[?25lvim5[?25h[?2004l[?2004h[?2004l[?2004h[?25ld vim6[?25h[?2004l6    [?25lzwei[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25lvim7[?25h

[?25l:[?2004h[?25hset compatible novisualbell
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 21 lines, 356 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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.

 */[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset comments=sO:*\ -,mO:*\ \ ,exO:*/
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:>#,mb:#,ex:#<,:<
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed.  *//* List:

 * - item1

 *   foo bar baz[?25h

[?25l/* Make sure the previous comment leader is not removed.  */*   foo bar baz

 * - item2

 *   foo bar baz[?25h

[?25l:[?2004h[?25h.,+8join
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz *//* List:- item1  foo bar baz

 * - item2[?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?[?25h

[?25l:[?2004h[?25h.,+2join
[?25lShould the next comment leader be left alone?  Yes.





// Yes.[?25h

[?25l// Should the next comment leader be left alone?  Yes.* Here the comment leader should be left intact. */

// And so should this one.[?25h

[?25l





:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.* Here the comment leader should be left intact. */[?25h

[?25l/* Here the comment leader should be left intact. */ // And so should this one.[?25h

[?25l:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;[?25h[?25l

[?25h[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;
[?25h[?25l

[?25h[?25l

:[?2004h[?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.[?25h[?25l

[?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.[?25h[?25l

[?25h[?2004l[?2004h[?25lSome code!

// Make sure backspacing does not remove this comment leader.[?25h
[?2004l[?2004h[?25l// Make sure backspacing does not remove this comment leader.

}[?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 61 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:?firstline?+1,$w! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l75 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.

}[?25h[?25l:[?2004h[?25h?firstline?+1,$w! test.out
[?25l"test.out" [New File] 97 lines, 3018 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test29 = test61; then \
#	  if diff test.out test29.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test29.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test31.in" 95 lines, 1832 charactersTest for commands that close windows and/or buffers:

:quit

:close

:hide

:only

:sall

:all

:ball

:buf

:edit



STARTTEST

:so small.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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 80 lines, 1697 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" test ":q!" and hidden buffer.

:bw! Xtest1 Xtest2 Xtest3 Xtest4

:sp Xtest1

:wincmd w

:bw!

:set modified

:bot sp Xtest2

:set modified

:bot sp Xtest3

:set modified

:wincmd t

:hide

:q!

:w >>test.out

:q!

:w >>test.out

:q!

:call append(line('$'), "Oh, Not finished yet.")

:w >>test.out

:qa!

ENDTEST



testtext[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h

[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h$w! Xtest1
[?25l"Xtest1" [New File] 1 line, 11 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h$w! Xtest2
[?25l"Xtest2" [New File] 1 line, 11 characters written[?25h[?25l3[?25h[?25l:[?2004h[?25h$w! Xtest3
[?25l"Xtest3" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hn! Xtest1 Xtest2
[?25l"Xtest1" 1 line, 11 characterstesttext 1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" test for working :n when hidden set; write "testtext 2"
[?25l[?25h[?25l:[?2004h[?25hn
[?25l"Xtest2" 1 line, 11 characters2[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25h" test for failing :rew when hidden not set; write "testtext 2 2"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hrew
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for working :rew when hidden set; write "testtext 1 1"
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hrew
[?25l"Xtest1" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)1 1
[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for :all keeping a buffer when it's modified; write "testtext 1 1 1"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hsp
[?25lXtest1 [+]                                                                      testtext 1 1 1Xtest1 [+]                                                                      [?25h[?25l:[?2004h[?25hn Xtest2 Xtest3
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)2 22 [?25h[?25l:[?2004h[?25hall
[?25l"Xtest3" 1 line, 11 characterstesttext 1 1 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25h1wincmd w
[?25lXtest1 [+]                                                                      Xtest2 [+]                                                                       [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test abandoning changed buffer, should be unloaded even when 'hidden' set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 2 2" twice
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?2004l[?2004h[?25l1 1[?25h[?25l:[?2004h[?25hq!
[?25ltesttext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25hunhide
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":hide" hides anyway when 'hidden' not set; write "testtext 3"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hhide
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" failing in modified buffer when 'hidden' not set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3"
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25he Xtest1
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" working in modified buffer when 'hidden' set; write "testtext 1


"[?25ltesttext 3 3[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 1 line, 11 characters1[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":close" not hiding when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3 3"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest3
[?25l"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)3 3Xtest3 [+]                                                                      testtext 1Xtest1                                                                          [?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test ":close!" does hide when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 1"
[?25l[?25h[?2004l[?2004h[?25l3 3[?25h[?25l:[?2004h[?25hclose!
[?25l1~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?25l:[?2004h[?25h" test ":all!" hides changed buffer; write "testtext 2 2 2"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest4
[?25l"Xtest4" [New File]Xtest4                                                                          testtext 1Xtest1                                                                          [?25h[?2004l[?2004h[?25l 4[+][?25h[?25l:[?2004h[?25hall!
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)


"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h1wincmd w
[?25ltesttext 2 2 2

~                                                                               Xtest2 [+]                                                                      testtext 3 3 3 3~                                                                               3 [+][?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test ":q!" and hidden buffer.
[?25l[?25h[?25l:[?2004h[?25hbw! Xtest1 Xtest2 Xtest3 Xtest4
[?25l"test31.in"95 lines, 1832 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp Xtest1
[?25l"Xtest1" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               Xtest1                                                                          :w >>test.out:q!:w >>test.out:q!:call append(line('$'), "Oh, Not finished yet."):w >>test.out:qa!ENDTESTtesttexttest31.in "Xtest1" 1 line, 11 characters[?25h[?25l:[?2004h[?25hwincmd w
[?25lXtest1                                                                           test31.in                                                                       [?25h[?25l:[?2004h[?25hbw!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset modified
[?25l[?25h[?25l:[?2004h[?25hbot sp Xtest2
[?25l"Xtest2" 1 line, 11 charactersXtest1 [+]                                                                      testtext 2Xtest2                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hbot sp Xtest3
[?25l"Xtest3" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hwincmd t
[?25lXtest1 [+]                                                                      Xtest3 [+]                                                                       [?25h[?25l:[?2004h[?25hhide
[?25ltesttext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3 [+]                                                                      [?25h[?25l:[?2004h[?25hq!
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hq!
[?25lE37: No write since last change


E162: No write since last change for buffer "Xtest1"[?2004h


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test31 = test61; then \
#	  if diff test.out test31.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test31.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test33.failed test.ok test.out X* viminfo
cp test33.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc2.o misc2.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test33.in" 34 lines, 616 charactersTest for 'lisp'

If the lisp feature is not enabled, this will fail!



STARTTEST

:so small.vim

:set lisp

/^(defun

=G:/^(defun/,$w! test.out

:q!

ENDTEST



(defun html-file (base)

(format nil "~(~A~).html" base))



(defmacro page (name title &rest body)

(let ((ti (gensym)))

`(with-open-file (*standard-output*

(html-file ,name)

:direction :output

:if-exists :supersede)

(let ((,ti ,title))

(as title ,ti)

(with center[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'lisp'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 63 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset lisp
[?25l[?25h[?25l/[?2004h[?25h^(defun
[?25l[?25h[?25l22 lines to indent...
23indented   (format nil "~(~A~).html" base))





  (let ((ti (gensym)))

       `(with-open-file (*standard-output*

                 (html-file ,name)

                  :direction :output

                         :if-exists :supersede)

                        (let ((,ti ,title))

              (as title ,ti)

            (with center[?25h[?25l:[?2004h[?25h/^(defun/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 23 lines, 544 characters written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test33 = test61; then \
#	  if diff test.out test33.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test33.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test34.in" 87 lines, 1833 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1621 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction Table(title, ...)
[?25l

:[?2004h  [?25h:  let ret = a:title


[?25l:[?2004h  [?25h:  let idx = 1


[?25l:[?2004h  [?25h:  while idx <= a:0


[?25l:[?2004h    [?25h:    exe "let ret = ret . a:" . idx


[?25l:[?2004h    [?25h:    let idx = idx + 1


[?25l:[?2004h    [?25h:  endwhile


[?25l:[?2004h  [?25h:  return ret


[?25l:[?2004h  [?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[?25h[?25l



:[?2004h[?25hfunction Compute(n1, n2, divname)
[?25l

:[?2004h  [?25h:  if a:n2 == 0


[?25l:[?2004h    [?25h:    return "fail"


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  exe "let g:" . a:divname . " = ". a:n1 / a:n2


[?25l:[?2004h  [?25h:  return "ok"


[?25l:[?2004h  [?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))[?25h[?25l



:[?2004h[?25hfunc Expr1()
[?25l

:[?2004h  [?25h:  normal! v


[?25l:[?2004h  [?25h:  return "111"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc Expr2()
[?25l

:[?2004h  [?25h:  call search('XX', 'b')


[?25l:[?2004h  [?25h:  return "222"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListItem()
[?25l

:[?2004h  [?25h:  let g:counter += 1


[?25l:[?2004h  [?25h:  return g:counter . '. '


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListReset()
[?25l

:[?2004h  [?25h:  let g:counter = 0


[?25l:[?2004h  [?25h:  return ''


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc FuncWithRef(a)
[?25l

:[?2004h  [?25h:  unlet g:FuncRef


[?25l:[?2004h  [?25h:  return a:a


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hlet g:FuncRef=function("FuncWithRef")
[?25l[?25h[?25l:[?2004h[?25hlet counter = 0
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> ( ListItem()
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> [ ListReset()
[?25l[?25h[?25l:[?2004h[?25himap <expr> + Expr1()
[?25l[?25h[?25l:[?2004h[?25himap <expr> * Expr2()
[?25l[?25h[?25l:[?2004h[?25hlet retval = "nop"
[?25l[?25h[?25l/[?2004h[?25h^here
[?25l[?25h[?25lher$[?2004l=[?2004h[?25hTable("xxx", 4, "asdf")
[?25l=[?2004h[?25hCompute(45, 0, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hCompute(45, 5, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hg:FuncRef(333)


[?25lError detected while processing function Expr1:


line    1:


E523: Not allowed here


Press ENTER or type command to continue[?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[?25h[?2004h[?25l1. one again[?25h[?25l

:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25hcall extend(g:, {'max': function('min')})
[?25lE704: Funcref variable name must start with a capital: max[?25h[?25l:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:    " Regression: the first line below used to throw ?E110: Missing ')'?


[?25l:[?2004h  [?25h:    " Second is here just to prove that this line is correct when not skipp


ing


[?25l:[?2004h  [?25h:    " rhs of &&.


[?25l:[?2004h  [?25h:    $put =(0&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:    $put =(1&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:    $put ='!!! Unexpected exception:'


[?25l:[?2004h  [?25h:    $put =v:exception


[?25l:[?2004h  [?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[?25h[?25l

:[?2004h[?25h$-9,$w! test.out
[?25l"test.out" [New File] 10 lines, 81 characters written[?25h[?25l:[?2004h[?25hdelfunc Table
[?25l[?25h[?25l:[?2004h[?25hdelfunc Compute
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr1
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr2
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListItem
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListReset
[?25l[?25h[?25l:[?2004h[?25hunlet retval counter
[?25l[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test34 = test61; then \
#	  if diff test.out test34.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test34.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test36.in" 114 lines, 2136 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 107 lines, 1961 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTp: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\%210l^\t...//g

p:s/\%#=1\%211l^\t...//g

p:s/\%#=2\%212l^\t...//g

p:s/\%#=0[0-z]//g

p:s/\%#=1[0-z]//g

p:s/\%#=2[0-z]//g

p:s/\%#=0[^0-z]//g

p:s/\%#=1[^0-z]//g

p:s/\%#=2[^0-z]//g

:/^start-here/+1,$wq! test.out

ENDTEST




[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^start-here/+1
[?25l[?25h[?25l:[?2004h[?25hs/\%#=0\d//g



:[?2004h[?25hs/\%#=1\d//g



:[?2004h[?25hs/\%#=2\d//g



:[?2004h[?25hs/\%#=0[0-9]//g



:[?2004h[?25hs/\%#=1[0-9]//g



:[?2004h[?25hs/\%#=2[0-9]//g



:[?2004h[?25hs/\%#=0\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\o//g



:[?2004h[?25hs/\%#=1\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l

[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\x//g




:[?2004h[?25hs/\%#=1\x//g




:[?2004h[?25hs/\%#=2\x//g




:[?2004h[?25hs/\%#=0[0-9A-Fa-f]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-9A-Fa-f]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\w//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\w//g





:[?2004h[?25hs/\%#=1[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=2[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=0\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\h//g




:[?2004h[?25hs/\%#=1\h//g




:[?2004h[?25hs/\%#=2\h//g




:[?2004h[?25hs/\%#=0[A-Za-z_]//g




:[?2004h[?25hs/\%#=1[A-Za-z_]//g




:[?2004h[?25hs/\%#=2[A-Za-z_]//g




:[?2004h[?25hs/\%#=0\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\a//g




:[?2004h[?25hs/\%#=1\a//g




:[?2004h[?25hs/\%#=2\a//g




:[?2004h[?25hs/\%#=0[A-Za-z]//g




:[?2004h[?25hs/\%#=1[A-Za-z]//g




:[?2004h[?25hs/\%#=2[A-Za-z]//g




:[?2004h[?25hs/\%#=0\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\l//g



:[?2004h[?25hs/\%#=1\l//g



:[?2004h[?25hs/\%#=2\l//g



:[?2004h[?25hs/\%#=0[a-z]//g



:[?2004h[?25hs/\%#=1[a-z]//g



:[?2004h[?25hs/\%#=2[a-z]//g



:[?2004h[?25hs/\%#=0\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\u//g



:[?2004h[?25hs/\%#=1\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l

[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\%210l^\t...//g



:[?2004h[?25hs/\%#=1\%211l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\%212l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-z]//g
[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l

[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l:[?2004h[?25h/^start-here/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 105 lines, 4521 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test36 = test61; then \
#	  if diff test.out test36.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test36.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test37.in" 116 lines, 3262 charactersTest 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 --[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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![?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 72 lines, 1498 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTHk^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

. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25hset scrollopt=ver,jump
[?25l[?25h[?25l:[?2004h[?25hset scrolloff=2
[?25l[?25h[?25l:[?2004h[?25hset nowrap
[?25l[?25h[?25l:[?2004h[?25hset noequalalways
[?25l[?25h[?25l:[?2004h[?25hset splitbelow
[?25l[?25h[?25l:[?2004h[?25h" TEST using two windows open to one buffer, one extra empty window
[?25l[?25h[?25l:[?2004h[?25hsplit
[?25l^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

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02test37.in                                                                       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 11122

test37.in                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l:w! test.out             " Write contents of this file

:qa!ENDTESTtest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 8
[?25l:" ***** done with tests *****w! test.out             " Write contents of this file

:qa!ENDTESTstart of window 1

. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01

test37.in                                                                       :" ***** done with tests *****:w! test.out             " Write contents of this fileqa!ENDTESTstart of window 1[?25h[?25l/[?2004h[?25h^start of window 1$/
[?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 7
[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lend of window 1start of window 2

. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03[?25h[?25l

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25htest37.in                                                                        [No Name]                                                                       [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[+][?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l2[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        test37.in                                                                       test37.in                                                                       test37.in                                                                        test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       test37.in                                                                        test37.in                                                                        test37.in                                                                       test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0656789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415UTSRQPONMLKJIHGREDCBA9876543210 09101112131415[?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[?25h[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" ****** tests using two different buffers *****
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hclose
[?25lstart of window 20000000000[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25h/^start of window 2$/,/^end of window 2$/y
[?25l18 lines yanked[?25h[?25l:[?2004h[?25hnew
[?25ltest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        test37.in                                                                        [No Name]                                                                       [?25l4 more lines[+][?25h





[?25l18 more linesstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l/[?2004h[?25h^start of window 1$/
[?25lsearch hit BOTTOM, continuing at TOPENDTESTstart of window 1010102020303[?25h[?25l

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
[?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
[?25h[?25l2[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11

46 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

56 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06UTSRQPONMLKJIHGREDCBA9876543210 07[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415



UTSRQPONMLKJIHGREDCBA9876543210 0910111213141516[?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[?25h[?25l[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" TEST syncbind
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 201010202[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25h[?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25h[?25l



:[?2004h[?25h[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

^Wj:
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" ***** done with tests *****
[?25l[?25h[?25l:[?2004h[?25hw! test.out             " Write contents of this file
[?25l"test.out" [New File] 33 lines, 1329 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test37 = test61; then \
#	  if diff test.out test37.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test37.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test38.in" 35 lines, 455 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 29 lines, 407 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTopq 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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25l^[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

[?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

^Duvwxyz[?25h[?25l

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25l

abcdefghijk      lmn    opq rstuvwxyz[?25h[?25l:[?2004h[?25hset ai
[?25l[?25h[?25l:[?2004h[?25hset bs=2
[?25l[?25h[?2004l[?2004h[?25l 1

 A BCDEFGHIJ    KL        MNOPQR[?25h[?25l:[?2004h[?25hka
[?25l[?25h[?2004l[?2004h[?25labcdefghijk      lmn    opq rstuvwxyz[?25h

[?2004l[?2004h[?25l 1[?25h[?25l:[?2004h[?25h$
[?25l[?25h[?2004l[?2004h[?25lab      cdefghi jkl[?25h
[?2004l[?2004h[?25lAB......CDEFGHI.J[?25h[?2004l[?2004h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?2004l[?2004h[?25labcdefghijklmnopqrst[?25h
[?2004l[?2004h[?25lAB      IJKLMNO QR[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 13 lines, 107 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test38 = test61; then \
#	  if diff test.out test38.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test38.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test39.in" 118 lines, 2435 charactersTest Visual block mode commands

And test "U" in Visual mode, also on German sharp S.



#define BO_ALL      0x0001

#define BO_BS0x0002

#define BO_CRSR     0x0004



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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 2061 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" This only works when 'encoding' is "latin1", don't depend on the environment
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h[?25l/[?2004h[?25h^abcde
[?25lbbbb

cccc

dddd



yaaa


bbb



A23

4567



B23

4567



C23

4567



abcdefghijklm[?25h[?25l

:[?2004h[?25h" Test shift-right of a block
[?25l[?25h[?25l

abcdefghijklm[?25habcd[?25l[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

3 lines >ed 1 time        efghijklm

abcd        efghijklm

abcd        efghijklm[?25h     ef[?25l[?25h[?25lg[?25h[?25lhg[?25h[?25lih[?25h[?25lji[?25h[?25l        ghijklm        ghijklm[?25h[?25l:[?2004h[?25h" Test shift-left of a block
[?25l[?25h[?25l

abcdefghijklm[?25h[?25l[?25h[?25li[?25h[?25l [?25h[?25l





3 lines <ed 1 timeef    efghijklmi[?25h[?25l:[?2004h[?25h" Test block-insert
[?25l[?25h

a[?25l[?25h[?25lb[?25h[?25lb[?25h[?25lb[?25h[?25l

ab

ab

ab[?2004l[?2004hxyzbcdefghijklm

axyzbcd

axyzbcd

axyzbcd[?25h

a[?25l:[?2004h[?25h" Test block-replace
[?25l[?25h





abcd[?25l[?25h[?25le[?25h[?25lb[?25h[?25lb[?25h[?25lbccf[?25h[?25lcddg[?25h[?25ld  h[?25h[?25lqqqq

axyzqqqq

axyzqqqq

abcdqqqq[?25h

axyz[?25l:[?2004h[?25h" Test block-change
[?25l[?25h



[?25l[?25h[?25lj[?25h[?25li[?25h[?25l     ghijkl[?25h[?25lef  gkl[?25h[?2004l[?2004h[?25lmnomnomno[?25h[?25l:[?2004h[?25h$-4,$w! test.out
[?25l"test.out" [New File] 5 lines, 108 characters written[?25h[?25l:[?2004h[?25h" Test block-insert using cursor keys for movement
[?25l[?25h[?25l/[?2004h[?25h^aaaa/
[?25lsearch hit BOTTOM, continuing at TOPaaaaaa

bbbbbb

cccccc

ddddddsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>jjjlllI\<Right>\<Right>  \<Esc>"
[?25l[?2004l[?2004h  aaa

bbb  bbb

ccc  ccc

ddd  ddd[?25h[?25l:[?2004h[?25h/^aa/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 37 characters appended[?25h[?25l/[?2004h[?25hxaaa$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! \<C-V>jjjI<>\<Left>p\<Esc>"
[?25l[?2004l[?2004h<p>xaaa

<p>bbbb

<p>cccc

<p>dddd[?25h[?25l:[?2004h[?25h/xaaa$/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 33 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the last <C-v>$
[?25l[?25h[?25l/[?2004h[?25h^A23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$Aab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (1)
[?25l[?25h[?25l/[?2004h[?25h^B23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hAab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 15 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (2)
[?25l[?25h[?25l/[?2004h[?25h^C23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hhAab\<Esc>"
[?25l[?2004l[?2004hab

456ab7[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block insert when virtualedit=all and utf-8 encoding
[?25l[?25h[?25l:[?2004h[?25hset ve=all enc=utf-8
[?25laaa  aaa

bbb  bbb

ccc  ccc

ddd  ddd



<p>xaaa

<p>bbbb

<p>cccc

<p>dddd



yaaa

<bf><bf><bf>

bbb



A23ab

4567ab



B23 ab

4567ab



C23ab

456ab7[?25h[?25l





:[?2004h[?25h/\t\tline
[?25lsearch hit BOTTOM, continuing at TOPline1line2line3search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! 07l\<C-V>jjIx\<Esc>"
[?25l[?2004l[?2004hxxx[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 4 lines, 49 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block append when virtualedit=all
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 012l\<C-v>jjAx\<Esc>"
[?25l[?2004l[?2004hx   line1x   line2x   line3[?25h[?25l:[?2004h[?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



yaaa


bbb



A23ab

4567ab



B23 ab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l[?25h[?25lC23ab

456ab7



axyzbcdefghijklm

axyzqqqq   mnoghijklm

axyzqqqqef mnoghijklm

axyzqqqqefgmnoklm

abcdqqqqijklm[?25h[?2004l[?2004h[?25l


[?25hthe [?25lYOUTUSSEUU end
the [?25h

the [?25l

:[?2004h[?25h" gUfx must uppercase until x, inclusive.
[?25l[?25h[?2004l[?2004h[?25l
- y[?25lOUSSTUSSEXu -
- y[?25h[?25l


:[?2004h[?25h" VU must uppercase a whole line
[?25l[?25h[?25l

[?25h[?25lTHE YOUTUSSEUU END
[?25h

[?25l

:[?2004h[?25h" same, when it's the last line in the buffer
[?25l[?25h[?25l[?25h[?25l

11[?25h[?25l
11[?25h[?25l
111THE YOUTUSSEUU END
[?25h[?25l~                                                                               [?25h[?25l111THE YOUTUSSEUU END


[?25l

:[?2004h[?25h" Uppercase two lines
[?25l[?25h[?2004l[?2004h[?25l

blah didoh dut[?25h[?25l
doh dut [?25h[?25lblah di t[?25h[?25l
BLAH DIDOH DUT[?25h[?25l


:[?2004h[?25h" Uppercase part of two lines
[?25l[?25h[?25l
~                                                                               [?25h[?25l


33[?25h

333the yo[?25h[?25lut[?25h[?25lUTUSSEUU END

333THE YOUTU[?25h[?25l



:[?2004h[?25h" visual replace using Enter or NL
[?25l[?25h

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^M65

98^M65

98^M65[?25h

98

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^@65

98^@65

98^@65[?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test cursor position. When ve=block and Visual block mode and $gj
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 2k\<C-V>$gj\<Esc>"
[?25l[?25h[?25l:[?2004h[?25hlet cpos=getpos("'>")
[?25l[?25h[?25l:[?2004h[?25h$put ='col:'.cpos[2].' off:'.cpos[3]
[?25l

col:4 off:0[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" block_insert when replacing spaces in front of the block with tabs
[?25l[?25h[?25l:[?2004h[?25hset ts=8 sts=4 sw=4
[?25l[?25h[?25l:[?2004h[?25h4,7y
[?25l4 lines yanked[?25h[?25l

4 more lines

4 more lines[?25h[?25l

#define BO_ALL      0x0001[?25h[?25l

:[?2004h[?25hexe ":norm! f0\<C-V>2jI\<tab>\<esc>"
[?25l[?2004l[?2004h    0x0001

#define BO_BS0x0002

#define BO_CRSR0x0004[?25h[?25l





:[?2004h[?25h/^the/,$w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 31 lines, 322 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test39 = test61; then \
#	  if diff test.out test39.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test39.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test40.in" 63 lines, 1536 charactersTest for "*Cmd" autocommands



STARTTEST

:so small.vim

:/^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

:" 6     end of Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1455 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^start/,$w! Xxx^I^I" write lines below to Xxx
[?25l"Xxx" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25hau BufReadCmd XtestA 0r Xxx|$del
[?25l[?25h[?25l:[?2004h[?25he XtestA^I^I^I" will read text of Xxd instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxx        test40end of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau BufWriteCmd XtestA call append(line("$"), "write")
[?25l[?25h[?25l:[?2004h[?25hw^I^I^I^I" will append a line to the file
[?25lwrite[?25h[?25l:[?2004h[?25hr XtestA^I^I^I" should not read anything
[?25lE484: Can't open file XtestA[?25h[?25l:[?2004h[?25h^I^I^I^I" now we have:
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileReadCmd XtestB '[r Xxx
[?25l[?25h[?25l:[?2004h[?25h2r XtestB^I^I^I" will read Xxx below line 2 instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxxtest40

end of Xxx[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileWriteCmd XtestC '[,']copy $
[?25l[?25h[?2004l[?2004h[?25ltest401[?25h[?25l:[?2004h[?25h4,5w XtestC^I^I^I" will copy lines 4 and 5 to the end
[?25l        test401end of Xxx[?25h[?25l:[?2004h[?25hr XtestC^I^I^I" should not read anything
[?25lE484: Can't open file XtestC[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hau FILEAppendCmd XtestD '[,']w! test.out
[?25l[?25h[?25l:[?2004h[?25hw >>XtestD^I^I^I" will write all lines to test.out
[?25l"test.out" [New File] 9 lines, 91 characters written[?25h[?25l:[?2004h[?25h$r XtestD^I^I^I" should not read anything
[?25lE484: Can't open file XtestD[?25h[?25l:[?2004h[?25h$w >>test.out^I^I^I" append "end of Xxx" to test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hau BufReadCmd XtestE 0r test.out|$del
[?25l[?25h[?25l:[?2004h[?25hsp XtestE^I^I^I" split window with test.out
[?25l"test.out" 10 lines, 102 charactersend of XxxXtestE                                                                          end of Xxxwrite        test401end of XxxXtestA                                                                          [?25h[?2004l[?2004h[?25lasdf[+][?25hXtestE [+]                                                                       XtestA                                                                          [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hau BufWriteCmd XtestE w! test.out
[?25l[?25h[?25l:[?2004h[?25hwall^I^I^I^I" will write other window to test.out
[?25l"test.out" 11 lines, 107 characters written   [?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iasdf
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 10^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 11^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test40 = test61; then \
#	  if diff test.out test40.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test40.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test41.failed test.ok test.out X* viminfo
cp test41.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test41.in" 24 lines, 421 charactersTest for writing and reading a file of over 100 Kbyte



1 line: "This is the start"

3001 lines: "This is the leader"

1 line: "This is the middle"

3001 lines: "This is the trailer"

1 line: "This is the end"



STARTTEST

:%d

aThis is the start

This is the leader

This is the middle

This is the trailer

This is the end^[kY3000p2GY3000p

:w! Xtest

:%d

:e! Xtest

:.w! test.out

3003G:.w >>test.out

6005G:.w >>test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 of over 100 Kbyte[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 196 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lThis is the start

This is the leaderThis is the middleThis is the trailerThis is the end[?25h[?25l3000 more linestrailer

This is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailer[?25h[?25lleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleader[?25h

[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 6005 lines, 117092 characters written[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25he! Xtest
[?25l"Xtest" 6005 lines, 117092 charactersThis is the start

This is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leader[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 18 characters written[?25h[?25lThis is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the middle

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 19 characters appended[?25h[?25lThis is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the end
[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 16 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test41 = test61; then \
#	  if diff test.out test41.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test41.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test42.in" 130 lines, 2368 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 111 lines, 2116 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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


utf-8

utf-8

utf-8-err

utf-8~@err

ucs-2


ucs-2le


[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25l: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

<fe><fe>latin-1

utf-8

<feff>utf-8

utf-8-err

<feff>utf-8<80>err

ucs-2

<fe><ff>^@u^@c^@s^@-^@2^@

ucs-2le

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l:[?2004h[?25hset fileencodings=ucs-bom,latin-1
[?25l[?25h[?25l:[?2004h[?25hset ff=unix ffs=unix           " This changes the file for DOS and MAC
[?25l[?25h[?25l:[?2004h[?25h" --- Write the test files
[?25l[?25h[?25l:[?2004h[?25h/^latin-1$/+1w! Xtest0
[?25l"Xtest0" [New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h/^utf-8$/+1w! Xtest1
[?25l"Xtest1" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h/^utf-8-err$/+1w! Xtest2
[?25l"Xtest2" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25h/^ucs-2$/+1w! Xtest3
[?25l"Xtest3" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25h/^ucs-2le$/+1w! Xtest4
[?25l"Xtest4" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h" Need to add a NUL byte after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest4                      " Ignore change from setting 'ff'
[?25l"Xtest4" 1 line, 17 characters<ff><fe>u^@c^@s^@-^@2^@l^@e^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

[?2004h[?25l^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest4" [Incomplete last line] 2 lines, 18 characters written[?25h[?25l:[?2004h[?25hset ffs& nobinary              " Allow default test42.in format
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25hset ff=unix                    " Format for files to write
[?25l[?25h[?25l:[?2004h[?25h/^ucs-4$/+1w! Xtest5
[?25l"Xtest5" [converted][New File] 1 line, 30 characters written[?25h[?25l:[?2004h[?25h/^ucs-4le$/+1w! Xtest6
[?25l"Xtest6" [converted][New File] 1 line, 35 characters written[?25h[?25l:[?2004h[?25h" Need to add three NUL bytes after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest6                      " ! for when setting 'ff' is a change
[?25l"Xtest6" 1 line, 33 characters<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

~   [?2004h[?25l
^@^@^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest6" [Incomplete last line] 2 lines, 36 characters written[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check that editing a latin-1 file doesn't see a BOM
[?25l[?25h[?25l:[?2004h[?25he! Xtest0
[?25l"Xtest0" [converted] 1 line, 12 charactersþþlatin-1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hredir! >test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lþþlatin-1

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 12 characters appended[?25h[?25l:[?2004h[?25hset bomb fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw! Xtest0x
[?25l"Xtest0x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8
[?25l[?25h[?25l:[?2004h[?25he! Xtest1
[?25l"Xtest1" 1 line, 9 charactersutf-8[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-8


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest1x
[?25l"Xtest1x" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8 with an error (will fall back to latin-1)
[?25l[?25h[?25l:[?2004h[?25he! Xtest2
[?25l"Xtest2" [converted] 1 line, 17 charactersutf-8<80>err
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8<80>err

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 17 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest2x
[?25l"Xtest2x" gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ops.o ops.c
[New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2
[?25l[?25h[?25l:[?2004h[?25he! Xtest3
[?25l"Xtest3" [converted] 1 line, 8 charactersucs-2[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2
[?25l[?25h[?25l:[?2004h[?25hw! Xtest3x
[?25l"Xtest3x" [converted][New File] 1 line, 8 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2le
[?25l[?25h[?25l:[?2004h[?25he! Xtest4
[?25l"Xtest4" [converted] 1 line, 10 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest4x
[?25l"Xtest4x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4
[?25l[?25h[?25l:[?2004h[?25he! Xtest5
[?25l"Xtest5" [converted] 1 line, 10 characters4[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4
[?25l[?25h[?25l:[?2004h[?25hw! Xtest5x
[?25l"Xtest5x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4le
[?25l[?25h[?25l:[?2004h[?25he! Xtest6
[?25l"Xtest6" [converted] 1 line, 12 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest6x
[?25l"Xtest6x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check the files written with BOM
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 35 lines, 275 characters  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[?25h[?25l:[?2004h[?25h$r Xtest0x
[?25l"Xtest0x" 1 line, 10 charactersbomb

ucs-2lefileencoding=ucs-4

  bomb

ucs-4fileencoding=ucs-4le

  bomb

ucs-4le

<fe><fe>latin-1[?25h[?25l

:[?2004h[?25h$r Xtest1x
[?25l"Xtest1x" 1 line, 9 characters

<feff>utf-8[?25h[?25l

:[?2004h[?25h$r Xtest2x
[?25l"Xtest2x" 1 line, 17 characters

utf-8<80>err[?25h[?25l

:[?2004h[?25h$r Xtest3x
[?25l"Xtest3x" 1 line, 14 characters

<fe><ff>^@u^@c^@s^@-^@2^@[?25h[?25l

:[?2004h[?25h$r Xtest4x
[?25l"Xtest4x" [Incomplete last line] 2 lines, 18 characters

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l

:[?2004h[?25h$r Xtest5x
[?25l"Xtest5x" 1 line, 28 characters^@

^@^@<fe><ff>^@^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@[?25h[?25l

:[?2004h[?25h$r Xtest6x
[?25l"Xtest6x" [Incomplete last line] 2 lines, 36 characters

<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@[?25h[?25l

:[?2004h[?25hset nobin ff&               " Write the file in default format
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 44 lines, 409 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test42 = test61; then \
#	  if diff test.out test42.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test42.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test43.failed test.ok test.out X* viminfo
cp test43.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test43.in" 34 lines, 473 charactersTests for regexp with various magic settings.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

/^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:$

:set undolevels=100

dv?bar?

Yup:"

:?^1?,$w! test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various magic settings.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 268 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l/[?2004h[>c^[?25h1
[?25l

1 a aa abb abbccc[?25h[?25l

/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l

2 d dd dee deefff[?25h[?25l[?25h[?25l

:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l

3 g gg ghh ghhiii[?25h[?25l[?25h[?25l

/[?2004h[?25h\mj*k\{2}l\+/e
[?25l

4 j jj jkk jkklll[?25h[?25l[?25h[?25l

/[?2004h[?25h\vm*n{2}o+/e
[?25l

5 m mm mnn mnnooo[?25h[?25l[?25h[?25l

/[?2004h[?25h\V^aa$
[?25l

6 x ^aa$ x[?25h[?25laa$ x[?25h[?25l

:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l

7 (a)(b) abbaa[?25h[?25l[?25h[?25l

/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l

8 axx [ab]xx[?25h[?25lab]x[?25h[?25l

:[?2004h[?25h$
[?25l9 foobar[?25h[?25l

:[?2004h[?25hset undolevels=100
[?25l[?25h[?25l?[?2004h[?25hbar?
[?25l~                                                                               [?25h[?25l



1 more line; before #2  0 seconds agobar[?25h[?25l

9 foo
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 11L, 137C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test43 = test61; then \
#	  if diff test.out test43.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test43.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test44.in" 81 lines, 1492 charactersTests 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 nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

: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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1023 characters written[?25h[?25l:[?2004hset ff& cpo+=A



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l:[?2004h[?25h" c
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


:[?2004h[?25h" d
[?25l[?25h[?25l/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


:[?2004h[?25h" e
[?25l[?25h[?25l/[?2004h[?25h\%U12345678
[?25l


:[?2004h[?25h" f
[?25l[?25h[?25l/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


:[?2004h[?25h" g
[?25l[?25h[?25l/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" j Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       e y f z

g abb



test.out [+]                                                                    [?25h[?25l:[?2004h[?25h$put =['dog(a', 'cat(']
[?25ldog(acat([+][?25h[?25l/[?2004h[?25h(/e+
[?25l/(/e+1
[?25h[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hbd!
[?25l1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii


e y



[?25l

[?25h[?25la[?25h[?25l

cat(
[?25h[?25l

:[?2004h[?25hw!
[?25l"test.out" 25L, 271C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test44 = test61; then \
#	  if diff test.out test44.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test44.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test45.in" 92 lines, 1979 charactersTests for folding. vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:" 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("."))[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 1846 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:new

iTest fdm=indent and :move bug END

line2Test fdm=indent STARTline3line4^[

:set fdm=indent

:1m1

2jzc:m0

:%w >> test.out

:qa!

ENDTEST



1 aa

2 bb

3 cc

4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" We also need the +syntax feature here.
[?25l[?25h[?25l:[?2004h[?25hif !has("syntax")
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   w! test.out


[?25l:[?2004h  [?25h   qa!


[?25l:[?2004h  [?25h:endif
[?25l:new

iTest fdm=indent and :move bug END

line2Test fdm=indent START[?25h[?25l:[?2004h[?25h" basic test if a fold can be created, opened, moving to the end and closed
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", "manual " . getline(foldclosed(".")))
[?25l[?25h[?25l1 aa2 bb3 cc4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h[?25l:[?2004h[?25hcall append("$", foldclosed("."))
[?25l[?25h



[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", getline(foldclosed(".")))
[?25l[?25h[?25l:[?2004h[?25h" test folding with markers.
[?25l[?25h[?25l:[?2004h[?25hset fdm=marker fdl=1 fdc=3
[?25l   :new

   iTest fdm=indent and :move bug END

   line2

           Test fdm=indent START

           line3

           line4^[

   :set fdm=indent

   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa   2 bb   3 cc-  4 dd {{{

|- 5 ee {{{ }}}

|  6 ff }}}

   7 gg

   8 hh

   9 ii

   a jj[?25h[?25l/[?2004h[?25h^5
[?25l[?25h[?25l:[?2004h[?25hcall append("$", "marker " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?2004l[?2004h[?25l{{ |  6 ff }}}[?25h[?25l-{|

|

|

|[?25h[?25l





:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l6 ff }}}

 7 gg

 8 hh[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h" test folding with indent
[?25l[?25h[?25l:[?2004h[?25hset fdm=indent sw=2
[?25l-++---  3 lines: Test fdm=indent START-----------------------------------------:set fdm=indent:1m12jzc:m0%w >> test.out:qa!ENDTEST1 aa2 bb3 cc4 dd {{{5 ee {{{ }}}

 {{{  6 ff }}}  6 ff }}}

  7 gg 8 hh9 iia jj[?25h[?25l/[?2004h[?25h^2 b
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?2004l[?2004h[?25l
-  2 bb[?25h[?2004l[?2004h[?25l
|-    3 cc[?25h[?25l:[?2004h[?25hcall append("$", "indent " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hset sw&
[?25l         Test fdm=indent START|        line3|        line4^[:set fdm=indent1m12jzc:m0:%w >> test.out:qa!ENDTEST

   1 aa  2 bb    3 cc4 dd {{{5 ee {{{ }}}{{{6 ff }}}6 ff }}}7 gg8 hh[?25h[?25l:[?2004h[?25h" test syntax folding
[?25l[?25h[?25l:[?2004h[?25hset fdm=syntax fdl=0
[?25l 

 

 [?25h[?25l:[?2004h[?25hsyn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
[?25l++--  8 lines: 4 dd ----------------------------------------------------------a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hsyn region Fd1 start="ee" end="ff" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd2 start="gg" end="hh" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd3 start="commentstart" end="commentend" fold contained
[?25l[?25h[?25l   1 aa

   marker 2

   1

   1

   0

   indent 2

   1[?25h[?25l:[?2004h[?25hcall append("$", "folding " . getline("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?2004l[?2004h[?25l
--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[?25h[?2004l[?2004h[?25l commentend- 

|-



| 

  

  

  

  

  

  [?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25hset fdl=0
[?25l++--  8 lines: 4 dd commentstart  commentend----------------------------------  a jj b kk  last manual 1 aa-13 cc1 aarker 2110indent[?25h[?25l
-4 dd {{{commentstart  commentend|-5 ee {{{ }}}

||{{{||6 ff }}}

|6 ff }}}|-7 gg

||8 hh

|9 iia jjb kklastmanual 1 aa-13 cc[?25h[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25h" test expression folding
[?25l[?25h[?25l:[?2004h[?25hfun Flvl()
[?25l

:[?2004h  [?25h  let l = getline(v:lnum)


[?25l:[?2004h  [?25h  if l =~ "bb$"


[?25l:[?2004h    [?25h    return 2


[?25l:[?2004h    [?25h  elseif l =~ "gg$"


[?25l:[?2004h    [?25h    return "s1"


[?25l:[?2004h    [?25h  elseif l =~ "ii$"


[?25l:[?2004h    [?25h    return ">2"


[?25l:[?2004h    [?25h  elseif l =~ "kk$"


[?25l:[?2004h    [?25h    return "0"


[?25l:[?2004h    [?25h  endif


[?25l:[?2004h  [?25h  return "="


[?25l:[?2004h  [?25hendfun
[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa

     2 bb

       3 cc

-  4 dd {{{commentstart  commentend

|- 5 ee {{{ }}}

|| {{{[?25h[?25l:[?2004h[?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---------------------------------------------------~                                                                            ~                                                                            [?25h[?25l/[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", "expr " . foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hhh$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hii$
[?25l-9 ii||a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hkk$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h/^last/+1,$w! test.out
[?25l"test.out" [New File] 18 lines, 96 characters written[?25h[?25l:[?2004h[?25hdelfun Flvl
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l   

   

   

   ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            [No Name]                                                                       5 ee {{{ }}}{{{6 ff }}}|6 ff }}}|7 gg 8 hh

|-9 ii

||a jjb kklast

test45.in [+]                                                                   [?25h[?2004l[?2004h[?25lTest fdm=indent and :move bug ENDline2        Test fdm=indent START        line3        line4[+][?25h[?25l:[?2004h[?25hset fdm=indent
[?25l++--  3 lines: Test fdm=indent START------------------------------------------~                                                                            ~                                                                            [?25h[?25l:[?2004h[?25h1m1
[?25l[?25h[?25l:[?2004h[?25hm0
[?25l3 lines moved++--  3 lines: Test fdm=indent START------------------------------------------Test fdm=indent and :move bug END

 line2[?25h[?25l:[?2004h[?25h%w >> test.out
[?25l"test.out" 5 lines, 77 characters appendedtest.out [+]]  [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test45 = test61; then \
#	  if diff test.out test45.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test45.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test48.in" 83 lines, 1658 charactersThis is a test of 'virtualedit'.



STARTTEST

:so small.vim

:set noswf

:set ve=all

-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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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'.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 61 lines, 1442 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

this is a test[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswf
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l65 fewer linesthis is a test

"r"

"r"

a^Vb^Msd

abcv6efi.him0kl





~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               65 fewer lines[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
[?25l[?25h[?25l:[?2004h[?25h"    Repeating CTRL-N fixes it. (Mary Ellen Foster)
[?25l[?25h[?25l/[?2004h[?25hw
[?25l[?25h[?25l$[?2004lScanning tags.
The only match[?2004hword[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Using "C" then then <CR> moves the last remaining character to the next
[?25l[?25h[?25l:[?2004h[?25h"    line.  (Mary Ellen Foster)
[?25l[?25h
[?25l/[?2004h[?25hare
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l$[?2004l[?2004hare belong to vim

1 2 3 4 5 6

'i

'C

'a

'A

'D'this is a test



"r"     

a^Vb^Msdabcv6efi.him0kl[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   When past the end of a line that ends in a single character "b" skips
[?25l[?25h[?25l:[?2004h[?25h"    that word.
[?25l[?25h
[?25l$[?2004l[?2004h7[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'i' works
[?25l[?25h
'i'   [?2004l[?2004h[?25l<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'C' works
[?25l[?25h
'C'   [?25l$[?2004l[?2004h<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'a' works
[?25l[?25h
'a'   [?2004l[?2004h[?25l <-- should be 4 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'A' works
[?25l[?25h
'A'   [?2004l[?2004h[?25l<-- should be 0 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'D' works
[?25l[?25h
'D'   [?2004l[?2004h[?25l<-- 'D' should be intact[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for yank bug reported by Mark Waggoner.
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h
[?25l[?25h[?25laaa[?25h[?25laaablock of 4 lines yanked[?25h[?25l3 more linesa

aa [?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" beyond the end of the line
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l/[?2004h[?25h^"r"
[?25lsearch hit BOTTOM, continuing at TOP[?25h"r"    [?25lx[?25h[?2004l[?2004h[?25lx<-- should be 'x'[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" on a tab
[?25l[?25h[?25l:[?2004h[?25h" Note that for this test, 'ts' must be 8 (the default).
[?25l[?25h
"r"  [?25lx[?25h[?2004l[?2004h[?25lx  <-- should be '  x  '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test to make sure 'x' can delete control characters
[?25l[?25h[?25l:[?2004h[?25hset display=uhex
[?25l<16>b<0d>sd[?25h
[?25l<16>b<0d>sd[?25h[?25lb<0d>sd[?25h[?25l<0d>sd[?25h[?25lsd[?25h[?25ld[?25h[?25l[?25h[?2004l[?2004h[?25l[This line should contain only the text between the brackets.][?25h[?25l:[?2004h[?25hset display=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for ^Y/^E due to bad w_virtcol value, reported by
[?25l[?25h[?25l:[?2004h[?25h"   Roy <royl@netropolis.net>.
[?25l[?25h
[?2004l[?2004h[?25l[?25h   [?2004l[?2004h[?25lv[?25hv   [?2004l[?2004h[?25li[?25hi   [?2004l[?2004h[?25lm   <-- should show the name of a noted text editor[?25h
[?2004l[?2004h[?25l[?25h    [?2004l[?2004h[?25l6[?25h6   [?2004l[?2004h[?25l.[?25h.   [?2004l[?2004h[?25l0   <-- and its version number[?25h[?25l

[?25h

    [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test for yanking and pasting using the small delete register
[?25l[?25h[?25l/[?2004h[?25h^foo
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l, bar[?25h, [?25l[?25h[?25lba[?25h[?25l[?25h[?25lfoo[?25h

keyw[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 23 lines, 479 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test48 = test61; then \
#	  if diff test.out test48.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test48.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test53.failed test.ok test.out X* viminfo
cp test53.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test53.in" 75 lines, 1763 charactersTests for string and html text objects. vim: set ft=vim :



Note that the end-of-line moves the cursor to the next test line.



Also test match() and matchstr()



STARTTEST

:so small.vim

/^start:/

da"

0va'a'rx

02f`da`

0fXdi"

03f'vi'ry

:set quoteescape=+*-

di`

$F"va"oha"i"rz

:"

/^<begin

jfXdit

0fXdit

fXdat

0fXdat[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 string and html text objects. vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 47 lines, 1237 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:put =match('abc', '$', 4, 1) " -1

:put =match('abc', '\zs', 0, 1) " 0

:put =match('abc', '\zs', 0, 2) " 1

:put =match('abc', '\zs', 0, 3) " 2

:put =match('abc', '\zs', 0, 4) " 3

:put =match('abc', '\zs', 0, 5) " -1

:put =match('abc', '\zs', 1, 1) " 1

:put =match('abc', '\zs', 2, 1) " 2

:put =match('abc', '\zs', 3, 1) " 3

:put =match('abc', '\zs', 4, 1) " -1

:/^start:/,/^end:/wq! test.out

ENDTEST



start: "wo\"rd\\" foo

'foo' 'bar' 'piep'

bla bla `quote` blah

out " in "noXno"

"'" 'blah' rep 'buh'

bla `s*`d-`+++`l**` b`la

voo "nah" sdf " asdf" sdf " sdf" sd



<begin>

-<b>asdf<i>Xasdf</i>asdf</b>-[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l[?25h[?25lfo[?25h
[?25l[?25h[?25l'foo'[?25h[?25l 'bar'[?25h[?25l
xxxxxxxxxxxx
[?25h

[?25lblah[?25h
[?25l"[?25h
[?25l[?25h[?25l' rep[?25h[?25lyyyyy[?25h[?25l:[?2004h[?25hset quoteescape=+*-
[?25l[?25h[?25l` b`la[?25h[?25l[?25h[?25l" sdf"[?25h[?25l" [?25h[?25l"[?25h[?25l asdf" sdf [?25h[?25lah" sdf "
voo "[?25h[?25lzzzzzzzzzzzzzzzzzzzzzzzzzzzz
voo "[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^<begin
[?25l[?25h

[?25l</i>asdf</b>-[?25h[?25l

-<b>asdX<i>a<i />sdf</i>asdf</b>-[?25h
[?25l</b>-[?25h[?25l

-<b>asdf<i>Xasdf</i>asdf</b>-
-<b>[?25h[?25lasdf</b>-[?25h[?25l

-<b>asdX<i>as<b />df</i>asdf</b>-[?25h
[?25l
--[?25h[?25l

-<b>
-[?25h[?25l<b></b>[?25h[?25l

</begin>[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, 2) " b
[?25l

b[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \"..\", 0, 2) " bc
[?25l

bc[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
[?25l

c[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, -1) " a
[?25l

a[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, -1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 4) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 3, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 2) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 1, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 2, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 4) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25h/^start:/,/^end:/wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 45 lines, 284 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test53 = test61; then \
#	  if diff test.out test53.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test53.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test55.failed test.ok test.out X* viminfo
cp test55.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test55.in" 586 lines, 12256 charactersTests for List and Dictionary types.     vim: set ft=vim :



STARTTEST

:so small.vim

:fun Test(...)

:lang C

:" Creating List directly with different types

:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]

:$put =string(l)

:$put =string(l[-1])

:$put =string(l[-4])

:try

:  $put =string(l[-5])

:catch

:  $put =v:exception[:14]

:endtry

:" List slices

:$put =string(l[:])

:$put =string(l[1:])

:$put =string(l[:-2])

:$put =string(l[0:8])

:$put =string(l[8:-1])

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 List and Dictionary types.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 580 lines, 12170 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfun Test(...)
[?25l

:[?2004h  [?25h:lang C


[?25l:[?2004h  [?25h:" Creating List directly with different types


[?25l:[?2004h  [?25h:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:$put =string(l[-4])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-5])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List slices


[?25l:[?2004h  [?25h:$put =string(l[:])


[?25l:[?2004h  [?25h:$put =string(l[1:])


[?25l:[?2004h  [?25h:$put =string(l[:-2])


[?25l:[?2004h  [?25h:$put =string(l[0:8])


[?25l:[?2004h  [?25h:$put =string(l[8:-1])


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" List identity


[?25l:[?2004h  [?25h:let ll = l


[?25l:[?2004h  [?25h:let lx = copy(l)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(l == ll) . (l isnot ll) . (l is ll) . (l == lx) . (l is lx) . (l


isnot lx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Creating Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {001: 'asd', 'b': [1, 2, function('strlen')], -1: {'a': 1},}


[?25l:[?2004h  [?25h:$put =string(d) . d.1


[?25l:[?2004h  [?25h:$put =string(sort(keys(d)))


[?25l:[?2004h  [?25h:$put =string (values(d))


[?25l:[?2004h  [?25h:for [key, val] in items(d)


[?25l:[?2004h    [?25h:  $put =key . ':' . string(val)


[?25l:[?2004h    [?25h:  unlet key val


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:call extend  (d, {3:33, 1:99})


[?25l:[?2004h  [?25h:call extend(d, {'b':'bbb', 'c':'ccc'}, "keep")


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  call extend(d, {3:333,4:444}, "error")


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:call filter(d, 'v:key =~ ''[ac391]''')


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary identity


[?25l:[?2004h  [?25h:let dd = d


[?25l:[?2004h  [?25h:let dx = copy(d)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(d == dd) . (d isnot dd) . (d is dd) . (d == dx) . (d is dx) . (d


isnot dx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items with :unlet


[?25l:[?2004h  [?25h:unlet l[2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:let l = range(8)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:unlet l[:3]


[?25l:[?2004h    [?25h:unlet l[1:]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:$put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:unlet d.c


[?25l:[?2004h  [?25h:unlet d[-1]


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:1]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:3]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:4]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:5]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-1:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-3:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-4:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-5:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-6:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" assignment to a list


[?25l:[?2004h  [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:let [va, vb] = l[2:3]


[?25l:[?2004h  [?25h:$put =va


[?25l:[?2004h  [?25h:$put =vb


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l[1:1]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" manipulating a big Dictionary (hashtable.c has a border of 1000 entries)


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: let d[i] = 3000 - i


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:$put =d[0] . ' ' . d[100] . ' ' . d[999] . ' ' . d[1400] . ' ' . d[1499]


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let n = d[1500]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" lookup each items


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h: let i += 1


[?25l:[?2004h  [?25h:" delete even items


[?25l:[?2004h  [?25h:while i >= 2


[?25l:[?2004h    [?25h: let i -= 2


[?25l:[?2004h    [?25h: unlet d[i]


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =get(d, 1500 - 100, 'NONE') . ' ' . d[1]


[?25l:[?2004h  [?25h:" delete odd items, checking value, one intentionally wrong


[?25l:[?2004h  [?25h:let d[33] = 999


[?25l:[?2004h  [?25h:let i = 1


[?25l:[?2004h  [?25h:while i < 1500


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =i . '=' . d[i]


[?25l:[?2004h      [?25h: else


[?25l:[?2004h      [?25h:  unlet d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h: let i += 2


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =string(d)  " must be almost empty now


[?25l:[?2004h  [?25h:unlet d


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary function


[?25l:[?2004h  [?25h:let dict = {}


[?25l:[?2004h  [?25h:func dict.func(a) dict


[?25l:[?2004h    [?25h:  $put =a:a . len(self.data)


[?25l:[?2004h    [?25h:endfunc


[?25l:[?2004h    [?25h:let dict.data = [1,2,3]


[?25l:[?2004h    [?25h:call dict.func("len: ")


[?25l:[?2004h    [?25h:let x = dict.func("again: ")


[?25l:[?2004h    [?25h:let Fn = dict.func


[?25l:[?2004h    [?25h:call Fn('xxx')


[?25l:[?2004h    [?25h:" 


[?25l:[?2004h    [?25h:" Function in script-local List or Dict


[?25l:[?2004h    [?25h:let g:dict = {}


[?25l:[?2004h    [?25h:function g:dict.func() dict


[?25l:[?2004h      [?25h:  $put ='g:dict.func'.self.foo[1].self.foo[0]('asdf')


[?25l:[?2004h      [?25h:endfunc


[?25l:[?2004h      [?25h:let g:dict.foo = ['-', 2, 3]


[?25l:[?2004h      [?25h:call insert(g:dict.foo, function('strlen'))


[?25l:[?2004h      [?25h:call g:dict.func()


[?25l:[?2004h      [?25h:" 


[?25l:[?2004h      [?25h:" Nasty: remove func from Dict that's being called (works)


[?25l:[?2004h      [?25h:let d = {1:1}


[?25l:[?2004h      [?25h:func d.func(a)


[?25l:[?2004h[?25h:  return "a:". a:a


[?25l:[?2004h[?25h:endfunc


[?25l:[?2004h[?25h:$put =d.func(string(remove(d, 'func')))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Nasty: deepcopy() dict that refers to itself (fails when noref used


)

[?25l:[?2004h[?25h:let d = {1:1, 2:2}


[?25l:[?2004h[?25h:let l = [4, d, 6]


[?25l:[?2004h[?25h:let d[3] = l


[?25l:[?2004h[?25h:let dc = deepcopy(d)


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let dc = deepcopy(d, 1)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:let l2 = [0, l, l, 3]


[?25l:[?2004h[?25h:let l[1] = l2


[?25l:[?2004h[?25h:let l3 = deepcopy(l2)


[?25l:[?2004h[?25h:$put ='same list: ' . (l3[1] is l3[2])


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1][0] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2]['6'][7] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2][6] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Unletting locked variables


[?25l:[?2004h[?25h:$put ='Unletting:'


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]['6'][7]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2][6]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1][0]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables and :unlet or list / dict functions


[?25l:[?2004h[?25h:$put ='Locks and commands or functions:'


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put =':unlet after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='filter() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call filter(d, 'v:key != "a"')


[?25l:[?2004h[?25h:  $put ='did filter()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='map() after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call map(d, 'v:val + 200')


[?25l:[?2004h[?25h:  $put ='did map()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  $put =string(extend(d, {'a': 123}))


[?25l:[?2004h[?25h:  $put ='did extend()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No remove() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(remove(a:, 'this_is_a_loooooooooong_parameter_na


me'))


[?25l:[?2004h[?25h:    $put ='did remove()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(extend(a:, {'this_is_a_loooooooooong_parameter


_name': 1234}))


[?25l:[?2004h[?25h:    $put ='did extend()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet of variable in locked scope:'


[?25l:[?2004h[?25h:let b:testvar = 123


[?25l:[?2004h[?25h:lockvar 1 b:


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet b:testvar


[?25l:[?2004h[?25h:  $put ='b:testvar was :unlet: '. (!exists('b:testvar'))


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:unlockvar 1 b:


[?25l:[?2004h[?25h:unlet! b:testvar


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :let += of locked list variable:'


[?25l:[?2004h[?25h:let l = ['a', 'b', 3]


[?25l:[?2004h[?25h:lockvar 1 l


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let l += ['x']


[?25l:[?2004h[?25h:  $put ='did :let +='


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:lockvar! l


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:unlet l[0:1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l[1:2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:let l[0:1] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let l[1:2] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:" :lockvar/islocked() triggering script autoloading


[?25l:[?2004h[?25h:set rtp+=./sautest


[?25l:[?2004h[?25h:lockvar g:footest#x


[?25l:[?2004h[?25h:unlockvar g:footest#x


[?25l:[?2004h[?25h:$put ='locked g:footest#x:'.islocked('g:footest#x')


[?25l:[?2004h[?25h:$put ='exists g:footest#x:'.exists('g:footest#x')


[?25l:[?2004h[?25h:$put ='g:footest#x: '.g:footest#x


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" a:000 function argument


[?25l:[?2004h[?25h:" first the tests that should fail


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000 = [1, 2]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[0] = 9


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[0]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2] = [9, 10]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[2]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[3] = {9: 10}


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[3]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:" now the tests that should pass


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2][1] = 9


[?25l:[?2004h[?25h:  call extend(a:000[2], [5, 6])


[?25l:[?2004h[?25h:  let a:000[3][5] = 8


[?25l:[?2004h[?25h:  let a:000[3]['a'] = 12


[?25l:[?2004h[?25h:  $put =string(a:000)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught ' . v:exception


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" reverse(), sort(), uniq()


[?25l:[?2004h[?25h:let l = ['-0', 'A11', 2, 2, 'xaaa', 4, 'foo', 'foo6', 'foo', [0, 


1, 2], 'x8', [0, 1, 2], 1.5]


[?25l:[?2004h[?25h:$put =string(uniq(copy(l)))


[?25l:[?2004h[?25h:$put =string(reverse(l))


[?25l:[?2004h[?25h:$put =string(reverse(reverse(l)))


[?25l:[?2004h[?25h:$put =string(sort(l))


[?25l:[?2004h[?25h:$put =string(reverse(sort(l)))


[?25l:[?2004h[?25h:$put =string(sort(reverse(sort(l))))


[?25l:[?2004h[?25h:$put =string(uniq(sort(l)))


[?25l:[?2004h[?25h:let l=[7, 9, 'one', 18, 12, 22, 'two', 10.0e-16, -1, 'three', 0xf


f, 0.22, 'four']


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'n'))


[?25l:[?2004h[?25h:let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'bar', 


'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', {}, []]


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 1))


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'i'))


[?25l:[?2004h[?25h:$put =string(sort(copy(l)))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" splitting a string to a List


[?25l:[?2004h[?25h:$put =string(split('  aa  bb '))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 0))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 1))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W', 1))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 0))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 1))


[?25l:[?2004h[?25h:$put =string(split('aa,,bb, cc,', ',\s*', 1))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs'))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs', 1))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare recursively linked list and dict


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:let d = {'1': 1, '2': l, '3': 3}


[?25l:[?2004h[?25h:let l[1] = d


[?25l:[?2004h[?25h:$put =(l == l)


[?25l:[?2004h[?25h:$put =(d == d)


[?25l:[?2004h[?25h:$put =(l != deepcopy(l))


[?25l:[?2004h[?25h:$put =(d != deepcopy(d))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare complex recursively linked list and dict


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:call add(l, l)


[?25l:[?2004h[?25h:let dict4 = {"l": l}


[?25l:[?2004h[?25h:call add(dict4.l, dict4)


[?25l:[?2004h[?25h:let lcopy = deepcopy(l)


[?25l:[?2004h[?25h:let dict4copy = deepcopy(dict4)


[?25l:[?2004h[?25h:$put =(l == lcopy)


[?25l:[?2004h[?25h:$put =(dict4 == dict4copy)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same List to extend()


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4, 5]


[?25l:[?2004h[?25h:call extend(l, l)


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend()


[?25l:[?2004h[?25h:let d = { 'a': {'b': 'B'}}


[?25l:[?2004h[?25h:call extend(d, d)


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend() with "error"


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call extend(d, d, "error")


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" test for range assign


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:let l[:] = [1, 2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:endfun
[?25l:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test(1, 2, [3, 4], {5: 6})  " This may take a while
[?25lError detected while processing function Test:

line   76:


E684: list index out of range: 1


line   91:


E684: list index out of range: 2


line  271:


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


line  441:


E741: Value is locked: l[0:1]


line  443:


E741: Value is locked: l[1:2]


line  446:


E741: Value is locked: l[0:1] = [0, 1]


line  448:


E741: Value is locked: l[1:2] = [0, 1]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb']

['aa', 'bb']

['', 'aa', 'bb', '']

['', '', 'aa', '', 'bb', '', '']

['aa', '', 'bb']

['', 'aa', '', 'bb', '']

['aa', '', 'bb', 'cc', '']

['a', 'b', 'c']

['', 'a', '', 'b', '', 'c', '']

1

1

0

0

1

1

[1, 2, 3, 4, 5, 1, 2, 3, 4, 5]

{'a': {'b': 'B'}}

Vim(call):E737: a

{'a': {'b': 'B'}}

[1, 2]

~                                                                               [?25h[?25l



:[?2004h[?25hdelfunc Test
[?25l[?25h[?25l:[?2004h[?25hunlet dict
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test for patch 7.3.637
[?25l[?25h[?25l:[?2004h[?25hlet a = 'No error caught'
[?25l[?25h[?25l:[?2004h[?25htry|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25l[?25h[?2004l[?25l=[?2004h[?25ha
[?2004h[?25lVim(foldopen):E490:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hredir => a
[?25l[?25h[?25l:[?2004h[?25htry|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'


)|endtry


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb'][?25h[?2004l[?25l

=[?2004h[?25ha
[?2004h[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'))|endtry

[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 197 lines, 3821 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test55 = test61; then \
#	  if diff test.out test55.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test55.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test60.failed test.ok test.out X* viminfo
cp test60.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test60.in" 601 lines, 13116 charactersTests for the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :



STARTTEST

:so small.vim

:function! RunTest(str, result)

    if exists(a:str) == a:resultecho "OK"

    elseecho "FAILED: Checking for " . a:str

    endif

endfunction

:function! TestExists()

    augroup myagroupautocmd! BufEnter*.my     echo "myfile edited"autocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"

    augroup END

    set rtp+=./sautestlet test_cases = []" valid autocmd group

    let test_cases += [['#myagroup', 1]]

    " valid autocmd group with garbage[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 596 lines, 13023 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction! RunTest(str, result)
[?25l

:[?2004h  [?25h    if exists(a:str) == a:result


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED: Checking for " . a:str


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x[?25h[?25l

:[?2004h[?25hfunction! TestExists()
[?25l

:[?2004h  [?25h    augroup myagroup


[?25l:[?2004h  [?25h^Iautocmd! BufEnter       *.my     echo "myfile edited"


[?25l:[?2004h  [?25h^Iautocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"


[?25l:[?2004h  [?25h    augroup END


[?25l:[?2004h  [?25h    set rtp+=./sautest


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    let test_cases = []


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " valid autocmd group


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup', 1]]


[?25l:[?2004h  [?25h    " valid autocmd group with garbage


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup+b', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group or event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup', 0]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group and valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup#BufEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event with no matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#CmdwinEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#xyzacmd', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['###', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group and event or empty event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['##', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##FileReadCmd', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##MySpecialCmd', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&textwidth', 1]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&tw', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['&tw-', 0]]


[?25l:[?2004h  [?25h    " Global option


[?25l:[?2004h  [?25h    let test_cases += [['&g:errorformat', 1]]


[?25l:[?2004h  [?25h    " Local option


[?25l:[?2004h  [?25h    let test_cases += [['&l:errorformat', 1]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojoinspaces', 0]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojs', 0]]


[?25l:[?2004h  [?25h    " Non-existing option


[?25l:[?2004h  [?25h    let test_cases += [['&myxyzoption', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch!1', 0]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['+is', 1]]


[?25l:[?2004h  [?25h    " Existing option that is hidden.


[?25l:[?2004h  [?25h    let test_cases += [['+autoprint', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing environment variable


[?25l:[?2004h  [?25h    let $EDITOR_NAME = 'Vim Editor'


[?25l:[?2004h  [?25h    let test_cases += [['$EDITOR_NAME', 1]]


[?25l:[?2004h  [?25h    " Non-existing environment variable


[?25l:[?2004h  [?25h    let test_cases += [['$NON_ENV_VAR', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal function


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr', 1]]


[?25l:[?2004h  [?25h    " Valid internal function with ()


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr()', 1]]


[?25l:[?2004h  [?25h    " Non-existing internal function


[?25l:[?2004h  [?25h    let test_cases += [['*myxyzfunc', 0]]


[?25l:[?2004h  [?25h    " Valid internal function with garbage


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr&6', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*TestExists', 1]]


[?25l:[?2004h  [?25h    " Non-existing user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*MyxyzFunc', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function that may be created by FuncUndefined event


[?25l:[?2004h  [?25h    let test_cases += [['*UndefFun', 0]]


[?25l:[?2004h  [?25h    " Function that may be created by script autoloading


[?25l:[?2004h  [?25h    let test_cases += [['*footest#F', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    redir! > test.out


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    for [test_case, result] in test_cases


[?25l:[?2004h    [?25h        echo test_case . ": " . result


[?25l:[?2004h    [?25h        call RunTest(test_case, result)


[?25l:[?2004h    [?25h    endfor


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match)


[?25l:[?2004h  [?25h    echo ':edit: 2'


[?25l:[?2004h  [?25h    if exists(':edit') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match) with garbage


[?25l:[?2004h  [?25h    echo ':edit/a: 0'


[?25l:[?2004h  [?25h    if exists(':edit/a') == 0


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (partial match)


[?25l:[?2004h  [?25h    echo ':q: 1'


[?25l:[?2004h  [?25h    if exists(':q') == 1


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing internal command


[?25l:[?2004h  [?25h    echo ':invalidcmd: 0'


[?25l:[?2004h  [?25h    if !exists(':invalidcmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (full match)


[?25l:[?2004h  [?25h    command! MyCmd :echo 'My command'


[?25l:[?2004h  [?25h    echo ':MyCmd: 2'


[?25l:[?2004h  [?25h    if exists(':MyCmd') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (partial match)


[?25l:[?2004h  [?25h    command! MyOtherCmd :echo 'Another command'


[?25l:[?2004h  [?25h    echo ':My: 3'


[?25l:[?2004h  [?25h    if exists(':My') == 3


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Command modifier


[?25l:[?2004h  [?25h    echo ':rightbelow: 2'


[?25l:[?2004h  [?25h    if exists(':rightbelow') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (full match)


[?25l:[?2004h  [?25h    delcommand MyCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':MyCmd: 0'


[?25l:[?2004h  [?25h    if !exists(':MyCmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (partial match)


[?25l:[?2004h  [?25h    delcommand MyOtherCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':My: 0'


[?25l:[?2004h  [?25h    if !exists(':My')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var: 1'


[?25l:[?2004h  [?25h    if exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable with garbage


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var%n: 0'


[?25l:[?2004h  [?25h    if !exists('local_var%n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local variable


[?25l:[?2004h  [?25h    unlet local_var


[?25l:[?2004h  [?25h    echo 'local_var: 0'


[?25l:[?2004h  [?25h    if !exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing autoload variable that may be autoloaded


[?25l:[?2004h  [?25h    echo 'footest#x: 0'


[?25l:[?2004h  [?25h    if !exists('footest#x')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list


[?25l:[?2004h  [?25h    let local_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'local_list: 1'


[?25l:[?2004h  [?25h    if exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item


[?25l:[?2004h  [?25h    echo 'local_list[1]: 1'


[?25l:[?2004h  [?25h    if exists('local_list[1]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item with garbage


[?25l:[?2004h  [?25h    echo 'local_list[1]+5: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[1]+5')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Invalid local list item


[?25l:[?2004h  [?25h    echo 'local_list[2]: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[2]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local list


[?25l:[?2004h  [?25h    unlet local_list


[?25l:[?2004h  [?25h    echo 'local_list: 0'


[?25l:[?2004h  [?25h    if !exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local dictionary


[?25l:[?2004h  [?25h    let local_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'local_dict: 1'


[?25l:[?2004h  [?25h    if exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local dictionary


[?25l:[?2004h  [?25h    unlet local_dict


[?25l:[?2004h  [?25h    echo 'local_dict: 0'


[?25l:[?2004h  [?25h    if !exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing local curly-brace variable


[?25l:[?2004h  [?25h    let str = "local"


[?25l:[?2004h  [?25h    let curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local curly-brace variable


[?25l:[?2004h  [?25h    unlet curly_{str}_var


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable


[?25l:[?2004h  [?25h    let g:global_var = 1


[?25l:[?2004h  [?25h    echo 'g:global_var: 1'


[?25l:[?2004h  [?25h    if exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable with garbage


[?25l:[?2004h  [?25h    echo 'g:global_var-n: 1'


[?25l:[?2004h  [?25h    if !exists('g:global_var-n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global variable


[?25l:[?2004h  [?25h    unlet g:global_var


[?25l:[?2004h  [?25h    echo 'g:global_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global list


[?25l:[?2004h  [?25h    let g:global_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'g:global_list: 1'


[?25l:[?2004h  [?25h    if exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global list


[?25l:[?2004h  [?25h    unlet g:global_list


[?25l:[?2004h  [?25h    echo 'g:global_list: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global dictionary


[?25l:[?2004h  [?25h    let g:global_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'g:global_dict: 1'


[?25l:[?2004h  [?25h    if exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global dictionary


[?25l:[?2004h  [?25h    unlet g:global_dict


[?25l:[?2004h  [?25h    echo 'g:global_dict: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global curly-brace variable


[?25l:[?2004h  [?25h    let str = "global"


[?25l:[?2004h  [?25h    let g:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global curly-brace variable


[?25l:[?2004h  [?25h    unlet g:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window variable


[?25l:[?2004h  [?25h    echo 'w:window_var: 1'


[?25l:[?2004h  [?25h    let w:window_var = 1


[?25l:[?2004h  [?25h    if exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window variable


[?25l:[?2004h  [?25h    unlet w:window_var


[?25l:[?2004h  [?25h    echo 'w:window_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window list


[?25l:[?2004h  [?25h    let w:window_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'w:window_list: 1'


[?25l:[?2004h  [?25h    if exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window list


[?25l:[?2004h  [?25h    unlet w:window_list


[?25l:[?2004h  [?25h    echo 'w:window_list: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window dictionary


[?25l:[?2004h  [?25h    let w:window_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'w:window_dict: 1'


[?25l:[?2004h  [?25h    if exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window dictionary


[?25l:[?2004h  [?25h    unlet w:window_dict


[?25l:[?2004h  [?25h    echo 'w:window_dict: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window curly-brace variable


[?25l:[?2004h  [?25h    let str = "window"


[?25l:[?2004h  [?25h    let w:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window curly-brace variable


[?25l:[?2004h  [?25h    unlet w:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer variable


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 1'


[?25l:[?2004h  [?25h    let b:buffer_var = 1


[?25l:[?2004h  [?25h    if exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer variable


[?25l:[?2004h  [?25h    unlet b:buffer_var


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer list


[?25l:[?2004h  [?25h    let b:buffer_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer list


[?25l:[?2004h  [?25h    unlet b:buffer_list


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer dictionary


[?25l:[?2004h  [?25h    let b:buffer_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer dictionary


[?25l:[?2004h  [?25h    unlet b:buffer_dict


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer curly-brace variable


[?25l:[?2004h  [?25h    let str = "buffer"


[?25l:[?2004h  [?25h    let b:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer curly-brace variable


[?25l:[?2004h  [?25h    unlet b:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Script-local tests


[?25l:[?2004h  [?25h    source test60.vim


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:version: 1'


[?25l:[?2004h  [?25h    if exists('v:version')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:non_exists_var: 0'


[?25l:[?2004h  [?25h    if !exists('v:non_exists_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function arguments


[?25l:[?2004h  [?25h    function TestFuncArg(func_arg, ...)


[?25l:[?2004h    [?25h        echo 'a:func_arg: 1'


[?25l:[?2004h    [?25h        if exists('a:func_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:non_exists_arg: 0'


[?25l:[?2004h    [?25h        if !exists('a:non_exists_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:1: 1'


[?25l:[?2004h    [?25h        if exists('a:1')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:2: 0'


[?25l:[?2004h    [?25h        if !exists('a:2')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h    endfunction


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    call TestFuncArg("arg1", "arg2")


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    echo ' g:footest#x =' g:footest#x


[?25l:[?2004h    [?25h    echo '   footest#F()' footest#F()


[?25l:[?2004h    [?25h    echo 'UndefFun()' UndefFun()


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    redir END


[?25l:[?2004h    [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hcall TestExists()
[?25l#myagroup: 1

OK


#myagroup+b: 0


OK


#myagroup#BufEnter: 1


OK


#myagroup#BufEnter#*.my: 1


OK


#BufEnter: 1


OK


#BufEnter#*.my: 1


OK


#xyzagroup: 0


OK


#xyzagroup#BufEnter: 0


OK


#myagroup#CmdwinEnter: 0


OK


#myagroup#xyzacmd: 0


OK


#myagroup#BufEnter#xyzpat: 0


OK


#BufEnter#xyzpat: 0


OK


###: 0


OK


##: 0


OK


##FileReadCmd: 1


OK


##MySpecialCmd: 0


OK


&textwidth: 1


OK


&tw: 1


OK


&tw-: 0


OK


&g:errorformat: 1


OK


&l:errorformat: 1


OK


&nojoinspaces: 0


OK


&nojs: 0


OK


&myxyzoption: 0


OK


+incsearch: 1


OK


+incsearch!1: 0


OK


+is: 1


OK


+autoprint: 0


OK


$EDITOR_NAME: 1


OK


$NON_ENV_VAR: 0


OK


*bufnr: 1


OK


*bufnr(): 1


OK


*myxyzfunc: 0


OK


*bufnr&6: 0


OK


*TestExists: 1


OK


*MyxyzFunc: 0


OK


*UndefFun: 0


OK


*footest#F: 0


OK


:edit: 2


OK


:edit/a: 0


OK


:q: 1


OK


:invalidcmd: 0


OK


:MyCmd: 2


OK


:My: 3


OK


:rightbelow: 2


OK


:MyCmd: 0


OK


:My: 0


OK


local_var: 1


OK


local_var%n: 0


OK


local_var: 0


OK


footest#x: 0


OK


local_list: 1


OK


local_list[1]: 1


OK


local_list[1]+5: 0


OK


local_list[2]: 0


OK


local_list: 0


OK


local_dict: 1


OK


local_dict: 0


OK


curly_local_var: 1


OK


curly_local_var: 0


OK


g:global_var: 1


OK


g:global_var-n: 1


OK


g:global_var: 0


OK


g:global_list: 1


OK


g:global_list: 0


OK


g:global_dict: 1


OK


g:global_dict: 0


OK


g:curly_global_var: 1


OK


g:curly_global_var: 0


OK


w:window_var: 1


OK


w:window_var: 0


OK


w:window_list: 1


OK


w:window_list: 0


OK


w:window_dict: 1


OK


w:window_dict: 0


OK


w:curly_window_var: 1


OK


w:curly_window_var: 0


OK


b:buffer_var: 1


OK


b:buffer_var: 0


OK


b:buffer_list: 1


OK


b:buffer_list: 0


OK


b:buffer_dict: 1


OK


b:buffer_dict: 0


OK


b:curly_buffer_var: 1


OK


b:curly_buffer_var: 0


OK


s:script_var: 1


OK


s:script_var: 0


OK


s:script_list: 1


OK


s:script_list: 0


OK


s:script_dict: 1


OK


s:script_dict: 0


OK


s:curly_script_var: 1


OK


s:curly_script_var: 0


OK


*s:my_script_func: 1


OK


*s:my_script_func: 0


OK


v:version: 1


OK


v:non_exists_var: 0


OK


a:func_arg: 1


OK


a:non_exists_arg: 0


OK


a:1: 1


OK


a:2: 0


OK


 g:footest#x = 1


   footest#F() 0


UndefFun() 0


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hdelfunc TestExists
[?25l[?25h[?25l:[?2004h[?25hdelfunc RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestFuncArg
[?25l[?25h[?25l:[?2004h[?25hedit! test.out
[?25l"test.out" [Incomplete last line] 206 lines, 1940 characters#myagroup: 1OK

#myagroup+b: 0OK

#myagroup#BufEnter: 1OK#myagroup#BufEnter#*.my: 1OK

#BufEnter: 1OK#BufEnter#*.my: 1OK

#xyzagroup: 0OK#xyzagroup#BufEnter: 0

OK#myagroup#CmdwinEnter: 0

OK

#myagroup#xyzacmd: 0

OK#myagroup#BufEnter#xyzpat: 0

OK[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 206 lines, 1941 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test60 = test61; then \
#	  if diff test.out test60.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test60.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test64.failed test.ok test.out X* viminfo
cp test64.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test64.in" 654 lines, 27565 charactersTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns without multi-byte support.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 621 lines, 27090 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:for pat in [' \ze*', ' \zs*']

:  try

:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" tl is a List of Lists with:
[?25l[?25h[?25l:[?2004h[?25h"    regexp engine
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"""" Previously written tests """"""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b', 'abcdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abbdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'ccc', 'ccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'abdef', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abdef']) "no match
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"operator \|
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\|ab', 'cabd', 'a']) "alternation is ordered
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c\?', 'ccb', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abd', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abccd', 'bc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}', 'ab', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'caad', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vb{1}', 'abca', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{2}', 'abaa', 'baa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{3}', 'aabaac'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'dabc', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'acb'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'acb', "", ""])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ababc', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'ababcab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'abcababa', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'cdababe', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abacabab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abacabababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'daaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'daaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'adaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaabaaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){2}', 'dadaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3}){2}', 'aaaaaaa', 'aaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'daaac', 'aaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaac', 'aaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaaac', 'aaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){3}', 'daac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'dac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'daac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){1,2}', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)(a+)', 'aaa', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3})+', 'daaaac', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c)+', 'aacb', 'aacb', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c){2}', 'abcb', 'ab', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abcabd', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abdabcabc','abcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a*', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+)+', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'ab', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'dababc', 'abab', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{0,2})+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a*)+)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1,3}', 'aab', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2,3}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})|(b{3})', 'bbabbbb', 'bbb', '', 'bbb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}|b{2}', 'abab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)+|(c)+', 'bbacbaacbbb', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbccccccccccccc', 'abbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbbccccccccccccc', 'abbbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}cd{2,3}e', 'aabbbcddee', 'abbbcdde'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va(bc){2}d', 'aabcbfbc' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'a', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aa', 'aa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aaa', 'aaa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'bbbabcc', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*b*|a*c*', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}b{1}|a{1}b{1}', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)(b)', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab)(b)(c)', 'abbc', 'abbc', 'ab', 'b', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a)(b))', 'ab', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)|(b)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x', 'abcdef'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""" Simple tests """""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search single groups
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'baced'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', '                    ab           ', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search multi-modifiers
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xcd', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xxxxxxxxxxxxxxxxsofijiojgf', 'xxxxxxxxxxxxxxxx'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'abcdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" no match here
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdoin'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdeoijdfxxiuhfij', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'xxxxx', 'xxxxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abc x siufhiush xxxxxxxxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'abc sfoij', '']) " empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'xxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'abc sfoij', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'xxxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,1}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a\{0,1}'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{1,0}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaa asfoij afaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaaaaa', 'aaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'iuash fiusahfliusah fiushfilushfi uhsaifuh askfj na


sfvius afg aaaa sfiuhuhiushf', 'aa'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'aaaaa aa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'aaaaasfoij ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaxxx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaaxxx ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'aaaaaaaaaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25h" leading star as normal char when \{} follows
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '***'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '****', '****'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '*****', '*****'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'aaaaioudfh coisf jda', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,1}', 'asiubid axxxaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaa asfoij afaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'aaaaa aa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'aaaaasfoij ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'aaaaaaaaaa', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'aaaaioudfh coisf jda', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test groups of characters and submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abc\)*', 'abcabcabc', 'abcabcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(ab\)\+', 'abababaaaaa', 'ababab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abaaaaa\)*cd', 'cd', 'cd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\? \(test2\)\?', 'test1 test3', 'test1 ', 'test1', 


''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\= \(test2\) \(test4443\)\=', ' test2 test4443 yupi


iiiiiiiiii', ' test2 test4443', '', 'test2', 'test4443'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(sub1\) hello \(sub 2\)\)', 'asterix sub1 hello sub 2 obe


lix', 'sub1 hello sub 2', 'sub1 hello sub 2', 'sub1', 'sub 2'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(\(yyxxzz\)\)\)', 'abcdddsfiusfyyzzxxyyxxzz', 'yyxxzz', '


yyxxzz', 'yyxxzz', 'yyxxzz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c+)+', 'abcccaba', 'abcccab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a(c*)+b)+', 'acbababaaa', 'acbabab', 'ab', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aá ^I', 'aá '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test greedy-ness and lazy-ness
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}','aaaaaaaaaaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}','aaaaaaaaaaaaaaaaaaaa', 'aaaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.{-,8})yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz','ayxa


','xayzxayz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.*)yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz', 'ayxayzx


ayzxa',''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){-2,3}','aaaaaaa','aaaa','aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{-1,3})+', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\( x\|x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\(x\| x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\ze\(x\| x$\)', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(\s\{-}\)\(x\| x$\)', ' x', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test Character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\d\+e\d\d','test 10e23 fd','10e23'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test collections and character range []
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[a]', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[bcd]', 'abcd', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[b-d]', 'acbd', 'ac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-d][e-f][x-x]d', 'cexdxx', 'cexd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[[:alpha:]]+', 'abcdefghijklmnopqrstuvwxyz6','abcdefghijkl


mnopqrstuvwxyz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]\+]', '6x8','x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','abcabcabc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]','defghiasijvoinasoiunbvb','d'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','ddddddda','ddddddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-d]\+','aaaAAAZIHFNCddd','AAAZIHFNC'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','iiiiiiii',''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','abcdefgh','abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-f]\+','abcdefgh','gh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-c]\{-3,6}','abcabc','abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[:alpha:]]\+','abcccadfoij7787ysf287yrnccdu','7787'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-a]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*\c','ABCDEFGH','ABCDEF'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[abc][xyz]\c','-af-AF-BY--','BY'])
[?25l[?25h[?25l:[?2004h[?25h" filename regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-./[:alnum:]_~]\+', 'log13.file', 'log13.file'])
[?25l[?25h[?25l:[?2004h[?25h" special chars
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[\]\^\-\\]\+', '\^\\\-\---^', '\^\\\-\---^'])
[?25l[?25h[?25l:[?2004h[?25h" collation elem
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[.a.]]\+', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" middle of regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'siuhabc ii'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'adf abc44482ddd oijs', 'abc44482ddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9\n]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', "asfi\n9888u", "\n9888"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f', "  \na ", "\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f\+', "  \na ", "\na"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9A-Za-z-_.]\+', " @0_a.A-{ ", "0_a.A-"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test start/end of line, start/end of file
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "a_\nb ", "a_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "b a \na_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a b\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a.', "a a\na", "a "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a', " a \na "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-7]\+', 'x0123456789x', '01234567'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-7]\+', '0a;X+% 897', 'a;X+% 89'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9]\+', 'x0123456789x', '0123456789'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9]\+', '0a;X+% 9', 'a;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-fA-F]\+', 'x0189abcdefg', '0189abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9A-Fa-f]\+', '0189g;X+% ab', 'g;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z0-9]\+', ';+aso_SfOij ', 'aso_SfOij'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z0-9]\+', 'aSo_;+% sfOij', ';+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z]\+', '0abyz_ABYZ;', 'abyz_ABYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z]\+', 'abAB_09;+% yzYZ', '09;+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', '0abcxyz1', 'abcxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', 'AabxyzZ', 'abxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'a;X09+% x', ';X09+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'abX0;%yz', 'X0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-zA-Z]\+', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-zA-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+', 'aABXYZz', 'ABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^A-Z]\+', 'ABx0;%YZ', 'x0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+\c', '0abxyzABXYZ;', 'abxyzABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+\c', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^a-z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^A-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \z features
[?25l[?25h[?25l:[?2004h[?25h" match ends at \ze
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'xx \ze test', 'xx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zeend', 'oij abcend', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aaxx ', 'aaxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aabb\|aa\zebb', ' aabb ', 'aabb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaebb', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" match starts at \zs
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zsdd', 'ddabcddxyzt', 'dd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa \zsax', ' ax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc \zsmatch\ze abc', 'abc abc abc match abc abc', 'match'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a \zsif .*){2}', 'a if then a if last', 'if last', 'a if 


last'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\>\zs.', 'aword. ', '.'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\s\+\ze\[/\|\s\zs\s\+', 'is   [a t', '  '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \@= and \& features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'abc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=cd', 'abcd', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'ababc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h" will never match, no matter the input text
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25h" will never match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'any text in here ... '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc)@=..', 'xabcd', 'ab', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.*John\)\@=.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(John.*\)\@=.*Bob', 'John is Bobs friend', 'John is Bob', '


John is Bobs friend'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\S\+\())\)\@=', '$((i=i+1))', 'i=i+1', '))'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'John is Bobs friend', 'John is Bob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test1)@=.*yep', 'this is a test1, yep it is', 'test1, yep


', 'test1'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if then else'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if else ', 'if else ', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!bar', 'foobar', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!...bar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' bar foo '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo bar '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo xxx ', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\%([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:']


)[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:', 


's'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'm\k\+_\@=\%(_\@!\k\)\@<=\k\+e', 'mx__xe', 'mx__xe'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%(\U\@<=S\k*\|S\l\)R', 'SuR', 'SuR'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(())', 'any possible text', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v%(ab(xyz)c)', '   abxyzc ', 'abxyzc', 'xyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test|)empty', 'tesempty', 'empty', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|aa)(a|aa)', 'aaa', 'aa', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" \%u and friends
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d32', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%o40', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%x20', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%u0020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%U00000020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d0', "yes\x0ano", "\x0a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \%[abc]
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fooxx', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobxx', 'foob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobaxx', 'fooba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobarxx', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobxx', 'foobx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobarxx', 'foobarx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'barxx', 'barx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'bxx', 'bx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'xxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[]]r]', 'b]r bor', 'b]r'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '@\%[\w\-]*', '<http://john.net/pandoc/>[@pandoc]', '@pandoc'


])[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Alternatives, must use first longest match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|\<go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', ' abc abc', 'abc abc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', 'xgoo goox', 'goo goo', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7


\8\9', 'xabcddefghiabcddefghix', 'abcddefghiabcddefghi', 'a', 'b', 'c', 'dd', 'e


', 'f', 'g', 'h', 'i'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\d*\)a \1b', ' a b ', 'a b', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', "aaa\naaa\nb", "aaa\naaa", 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo


.com', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo


.bat', 'bat', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}', '2013-06-27${0}', '$


{0}', '0'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a*\)\1$', 'aaaaaaaa', 'aaaaaaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a\{-2,}\)\1\+$', 'aaaaaaaaa', 'aaaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Look-behind with limit
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@1<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@2<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<


'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<


<'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<!bar.', 'xx foobar1 xbar2 xx', 'bar2'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" look-behind match in front of a zero-width item
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" test header'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" Last Changed: 1970', '19


70'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'barfoo', '', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=.*', 'foobar', 'bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" complicated look-behind match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(r\@<=\|\w\@<!\)\/', 'x = /word/;', '/'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^[a-z]\+\ze \&\(asdf\)\@<!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \@>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>a', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>b', 'aaab', 'aaab', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(.\{-}b\)\@>.', '  abcbd', '  abc', '  ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.\{-}\)\(\)\@>$', 'abc', 'abc', 'abc', ''])
[?25l[?25h[?25l:[?2004h[?25h" TODO: BT engine does not restore submatch after failure
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, '\(a*\)\@>a\|a\+', 'aaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" "\_" prepended negated collection matches EOL
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^8-9]\+', "asfi\n9888", "asfi\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^a]\+', "asfi\n9888", "sfi\n9888"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Requiring lots of states.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}', "


12345678-1234-1234-1234-123456789012 ", "12345678-1234-1234-1234-123456789012",


"1234-"])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Skip adding state twice
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=', "#if FOO", 


"#if", ' FOO'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""" Test \%V atom
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%>70vGesamt', 'Jean-Michel Charlier & Victor Hubinon\Gesamt


ausgabe [Salleck]    Buck Danny {Jean-Michel Charlier & Victor Hubinon}\Gesamtau


sgabe', 'Gesamt'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mbyte.o mbyte.c
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.

OK 2 - ^\(.\{-}b\)\@>.

OK 0 - \(.\{-}\)\(\)\@>$

OK 1 - \(.\{-}\)\(\)\@>$

OK 2 - \(.\{-}\)\(\)\@>$

OK 0 - \(a*\)\@>a\|a\+

OK 2 - \(a*\)\@>a\|a\+

OK 0 - \_[^8-9]\+

OK 1 - \_[^8-9]\+

OK 2 - \_[^8-9]\+

OK 0 - \_[^a]\+

OK 1 - \_[^a]\+

OK 2 - \_[^a]\+

OK 0 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 1 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 0 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 1 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 0 - \%>70vGesamt

OK 1 - \%>70vGesamt

OK 2 - \%>70vGesamt
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""""" multi-line tests """"""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', ['aaa', 'aaa', 'b'], ['XX', 'b']])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v.*\/(.*)\n.*\/\1$', ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/D


ir2/abcdefgh.bat', '', './Dir1/Dir2/file1.txt', './OtherDir1/OtherDir2/file1.txt


'], ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/Dir2/abcdefgh.bat', '', 'XX']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" line breaks
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\S.*\nx', ['abc', 'def', 'ghi', 'xjk', 'lmn'], ['abc', 'def'


, 'XXjk', 'lmn']])
[?25lOK 0 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that \_[0-9] matching EOL does not break a following \>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)


\.\)\{3\}\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>', ['', 'loca


lnet/192.168.0.1', ''], ['', 'localnet/XX', '']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a line break and ^ and $
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\n^b$\n^c', ['a', 'b', 'c'], ['XX']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(^.\+\n\)\1', [' dog', ' dog', 'asdf'], ['XXasdf']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the multi-line tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='multi-line tests'
[?25l

multi-line tests[?25h[?25l

:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let before = t[2]


[?25l:[?2004h  [?25h:  let after = t[3]


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re ==1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    new


[?25l:[?2004h    [?25h:    call setline(1, before)


[?25l:[?2004h    [?25h:    exe '%s/' . pat . '/XX/'


[?25l:[?2004h    [?25h:    let result = getline(1, '$')


[?25l:[?2004h    [?25h:    q!


[?25l:[?2004h    [?25h:    if result != after


[?25l:[?2004h      [?25h:      $put ='ERROR: pat: \"' . pat . '\", text: \"' . string(before) . 


'\", expected: \"' . string(after) . '\", got: \"' . string(result) . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?25l

:[?2004h[?25hunlet t tl
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that using a pattern on two lines doesn't get messed up by using
[?25l[?25h[?25l:[?2004h[?25h" matchstr() with \ze in between.
[?25l[?25h[?25l:[?2004h[?25hset re=0
[?25l[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2s/""/\='"'.matchstr(getline("."), '\d\+\ze<').'"'
[?25l5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2yank
[?25l[?25h[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?2004l[?2004h[?25l

[?25h[?25l

<T="5">Ta 5</Title>
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a look beind crossing a line boundary
[?25l[?25h[?25l/[?2004h[?25h^Behind:
[?25lsearch hit BOTTOM, continuing at TOP:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

search hit BOTTOM, continuing at TOP[?25h[?25l/[?2004h[?25h\(<\_[xy]\+\)\@3<=start
[?25l[?25h[?25l:[?2004h[?25h.yank
[?25l[?25h[?25lOK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?2004l[?2004h[?25l

[?25h[?25l

xxstart3
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching Visual area
[?25l[?25h[?25l/[?2004h[?25h^Visual:
[?25lsearch hit BOTTOM, continuing at TOP<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

oooxofor foroxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

search hit BOTTOM, continuing at TOP[?25h

the[?25l[?25h[?25lxe the the[?25h[?25l:[?2004h'<,'>[?25hs/\%Ve/E/g
[?25l3 substitutions on 1 linexE thE thE
[?25h

[?25landaxand andaxand 
[?25h[?25l:[?2004h'<,'>[?25hs/\%Va/A/g
[?25l6 substitutions on 1 lineAndAxAnd AndAxAnd[?25h

ooo[?25l[?25h[?25lxofor foro[?25h[?25lx

oooxofor foro[?25h[?25l:[?2004h'<,'>[?25hs/\%Vo/O/g
[?25l8 substitutions on 2 linesxOfOr fOrOx

oooxOfOr fOrO
[?25h[?25l:[?2004h[?25h/^Visual/+1,/^Visual/+4yank
[?25lsearch hit BOTTOM, continuing at TOP
4 lines yanked[?25h[?25lOK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3
[?25h[?2004l[?2004h[?25l

[?25hgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_eval.o ex_eval.c
[?25l

4 more lines

thexE thE thExethe4 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching marks
[?25l[?25h[?25l/[?2004h[?25h^Marks:
[?25lsearch hit BOTTOM, continuing at TOPasdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

OK 0 - ab

OK 1 - ab

OK 2 - ab

OK 0 - b

OK 1 - b

OK 2 - b

search hit BOTTOM, continuing at TOP[?25h

asdf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s.*\%<'e../here/
[?25lhereasdf[?25h

asdf

dfsa
dfsadf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s\_.*\%<'e../again/
[?25l

asdfagainasdfOK 0 - bc*[?25h[?25l:[?2004h[?25h/^Marks:/+1,/^Marks:/+3yank
[?25lsearch hit BOTTOM, continuing at TOP
3 lines yanked[?25h[?25lOK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo
[?25h[?2004l[?2004h[?25l

[?25h[?25l

3 more linesasdfhereasdf

asdfagainasdf3 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check patterns matching cursor position.
[?25l[?25h[?25l:[?2004h[?25hfunc! Postest()
[?25l

:[?2004h  [?25h new


[?25l:[?2004h  [?25h call setline(1, ['ffooooo', 'boboooo', 'zoooooo', 'koooooo', 'moooooo', "\t


\t\tfoo", 'abababababababfoo', 'bababababababafoo', '********_', '        xxxxxx


xxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxx xx xxxx


xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxx xxxxxxxxxx


xxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxx xxxxxxxxxxx


x xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx xxxxxxxxx xxxx


xxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxx xxx xxx xx


xxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx xxxxxxxxxxxx x


xxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxxxxx


xxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx'])


[?25l:[?2004h  [?25h call setpos('.', [0, 1, 0, 0])


[?25l:[?2004h  [?25h s/\%>3c.//g


[?25l:[?2004h  [?25h call setpos('.', [0, 2, 4, 0])


[?25l:[?2004h  [?25h s/\%#.*$//g


[?25l:[?2004h  [?25h call setpos('.', [0, 3, 0, 0])


[?25l:[?2004h  [?25h s/\%<3c./_/g


[?25l:[?2004h  [?25h %s/\%4l\%>5c./_/g


[?25l:[?2004h  [?25h %s/\%6l\%>25v./_/g


[?25l:[?2004h  [?25h %s/\%>6l\%3c./!/g


[?25l:[?2004h  [?25h %s/\%>7l\%12c./?/g


[?25l:[?2004h  [?25h %s/\%>7l\%<9l\%>5v\%<8v./#/g


[?25l:[?2004h  [?25h $s/\%(|\u.*\)\@<=[^|\t]\+$//ge


[?25l:[?2004h  [?25h 1,$yank


[?25l:[?2004h  [?25h quit!


[?25l:[?2004h  [?25hendfunc
[?25lOK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf[?25h[?25l~                                                                               [?25h[?2004l[?2004h[?25l

-0-[?25h[?25l

:[?2004h[?25hset re=0
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25loooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf-0-ffobob__ooooo

koooo__moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx[?25h[?2004l[?2004h[?25l

-1-[?25h[?25l

:[?2004h[?25hset re=1
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l-1-

ffo

bob

__ooooo

koooo__

moooooo

   f__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxx xxxx xx xxxxxxxx xxx xxxxxxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l-2-[?25h[?25l:[?2004h[?25hset re=2
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l-2-

ffo

bob~                                                                               [?25h[?25l:[?2004h[?25h" start and end of buffer
[?25l[?25h[?25l/[?2004h[?25h\%^
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 2 - \v(a*)+

OK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}[?25h[?25l/[?2004h[?25h\%^..
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?2004l[?2004h[?25lt END[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}

OK 1 - \va{1,3}[?25h[?25l/[?2004h[?25h\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h[?25l:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

:call add(tl, [2, 'ab', 'aab', 'ab'])

:call add(tl, [2, 'b', 'abcdef', 'b'])

:call add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])

:call add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])

:call add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])

:call add(tl, [2, 'bc*', 'abbdef', 'b'])

:call add(tl, [2, 'c*', 'ccc', 'ccc'])

:call add(tl, [2, 'bc*', 'abdef', 'b'])[?25h[?25l/[?2004h[?25h..\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h
[?2004l[?2004h[?25l[?25h[?25lEN[?25h[?2004l[?2004h[?25l[?25h[?25lE[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check for detecting error
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=2
[?25l[?25h[?25l:[?2004h[?25hfor pat in [' \ze*', ' \zs*']
[?25l

:[?2004h  [?25h:  try


[?25l:[?2004h    [?25h:    let l = matchlist('x x', pat)


[?25l:[?2004h    [?25h:    $put ='E888 NOT detected for ' . pat


[?25l:[?2004h    [?25h:  catch


[?25l:[?2004h    [?25h:    $put ='E888 detected for ' . pat


[?25l:[?2004h    [?25h:  endtry


[?25l:[?2004h  [?25h:endfor
[?25lffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?ba

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxxxxxxx xxx xxxxxxx xxxxxxxxx  xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxx xxxx xxx xxxx xxx xxx xxxxxx x xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x x xx xxxxxx xxxxxxx  xxxxxxxxxx xxxxxxxxx xxx xxx xxxxxxxx   xxxx xxx xxxxxx xxxxx xxxxx xx   xxxxxxxxxxxx xxxx xxxxxxxxx xxxxx xxxxx xx xxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxTestEND

EN888 detected for  \ze*

E888 detected for  \zs*[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" Write the results """""""""""""
[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1107 lines, 22167 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test64 = test61; then \
#	  if diff test.out test64.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test64.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test66.failed test.ok test.out X* viminfo
cp test66.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test66.in" 33 lines, 509 charactersTest for visual block shift and tab characters.



STARTTEST

:so small.vim

/^one

fe^V4jR^[ugvr1:'<,'>w! test.out

/^abcdefgh

^V4jI    ^[j<<11|D

7|a^[

7|a^[

7|a^[4k13|^V4j<

:$-5,$w >> test.out

:$-4,$s/\s\+//g

^V4kI    ^[j<<

7|a^[

7|a^[

7|a^[4k13|^V4j3<

:$-4,$w >> test.out

:qa!

ENDTEST



one two three[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 234 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^one
[?25l[?25hon[?25l[?25h[?25le

one two three

one two three

one two three

one two three[?25h[?25l

4 fewer lines[?2004l[?2004habcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz[?25h[?25lmore lines; before #1  0 seconds agoone two three

one two three

one two threeone two threeone two three[?25h[?25le

one

one

one

on[?25h[?25l1

on1

on1

on1

on1[?25h[?25l:[?2004h[?25h'<,'>w! test.out
[?25l"test.out" [New File] 5 lines, 70 characters written[?25h[?25l/[?2004h[?25h^abcdefgh
[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz
[?25h[?25la

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc            defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 1 timeidefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-5,$w >> test.out
[?25l"test.out"6 lines, 151 characters appended[?25h[?25l:[?2004h[?25h$-4,$s/\s\+//g
[?25l7 substitutions on 4 linesabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

a

a

a[?25h[?25l

a

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghij

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghij[?25h

    ab[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                       defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                 defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 3 timesidefghijklmnopqrstuvwxyz    defghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-4,$w >> test.out
[?25l"test.out"5 lines, 147 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test66 = test61; then \
#	  if diff test.out test66.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test66.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test68.failed test.ok test.out X* viminfo
cp test68.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test68.in" 131 lines, 1004 charactersTest for text formatting.



Results of test68:



STARTTEST

:so small.vim

/^{/+1

:set noai tw=2 fo=t

gRa b^[

ENDTEST



{





}



STARTTEST

/^{/+1

:set ai tw=2 fo=tw

gqgqjjllab^[

ENDTEST



{[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 4 lines, 48 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset noai tw=2 fo=t
[?25l[?25h[?2004l[?2004h[?25la

b[?25h

[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 38 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l

a  b[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tw
[?25l[?25h[?25l

b[?25h[?25l

[?25h[?25l

a[?25ha [?2004l[?2004h[?25l

b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=3 fo=t

gqgqo

a ^V^A^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a ^A[?25h[?25l

:[?2004h[?25hset tw=3 fo=t
[?25l[?25h[?25l

^A[?25h[?2004l[?2004h[?25la

^A
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tcq1 comments=:#

gqgqjgqgqo

a b

#a b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a b[?25h[?25l

:[?2004h[?25hset tw=2 fo=tcq1 comments=:#
[?25l[?25h[?25l

#a b[?25h[?2004l[?2004h[?25la b

#a b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 46 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=tcn comments=:#

A b^[jA b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  1 a[?25h[?25l

:[?2004h[?25hset tw=5 fo=tcn comments=:#
[?25l[?25h[?2004l[?2004h[?25l

b[?25h[?25l

# 1 a[?25h[?2004l[?2004h[?25l

#   b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+3
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 35 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=t2a si

i  ^[A_^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+3
[?25l{



  x a

  b[?25h[?25l

:[?2004h[?25hset tw=5 fo=t2a si
[?25l[?25h[?2004l[?2004h[?25l    b[?25h[?2004l[?2004h[?25l b_[?25h[?25l

c[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=qn comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# 1 a b[?25h[?25l

:[?2004h[?25hset tw=5 fo=qn comments=:#
[?25l[?25h[?25l[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=q2 comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# x[?25h[?25l

:[?2004h[?25hset tw=5 fo=q2 comments=:#
[?25l[?25h[?25l# x a
[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+2
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 26 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw& fo=a

I^^^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+2
[?25l{

   1aa

   2bb[?25h[?25l

:[?2004h[?25hset tw& fo=a
[?25l[?25h[?2004l[?2004h[?25l1aa ^^2bb }STARTTEST[?25h

[?25l/[?2004h^STARTTEST
[?25h[?25l

/mno pqr/[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 69 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/

A vwx yz^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25hmno pqr/
[?25l/* abc def ghi jkl

 *    mno pqr stu[?25h[?25l

:[?2004h[?25hsetl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
[?25l[?25h[?2004l[?2004h[?25l

*    vwx yz[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^#/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=12 fo=tqnc comments=:#

A foobar^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^#/
[?25l

# 1 xxxxx[?25h[?25l

:[?2004h[?25hsetl tw=12 fo=tqnc comments=:#
[?25l[?25h[?2004l[?2004h[?25l

#   foobar[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l63 fewer lines# 1 a#   b}{

# x a#   b}{ 1aa ^^2bb }/* abc def ghi jkl

 *    mno pqr stu

 *    vwx yz

 */# 1 xxxxx

#   foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 77 lines, 281 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test68 = test61; then \
#	  if diff test.out test68.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test68.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test69.failed test.ok test.out X* viminfo
cp test69.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test69.in" 192 lines, 2185 charactersTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 multi-byte text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 2 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=t
[?25l[?25h

[?25l

XYZ[?25h[?2004l[?25l[?25h[?25lX[?25h[?25lY[?25h[?25l

Z

abc [?25h[?25l

X[?25h[?25lY[?25h[?2004h[?25lZ[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=1 fo=tm

gqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

X[?25h[?25l

:[?2004h[?25hset tw=1 fo=tm
[?25l[?25h[?25l

Xa[?25h[?25l

a[?25h[?25l

X a
[?25h[?25l

a[?25h[?25l

XY
[?25h[?25l

Y
[?25h[?25l

X Y
[?25h[?25l

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c

abXY^[

ENDTEST



{

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h

[?25la[?25h

[?25la[?25h

[?25lY
[?25h

[?25lY 
[?25h[?25l

aX
[?25h[?25l

X
[?25h[?25l

abX
[?25h[?25l

X
[?25h[?25l

abcX
[?25h[?25l

X
[?25h[?25l

abX c
[?25h[?25lX

c[?25h[?25l

abXY
[?25h[?25lX

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?25lY

a[?25h[?25lX

ab[?25h[?25lX

abc[?25h[?25lX

ab[?25h[?25lX

c

ab[?25h[?25l

X[?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set ai tw=2 fo=tm

gqgqjgqgqo

X

Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

  a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 53 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set noai tw=2 fo=tm

gqgqjgqgqo

  X

  Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset noai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 169 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa

XXY^[

ENDTEST



{

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=cqm comments=n:X
[?25l[?25h



[?25lXY[?25h



[?25lXZ
[?25h



[?25l

X Z
[?25h[?25l

XX
[?25h[?25l

XXa
[?25h[?25l

XXY
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25l

Xa

[?25h[?25lXa[?25h[?25lXY

[?25h[?25lX[?25h[?25l

Y

[?25h[?25lX[?25h[?25lY[?25h[?25lXZ

[?25h[?25lX [?25h[?25l

Y

[?25h[?25lX [?25h[?25lY[?25h[?25lX Z

[?25h[?25lX[?25h[?25l

X

[?25h[?25lX[?25h[?25l

Xa

[?25h[?25lX[?25h[?25lX[?25h[?2004h[?25lY[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 30 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tm

RXa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h[?2004l[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set mps+=^Vu2018:^Vu2019

d%

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

‘two three ’four[?25h[?25l

:[?2004h[?25hset mps+=^‘:^’
[?25l[?25h[?25l four[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^ra test
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 16 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTjVjra

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^ra test
[?25l

ra test[?25h[?25l

abba
[?25h[?25lbba 
[?25h[?25l

a

aab 
[?25h[?25laaaaaaa [?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set whichwrap+=h
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_getln.o ex_getln.c
4 lines, 43 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^x

dh

:set whichwrap-=h

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset whichwrap+=h
[?25l[?25h[?25l/[?2004h[?25h^x
[?25láx[?25h[?25lx[?25h

[?25l

:[?2004h[?25hset whichwrap-=h
[?25l[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:let a = '.é.' " one char of two bytes
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 9 lines, 548 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let b = '.é.' " normal e with composing char

/^byteidx

:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)])

:put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])

/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)])

:let b = '.é.'

:put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet a = '.é.' " one char of two bytes
[?25l[?25h[?25l:[?2004h[?25hlet b = '.eé.' " normal e with composing char
[?25l[?25h[?25l/[?2004h[?25h^byteidx
[?25l

byteidx[?25h[?25l

:[?2004h[?25hput =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), bytei


dx(a, 4)])
[?25l:set whichwrap-=h

ENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hput =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), bytei


dx(b, 4)])
[?25lENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5[?25h[?25l

/[?2004h[?25h^byteidxcomp
[?25l

byteidxcomp[?25h[?25l

:[?2004h[?25hput =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxc


omp(a, 3), byteidxcomp(a, 4)])
[?25láxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hlet b = '.eé.'
[?25l[?25h[?25l:[?2004h[?25hput =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxc


omp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])
[?25lSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1]2, 4, 5, -1][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^substitute
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 75 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let y = substitute('123', '\zs', 'a', 'g')    | put =y

ENDTEST[?25h[?25lsubstitute[?25h[?25l



:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^substitute
[?25l[?25h[?25l:[?2004h[?25hlet y = substitute('123', '\zs', 'a', 'g')    | put =y
[?25la1a2a3a[?25h[?25l



/[?2004h^STARTTEST


STARTTEST[?25h[?25l:g/^STARTTEST/.,/^ENDTEST/d

:1;/^Results/,$wq! test.out[?25h[?25l



:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l



/ENDTEST[?25h
[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l104 fewer lines{ four}ra test

aaaaaaaáxbyteidx[0, 1, 3, 4, -1]

[0, 1, 4, 5, -1]byteidxcomp

[0, 1, 3, 4, -1]

[0, 1, 2, 4, 5, -1]substitute

a1a2a3a[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 166 lines, 730 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test69 = test61; then \
#	  if diff test.out test69.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test69.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test70.failed test.ok test.out X* viminfo
cp test70.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test70.in" 63 lines, 1501 charactersSmoke test for MzScheme interface and mzeval() function



STARTTEST

:so mzscheme.vim

:set nocompatible viminfo+=nviminfo

:function! MzRequire()

:redir => l:mzversion

:mz (version)

:redir END

:if strpart(l:mzversion, 1, 1) < "4"

:" MzScheme versions < 4.x:

:mz (require (prefix vim- vimext))

:else

:" newer versions:

:mz (require (prefix-in vim- 'vimext))

:mz (require r5rs)

:endif

:endfunction

:silent call MzRequire()

:mz (define l '("item0" "dictionary with list OK" "item2"))

:mz (define h (make-hash))

:mz (hash-set! h "list" l)

/^1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSmoke test for MzScheme interface and mzeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1398 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:if l2[2] == l2

:let res = "OK"

:else

:let res = "FAILED: " . l2[2]

:endif

:call setline(search("^3"), "circular test " . res)

:" funcrefs

:mz (define vim:max (vim-eval "function('max')"))

:mz (define m (vim:max '(1 100 8)))

:let m = mzeval('m')

:if m == 100

:let fref_res = "OK"

:else

:let fref_res = "FAILED: " . m

:end

:call append(line('$'), 'funcrefs '. fref_res)

:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mzscheme.vim
[?25l"test.ok" 6 lines, 94 characters


"test.out" [New File] 6 lines, 94 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test70 = test61; then \
#	  if diff test.out test70.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test70.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test73.failed test.ok test.out X* viminfo
gcc -c -I. -I/usr/include/lua5.2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE   -I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread -fPIE -I/usr/include/ruby-2.3.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.3.0 -DRUBY_VERSION=23 -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/option.o option.c
cp test73.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test73.in" 170 lines, 3664 charactersTests for find completion.



STARTTEST

:so small.vim

:set belloff=all

:" Do all test in a separate window to avoid E211 when we recursively

:" delete the Xfind directory during cleanup

:"

:" This will cause a few errors, do it silently.

:set visualbell

:set nocp viminfo+=nviminfo

:"

:" On windows a stale "Xfind" directory may exist, remove it so that

:" we start from a clean state.

:call delete("Xfind", "rf")

:new

:let cwd=getcwd()

:let test_out = cwd . '/test.out'

:call mkdir('Xfind')

:cd Xfind

:set path=

:find

:exec "w! " . test_out[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 find completion.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 165 lines, 3617 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exec "cd " . cwd . "/Xfind/"

:set path=./path

:" Open the file where Jimmy Hoffa is found

:e in/file.txt

:" Find the file containing 'E.T.' in the Xfind/in/path directory

:find file

:exec "w >>" . test_out

:"

:" Test that completion works when path=.,,

:"

:set path=.,,

:" Open Jimmy Hoffa file

:e in/file.txt

:exec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu

:exec "w >>" . test_out

:q

:exec "cd " . cwd

:call delete("Xfind", "rf")

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" Do all test in a separate window to avoid E211 when we recursively
[?25l[?25h[?25l:[?2004h[?25h" delete the Xfind directory during cleanup
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" This will cause a few errors, do it silently.
[?25l[?25h[?25l:[?2004h[?25hset visualbell
[?25l[?25h[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h
[?25l[?25h[?25l:[?2004h[?25h" On windows a stale "Xfind" directory may exist, remove it so that
[?25l[?25h[?25l:[?2004h[?25h" we start from a clean state.
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTESTtest73.in                                                                       [?25h[?25l:[?2004h[?25hlet cwd=getcwd()
[?25l[?25h[?25l:[?2004h[?25hlet test_out = cwd . '/test.out'
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('Xfind')
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE345: Can't find file "" in path[?25h[?25l:[?2004h[?25hexec "w! " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<d/vim-FU59NL/vim-8.0.1144/src/vim-basic/testdir/test.out" [New] 0L, 0C written/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in                  [?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in                  [?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in                  [?25h[?25l:[?2004h[?25hset path=./**
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in                  [?25h[?25l:[?2004h[?25h" We shouldn't find any file at this point, test.out must be empty.
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('in')
[?25l[?25h[?25l:[?2004h[?25hcd in
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/in[?25h[?25l:[?2004h[?25hcall mkdir('path')
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdirtest73.in                                                     [?25h[?25l:[?2004h[?25he Xfind/file.txt
[?25l"Xfind/file.txt" [New File]Xfind/file.txt[?25h[?25l-- INSERT --Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/file.txt" [New] 1L, 11C written    [?25h[?25l:[?2004h[?25he Xfind/in/file.txt
[?25l"Xfind/in/file.txt" [New File]in/file.txt[?25h[?25l-- INSERT --Jimmy Hoffa[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/file.txt" [New] 1L, 12C written    [?25h[?25l:[?2004h[?25he Xfind/in/stuff.txt
[?25l"Xfind/in/stuff.txt" [New File]stuff.txt[?25h[?25l-- INSERT --Another Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/stuff.txt" [New] 1L, 19C written    [?25h[?25l:[?2004h[?25he Xfind/in/path/file.txt
[?25l"Xfind/in/path/file.txt" [New File]path/file.txt[?25h[?25l-- INSERT --E.T.[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/path/file.txt" [New] 1L, 5C written    [?25h[?25l:[?2004h[?25hset path=Xfind/**
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Rerun the previous three find completions, using fullpath in 'path'
[?25l[?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Same steps again, using relative and fullpath items that point to the same
[?25l[?25h[?25l:[?2004h[?25h" recursive location.
[?25l[?25h[?25l:[?2004h[?25h" This is to test that there are no duplicates in the completion list.
[?25l[?25h[?25l:[?2004h[?25hexec "set path+=Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25h" Test find completion for directory of current buffer, which at this point
[?25l[?25h[?25l:[?2004h[?25h" is Xfind/in/file.txt.
[?25l[?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind st...[?25luff.txt[?25h
[?25l"Xfind/in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25h" Test find completion for empty path item ",," which is the current directory
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfindin/stuff.txtf       /<<PKGBUILDDIR>>/src/vim-basic/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=,,
[?25l[?25h[?25l:[?2004h[?25hfind f...[?25lile.txt[?25h...[?25l[?25h
[?25l"file.txt" 1L, 11CHoly Grailfile.txt.     [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25h" Test shortening of
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    foo/x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    foo/y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is above foo/ they should be shortened to (in order
[?25l[?25h[?25l:[?2004h[?25h" of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('foo')
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/file.txt[?25h[?25l:[?2004h[?25hcall mkdir('x')
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('y')
[?25l[?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfindfile.txti                                                            [?25h[?25l:[?2004h[?25h" We should now be in the Xfind directory
[?25l[?25h[?25l:[?2004h[?25he foo/x/bar/voyager.txt
[?25l"foo/x/bar/voyager.txt" [New File]oo/x/bar/voyager.txt[?25h[?25l-- INSERT --Voyager 1[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/x/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25he foo/y/bar/voyager.txt
[?25l"foo/y/bar/voyager.txt" [New File]y/[?25h[?25l-- INSERT --Voyager 2[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/y/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h
[?25l"foo/x/bar/voyager.txt" 1L, 10C1x/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h...[?25ly[?25h
[?25l"foo/y/bar/voyager.txt" 1L, 10C2y/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is .../foo/y/bar they should be shortened to (in
[?25l[?25h[?25l:[?2004h[?25h" order of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    ./voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/fooy/bar/voyager.txt.     [?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/ybar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25lx/bar/voyager.txt[?25h
[?25l<ld/vim-FU59NL/vim-8.0.1144/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt"
<FU59NL/vim-8.0.1144/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt" 1L, 10C1<uild/vim-FU59NL/vim-8.0.1144/src/vim-basic/testdir/Xfind/foo/x/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check the opposite too:
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foox/bar/voyager.txtv                                                               [?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/xbar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/foo/x/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25ly/bar/voyager.txt[?25h
[?25l<ld/vim-FU59NL/vim-8.0.1144/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt"
<FU59NL/vim-8.0.1144/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt" 1L, 10C2<uild/vim-FU59NL/vim-8.0.1144/src/vim-basic/testdir/Xfind/foo/y/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check for correct handling of shorten_fname()'s behavior on windows
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/in"
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfind/in[?25h[?25l:[?2004h[?25hfind file...[?25l./file.txt[?25h
[?25l"file.txt" 1L, 12CJimmy Hoffafile.txtm                                                                        [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Test for relative to current buffer 'path' item
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/"
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xfindin/file.txt[?25h[?25l:[?2004h[?25hset path=./path
[?25l[?25h[?25l:[?2004h[?25h" Open the file where Jimmy Hoffa is found
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12C[?25h[?25l:[?2004h[?25h" Find the file containing 'E.T.' in the Xfind/in/path directory
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25ltxt[?25h
[?25l"in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that completion works when path=.,,
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25h" Open Jimmy Hoffa file
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Search for the file containing Holy Grail in same directory as in/path.txt
[?25l[?25h[?25l:[?2004h[?25hfind stu...[?25lff.txt[?25h
[?25l"in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-basic/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25hq
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test73 = test61; then \
#	  if diff test.out test73.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test73.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test79.failed test.ok test.out X* viminfo
cp test79.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test79.in" 255 lines, 3381 charactersTest for *sub-replace-special* and *sub-replace-expression* on :substitute.

Test for submatch() on :substitue.

Test for *:s%* on :substitute.

Test for :s replacing \n with  line break.



STARTTEST

:so small.vim

ENDTEST



Results of test71:



STARTTEST

:set magic

:set cpo&

/^TEST/

j:s/A/&&/

j:s/B/\&/

j:s/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/

j:s/D/d/

j:s/E/~/

j:s/F/\~/

j:s/G/\ugg/

j:s/H/\Uh\Eh/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 *sub-replace-special* and *sub-replace-expression* on :substitute.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 14 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 347 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_1:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25lA
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l&[?25h

[?25l:[?2004h[?25hs/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25ld[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set nomagic
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 351 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_2:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25l&&
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l[?25h

[?25l:[?2004h[?25hs/\mC\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25l~[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 203 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\='\\'/

j:s/C/\='^V^M'/

j:s/D/\='\^V^M'/

j:s/E/\='\\^V^M'/

j:s/F/\='\r'/

j:s/G/\='^V^@'/

j:s/H/\='\^V^@'/

j:s/I/\='\\^V^@'/

j:s/J/\='\n'/

j:s/K/\="\r"/

j:s/L/\="\n"/

ENDTEST



TEST_3:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\='\'/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\='\\'/
[?25l\\b
[?25h

[?25l:[?2004h[?25hs/C/\='^^M'/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\='\^^M'/
[?25l\d[?25h

[?25l





:[?2004h[?25hs/E/\='\\^^M'/
[?25l\\

efFf[?25h

[?25l:[?2004h[?25hs/F/\='\r'/
[?25l\rf
[?25h[?25l

gGg[?25h[?25l

:[?2004h[?25hs/G/\='^^@'/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\='\^^@'/
[?25l

\h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\='\\^^@'/
[?25l

\\

i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\='\n'/
[?25l\nj
[?25h[?25l

kKk[?25h[?25l

:[?2004h[?25hs/K/\="\r"/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\="\n"/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 611 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\=substitute(submatch(0), '.', '\\', '')/

j:s/C/\=substitute(submatch(0), '.', '^V^M', '')/

j:s/D/\=substitute(submatch(0), '.', '\^V^M', '')/

j:s/E/\=substitute(submatch(0), '.', '\\^V^M', '')/

j:s/F/\=substitute(submatch(0), '.', '\r', '')/

j:s/G/\=substitute(submatch(0), '.', '^V^@', '')/

j:s/H/\=substitute(submatch(0), '.', '\^V^@', '')/

j:s/I/\=substitute(submatch(0), '.', '\\^V^@', '')/

j:s/J/\=substitute(submatch(0), '.', '\n', '')/

j:s/K/\=substitute(submatch(0), '.', "\r", '')/

j:s/L/\=substitute(submatch(0), '.', "\n", '')/

ENDTEST



TEST_4:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\=substitute(submatch(0), '.', '\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\=substitute(submatch(0), '.', '\\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/C/\=substitute(submatch(0), '.', '^^M', '')/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\=substitute(submatch(0), '.', '\^^M', '')/
[?25ld[?25h

[?25l





:[?2004h[?25hs/E/\=substitute(submatch(0), '.', '\\^^M', '')/
[?25l\efFf[?25h

[?25l:[?2004h[?25hs/F/\=substitute(submatch(0), '.', '\r', '')/
[?25l

f[?25h[?25l

gGg
[?25h[?25l

:[?2004h[?25hs/G/\=substitute(submatch(0), '.', '^^@', '')/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\=substitute(submatch(0), '.', '\^^@', '')/
[?25l

h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\=substitute(submatch(0), '.', '\\^^@', '')/
[?25l

\i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\=substitute(submatch(0), '.', '\n', '')/
[?25l

j[?25h[?25l

kKk
[?25h[?25l

:[?2004h[?25hs/K/\=substitute(submatch(0), '.', "\r", '')/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\=substitute(submatch(0), '.', "\n", '')/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/normal.o normal.c
5 lines, 445 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST/

j:s/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .. submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch((3) . submatch(2) . submatch(1)/

j:s/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), subbmatch(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), subbmatch(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l

TEST_5:[?25h[?25l

A123456789
[?25h[?25l

:[?2004h[?25hs/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .


submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch(


3) . submatch(2) . submatch(1)/
[?25li\

i987654321[?25h[?25l

B123456789
[?25h[?25l

:[?2004h[?25hs/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), sub


match(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), sub


match(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/
[?25li

j[['B123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^TEST/

:set cpo+=/

j:s/A/a/

j:s/B/%/

:set cpo-=/

j:s/C/c/

j:s/D/%/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25lTEST_6:

A

B[?25h[?25l





:[?2004h[?25hset cpo+=/
[?25l[?25h

[?25l:[?2004h[?25hs/A/a/
[?25la[?25h

[?25l:[?2004h[?25hs/B/%/
[?25la[?25h[?25l:[?2004h[?25hset cpo-=/
[?25l[?25h[?25lC

D[?25h[?25l





:[?2004h[?25hs/C/c/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/%/
[?25l%[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 11 lines, 303 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST_7/

j:s/A./\=submatch(0)/

j:s/B./\=submatch(0)/

j:s/C./\=strtrans(string(submatch(0, 1)))/

j:s/D.\nD/\=strtrans(string(submatch(0, 1)))/

j:s/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/

/^Q$

:s/Q[^\n]Q/\=submatch(0)."foobar"/

:" Avoid :s error breaks dotest map on Windows.

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST_7/
[?25l

TEST_7:[?25h[?25l

A^MA
[?25h[?25l

:[?2004h[?25hs/A./\=submatch(0)/
[?25l

A[?25h[?25l

B^@B
[?25h[?25l

:[?2004h[?25hs/B./\=submatch(0)/
[?25l

B[?25h[?25l

C^@C
[?25h[?25l

:[?2004h[?25hs/C./\=strtrans(string(submatch(0, 1)))/
[?25l['C^@']C
[?25h[?25l

D^@[?25h[?25l

:[?2004h[?25hs/D.\nD/\=strtrans(string(submatch(0, 1)))/
[?25l['D^@', 'D']
[?25h[?25l

E^@[?25h[?25l

:[?2004h[?25hs/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/
[?25l['E^@', '^@', '^@', '^@', '^@E']
[?25h[?25l/[?2004h[?25h^Q$
[?25l

Q[?25h[?25l

:[?2004h[?25hs/Q[^\n]Q/\=submatch(0)."foobar"/
[?25lE486: Pattern not found: Q[^\n]Q[?25h[?25l:[?2004h[?25h" Avoid :s error breaks dotest map on Windows.
[?25l[?25h[?25l/[?2004h^STARTTEST
Q



STARTTEST[?25h[?25l

:function! TitleString()
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 177 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTlet check = 'foo' =~ 'bar'

  return ""

endfunction

:set titlestring=%{TitleString()}

:/^test_one/s/.*/\="foo\nbar"/

:/^test_two/s/.*/\="foo\nbar"/c

y

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hfunction! TitleString()
[?25l

:[?2004h  [?25h  let check = 'foo' =~ 'bar'


[?25l:[?2004h  [?25h  return ""


[?25l:[?2004h  [?25hendfunction
[?25lTEST_7:

A[?25h[?25l

:[?2004h[?25hset titlestring=%{TitleString()}
[?25l[?25h[?25l:[?2004h[?25h/^test_one/s/.*/\="foo\nbar"/
[?25lfoo

bar[?25h[?25l

:[?2004h[?25h/^test_two/s/.*/\="foo\nbar"/c
[?25l

test_tworeplace with \="foo\nbar" (y/n/a/q/l/^E/^Y)?[?25h[?25l

foobar
[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 72 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l136 fewer linesaa

c

%TEST_7:AABB['C^@']C['D^@', 'D']

['E^@', '^@', '^@', '^@', '^@E']

Q

Qfoo

bar

foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 134 lines, 574 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test79 = test61; then \
#	  if diff test.out test79.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test79.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test88.failed test.ok test.out X* viminfo
cp test88.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test88.in" 99 lines, 1449 charactersvim: set ft=vim



Tests for correct display (cursor column position) with +conceal and

tabulators.



STARTTEST

:so small.vim

:if !has('conceal')

   e! test.ok

   wq! test.out

:endif

:" Conceal settings.

:set conceallevel=2

:set concealcursor=nc

:syntax match test /|/ conceal

:" Save current cursor position. Only works in <expr> mode, can't be used

:" with :normal because it moves the cursor to the command line. Thanks to ZyX

:" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.

:let positions = []

:nnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"

:" Start test.

/^start:

:normal ztj[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 82 lines, 1216 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:normal W

GGk

:normal W

GGk

:normal W

GGk

:normal $

GGk

:" Display result.

:call append('$', 'end:')

:call append('$', positions)

:/^end/,$wq! test.out

ENDTEST



start:

.concealed.     text

|concealed|     text.concealed.     text|concealed|     text



.a.     .b.     .c.     .d.

|a|     |b|     |c|     |d|[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif !has('conceal')
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   wq! test.out


[?25l:[?2004h  [?25h:endif
[?25l:normal W

GGk

:normal W[?25h[?25l:[?2004h[?25h" Conceal settings.
[?25l[?25h[?25l:[?2004h[?25hset conceallevel=2
[?25l[?25h[?25l:[?2004h[?25hset concealcursor=nc
[?25l[?25h[?25l:[?2004h[?25hsyntax match test /|/ conceal
[?25lconcealed  concealed  





a       b       c       d[?25h[?25l:[?2004h[?25h" Save current cursor position. Only works in <expr> mode, can't be used
[?25l[?25h[?25l:[?2004h[?25h" with :normal because it moves the cursor to the command line. Thanks to ZyX
[?25l[?25h[?25l:[?2004h[?25h" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.
[?25l[?25h[?25l:[?2004h[?25hlet positions = []
[?25l[?25h[?25l:[?2004h[?25hnnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"
[?25l[?25h[?25l:[?2004h[?25h" Start test.
[?25l[?25h[?25l/[?2004h[?25h^start:
[?25l[?25h[?25l:[?2004h[?25hnormal ztj
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004hlet positions += ['2:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" We should end up in the same column when running these commands on the two
[?25l[?25h[?25l:[?2004h[?25h" lines.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['2:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['2:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['3:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['3:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['3:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['5:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Same for next test block.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['5:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['5:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['6:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['6:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['6:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['8:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" And check W with multiple tabs and conceals in a line.
[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['8:27']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset lbr
[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset list listchars=tab:>-
[?25l>------



>------->----

>------->------>----.b.>----.c.>----

a>------b>------c>------[?25h[?25l:[?2004h[?25hnormal 0
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Display result.
[?25l[?25h[?25l:[?2004h[?25hcall append('$', 'end:')
[?25lend:[?25h[?25l:[?2004h[?25hcall append('$', positions)
[?25l2:12:172:203:13:173:205:85:255:286:86:256:288:1[?25h[?25l:[?2004h[?25h/^end/,$wq! test.out
[?25l[?2004l"test.out" [New File] 29 lines, 135 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test88 = test61; then \
#	  if diff test.out test88.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test88.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test94.failed test.ok test.out X* viminfo
cp test94.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test94.in" 257 lines, 4841 charactersTest for Visual mode and operators



Tests for the two kinds of operations: Those executed with Visual mode

followed by an operator and those executed via Operator-pending mode. Also

part of the test are mappings, counts, and repetition with the . command.



Test cases:

- Visual modes (v V CTRL-V) followed by an operator; count; repeating

- Visual mode maps; count; repeating

  - Simple

  - With an Ex command (custom text object)

- Operator-pending mode maps

  - Simple

  - With Ex command moving the cursor

  - With Ex command and Visual selection (custom text object)

- Patch 7.3.879: Properly abort Ex command in Operator-pending mode



STARTTEST

:so small.vim

:set belloff=all

:set enc=utf-8 nocp viminfo+=nviminfo

:

:" User functions[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Visual mode and operators[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 212 lines, 3854 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hset enc=utf-8 nocp viminfo+=nviminfo
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h[?25l:[?2004h[>c[?25h[?25l:[?2004h[?25h" User functions
[?25l[?25h[?25l:[?2004h[?25hfunction MoveToCap()
[?25l

:[?2004h  [?25h:  call search('\u', 'W')


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'[?25h[?25l:[?2004h[?25hfunction SelectInCaps()
[?25l

:[?2004h  [?25h:  let [line1, col1] = searchpos('\u', 'bcnW')


[?25l:[?2004h  [?25h:  let [line2, col2] = searchpos('.\u', 'nW')


[?25l:[?2004h  [?25h:  call setpos("'<", [0, line1, col1, 0])


[?25l:[?2004h  [?25h:  call setpos("'>", [0, line2, col2, 0])


[?25l:[?2004h  [?25h:  normal! gv


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual modes followed by operator
[?25l[?25h[?25l/[?2004h[?25h^apple
[?25l[?25ha[?25l-- VISUAL --[?25h[?25lp[?25h[?25lle banana cherry[?25h[?25l banana cherry[?25h [?25lbanan-- VISUAL --[?25h[?25l
a  cherry[?25h[?25ly[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^line 1
[?25l[?25h[?25lline 1 line 1 -- VISUAL LINE --[?25h[?25lINSERT --Nnewline[?25h[?25l-- INSERT --newline[?25h[?25l
line 3 line 3 

line 4 line 4 





-- VISUAL LINE --[?25h[?25lline 5 line 5line 6 line 6xxxxxxxxxxxxx[?25h[?25lxxxxxxxxxxxxx

xxxxxxxxxxxxx[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^xxxx
[?25l[?25h[?25l





-- VISUAL BLOCK --[?25h[?25lx

[?25h[?25lx

x[?25h[?25lINSERT --O  

  [?25h [?25l





-- INSERT --  

    [?25h [?25l

xxxx

    xxxx

xxxxxxxx

xxxxxxxxxxxxx

-- VISUAL BLOCK --[?25h[?25l

-- INSERT --O----

    ----

xxxx----

xxxx----[?25h-[?25l-- INSERT ------------------[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25hvnoremap W /\u/s-1<CR>
[?25l[?25h[?25l:[?2004h[?25hvnoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Kiwi
[?25lKiwiRaspberryDateWatermelonPeach[?25h[?25l

-- VISUAL --[?25h[?25l/[?2004h\u/s-1
Kiw[?25h[?25l

-- INSERT --NoRaspberryDateWatermelonPeach[?25ho[?25l

-- INSERT --NoberryDateWatermelonPeach[?25hoberry[?25lDateWat

-- VISUAL --[?25h[?25lrmelonPeach[?25h[?25lach[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Jambu
[?25l

JambuRambutanBananaTangerineMango[?25hJa[?25l

-- VISUAL --[?25h[?25l:[?2004h'<,'>call SelectInCaps()
Jamb[?25h[?25l

-- INSERT ---RambutanBananaTangerineMango[?25h-[?25l

-- INSERT ---tanBananaTangerineMango[?25h-[?25ltanBanana

-- VISUAL --[?25h[?25l
--angerineMango[?25ha[?25lgo[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Operator-pending mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25honoremap W /\u/<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap <Leader>W :<C-U>call MoveToCap()<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Pineapple
[?25lPineappleQuinceLoganberryOrangeGrapefruitKiwiZ[?25h[?25l

/[?2004h\u/
-QuinceLoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---LoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---GrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---Z[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Juniper
[?25l

JuniperDurianZ[?25h[?25l

:[?2004hcall MoveToCap()
Whavcre
[?25h[?25l:[?2004hcall MoveToCap()
Qhevna[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Lemon
[?25l

LemonNectarineZ[?25h[?25l

:[?2004hcall SelectInCaps()
[?25h[?25lLemonLemonNectarineZ
Lemo[?25hn[?25l:[?2004hcall SelectInCaps()
NewNectarineZ[?25hwNecta[?25l

:[?2004hcall SelectInCaps()
wZ[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Patch 7.3.879: Properly abort Operator-pending mode for "dv:<Esc>" etc.
[?25l[?25h[?25l/[?2004h[?25h^zzzz
[?25lzzzz[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25lE21: Cannot make changes, 'modifiable' is off[?25h[?25l:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'ok' : 'failed'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'failed' : 'ok'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: replace last line'
[?25l

characterwise visual mode: replace last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25hlet @" = 'x'
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l

-- VISUAL --[?25h[?25la[?25h[?25lx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h$put ='v:errmsg='.v:errmsg
[?25l

v:errmsg=[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle line'
[?25l

characterwise visual mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle two line'
[?25l

characterwise visual mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise visual mode: delete last line'
[?25l

characterwise visual mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete last two line'
[?25l

characterwise visual mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- VISUAL --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Select mode maps
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>End> <End>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Down> <Down>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Del> <Del>
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle line'
[?25l

characterwise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle two line'
[?25l

characterwise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise select mode: delete last line'
[?25l

characterwise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- SELECT --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete last two line'
[?25l

characterwise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- SELECT --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle line'
[?25l

linewise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25lbc

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle two line'
[?25l

linewise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25la

b 
[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='linewise select mode: delete last line'
[?25l

linewise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lc 

-- SELECT LINE --[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete last two line'
[?25l

linewise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lb 



-- SELECT LINE --[?25h[?25lb

c 
[?25h[?25l~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='v_p: replace last character with line register at middle line'
[?25l

v_p: replace last character with line register at middle line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25laaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25lccc

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at middle line selecting


newline'
[?25llinewise select mode: delete middle two line

c---linewise select mode: delete last line

ab

---linewise select mode: delete last two line

a---v_p: replace last character with line register at middle line

aaabbaaaccc

---v_p: replace last character with line register at middle line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25lb[?25h[?25laaa[?25h[?25l

ccc
[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line'
[?25l

v_p: replace last character with line register at last line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line selecting n


ewline'
[?25laaa

bbaaaccc

---v_p: replace last character with line register at middle line selecting newline

aaabbaaa

ccc

---v_p: replace last character with line register at last line

aaabbb

ccaaa---v_p: replace last character with line register at last line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode after operation'
[?25l

gv in exclusive select mode after operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25h$put ='äà '
[?25l

äÃ[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l



-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h

[?25l

-- VISUAL --[?25h[?25läÃ[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode without operation'
[?25l

gv in exclusive select mode without operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l

-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h/^start:/+2,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 123L, 1328C written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test94 = test61; then \
#	  if diff test.out test94.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test94.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test95.failed test.ok test.out X* viminfo
cp test95.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test95.in" 141 lines, 5827 charactersTest for regexp patterns with multi-byte support, using utf-8.

See test64 for the non-multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:so mbyte.vim

:set nocp encoding=utf-8 viminfo+=nviminfo nomore

:" tl is a List of Lists with:

:"    2: test auto/old/new  0: test auto/old  1: test auto/new

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:

:"""" Multi-byte character tests. These will fail unless vim is compiled

:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns with multi-byte support, using utf-8.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 131 lines, 5590 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h

[?25l





:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp encoding=utf-8 viminfo+=nviminfo nomore
[?25l:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h[?25l





:[?2004h[>c" tl is a List of Lists with:
[?25h[?25l:[?2004h[?25h"    2: test auto/old/new  0: test auto/old  1: test auto/new
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Multi-byte character tests. These will fail unless vim is compiled
[?25l[?25h[?25l:[?2004h[?25h"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[=a=]]\+', 'ddaãâbcd', 'aãâ'])^I^I^I^I^I^I^I^I" equivalence


classes
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oij


asoifjos'])
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna']


)[?25l:endif[?25h[?25l





:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" this is not a normal "i" but 0xec
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p\+', 'ìa', 'ìa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aあ', 'aあ'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of some character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\f\+', '&*<9f>fname ', 'fname'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test composing character matching
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.ม', 'xมม่x yมy', 'yม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.มม่', 'xมม่x yมy', 'xมม่'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ca", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a\u0300", "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test \Z
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ú\Z', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְ\Z', 'ווְייַ', 'ייַ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" check that 'ambiwidth' does not change the meaning of \p
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=1 ambiwidth=single
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=1 ambiwidth=double
[?25lOK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi double: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=single
[?25lOK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=double
[?25lOK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0

eng 2 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi double: 0[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New] 140L, 2022C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test95 = test61; then \
#	  if diff test.out test95.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test95.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test99.failed test.ok test.out X* viminfo
cp test99.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test99.in" 69 lines, 1400 charactersTests for regexp with multi-byte encoding and various magic settings.

Test matchstr() with a count and multi-byte chars.

See test44 for exactly the same test with re=1.



STARTTEST

:so mbyte.vim

:set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

:set re=2

/^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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 43 lines, 931 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
[?25l:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


/[?2004h[?25h\%U12345678
[?25l


/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l"test.out" 23L, 264C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test99 = test61; then \
#	  if diff test.out test99.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test99.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test108.failed test.ok test.out X* viminfo
cp test108.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test108.in" 88 lines, 1329 charactersTests for backtrace debug commands.     vim: set ft=vim :



STARTTEST

:so small.vim

:lang mess C

:function! Foo()

:   let var1 = 1

:   let var2 = Bar(var1) + 9

:   return var2

:endfunction

:

:function! Bar(var)

:    let var1 = 2 + a:var

:    let var2 = Bazz(var1) + 4

:    return var2

:endfunction

:

:function! Bazz(var)

:    let var1 = 3 + a:var

:    let var3 = "another var"

:    return var1

:endfunction

:new[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 backtrace debug commands.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 83 lines, 1251 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTup

b

echo "fil is not frame or finish, it is file"

fil

echo "\n- relative backtrace movement\n"

fr -1

frame

fra +1

fram

echo "\n- go beyond limits does not crash\n"

fr 100

fra

frame -40

fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hlang mess C
[?25l[?25h[?25l:[?2004h[?25hfunction! Foo()
[?25l

:[?2004h  [?25h:   let var1 = 1


[?25l:[?2004h  [?25h:   let var2 = Bar(var1) + 9


[?25l:[?2004h  [?25h:   return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bar(var)
[?25l

:[?2004h  [?25h:    let var1 = 2 + a:var


[?25l:[?2004h  [?25h:    let var2 = Bazz(var1) + 4


[?25l:[?2004h  [?25h:    return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bazz(var)
[?25l

:[?2004h  [?25h:    let var1 = 3 + a:var


[?25l:[?2004h  [?25h:    let var3 = "another var"


[?25l:[?2004h  [?25h:    return var1


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       echo "\n- final result 19:"

cont:0debuggreedy

:redir END$put =out

:w! test.out

:qa!ENDTESTtest108.in                                                                      [?25h[?25l:[?2004h[?25hdebuggreedy
[?25l[?25h[?25l:[?2004h[?25hredir => out
[?25l[?25h[?25l:[?2004h[?25hdebug echo Foo()
[?25l[?2004hEntering Debug mode.  Type "cont" to continue.


cmd: echo Foo()


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 1: let var1 = 1


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 2: let var2 = Bar(var1) + 9


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 1: let var1 = 2 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 2: let var2 = Bazz(var1) + 4


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 1: let var1 = 3 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "- show backtrace:\n"


[?25l- show backtrace:


>[?2004h[?25hbacktrace


[?25l  2 function Foo[2]


  1 Bar[2]


->0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "\nshow variables on different levels:\n"


[?25l

show variables on different levels:


>[?2004h[?25hecho var1


[?25l6

>[?2004h[?25hup


[?25l>[?2004h[?25hback


[?25l  2 function Foo[2]


->1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l3

>[?2004h[?25hu


[?25l>[?2004h[?25hbt


[?25l->2 function Foo[2]


  1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l1

>[?2004h[?25hecho "\n- undefined vars:\n"


[?25l

- undefined vars:


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: return var1


>[?2004h[?25hframe 2


[?25l>[?2004h[?25hecho "undefined var3 on former level:"


[?25lundefined var3 on former level:


>[?2004h[?25hecho var3


[?25lError detected while processing function Foo[2]..Bar[2]..Bazz:


line    3:


E121: Undefined variable: var3


E15: Invalid expression: var3


>[?2004h[?25hfr 0


[?25l>[?2004h[?25hecho "here var3 is defined with \"another var\":"


[?25lhere var3 is defined with "another var":


>[?2004h[?25hecho var3


[?25lanother var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: End of function


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: return var2


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: End of function


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nundefined var2 on former level"


[?25l

undefined var2 on former level


>[?2004h[?25hecho var2


[?25lError detected while processing function Foo[2]..Bar:


line    3:


E121: Undefined variable: var2


E15: Invalid expression: var2


>[?2004h[?25hdown


[?25l>[?2004h[?25hecho "here var2 is defined with 10:"


[?25lhere var2 is defined with 10:


>[?2004h[?25hecho var2


[?25l10


>[?2004h[?25hecho "\n- backtrace movements:\n"


[?25l

- backtrace movements:


>[?2004h[?25hb


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\nnext command cannot go down, we are on bottom\n"


[?25l

next command cannot go down, we are on bottom


>[?2004h[?25hdown


[?25lframe is zero


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nnext command cannot go up, we are on top\n"


[?25l

next command cannot go up, we are on top


>[?2004h[?25hup


[?25lframe at highest level: 1


>[?2004h[?25hb


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "fil is not frame or finish, it is file"


[?25lfil is not frame or finish, it is file


>[?2004h[?25hfil


[?25l"[No Name]" --No lines in buffer--


>[?2004h[?25hecho "\n- relative backtrace movement\n"


[?25l

- relative backtrace movement


>[?2004h[?25hfr -1


[?25l>[?2004h[?25hframe


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hfra +1


[?25l>[?2004h[?25hfram


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- go beyond limits does not crash\n"


[?25l

- go beyond limits does not crash


>[?2004h[?25hfr 100


[?25lframe at highest level: 1


>[?2004h[?25hfra


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hframe -40


[?25lframe is zero


>[?2004h[?25hfram


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- final result 19:"


[?25l

- final result 19:


>[?2004h[?25hcont


[?25l19


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h0debuggreedy
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST



test108.in                                                                      [?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25h$put =out
[?25l83 more lines->1 function Foo[2]

  0 Barline 3: End of functionframe is zero  1 function Foo[2]->0 Barline 3: End of function- final result 19:19[+][?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 84 lines, 1390 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test108 = test61; then \
#	  if diff test.out test108.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test108.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_autoformat_join.failed test.ok test.out X* viminfo
cp test_autoformat_join.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autoformat_join.in" 23 lines, 524 charactersTests for setting the '[,'] marks when joining lines.



STARTTEST

:so small.vim

:/^\t\t/

0gqj:

:let a=string(getpos("'[")).'/'.string(getpos("']"))

:/^This line/;'}-join

:let b=string(getpos("'[")).'/'.string(getpos("']"))

:$put ='First test: Start/End '.string(a)

:$put ='Second test: Start/End '.string(b)

:/^\t\t/,$wq! test.out

ENDTESTO sodales, ludite, vos qui

attamen consulite per voster honur. Tua pulchra facies me fay planszer milies



This line.

Should be joined with the next line

and with this line



Results:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 setting the '[,'] marks when joining lines.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 9 lines, 265 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^\t\t/
[?25l[?25h[?25lattamen consulite per voster honur.

Tua pulchra facies me fay planszer milies[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hlet a=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h/^This line/;'}-join
[?25lThis line.  Should be joined with the next line and with this line





~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet b=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h$put ='First test: Start/End '.string(a)
[?25lFirst test: Start/End '[0, 16, 1, 0]/[0, 17, 1, 0]'[?25h[?25l:[?2004h[?25h$put ='Second test: Start/End '.string(b)
[?25lSecond test: Start/End '[0, 19, 11, 0]/[0, 19, 67, 0]'[?25h[?25l:[?2004h[?25h/^\t\t/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 8 lines, 292 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_autoformat_join = test61; then \
#	  if diff test.out test_autoformat_join.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_autoformat_join.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_changelist.failed test.ok test.out X* viminfo
cp test_changelist.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_changelist.in" 22 lines, 288 charactersTest changelist position after splitting window

Set 'undolevels' to make changelist for sourced file



STARTTEST

:so small.vim

Gkylp:set ul=100

Gylp:set ul=100

gg

:vsplit

:try

:  normal g;

:  normal ggVGcpass^[

:catch

:  normal ggVGcfail^[

:finally

:  %w! test.out

:endtry

:qa!

ENDTEST



1

2

~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest changelist position after splitting window[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 14 lines, 163 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h



[?25l11[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l22[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l:[?2004h[?25hvsplit
[?25l|

 window                                 |

Set 'undolevels' to make changelist for |

sourced file|

             |

STARTTEST       |

:so small.vim  |

Gkylp:set ul=100|

Gylp:set ul=100|

gg  |

:vsplit     |

:try                  |

:  normal g;|pass|

:catch  |

:  normal ggVGcfail^[|

:finally|

:  %w! test.out|

:endtry|

:qa!|

ENDTEST|

  |

test_changelist.in [+]                   Test changelist position after splitting windowSet 'undolevels' to make changelist forsourced fileSTARTTEST:so small.vimGkylp:set ul=100Gylp:set ul=100gg:vsplit:try:  normal g;:  normal ggVGcpass^[:catch:  normal ggVGcfail^[:finally:  %w! test.out:endtry:qa!ENDTESTtest_changelist.in [+]                 [?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:  normal g;


[?25l:[?2004h  [?25h:  normal ggVGcpass
[?25l21 fewer lines[?2004l[?2004h

:[?2004h  


:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:  normal ggVGcfail


[?25l:[?2004h  


:[?2004h  [?25h:finally


[?25l:[?2004h  [?25h:  %w! test.out


[?25l"test.out" [New File] 1 line, 5 characters written


:[?2004h  [?25h:endtry
[?25lpass||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                           pass~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                         [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_changelist = test61; then \
#	  if diff test.out test_changelist.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_changelist.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_close_count.failed test.ok test.out X* viminfo
cp test_close_count.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_close_count.in" 154 lines, 2682 charactersTests for :[count]close! and :[count]hide     vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:let tests = []

:for i in range(5)

:new

:endfor

:4wincmd w

:close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:$close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[count]close! and :[count]hide     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 42 lines, 766 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call add(tests, buffers)

:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:for i in range(5)

:new

:endfor

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:4wincmd w

:.hide[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hclose!
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File]test.out]  [?25h[?25l:[?2004h[?25hcall append(0, map(copy(tests), 'join(v:val, " ")'))
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5[+][?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 7 lines, 39 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 5~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l"test_close_count.in" 154 lines, 2682 characters:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w:only!:b1ENDTESTSTARTTEST:let tests = []:for i in range(5):new:endfor:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers):4wincmd w:.hide:let buffers = [][?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 44 lines, 815 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:2wincmd w

:+hide

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:1wincmd w

:$ hide

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                       test_close_count.in                                                              [?25h[?25l:[?2004h[?25h.hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h3wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 7 lines, 39 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l13 12 11 10 9 113 12 11 9 112 11 9 112 11 9[+][?25h[?25l12 9

15 12 9

15 12[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 15 lines, 106 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 9

15 12~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:+hide:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5):new:endfor:1wincmd w:$ hide:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 94 of 154 --61%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 448 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:1wincmd w

:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:4wincmd w

^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h1wincmd w
[?25l[?25h[?25l:[?2004h[?25h$ hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$-1 close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h.+close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 15 lines, 106 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l[+][?25h[?25l15 12 915 120 19 18 17 16

20 19 18 16

20 18 16
[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 19 lines, 143 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5



13 12 11 10 9 1

13 12 11 9 1

12 11 9 1

12 11 9

12 9

15 12 9

15 12



20 19 18 17 16

20 19 18 16

20 18 16



~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new:endfor:4wincmd w

^Wc:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 122 of 154 --79%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 28 lines, 511 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST1^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

9^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w

2^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:only!

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l

[?25h[?25l



:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" line 19 of 19 --100%-- col 16 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 915 1220 19 18 17 1620 19 18 1620 18 16[?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l25 24 23 21 124 23 21 124 23 2124 21[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 23 lines, 183 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_close_count = test61; then \
#	  if diff test.out test_close_count.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_close_count.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_erasebackword.failed test.ok test.out X* viminfo
cp test_erasebackword.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_erasebackword.in" 20 lines, 444 charactersTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G







:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 erasing backword[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 379 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G

o wwwこんにちわ世界ワールドvim ^W^[

o wwwこんにちわ世界ワールドvim ^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^W^[

:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h



[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25lド[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?25l

:[?2004h[?25h/^test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 8 lines, 111 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_erasebackword = test61; then \
#	  if diff test.out test_erasebackword.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_erasebackword.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_eval.in" 247 lines, 6201 charactersTest for various eval features.   vim: set ft=vim :



Note: system clipboard is saved, changed and restored.



clipboard contents

something else



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:lang C

:fun AppendRegContents(reg)

  call AppendRegParts(a:reg, getregtype(a:reg), getreg(a:reg), string(getreg(a:rreg, 0, 1)), getreg(a:reg, 1), string(getreg(a:reg, 1, 1)))

:endfun

:fun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)

  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:reg, aa:type, a:cont, a:strcont, a:cont1, a:strcont1))

endfun

:command -nargs=? AR :call AppendRegContents(<q-args>)

:fun SetReg(...)

    call call('setreg', a:000)[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 233 lines, 6010 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun AppendRegContents(reg)
[?25l

:[?2004h  [?25h  call AppendRegParts(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:[?2004h  [?25h:endfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hfun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)
[?25l

:[?2004h  [?25h  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:re


g, a:type, a:cont, a:strcont, a:cont1, a:strcont1))


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hcommand -nargs=? AR :call AppendRegContents(<q-args>)
[?25l[?25h[?25l:[?2004h[?25hfun SetReg(...)
[?25l

:[?2004h  [?25h    call call('setreg', a:000)


[?25l:[?2004h  [?25h    call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))


[?25l:[?2004h  [?25h    call AppendRegContents(a:1)


[?25l:[?2004h  [?25h    if a:1 isnot# '='


[?25l:[?2004h    [?25h        execute "silent normal! Go==\n==\e\"".a:1."P"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun ErrExe(str)
[?25l

:[?2004h  [?25h    call append('$', 'Executing '.a:str)


[?25l:[?2004h  [?25h    try


[?25l:[?2004h    [?25h        execute a:str


[?25l:[?2004h    [?25h    catch


[?25l:[?2004h    [?25h        $put =v:exception


[?25l:[?2004h    [?25h    endtry


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h$put ='{{{1 let tests'


[?25l:[?2004h  [?25hlet @" = 'abc'


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\n"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\<C-m>"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @= = '"abc"'


[?25l:[?2004h  [?25hAR =


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Basic setreg tests'


[?25l:[?2004h  [?25hcall SetReg('a', 'abcA', 'c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcB', 'v')


[?25l:[?2004h  [?25hcall SetReg('c', 'abcC', 'l')


[?25l:[?2004h  [?25hcall SetReg('d', 'abcD', 'V')


[?25l:[?2004h  [?25hcall SetReg('e', 'abcE', 'b')


[?25l:[?2004h  [?25hcall SetReg('f', 'abcF', "\<C-v>")


[?25l:[?2004h  [?25hcall SetReg('g', 'abcG', 'b10')


[?25l:[?2004h  [?25hcall SetReg('h', 'abcH', "\<C-v>10")


[?25l:[?2004h  [?25hcall SetReg('I', 'abcI')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending single lines with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc', 'c')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAl', 'l')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc2','c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc', 'ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb', 'ba')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc2','ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb2','b50a')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCl', 'l')


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCc', 'c')


[?25l:[?2004h  [?25hcall SetReg('D', 'abcDb', 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEb', 'b')


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEl', 'l')


[?25l:[?2004h  [?25hcall SetReg('F', 'abcFc', 'c')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending NL with setreg()'


[?25l:[?2004h  [?25hcall setreg('a', 'abcA2', 'c')


[?25l:[?2004h  [?25hcall setreg('b', 'abcB2', 'v')


[?25l:[?2004h  [?25hcall setreg('c', 'abcC2', 'l')


[?25l:[?2004h  [?25hcall setreg('d', 'abcD2', 'V')


[?25l:[?2004h  [?25hcall setreg('e', 'abcE2', 'b')


[?25l:[?2004h  [?25hcall setreg('f', 'abcF2', "\<C-v>")


[?25l:[?2004h  [?25hcall setreg('g', 'abcG2', 'b10')


[?25l:[?2004h  [?25hcall setreg('h', 'abcH2', "\<C-v>10")


[?25l:[?2004h  [?25hcall setreg('I', 'abcI2')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', "\n")


[?25l:[?2004h  [?25hcall SetReg('B', "\n", 'c')


[?25l:[?2004h  [?25hcall SetReg('C', "\n")


[?25l:[?2004h  [?25hcall SetReg('D', "\n", 'l')


[?25l:[?2004h  [?25hcall SetReg('E', "\n")


[?25l:[?2004h  [?25hcall SetReg('F', "\n", 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA3'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3'], 'l')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC3'], 'b')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD3'])


[?25l:[?2004h  [?25hcall SetReg('e', [1, 2, 'abc', 3])


[?25l:[?2004h  [?25hcall SetReg('f', [1, 2, 3])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3l'], 'la')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3b'], 'lb')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD32'])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA32'])


[?25l:[?2004h  [?25hcall SetReg('B', ['abcB3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3l'], 'l')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD3b'], 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with NL with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ["\n", 'abcA3l2'], 'l')


[?25l:[?2004h  [?25hcall SetReg('B', ["\n", 'abcB3c2'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ["\n", 'abcC3b2'], 'b')


[?25l:[?2004h  [?25hcall SetReg('D', ["\n", 'abcD3b50'],'b50')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with NLs with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA4-0', "\n", "abcA4-2\n", "\nabcA4-3", "abcA4-4\nabcA4


-4-2"])


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB4c-0', "\n", "abcB4c-2\n", "\nabcB4c-3", "abcB4c-4\na


bcB4c-4-2"], 'c')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC4l-0', "\n", "abcC4l-2\n", "\nabcC4l-3", "abcC4l-4\na


bcC4l-4-2"], 'l')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD4b-0', "\n", "abcD4b-2\n", "\nabcD4b-3", "abcD4b-4\na


bcD4b-4-2"], 'b')


[?25l:[?2004h  [?25hcall SetReg('e', ['abcE4b10-0', "\n", "abcE4b10-2\n", "\nabcE4b10-3", "abcE4


b10-4\nabcE4b10-4-2"], 'b10')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Search and expressions'


[?25l:[?2004h  [?25hcall SetReg('/', ['abc/'])


[?25l:[?2004h  [?25hcall SetReg('/', ["abc/\n"])


[?25l:[?2004h  [?25hcall SetReg('=', ['"abc/"'])


[?25l:[?2004h  [?25hcall SetReg('=', ["\"abc/\n\""])


[?25l:[?2004h  [?25h$put ='{{{1 System clipboard'


[?25l:[?2004h  [?25hif has('clipboard')


[?25l:[?2004h    [?25h" Save and restore system clipboard.


[?25l:[?2004h    [?25h" If no connection to X-Server is possible, test should succeed.


[?25l:[?2004h    [?25hlet _clipreg = ['*', getreg('*'), getregtype('*')]


[?25l:[?2004h    [?25hlet _clipopt = &cb


[?25l:[?2004h    [?25hlet &cb='unnamed'


[?25l:[?2004h    [?25h5y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25htabdo :windo :echo "hi"


[?25l:[?2004h    [?25h6y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25hlet &cb=_clipopt


[?25l:[?2004h    [?25hcall call('setreg', _clipreg)


[?25l:[?2004h    [?25helse


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "clipboard contents\n", "['clipboard conte


nts']", "clipboard contents\n", "['clipboard contents']")


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "something else\n", "['something else']", 


"something else\n", "['something else']")


[?25l:[?2004h    [?25hendif


[?25l:[?2004h  [?25h$put ='{{{1 Errors'


[?25l:[?2004h  [?25hcall ErrExe('call setreg()')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, 3, 4)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg([], 2)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, {})')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, [])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("/", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("=", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, ["", "", [], ""])')


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test()
[?25l[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h*: type V; value: something else^@ (['something else']), expr: something else^@  (['something else'])

{{{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
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hdelfunction SetReg
[?25l[?25h[?25l:[?2004h[?25hdelfunction AppendRegContents
[?25l[?25h[?25l:[?2004h[?25hdelfunction ErrExe
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hdelcommand AR
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name not starting with capital
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! g:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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)8: Too many arguments for function: setreg[], 2)730: using List as a String1, {}1Dictionary as a String2, [])0List as a String"/", ["1", "2"])883: search pattern and expression register may not contain two or moore linesExecuting 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

Vim(function):E128: Function name must start with a capital or "s:": g:test()

~                                                                               [?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name includes a colon
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! b:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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(function):E128: Function name must start with a capital or "s:": b:test()[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name folowed by #
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! test2() "#


[?25l:[?2004h  [?25h:echo "test2"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name starting with/without "g:", buffer-local funcref.
[?25l[?25h[?25l:[?2004h[?25hfunction! g:Foo(n)
[?25l

:[?2004h  [?25h:  $put ='called Foo(' . a:n . ')'


[?25l:[?2004h  [?25h:endfunction
[?25lExecuting call setreg()

Vim(call):E119: Not enough arguments for function: setreg[?25h[?25l

:[?2004h[?25hlet b:my_func = function('Foo')
[?25l[?25h[?25l:[?2004h[?25hcall b:my_func(1)
[?25l

called Foo(1)[?25h[?25l

:[?2004h[?25hecho g:Foo(2)
[?25l0

called Foo(2)[?25h[?25l

:[?2004h[?25hecho Foo(3)
[?25l0

called Foo(3)[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" script-local function used in Funcref must exist.
[?25l[?25h[?25l:[?2004h[?25hso test_eval_func.vim
[?25ls:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Using $ instead of '$' must give an error
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h: call append($, 'foobar')


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#

called Foo(123

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1func Bar exists: 1

Vim(call):E116: Invalid arguments for function append[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='{{{1 getcurpos/setpos'
[?25l

{{{1 getcurpos/setpos[?25h[?25l

/[?2004h[?25h^012345678
[?25lsearch hit BOTTOM, continuing at TOP:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:

{{{1 let tests

": type v; value: abc (['abc']), expr: abc (['abc'])

": type V; value: abc^@ (['abc']), expr: abc^@ (['abc'])

": type V; value: abc^M^@ (['abc^M']), expr: abc^M^@ (['abc^M'])

=: type v; value: abc (['abc']), expr: "abc" (['"abc"'])

{{{1 Basic setreg tests

{{{2 setreg('a', 'abcA', 'c')

a: type v; value: abcA (['abcA']), expr: abcA (['abcA'])

search hit BOTTOM, continuing at TOP[?25h012345[?25l:[?2004h[?25hlet sp = getcurpos()
[?25l[?25h
[?25l:[?2004h[?25hcall setpos('.', sp)
[?25l[?25h[?25l:[?2004h[?25h$put
[?25lExecuting 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 lines

Executing call setreg(1, ["", "", [], ""])

Vim(call):E730: using List as a String

Vim(function):E128: Function name must start with a capital or "s:": g:test()

Vim(function):E128: Function name must start with a capital or "s:": b:test()

Vim(function):E128: Function name must start with a capital or "s:": test2() "#

called Foo(1)

called Foo(2)

called Foo(3)

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1

Vim(call):E116: Invalid arguments for function append

{{{1 getcurpos/setpos

6[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" substring and variable name
[?25l[?25h[?25l:[?2004h[?25hlet str = 'abcdef'
[?25l[?25h[?25l:[?2004h[?25hlet n = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[n:]
[?25l

def[?25h[?25l

:[?2004h[?25h$put =str[:n]
[?25l

abcd[?25h[?25l

:[?2004h[?25h$put =str[n:n]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet n
[?25l[?25h[?25l:[?2004h[?25hlet nn = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[nn:]
[?25ldef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:nn]
[?25labcd[?25h[?25l:[?2004h[?25h$put =str[nn:nn]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet nn
[?25l[?25h[?25l:[?2004h[?25hlet b:nn = 4
[?25l[?25h[?25l:[?2004h[?25h$put =str[b:nn:]
[?25lef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:b:nn]
[?25labcde[?25h[?25l:[?2004h[?25h$put =str[b:nn:b:nn]
[?25l

e[?25h[?25l

:[?2004h[?25hunlet b:nn
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 362 lines, 11279 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_eval = test61; then \
#	  if diff test.out test_eval.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_eval.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_fixeol.failed test.ok test.out X* viminfo
cp test_fixeol.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/farsi.o farsi.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fixeol.in" 40 lines, 780 charactersTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol

:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol

:w! XXTestNoEol

:bwipe XXEol XXNoEol XXTestEol XXTestNoEol

:set fixeol[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'fixeol'vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 698 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:"

:" Append "END" to each file so that we can see what the last written char was.

ggdGaEND^[:w >>XXEol

:w >>XXNoEol

:w >>XXTestEol

:w >>XXTestNoEol

:"

:" Concatenate the results

:e! test.out

a0^[:$r XXEol

:$r XXNoEol

Go1^[:$r XXTestEol

:$r XXTestNoEol

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25l[?25h[?25l:[?2004h[?25h" use Unix fileformat for consistency
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lwith eol[?25h[?25l:[?2004h[?25hw! XXEol
[?25l"XXEol" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25henew!
[?25l[?25h[?25l:[?2004h[?25hset noeol nofixeol
[?25l[?25h[?2004l[?2004h[?25lwithout eol[?25h[?25l:[?2004h[?25hw! XXNoEol
[?25l"XXNoEol" [New File][Incomplete last line] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hset eol fixeol
[?25l[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


2 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h" try editing files with 'fixeol' disabled
[?25l[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" 1 line, 9 characterswith eol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l

stays eol[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestEol
[?25l"XXTestEol" [New File] 2 lines, 19 characters written[?25h[?25l:[?2004h[?25he! XXNoEol
[?25l"XXNoEol" [Incomplete last line] 1 line, 11 charactersout eol

~                                                                               [?25h[?2004l[?2004h[?25l

stays without[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestNoEol
[?25l"XXTestNoEol" [New File][Incomplete last line] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol XXTestEol XXTestNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fixeol
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25lTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXEol
[?25l"XXEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXNoEol
[?25l"XXNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestEol
[?25l"XXTestEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestNoEol
[?25l"XXTestNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File][?25h[?2004l[?2004h[?25l0[?25h[?25l:[?2004h[?25h$r XXEol
[?25l"XXEol" 2 lines, 13 characterswith eolEND[?25h[?25l:[?2004h[?25h$r XXNoEol
[?25l"XXNoEol" 1 line, 15 characterswithout eolEND[?25h[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXTestEol
[?25l"XXTestEol" 3 lines, 23 characterswith eolstays eolEND[?25h[?25l:[?2004h[?25h$r XXTestNoEol
[?25l"XXTestNoEol" 2 lines, 29 characterswithout eolstays withoutEND[?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 10 lines, 84 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_fixeol = test61; then \
#	  if diff test.out test_fixeol.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_fixeol.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_insertcount.failed test.ok test.out X* viminfo
cp test_insertcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_insertcount.in" 14 lines, 204 charactersTests for repeating insert and replace.



STARTTEST

:so small.vim

:/Second

4gro

:/^First/,$wq! test.out

:" get here when failed and in Insert mode

^[:.wq! test.out

ENDTEST



First line

Second line

Last line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 repeating insert and replace.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 111 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/Second
[?25l[?25h[?2004l[?2004h[?25looooecond line
ooo[?25h

Las[?25l:[?2004h[?25h/^First/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 3 lines, 36 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_insertcount = test61; then \
#	  if diff test.out test_insertcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_insertcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_listchars.failed test.ok test.out X* viminfo
cp test_listchars.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listchars.in" 54 lines, 705 charactersTests for 'listchars' display with 'list' and :list



STARTTEST

:so small.vim

:set ff=unix

:let g:lines = []

:function GetScreenCharsForLine(lnum)

:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val))')), '')

:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"

:set listchars+=tab:>-,space:.,trail:<

:set list

:

/^start:/

:normal! jzt

GG

GG

GG

GG

GGH:

:set listchars-=trail:<[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'listchars' display with 'list' and :list[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 25 lines, 431 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTGG

GG

GG

GG

GG:

:put =g:lines

:'[,']w! test.out

ENDTEST[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hlet g:lines = []
[?25l[?25h[?25l:[?2004h[?25hfunction GetScreenCharsForLine(lnum)
[?25l

:[?2004h  [?25h:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val


))'), '')


[?25l:[?2004h  [?25h:endfunction
[?25l:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"[?25h[?25l

:[?2004h[?25hnnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))


\<CR>"
[?25l:endfunction[?25h[?25l

:[?2004h[?25hset listchars+=tab:>-,space:.,trail:<
[?25l[?25h[?25l:[?2004h[?25hset list
[?25l$.<expr>.GG.":call..\\<CR>"$

:set.$

:set.list$

:$$.jzt$

GG$

GG$

GG$

GG$

GGH:$

:set.$

GG$

GG$

GG$

GG$

GG:$

:put.$.$$

$[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:$[?25h[?25l

:[?2004h[?25hnormal! jzt
[?25l>-------aa>-----$

..bb>---<<$

...cccc><$

dd........ee<<>-$

<$

$

$

STARTTEST$

:set.listchars+=trail:<$

:set.nolist$

:$

/^start:/$

:redir!.>>.test.out$

:+1,$list$

:redir.END$

:q!$

ENDTEST$

$

start:$

..fff>--<<$

>-------gg>-----$

.....h>-$

iii<<<<><<$[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset listchars-=trail:<
[?25l.....

.......>..[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hput =g:lines
[?25l10 more >-------aa>-----$$

..bb>---<<$$

...cccc><$$

dd........ee<<>-$$

<$$

>-------aa>-----$$

..bb>---..$$

...cccc>.$$

dd........ee..>-$$

.$$10 more lines[?25h[?25l:[?2004h[?25h'[,']w! test.out
[?25l"test.out" [New File] 10 lines, 124 characters written[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 93 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:+1,$list$

:redir.END$

:q!$

ENDTEST$[?25h[?25l

$[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset listchars+=trail:<
[?25l[?25h[?25l:[?2004h[?25hset nolist
[?25l   >>  [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:[?25h[?25l

:[?2004h[?25hredir! >> test.out
[?25l[?25h[?25l:[?2004h[?25h+1,$list
[?25l..fff>--<<$


>-------gg>-----$


.....h>-$


iii<<<<><<$


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l>-------aa>-----$

..bb>---..$

...cccc>.$

dd........ee..>-$

.$STARTTEST:set listchars+=trail:<

:set nolist

:

/^start:/

:redir! >> test.out+1,$listredir END

:q!ENDTESTstart:  fff

        ggh

iii   [?25h[?25l

:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_listchars = test61; then \
#	  if diff test.out test_listchars.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_listchars.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_search_mbyte.failed test.ok test.out X* viminfo
cp test_search_mbyte.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search_mbyte.in" 15 lines, 226 charactersTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 search('multi-byte char', 'bce')[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hsource small.vim
[?25l[?25h[?25l:[?2004h[?25hsource mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h/^Test bce:/+1
[?25l[?25h[?25l:[?2004h[?25h$put =search('A', 'bce', line('.'))
[?25l15[?25h[?25l:[?2004h[?25h1;/^Results:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 5 lines, 27 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_search_mbyte = test61; then \
#	  if diff test.out test_search_mbyte.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_search_mbyte.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_wordcount.failed test.ok test.out X* viminfo
cp test_wordcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_wordcount.in" 126 lines, 2815 charactersTest for wordcount() function



STARTTEST

:so small.vim

:so mbyte.vim

:set enc=utf8

:set selection=inclusive fileformat=unix fileformats=unix

:new

:fu DoRecordWin(...)

:wincmd k

:if exists("a:1")

:call cursor(a:1)

:endif

:let result=[]

:call add(result, g:test)

:call add(result, getline(1, '$'))

:call add(result, wordcount())

:wincmd j

:return result

:endfu

:fu PutInWindow(args)

:wincmd k

:%d _[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 wordcount() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 121 lines, 2753 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"


:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"

:call PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])

:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:
[?25h[?25l

:[?2004h[?25hset selection=inclusive fileformat=unix fileformats=unix
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])[2]=g:visual_statcall Log()"/^RESULT test/,$w! test.out

:qa!ENDTEST

RESULT test:

test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hfu DoRecordWin(...)
[?25l

:[?2004h  [?25h:^Iwincmd k


[?25l:[?2004h  [?25h:       if exists("a:1")


[?25l:[?2004h    [?25h:           call cursor(a:1)


[?25l:[?2004h    [?25h:       endif


[?25l:[?2004h  [?25h:       let result=[]


[?25l:[?2004h  [?25h:       call add(result, g:test)


[?25l:[?2004h  [?25h:       call add(result, getline(1, '$'))


[?25l:[?2004h  [?25h:       call add(result, wordcount())


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:       return result


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu PutInWindow(args)
[?25l

:[?2004h  [?25h:       wincmd k


[?25l:[?2004h  [?25h:       %d _


[?25l:[?2004h  [?25h:       call append(1, a:args)


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu Log()
[?25l

:[?2004h  [?25h:   $put ='----'


[?25l:[?2004h  [?25h:   $put =remove(g:log,0)


[?25l:[?2004h  [?25h:   $put =string(g:log)


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu! STL()
[?25l

:[?2004h  [?25h:    if mode() =~? 'V'


[?25l:[?2004h    [?25h:       let g:visual_stat=wordcount()


[?25l:[?2004h    [?25h:    endif


[?25l:[?2004h  [?25h:    return string(wordcount())


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet g:test="Test 1: empty window"
[?25l[?25h[?25l:[?2004h[?25hlet log=DoRecordWin()
[?25l[No Name]                                                                        test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 1: empty window

[[''], {'chars': 0, 'cursor_chars': 0, 'words': 0, 'cursor_words': 0, 'bytes': 00, 'cursor_bytes': 0}][+][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 2: some words, cursor at start"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25lone two three[+][?25h[?25l:[?2004h[?25hlet log=DoRecordWin([1,1,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 2: some words, cursor at start

[['', 'one two three'], {'chars': 15, 'cursor_chars': 1, 'words': 3, 'cursor_worrds': 0, 'bytes': 15, 'cursor_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 3: some words, cursor at end"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 3: some words, cursor at end

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 4: some words, cursor at end, ve=all"
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 4: some words, cursor at end, ve=all

[['', 'one two three'], {'chars': 15, 'cursor_chars': 15, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 15}][?25h[?25l





:[?2004h[?25hset ve=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 5: several lines with words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['one two three', 'one two three', 'one two three'])
[?25lone two threeone two three--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([4,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 5: several lines with words

[['', 'one two three', 'one two three', 'one two three'], {'chars': 43, 'cursor__chars': 42, 'words': 9, 'cursor_words': 9, 'bytes': 43, 'cursor_bytes': 42}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 6: one line with BOM set"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25l[No Name] [+]                                                                   test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset bomb
[?25l[?25h[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 2 lines, 18 characters writtenXtesta         [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 6: one line with BOM set

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 18, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25hwincmd k
[?25lXtest                                                                           test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset nobomb
[?25l[+][?25h[?25l:[?2004h[?25hw!
[?25l"Xtest" 2 lines, 15 characters written    [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 7: one line with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh'])
[?25lÄne M¤ne Müh[+]--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 7: one line with multibyte words

[['', 'Äne M¤ne Müh'], {'chars': 14, 'cursor_chars': 13, 'words': 3, 'cursor_worrds': 3, 'bytes': 17, 'cursor_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 8: several lines with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25lund raus bist dü!--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 8: several lines with multibyte words

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'cursor_chars': 31, 'wwords': 7, 'cursor_words': 7, 'bytes': 36, 'cursor_bytes': 35}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 9: visual mode, complete buffer"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 3985, 'words': 579, 'cursor_words': 560, 'bytes': 4153, 'cursor_bytes': 4007}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l 

Äne M¤ne Müh 

und raus bist dü! ds': 7, 'bytes': 36, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}[?25h[?25lÄne M¤ne Mühnd raus bist dü!3 lines yankedursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fileio.o fileio.c
let log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 9: visual mode, complete buffer

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 10: visual mode (empty)"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4170, 'words': 606, 'cursor_words': 587, 'bytes': 4342, 'cursor_bytes': 4196}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l[?25h[?25lursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 10: visual mode (empty)

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 1, 'visual_words': 0, 'visual_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 11: visual mode, single line"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4347, 'words': 632, 'cursor_words': 613, 'bytes': 4521, 'cursor_bytes': 4377}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h2
[?25l2,1,3}[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 1, 'visual_2}[?25h[?25lÄne M¤ne Mühds': 7, 'bytes': 36, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}[?25h[?25l
Äne M¤ne Mühursor_chars': 2, 'words': 7, 'cursor_words': 1, 'bytes': 36, 'cursor_bytes': 3}[?25hsor_chars': 15, 'words': 7, 'cursor_words': 4, 'bytes': 36, 'cursor_bytes': 18}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]s                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 11: visual mode, single line

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^RESULT test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 34 lines, 1905 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_wordcount = test61; then \
#	  if diff test.out test_wordcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_wordcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test11.in" 84 lines, 3366 charactersTests 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 48 lines, 2298 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" drop out when there is no gzip program
[?25l[?25h[?25l:[?2004h[?25hif !executable("gzip")
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l: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/[?25h[?25l:[?2004h[?25hlet $GZIP = ""
[?25l[?25h[?25l:[?2004h[?25hau FileChangedShell * echo "caught FileChangedShell"
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hau FileWritePre    *.gz   '[,']!gzip
[?25l[?25h[?25l:[?2004h[?25hau FileWritePost   *.gz   undo
[?25l[?25h[?25l:[?2004h[?25h/^start of testfile/,/^end of testfile/w! Xtestfile.gz
[?25l[?25h[?2004l[?2004h[?25l11 lines filtered

"Xtestfile.gz" [New File][Incomplete last line] 1 line, 111 characters written


10 more lines; before #1  0 seconds ago


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileReadPost    *.gz   '[,']!gzip -d
[?25l: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 autocommandse" Edit test.out againset nobin ff&   " use the default fileformat for writing

:wqa!ENDTESTstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx45678910

end of testfile[?25h[?25l

:[?2004h[?25h$r Xtestfile.gz                " Read and decompress the testfile
[?25l"Xtestfile.gz" [Incomplete last line] 1 line, 111 characters
[?25h[?2004l[?2004h[?25lstart of test.c

/*

 * Here is a new .c file

 */

end of test.c

start of testfile[?25h[?25l

:[?2004h[?25h?startstart?,$w! test.out      " Write contents of this file
[?25l"test.out" [New File] 29 lines, 788 characters written[?25h[?25l:[?2004h[?25hau BufNewFile      *.c    read Xtest.c
[?25l[?25h[?25l:[?2004h[?25h/^start of test.c/+1,/^end of test.c/-1w! Xtest.c
[?25lsearch hit BOTTOM, continuing at TOP"Xtest.c" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25he! foo.c                       " Will load Xtest.c
[?25l"foo.c" [New File]

"Xtest.c" 3 lines, 32 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileAppendPre   *.out  '[,']s/new/NEW/
[?25l/*

 * Here is a new .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FileAppendPost  *.out  !cat Xtest.c >>test.out
[?25l[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 4 lines, 33 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?25hau! FileAppendPre
[?25l/*

 * Here is a NEW .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" setup autocommands to decompress before reading and re-compress afterwards
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   call rename(expand("<afile>"), expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   exe '!gzip ' . shellescape(expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile.gz                " Edit compressed file
[?25l:!gzip -d 'Xtestfile.gz'


[?25h[?2004l[?2004h[?25l"Xtestfile.gz""Xtestfile.gz" 11 lines, 357 characters:!gzip 'Xtestfile'


[?25h[?2004l[?2004h[?25lcaught FileChangedShell


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 11 lines, 357 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  call rename(expand("<afile>"), expand("<afile>") . "


.t")
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !sed s/e/E/ ' . shellescape(expand("<afi


le>")) . ".t >" . shellescape(expand("<afile>"))
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !rm ' . shellescape(expand("<afile>")) .


'.t'
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPost  *.out  '[,']s/x/X/g
[?25l[?25h[?25l:[?2004h[?25he! test.out                    " Edit the output file
[?25l"test.out" 50 lines, 1242 charactersstarstart 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[?25h[?25l:[?2004h[?25h23,$!cat
[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25l218 substitutions on 15 lines


28 lines filtered


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h23,$s/\r$//                 " remove CR for when sed adds them
[?25lE486: Pattern not found: \r$

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! FileReadPre    *.gz   exe 'silent !gzip -d ' . shellescape(expand("<afile>


"))
[?25lstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxE 5  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[?25h[?25l

:[?2004h[?25hau  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau! FileReadPost   *.gz   '[,']s/l/L/
[?25l[?25h[?25l:[?2004h[?25h$r Xtestfile.gz             " Read compressed file
[?25l[?25h[?2004l[?2004h[?25l"Xtestfile.gz" 11 lines, 357 characters


11 substitutions on 11 lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw                           " write it, after filtering
[?25l"test.out"61 lines, 1599 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau!             " remove all autocommands
[?25lE216: No such group or event: " remove all autocommands


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he               " Edit test.out again
[?25l"test.out"61 lines, 1599 charactersstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"test.out" 61 lines, 1599 characters[?25h[?25l:[?2004h[?25hset nobin ff&   " use the default fileformat for writing
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 61 lines, 1599 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test11 = test61; then \
#	  if diff test.out test11.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test11.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test52.failed test.ok test.out X* viminfo
cp test52.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test52.in" 65 lines, 1645 charactersTests for reading and writing files with conversion for Win32.



STARTTEST

:so mbyte.vim

:" make this a dummy test for non-Win32 systems

:if !has("win32") | e! test.ok | wq! test.out | endif

:"

:" write tests:

:" combine three values for 'encoding' with three values for 'fileencoding'

:" also write files for read tests

/^1

:set encoding=utf-8

:.w! ++enc=utf-8 test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=utf-8 Xutf8

/^2

:set encoding=cp1251

:.w ++enc=utf-8 >>test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=cp1251 Xcp1251

/^3[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 reading and writing files with conversion for Win32.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/os_unix.o os_unix.c
[New File] 57 lines, 1333 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:e Xcp1251

:.w ++enc=cp1251 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp1251 >>test.out

:"

:" read three 'fileencoding's with cp866 'encoding'

:set encoding=cp866 fencs=utf-8,cp1251

:e Xutf8

:.w ++enc=cp866 >>test.out

:e Xcp1251

:.w ++enc=cp866 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp866 >>test.out

:"

:qa!

ENDTEST






[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" make this a dummy test for non-Win32 systems
[?25l[?25h[?25l:[?2004h[?25hif !has("win32") | e! test.ok | wq! test.out | endif
[?25l"test.ok" 18 lines, 1374 characters[?2004l


"test.out" [New File] 18 lines, 1374 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test52 = test61; then \
#	  if diff test.out test52.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test52.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test85.failed test.ok test.out X* viminfo
cp test85.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test85.in" 86 lines, 1885 charactersTest for Lua interface and luaeval() function



STARTTEST

:so small.vim

:set belloff=all

:so lua.vim

:set nocompatible viminfo+=nviminfo

:lua l = vim.list():add"item0":add"dictionary with list OK":add"item2"

:lua h = vim.dict(); h.list = l

:call garbagecollect()

/^1

:" change buffer contents

:lua curbuf = vim.buffer()

:lua curline = vim.eval"line('.')"

:lua curbuf[curline] = "1 changed line 1"

:" scalar test

:let tmp_string = luaeval('"string"')

:let tmp_1000 = luaeval('1000')

:if printf("%s%.0f", tmp_string, tmp_1000) == "string1000"

:let scalar_res = "OK"

:else

:let scalar_res = "FAILED"

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Lua interface and luaeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1792 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")

:lua d[4] = d[0]

:lua d[5] = d[1]

:lua d[6] = d[2]

:lua d[7] = d[3]

:lua d[3] = nil

:lua d[2] = nil

:lua d[1] = nil

:lua d[0] = nil

:lua d = nil

:$put =string(d)



:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso lua.vim
[?25l"test.ok" 7 lines, 206 characters


"test.out" [New File] 7 lines, 206 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test85 = test61; then \
#	  if diff test.out test85.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test85.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test86.failed test.ok test.out X* viminfo
cp test86.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test86.in" 1711 lines, 48481 charactersTests for various python features.     vim: set ft=vim :



NOTE: This will cause errors when run under valgrind.

This would require recompiling Python with:

  ./configure --without-pymalloc

See http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:if !has('python') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py import vim

:py cb = vim.current.buffer

:let l = []

:py l=vim.bindeval('l')

:py f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py l.extend([1, "as'd", [1, 2, f, {'a': 1}]])

:$put =string(l)

:$put =string(l[-1])[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1700 lines, 48188 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python') | e! test.ok | wq! test.out | endif
[?25l"test.ok" 1445 lines, 67439 characters[?2004l


"test.out" [New File] 1445 lines, 67439 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test86 = test61; then \
#	  if diff test.out test86.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test86.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test87.failed test.ok test.out X* viminfo
cp test87.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test87.in" 1720 lines, 50002 charactersTests for various python features.     vim: set ft=vim :



STARTTEST

:so small.vim

:set noswapfile

:if !has('python3') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py3 import vim

:py3 cb = vim.current.buffer

:let l = []

:py3 l=vim.bindeval('l')

:py3 f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]

:$put =string(l)

:$put =string(l[-1])

:try

:  $put =string(l[-4])

:catch

:  $put =v:exception[:13]

:endtry

:" List assignment[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1714 lines, 49918 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python3') | e! test.ok | wq! test.out | endif
[?25l"test.ok" 1445 lines, 77744 characters[?2004l


"test.out" [New File] 1445 lines, 77744 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test87 = test61; then \
#	  if diff test.out test87.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test87.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in; \
#	  fi \
#	fi"
# 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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ops.o ops.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test12.in" 52 lines, 1199 charactersTests 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 nocompatible viminfo+=nviminfo

: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/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 40 lines, 965 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:!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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het dir=.,~
[?25l[?25h[?25l:[?2004h[?25h/start of testfile/,/end of testfile/w! Xtest1
[?25l"Xtest1" [New] 4L, 70C written[?25h[?25l:[?2004h[?25h" do an ls of the current dir to find the swap file (should not be there)
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:  !ls .X*.swp >test.out


[?25l:!ls .X*.swp >test.out[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access '.X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25helse


[?25l:[?2004h  [?25h:  r !ls X*.swp >test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25h!echo first line >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70Cstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:" Do an ls of the current dir to find the swap file, remove the leading dot


[?25l:[?2004h  [?25h:" to make the result the same for all systems.


[?25l:[?2004h  [?25h:  r!ls .X*.swp
[?2004l[?2004h

[?25l:[?2004h  :[?25h  s/\.*X/X/


[?25l:[?2004h  [?25h:  .w >>test.out
[?25l"test.out" 1L, 11C appended


:[?2004h  [?25h:  undo


[?25l1 line less; before #1  0 seconds ago


:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:  !ls X*.swp >>test.out


[?25l:[?2004h  [?25h:endif
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest2
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hset dir=./Xtest2,.,~
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25h!ls X*.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access 'X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under under >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest.je
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hset dir=Xtest.je,~
[?25l[?25h[?25l:[?2004h[?25he Xtest2/Xtest3
[?25l"Xtest2/Xtest3" 4L, 70C[?25h[?25l:[?2004h[?25hswap
[?25lXtest.je/Xtest3.swp[?25h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest.je >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test12 = test61; then \
#	  if diff test.out test12.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test12.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test25.failed test.ok test.out X* viminfo
cp test25.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test25.in" 31 lines, 840 charactersTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 jumping to a tag with 'hidden' set, with symbolic link in path of tag.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 540 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" Create a link from test25.dir to the current directory.
[?25l[?25h[?25l:[?2004h[?25h!rm -f test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ln -s . test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h" Create tags.text, with the current directory name inserted.
[?25lTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST

[?25h[?25l

/[?2004h[?25htags line
[?25l

tags line:[?25h[?25l

:[?2004h[?25hr !pwd
[?25l[?25h[?2004l[?2004h[?25lSTARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST



tags line:

/<<PKGBUILDDIR>>/src/vim-basic/testdir
[?25h[?25l[?25h[?25l

/[?2004h[?25htest
[?25l

SECTION_OFF     /test25.dir/test25.in   /^#define  SECTION_OFF  3$/[?25h[?25l/<<PKGBUILDDIR>>/src/vim-basic/testdir/test25.dir/@                                                                               

SECTION_OFF     /<<PKGBUILDDIR>>/src/vim-basic/testdir/test25.dir//test25.in/^#define  SECTION_OFF  3$/[?25h[?25l



:[?2004h[?25h.w! tags.test
[?25l"tags.test" [New File] 1 line, 114 characters written[?25h[?25l:[?2004h[?25h" Try jumping to a tag in the current file, but with a path that contains a
[?25l[?25h[?25l:[?2004h[?25h" symbolic link.  When wrong, this will give the ATTENTION message.  The next
[?25l[?25h[?25l:[?2004h[?25h" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
[?25l[?25h[?25l:[?2004h[?25hset tags=tags.test
[?25l[?25h[?25l/*tx.c*/

#define  SECTION_OFF  3

#define  NUM_SECTIONS 3



SECTION_OFF[?25h#[?25lefine  SECTION_OFF  3[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 23 characters written[?25h[?25l:[?2004h[?25h!rm -f test25.dir tags.test
[?25l[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test25 = test61; then \
#	  if diff test.out test25.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test25.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test49.in" 32 lines, 705 charactersThis 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 nocp nomore viminfo+=nviminfo

:lang mess C

:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 23 lines, 475 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endfor

:for v in keys(g:)

:  silent! exe "unlet " . v

:endfor

:unlet v

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp nomore viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hang mess C
[?25l[?25h[?25l:[?2004h[?25hso test49.vim
[?25lError detected while processing function F:


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 /<<PKGBUILDDIR>>/src/vim-basic/te


stdir/test49.vim:


line  784:


E171: Missing :endif: endwhile 


*** Test  17: OK (285127993)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"/tmp/v6xEWbh/0" [New] 53L, 1582C written14L, 358C appended26L, 824C appended34L, 986C appended


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/1" 16L, 304C appended17L, 326C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/2[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/2"' -c 'breakad


dfile 8 /tmp/v6xEWbh/1' -S /tmp/v6xEWbh/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/2" 3L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/3" 6L, 127C appended7L, 149C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/4[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/4"' -c 'breakad


dfile 4 /tmp/v6xEWbh/3' -S /tmp/v6xEWbh/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/4" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/5" 21L, 486C appended22L, 508C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/6[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/6"' -c 'breakad


dfunc 7 F' -S /tmp/v6xEWbh/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/6" 3L, 18C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/7" 13L, 364C appended14L, 386C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/8[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/8"' -c 'breakad


dfunc 3 G' -S /tmp/v6xEWbh/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/8" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  18: OK (67224583)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/9" 12L, 201C appended13L, 223C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pathdef.o auto/pathdef.c

<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/10[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/10"' -S /tmp/v6xEW


bh/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/10" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/11" 12L, 205C appended13L, 227C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/12[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/12"' -S /tmp/v6xEW


bh/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/12" 2L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/13" 6L, 122C appended7L, 144C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/14[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/14"' -S /tmp/v6xEW


bh/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/14" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/15" 8L, 176C appended9L, 198C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/16[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/16"' -S /tmp/v6xEW


bh/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/16" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_gtk_x11.o gui_gtk_x11.c



:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/17" 10L, 215C appended11L, 237C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/18[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/18"' -S /tmp/v6xEW


bh/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/18" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/19" 7L, 149C appended8L, 171C8L, 170C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/20[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/20"' -S /tmp/v6xEW


bh/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/20" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  19: OK (69275973)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fold.o fold.c

<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/21" 9L, 135C appended10L, 157C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/22[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/22"' -S /tmp/v6xEW


bh/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/22" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/23" 10L, 155C appended11L, 177C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/24[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/24"' -S /tmp/v6xEW


bh/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/24" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/25" 12L, 204C appended13L, 226C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/26[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/26"' -S /tmp/v6xEW


bh/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/26" 4L, 18C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/27" 12L, 214C appended13L, 236C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/28[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hgcc -c -I. -I/usr/include/lua5.2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE   -I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread -fPIE -I/usr/include/ruby-2.3.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.3.0 -DRUBY_VERSION=23 -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/option.o option.c


[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/28"' -S /tmp/v6xEW


bh/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/28" 4L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/29" 12L, 211C appended13L, 233C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/30[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/30"' -S /tmp/v6xEW


bh/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/30" 3L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/31" 14L, 263C appended15L, 285C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/32[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/32"' -S /tmp/v6xEW


bh/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/32" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/33" 14L, 277C appended15L, 299C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/34[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/34"' -S /tmp/v6xEW


bh/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/34" 4L, 40C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  20: OK (1874575085)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/35" 58L, 1022C appended59L, 1044C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/36[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/36"' -S /tmp/v6xEW


bh/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/36" 9L, 56C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  21: OK (147932225)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/37" 23L, 418C appended24L, 440C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/38[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/38"' -S /tmp/v6xEW


bh/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/38" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/39" 23L, 437C appended24L, 459C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/40[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/40"' -c 'breaka


dd func 2 Interrupt' -S /tmp/v6xEWbh/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/40" 1L, 3C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/41" 21L, 386C appended22L, 408C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/42[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/42"' -S /tmp/v6xEW


bh/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/42" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/getchar.o getchar.c

"test49.in" 32L, 705C


*** Test  22: OK (4161)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/43" 25L, 432C appended26L, 454C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/44[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/44"' -S /tmp/v6xEW


bh/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/44" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  23: OK (49)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/45" 16L, 392C appended17L, 414C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/46[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/46"' -S /tmp/v6xEW


bh/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/46" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/v6xEWbh/47"[noeol] 17L, 552C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/v6xEWbh/47" 14L, 502C written
"test49.in" 32L, 705C

   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/v6xEWbh/48"[noeol] 13L, 406C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/v6xEWbh/48" 10L, 378C written
"test49.in" 32L, 705C

   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/v6xEWbh/49"[noeol] 13L, 409C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/v6xEWbh/49" 10L, 381C written
"test49.in" 32L, 705C

*** Test  28: OK (1996459)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_gtk_gresources.o auto/gui_gtk_gresources.c
 [readonly] 9009L, 206885C

:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/50" 39L, 721C appended40L, 743C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/v6xEWbh/51[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/51"' -S /tmp/v6xEWbh/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/51" 6L, 21C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885Ctest49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/52" 23L, 509C appended24L, 531C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perl.o auto/if_perl.c

<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/53[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/53"' -S /tmp/v6xEW


bh/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/53" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  29: OK (170428555)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/54" 60L, 1101C appended61L, 1123C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/55[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nv


iminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/55"' -


c'breakadd func 3 F' -c 'breakadd file 19 /tmp/v6xEWbh/54' -c 'breakadd file 31


/tmp/v6xEWbh/54' -S /tmp/v6xEWbh/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/55" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  30: OK (190905173)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/56" 60L, 1122C appended61L, 1144C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/57[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/57"' -S /tmp/v6xEW


bh/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/57" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  31: OK (190905173)


*** Test  32: OK (354833067)


*** Test  33: OK (1216907538)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/58" 63L, 1288C appended64L, 1310C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/59[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEW


bh/59"' -c 'breakadd func 16 C' -S /tmp/v6xEWbh/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/59" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  34: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/60" 63L, 1285C appended64L, 1307C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/61[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEW


bh/61"' -c 'breakadd func 16 B' -S /tmp/v6xEWbh/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/61" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  35: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/62" 66L, 1430C appended67L, 1452C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/63[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/


63"' -c 'breakadd func 16 R' -S /tmp/v6xEWbh/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/63" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  36: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/64" 73L, 1488C appended74L, 1510C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/65[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/65"' -c 'breakadd


func 16 F' -S /tmp/v6xEWbh/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/65" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  37: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/66[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/66" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/67[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEW


bh/67"' -c 'breakadd func 16 E' -S /tmp/v6xEWbh/66[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/67" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  38: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/68" 83L, 1538C appended84L, 1560C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/69[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -


c'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVi


mResult = "/tmp/v6xEWbh/69"' -c 'breakadd func 16 I' -c 'breakadd func 22 I' -S


/tmp/v6xEWbh/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/69" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  39: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hardcopy.o hardcopy.c

<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/70" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/71[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEW


bh/71"' -c 'breakadd func 16 T' -S /tmp/v6xEWbh/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/71" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/v6xEWbh/72"[noeol] 11L, 334C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/v6xEWbh/72" 8L, 295C written
"test49.in" 32L, 705C

   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/v6xEWbh/73"[noeol] 12L, 364C

9 substitutions on 9 lines

Pattern not found: ^\s*$
"/tmp/v6xEWbh/73" 9L, 323C written
"test49.in" 32L, 705C

   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/v6xEWbh/74"[noeol] 11L, 332C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/v6xEWbh/74" 8L, 305C written
"test49.in" 32L, 705C

*** Test  50: OK (363550045)

*** Test  51: OK (40744667)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/76" gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
2L, 41C appended3L, 63C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/v6xEWbh/77[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/77"' -S /tmp/v6xEWbh/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/77" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/75" 8L, 182C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/78" 7L, 115C appended8L, 137C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/79[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/79"' -S /tmp/v6xEWbh/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/79" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/75" 8L, 181C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/80" 12L, 180C appended13L, 202C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/81[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/81"' -S /tmp/v6xEWbh/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/81" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/75" 10L, 209C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/82" 8L, 139C appended9L, 161C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/83[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/83"' -S /tmp/v6xEWbh/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/83" 2L, 11C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/75" 10L, 217C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/84" 5L, 87C appended6L, 109C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/85[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir!


>/tmp/v6xEWbh/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin =


1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/85"' -c 'breakadd file 4 /tmp/v6xEWbh


/84' -S /tmp/v6xEWbh/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/85" 1L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/75" [noeol] 9L, 202C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/86[?2004l[?1l>[?25h[?1049l

[?2004llink.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/86" 7L, 189C appended8L, 211C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/87[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/87"' -S /tmp/v6xEWbh/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/87" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/75" 9L, 252C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/os_unix.o os_unix.c



:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/88" 7L, 199C appended8L, 221C8L, 220C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/89[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/89"' -S /tmp/v6xEWbh/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/89" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/75" 9L, 214C
"test49.in" 32L, 705C


*** Test  52: OK (1247112011)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hashtab.o hashtab.c

<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/91" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/92[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hlink.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk'
# Ensure ERM is set to a sane value for testing
[ yes != "yes" ] || flock debian env TERM=xterm /usr/bin/make -j1 -C src/vim-gtk test


[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/92"' -S /tmp/v6xEWbh/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/92" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/93" 3L, 39C appended4L, 61C


3 substitutions on 3 lines
"/tmp/v6xEWbh/93" 4L, 58C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/94[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/94"' -S /tmp/v6xEWbh/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/94" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_cscope.o if_cscope.c



:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/95" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/v6xEWbh/95" 5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/96[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/96"' -S /tmp/v6xEWbh/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/96" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/97" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/v6xEWbh/97" 4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/98[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/98"' -S /tmp/v6xEWbh/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/98" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/99" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/v6xEWbh/99" 6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/100[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/100"' -S /tmp/v6xEWbh/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/100" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/101" 1L, 9C appended2L, 31C2L, 30C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/102[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/102"' -S /tmp/v6xEWbh/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/102" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 153C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/103" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/v6xEWbh/103"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/104[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/104"' -S /tmp/v6xEWbh/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/104" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/105" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/v6xEWbh/105"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/106[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/106"' -S /tmp/v6xEWbh/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/106" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_xcmdsrv.o if_xcmdsrv.c



:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/107" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/v6xEWbh/107"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/108[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/108"' -S /tmp/v6xEWbh/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/108" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/109" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/v6xEWbh/109"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/110[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/110"' -S /tmp/v6xEWbh/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/110" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/111" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/112[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/112"' -S /tmp/v6xEWbh/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/112" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/113" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/v6xEWbh/113"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/114[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/114"' -S /tmp/v6xEWbh/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/114" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/list.o list.c
"/tmp/v6xEWbh/115" 4L, 46C appended5L, 68C


4 substitutions on 4 lines
"/tmp/v6xEWbh/115"5L, 64C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/116[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/116"' -S /tmp/v6xEWbh/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/116" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/117" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/v6xEWbh/117"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/118[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/118"' -S /tmp/v6xEWbh/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/118" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pathdef.o auto/pathdef.c



:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/119" 5L, 66C appended6L, 88C


5 substitutions on 5 lines
"/tmp/v6xEWbh/119"6L, 83C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/120[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/120"' -S /tmp/v6xEWbh/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/120" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/121" 4L, 37C appended5L, 59C


4 substitutions on 4 lines
"/tmp/v6xEWbh/121"5L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mark.o mark.c

<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/122[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/122"' -S /tmp/v6xEWbh/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/122" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 150C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/123" 4L, 41C appended5L, 63C


4 substitutions on 4 lines
"/tmp/v6xEWbh/123"5L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/124[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/v6xEWbh/124"' -S /tmp/v6xEWbh/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/124" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/90" 6L, 159C
"test49.in" 32L, 705C


*** Test  53: OK (131071)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/126" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_gtk_x11.o gui_gtk_x11.c

<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/127[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/127"' -S /tmp/v6xEWbh/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/127" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 164C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/128" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/v6xEWbh/128"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/129[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/129"' -S /tmp/v6xEWbh/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/129" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/130" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/v6xEWbh/130"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/131[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/131"' -S /tmp/v6xEWbh/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/131" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/132" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/v6xEWbh/132"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/133[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/133"' -S /tmp/v6xEWbh/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/133" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/134" 4L, 53C appended5L, 75C


4 substitutions on 4 lines
"/tmp/v6xEWbh/134"5L, 71C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/135[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/135"' -S /tmp/v6xEWbh/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/135" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/136" 5L, 62C appended6L, 84C


5 substitutions on 5 lines
"/tmp/v6xEWbh/136"6L, 79C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/137[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/137"' -S /tmp/v6xEWbh/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/137" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memline.o memline.c



:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/138" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/v6xEWbh/138"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/139[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/139"' -S /tmp/v6xEWbh/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/139" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/140" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/v6xEWbh/140"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/141[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/141"' -S /tmp/v6xEWbh/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/141" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/142" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/v6xEWbh/142"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/143[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/143"' -S /tmp/v6xEWbh/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/143" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 167C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/144" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/v6xEWbh/144"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/145[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/145"' -S /tmp/v6xEWbh/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/145" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/146" 7L, 95C appended8L, 117C


7 substitutions on 7 lines
"/tmp/v6xEWbh/146"8L, 110C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/147[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/147"' -S /tmp/v6xEWbh/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/147" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/125" 6L, 167C
"test49.in" 32L, 705C


*** Test  54: OK (2047)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/149" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/150[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/150"' -S /tmp/v6xEWbh/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/150" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 172C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/151" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/v6xEWbh/151"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/152[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/152"' -S /tmp/v6xEWbh/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/152" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/153" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/v6xEWbh/153"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/154[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/154"' -S /tmp/v6xEWbh/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/154" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/155" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/v6xEWbh/155"gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/gui_gtk_gresources.o auto/gui_gtk_gresources.c
4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/156[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/156"' -S /tmp/v6xEWbh/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/156" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/157" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/v6xEWbh/157"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/158[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hgcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perl.o auto/if_perl.c


[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/158"' -S /tmp/v6xEWbh/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/158" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/159" 1L, 10C appended2L, 32Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/menu.o menu.c
2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/160[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/160"' -S /tmp/v6xEWbh/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/160" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 166C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/161" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/v6xEWbh/161"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/162[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/162"' -S /tmp/v6xEWbh/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/162" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/163" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/v6xEWbh/163"5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/164[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/164"' -S /tmp/v6xEWbh/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/164" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/165" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/v6xEWbh/165"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/166[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/166"' -S /tmp/v6xEWbh/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/166" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/167" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/v6xEWbh/167"6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/168[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/168"' -S /tmp/v6xEWbh/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/168" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/148" 6L, 170C
"test49.in" 32L, 705C


*** Test  55: OK (1023)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/170" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/171[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/171"' -S /tmp/v6xEWbh/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/171" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/172" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/v6xEWbh/172"gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc1.o misc1.c
4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/173[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/173"' -S /tmp/v6xEWbh/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/173" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/174" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/v6xEWbh/174"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/175[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/175"' -S /tmp/v6xEWbh/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/175" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/176" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/v6xEWbh/176"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/177[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/177"' -S /tmp/v6xEWbh/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/177" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/178" 3L, 35C appended4L, 57C


3 substitutions on 3 lines
"/tmp/v6xEWbh/178"4L, 54C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/179[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o


[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/179"' -S /tmp/v6xEWbh/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/179" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/180" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/v6xEWbh/180"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/181[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/181"' -S /tmp/v6xEWbh/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/181" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/182" 4L, 47C appended5L, 69C


4 substitutions on 4 lines
"/tmp/v6xEWbh/182"5L, 65C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/183[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/183"' -S /tmp/v6xEWbh/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/183" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/184" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/v6xEWbh/184"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/185[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/185"' -S /tmp/v6xEWbh/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/185" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/186" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/v6xEWbh/186"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/187[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/v6xEWbh/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/v6xEWbh/187"' -S /tmp/v6xEWbh/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/187" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/v6xEWbh/169" 6L, 155C
"test49.in" 32L, 705C


*** Test  56: OK (511)


   function FuncException()


1      let g:exception = v:exception


   endfunction"/tmp/v6xEWbh/188" [noeol] 4L, 80C

Pattern not found: ^\s*$
"/tmp/v6xEWbh/188"1L, 36C written
"test49.in" 32L, 705C

   function FuncThrowpoint()


1      let g:throwpoint = v:throwpoint


   endfunction"/tmp/v6xEWbh/189" [noeol] 4L, 83C

Pattern not found: ^\s*$
"/tmp/v6xEWbh/189"1L, 38C written
"test49.in" 32L, 705C

   function T(arg, line)


1      if a:line == 2


2throw a:arg" in line 2


3      elseif a:line == 4


4throw a:arg" in line 4


5      elseif a:line == 6


6throw a:arg" in line 6


7      elseif a:line == 8


8throw a:arg" in line 8


9      endif


   endfunction"/tmp/v6xEWbh/190"[noeol] 12L, 341C

9 substitutions on 9 lines

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/v6xEWbh/190"link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o   -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
9L, 292C written
"test49.in" 32L, 705C

   function G(arg, line)

1      call T(a:arg, a:line)

   endfunction"/tmp/v6xEWbh/191"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/v6xEWbh/191"1L, 30C written
"test49.in" 32L, 705C

   function F(arg, line)

1      call G(a:arg, a:line)

   endfunction"/tmp/v6xEWbh/192"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/v6xEWbh/192"1L, 30C written
"test49.in" 32L, 705C

*** Test  57: OK (2147450880)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/193" 87L, 1700C appended88L, 1722C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/194[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/194"' -c 'break


add func 4 T' -S /tmp/v6xEWbh/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/194" 8L, 36C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  58: OK (624945)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/195" 293L, 5789C appended294L, 5811C


3 substitutions on 3 lines
"/tmp/v6xEWbh/195"294L, 5808C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/196[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/196"' -c 'br


eakadd file 115 /tmp/v6xEWbh/195' -c 'breakadd file 225 /tmp/v6xEWbh/195' -S /tm


p/v6xEWbh/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/196" 28L, 162C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705Clink.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk3'
# Ensure ERM is set to a sane value for testing



*** Test  59: OK (2038431743)
"/n/o/n/w/r/i/t/a/b/l/e/_/f/i/l/e"[ yes != "yes" ] || flock debian env TERM=xterm /usr/bin/make -j1 -C src/vim-gtk3 test

"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/197" 33L, 765C appended34L, 787C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/198[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/198"' -c 'break


add file 7 /tmp/v6xEWbh/197' -S /tmp/v6xEWbh/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/198" 3L, 27C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  60: OK (311511339)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/199" 115L, 2272C appended116L, 2294C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/200[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/


200"' -c 'breakadd file 8 /tmp/v6xEWbh/199' -c 'breakadd file 36 /tmp/v6xEWbh/19


9' -c 'breakadd file 40 /tmp/v6xEWbh/199' -c 'breakadd file 69 /tmp/v6xEWbh/199'


-c 'breakadd file 95 /tmp/v6xEWbh/199' -c 'breakadd file 97 /tmp/v6xEWbh/199' -


S/tmp/v6xEWbh/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"200" 14L, 81C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  61: OK (374889517)


   function F()


1      while 1


2      " Missing :endwhile


   endfunction"/tmp/v6xEWbh/201"[noeol] 5L, 73C

Pattern not found: ^\s*$
"/tmp/v6xEWbh/201"2L, 40C written
"test49.in" 32L, 705C

*** Test  62: OK (286331153)
"/i/m/p/o/s/s/i/b/l/e" Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/te


stdir/test49.vim:


line 5500:


"/i/m/p/o/s/s/i/b/l/e" E212: Can't open file for writing


*** Test  63: OK (236978127)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/202" 149L, 2828C appended150L, 2850C


6 substitutions on 6 lines
"/tmp/v6xEWbh/202"150L, 2844C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/203[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/203"' -c 'break


add file 63 /tmp/v6xEWbh/202' -S /tmp/v6xEWbh/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/203" 16L, 97C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  64: OK (1499645335)


*** Test  65: OK (70187)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/204" 78L, 1520C appended79L, 1542C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/205[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/205"' -c 'break


add func 8 F' -S /tmp/v6xEWbh/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/205" 6L, 22C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  66: OK (5464)


*** Test  67: OK (212514423)


*** Test  68: OK (212514423)


*** Test  69: OK (8995471)


*** Test  70: OK (69544277)


*** Test  71: OK (34886997)


*** Test  72: OK (1789569365)


   function F0()


   endfunction


   function F1()


   endfunction


*** Test  73: OK (9032615)
"/tmp/v6xEWbh/206" [New File]
"test49.in" 32L, 705C
"/tmp/v6xEWbh/207" [New File]
"test49.in" 32L, 705C


*** Test  74: OK (224907669)


*** Test  75: OK (2000403408)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/208" 253L, 6369C appended254L, 6391C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/209[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|


set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp


/v6xEWbh/209"' -c 'breakadd func 2 INT' -S /tmp/v6xEWbh/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/209" 28L, 167C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  76: OK (1610087935)


Error detected while processing function ERR:


line    2:


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


*** Test  77: OK (1388671)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/210" 161L, 4543C appended162L, 4565C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/211[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/211"' -S /tmp/v6xE


Wbh/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/211" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  78: OK (134217728)


Error detected while processing function NEXT:


line    1:


E121: Undefined variable: novar


E15: Invalid expression: novar | Xloop 1


E121: Undefined variable: novar


E488: Trailing characters


E108: No such variable: "novar"


E488: Trailing characters


E121: Undefined variable: novar


E15: Invalid expression: novar


E475: Invalid argument: {novar} | Xloop 1


E121: Undefined variable: novar


E15: Invalid expression:  novar


E475: Invalid argument: { novar} | Xloop 1


*** Test  79: OK (70288929)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/te


stdir/test49.vim:


line 7985:


E584: :elseif after :else: elseif 1 ||| 2


line 7995:


E584: :elseif after :else: elseif 1 ||| 2


line 8003:


E582: :elseif without :if: elseif 1 ||| 2


line 8011:


E582: :elseif without :if:     elseif 1 ||| 2


*** Test  80: OK (17895765)[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc2.o misc2.c
[?2004h
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/212" 15L, 272C appended16L, 294C16L, 293C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/213[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/213"' -S /tmp/v6xE


Wbh/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/213" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/214" 12L, 227C appended13L, 249C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/215[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/215"' -c 'break


add file 8 /tmp/v6xEWbh/214' -S /tmp/v6xEWbh/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/215" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  81: OK (387)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/216" 20L, 417C appended21L, 439C21L, 438C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/217[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/217"' -S /tmp/v6xE


Wbh/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/217" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/218" 24L, 480C appended25L, 502C25L, 501C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/219[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/219"' -S /tmp/v6xE


Wbh/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/219" 1L, 4C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/220" 17L, 390C appended18L, 412C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/221[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/221"' -c 'break


add file 7 /tmp/v6xEWbh/220' -S /tmp/v6xEWbh/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/221" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/222" 21L, 444C appended22L, 466C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/223[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/223"' -c 'break


add func 6 I' -S /tmp/v6xEWbh/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/223" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  82: OK (8454401)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/224" 17L, 307C appended18L, 329C18L, 328C written
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/225[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/225"' -S /tmp/v6xE


Wbh/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/225" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/226" 14L, 266C appended15L, 288C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/227[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/227"' -c 'break


add file 8 /tmp/v6xEWbh/226' -S /tmp/v6xEWbh/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/227" 3L, 13C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  83: OK (2835)
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/228" 154L, 3580C appended155L, 3602C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/229[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/229"' -c 'br


eakadd func 1 INT' -S /tmp/v6xEWbh/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/229" 18L, 118C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  84: OK (934782101)


TMP
"/tmp/v6xEWbh/230" [noeol] 2L, 6C/[?2004h  
"test49.in" 32L, 705C
"/n/o/n/e/x/i/s/t/e/n/t"


"/tmp/v6xEWbh/232" 1L, 1C
"test49.in" 32L, 705C


:!echo XYZ >/tmp/v6xEWbh/233[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/234" [New File]
"test49.in" 32L, 705C


*** Test  85: OK (198689)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/te


stdir/test49.vim:


line 8769:


E123: Undefined function: F


Make_all.mak[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/move.o move.c
[?2004h
"Make_all.mak" line 1 of 216 --0%-- col 1


line 8772:


E926: Current location list was changed


line 8773:


E193: :endfunction not inside a function


Error detected while processing function ExecAsScript[2]..MakeScript:


line    3:


E123: Undefined function: F[?2004l[?2004h
"/tmp/v6xEWbh/235" c[noeol] 4L, 109C


search hit BOTTOM, continuing at TOP
line   10:

E486: Pattern not found: .*F(.*)


search hit BOTTOM, continuing at TOP
line   11:

E486: Pattern not found: ^\d*\s*endfunction\>


4 substitutions on 4 lines[?2004l[?2004h
"/tmp/v6xEWbh/235"3L, 109C written
"Make_all.mak" 216L, 4391C


Error detected while processing /tmp/v6xEWbh/235:


line    1:


E492: Not an editor command: Error detected while processing function ExecAsScr


ipt[2]..MakeScript:


line    2:


E492: Not an editor command: line    3:


line    3:


E492: Not an editor command: E123: Undefined function: F


Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/te


stdir/test49.vim:


line 8779:


E130: Unknown function: F


*** Test  86: OK (0)


5

*** Test  87: OK (0)[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mbyte.o mbyte.c
[?2004h
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/v6xEWbh/0' >/tmp/v6xEWbh/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/v6xEWbh/236" 151L, 3929C appended152L, 3951C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/v6xEWbh/237[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nvimi


nfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/v6xEWbh/237"' -c


'breakadd func 5 ThrowOnInterrupt' -S /tmp/v6xEWbh/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/v6xEWbh/237" 16L, 281C
"/<<PKGBUILDDIR>>/src/vim-basic/testdir/test49.vim"
<U59NL/vim-8.0.1144/src/vim-basic/testdir/test49.vim" [readonly] 9009L, 206885C
"Make_all.mak" 216L, 4391C


*** Test  88: OK (50443995)


Press ENTER or type command to continue:[?2004h[?25h" Go back to this file and append the results from register r.
[?25l#

# Common Makefile, defines the list of tests to run.

#



# Options for protecting the tests against undesirable interaction with the

# environment

NO_PLUGINS = --noplugin --not-a-term

NO_INITS = -U NONE $(NO_PLUGINS)



# The first script creates small.vim.

SCRIPTS_FIRST = \test1.out



# Tests that run on all systems.

SCRIPTS_ALL = \test3.out \test4.out \test5.out \test7.out \test8.out \test14.out \test15.out \test19.out \[?25h[?25l:[?2004h[?25hbuf test49.in
[?25l"test49.in" 32L, 705C:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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:):  silent! exe "unlet " . v

:endfor:unlet v:qa!ENDTESTResults of test49.vim:[?25h

[?25l

83 more lines

*** Test  16: OK (8722)83 more lines[?25h[?25l:[?2004h[?25h/^Results/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 84L, 2484C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" make valgrind happy
[?25l[?25h[?25l:[?2004h[?25hredir => funclist
[?25l[?25h[?25l:[?2004h[?25hsilent func
[?25l[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hfor line in split(funclist, "\n")
[?25l

:[?2004h  [?25h:  let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')


[?25l:[?2004h  [?25h:  if name != ''


[?25l:[?2004h    [?25h:    exe "delfunc " . name


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$w! test.out

:"

:" make valgrind happy[?25h[?25l

:[?2004h[?25hfor v in keys(g:)
[?25l

:[?2004h  [?25h:  silent! exe "unlet " . v


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in[?25h[?25l

:[?2004h[?25hunlet v
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test49 = test61; then \
#	  if diff test.out test49.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test49.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test54.failed test.ok test.out X* viminfo
cp test54.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test54.in" 22 lines, 658 charactersSome tests for buffer-local autocommands



STARTTEST

:so small.vim

:e xx

:if has("vms")

: !del test.out.*

: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.oout

:else

: !rm -f test.out

: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out

:endif

:e somefile" here, autocommand for xx shall write test.out

:" but autocommand shall not apply to buffer named <buffer>:bwipe xx" here, autocommand shall be auto-deleted

:e xx" nothing shall be written

:e somefile" nothing shall be written

:qa!

ENDTEST



start of test file xx

end of test file xx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSome tests for buffer-local autocommands[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 15 lines, 555 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25he xx
[?25l"xx" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !del test.out.*


[?25l:[?2004h  [?25h: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > te


st.out


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !rm -f test.out


[?25l:!rm -f test.out[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25he somefile           " here, autocommand for xx shall write test.out 
[?25l:!echo buffer-local autommand in xx>> test.out


[?25h[?2004l[?2004h[?25l"somefile" [New File]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h                     " but autocommand shall not apply to buffer named <buffer


>[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe xx             " here, autocommand shall be auto-deleted
[?25l[?25h[?25l:[?2004h[?25he xx                 " nothing shall be written
[?25l"xx" [New File][?25h[?25l:[?2004h[?25he somefile           " nothing shall be written
[?25l"somefile" [New File][?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test54 = test61; then \
#	  if diff test.out test54.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test54.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test17.in" 135 lines, 2431 charactersTests for:

- "gf" on ${VAR},

- ":checkpath!" with various 'include' settings.



STARTTEST

:so small.vim

:if has("ebcdic")

: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}

:else

: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}

:endif

:"

:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/TDIR

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 27 lines, 564 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" 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.out

gf

:set ff=unix

:w! test.out

:brewind

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:endif
[?25l:"

:if has("unix")

:let $CDIR = "."

/CDIR[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:let $CDIR = "."


[?25l:[?2004h  [?25h/CDIR


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:if has("amiga")


[?25l:[?2004h    [?25h:let $TDIR = "/testdir"


[?25l:[?2004h    [?25h:else


[?25l:[?2004h    [?25h:let $TDIR = "."


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h/TDIR


[?25l:[?2004h  [?25h:endif
[?25l:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/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[?25h[?25l

:[?2004h[?25h" Dummy writing for making that sure gf doesn't fail even if the current
[?25l[?25h[?25l:[?2004h[?25h" file is modified. It can be occurred when executing the following command
[?25l[?25h[?25l:[?2004h[?25h" directly on Windows without fixing the 'fileformat':
[?25l[?25h[?25l:[?2004h[?25h"  > nmake -f Make_dos.mak test17.out
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 135 lines, 2431 characters written[?25h[?25l

"/<<PKGBUILDDIR>>/src/vim-basic/testdir/./test17a.in" 3 lines, 88


characters


Press ENTER or type command to continue[?25h[?25lThis file is just to test "gf" in test 17.

The contents is not important.

Just testing!

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 3 lines, 88 characters written[?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters:" 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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":e! Xdir1/dir2/foo.ai#include   "bar.a"^[:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 23 lines, 396 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!mkdir Xdir1

:!mkdir "Xdir1/dir2"

:let &include='^\s*%inc\s*/\zs[^/]\+\ze'

:function! DotsToSlashes()

:  return substitute(v:fname, '\.', '/', 'g') . '.b'

:endfunction[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' without \zs or \ze
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.a")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he! Xdir1/dir2/foo.a
[?25l"Xdir1/dir2/foo.a" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l#include   "bar.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.a" [New File] 1 line, 19 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.a
[?25l"Xdir1/dir2/bar.a" [New File][?25h[?2004l[?2004h[?25l#include      "baz.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.a" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.a
[?25l"Xdir1/dir2/baz.a" [New File][?25h[?2004l[?2004h[?25l#include"foo.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.a" [New File] 1 line, 28 characters written[?25h[?25l:[?2004h[?25he Xbase.a
[?25l"Xbase.a" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l#include    <foo.a>[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.a" [New File] 1 line, 20 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l#include    <foo.a>

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi#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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*/\zs[^/]\+\ze':function! DotsToSlashes():  return substitute(v:fname, '\.', '/', 'g') . '.b':endfunction:let &includeexpr='DotsToSlashes()'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 27 lines, 532 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!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][?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.b")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hlet &include='^\s*%inc\s*/\zs[^/]\+\ze'
[?25l: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 delete("Xdir1", "rf")

:!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][?25h[?25l:[?2004h[?25hfunction! DotsToSlashes()
[?25l

:[?2004h  [?25h:  return substitute(v:fname, '\.', '/', 'g') . '.b'


[?25l:[?2004h  [?25h:endfunction
[?25l:e Xdir1/dir2/baz.b

i%inc/foo/^[:[?25h[?25l:[?2004h[?25hlet &includeexpr='DotsToSlashes()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.b
[?25l"Xdir1/dir2/foo.b" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   /bar/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.b" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.b
[?25l"Xdir1/dir2/bar.b" [New File][?25h[?2004l[?2004h[?25l%inc      /baz/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.b" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.b
[?25l"Xdir1/dir2/baz.b" [New File][?25h[?2004l[?2004h[?25l%inc/foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.b" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.b
[?25l"Xbase.b" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    /foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.b" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    /foo/

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi%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 delete("Xdir1", "rf"):!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]:  endif[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 39 lines, 745 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and no \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.c")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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

[?25h[?25l

:[?2004h[?25hfunction! StripNewlineChar()
[?25l

:[?2004h  [?25h:  if v:fname =~ '\n$'


[?25l:[?2004h    [?25h:    return v:fname[:-2]


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  return v:fname


[?25l:[?2004h  [?25h:endfunction
[?25l:w

:e Xdir1/dir2/baz.c

i%incfoo.c^[:

:w

:e Xdir1/dir2/FALSE.c[?25h[?25l

:[?2004h[?25hlet &includeexpr='StripNewlineChar()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.c
[?25l"Xdir1/dir2/foo.c" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   bar.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.c" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.c
[?25l"Xdir1/dir2/bar.c" [New File][?25h[?2004l[?2004h[?25l%inc      baz.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.c" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.c
[?25l"Xdir1/dir2/baz.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/FALSE.c
[?25l"Xdir1/dir2/FALSE.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/FALSE.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.c
[?25l"Xbase.c" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    FALSE.c foo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    FALSE.c foo.c

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters: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[?25h[?25l:[?2004h[?25h" change "\" to "/" for Windows and fix 'fileformat'
[?25l[?25h[?25l:[?2004h[?25he test.out
[?25l"test.out" 33 lines, 655 charactersThis 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)[?25h[?25l:[?2004h[?25h%s#\\#/#g
[?25lE486: Pattern not found: \\[?25h[?25l:[?2004h[?25hset ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 33 lines, 655 characters written[?25h[?25l:[?2004h[?25hq
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test17 = test61; then \
#	  if diff test.out test17.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test17.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available.



STARTTEST

:so small.vim

:set belloff=all

:" first write three test files, one in each format

:set fileformat=unix

:set fileformats=

:/^unix/;/eof/-1w! XXUnix

:/^dos/;/eof/-1w! XXDos

:set bin noeol

:$w! XXMac

Gonoeol^[

:$w! XXEol

:set nobin eol

:enew!

:bwipe XXUnix XXDos XXMac

:" create mixed format files

:if has("vms")

: !copy XXUnix,XXDos XXUxDs.

: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 222 lines, 3609 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72

Go8^[:$r XXtt81

:$r XXtt82

Go9^[:$r XXtt91

:$r XXtt92

:$r XXtt93

Go10^[:$r XXUnix

:set nobinary ff&

:w

:qa!

ENDTEST



unix

unix

eof



dos^M

dos^M

eof



mac^Mmac^M[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" first write three test files, one in each format
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25hset fileformats=
[?25l[?25h[?25l:[?2004h[?25h/^unix/;/eof/-1w! XXUnix
[?25l"XXUnix" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25h/^dos/;/eof/-1w! XXDos
[?25l"XXDos" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25hset bin noeol
[?25l[?25h[?25l:[?2004h[?25h$w! XXMac
[?25l"XXMac" [New File][Incomplete last line] 1 line, 8 characters written[?25h[?2004l[?2004h[?25l

noeol[?25h[?25l

:[?2004h[?25h$w! XXEol
[?25l"XXEol" [New File][Incomplete last line] 1 line, 5 characters written[?25h[?25l:[?2004h[?25hset nobin eol
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l3 buffers wiped out[?25h[?25l:[?2004h[?25h" create mixed format files
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !copy XXUnix,XXDos XXUxDs.


[?25l:[?2004h  [?25h: !copy XXUnix,XXMac XXUxMac.


[?25l:[?2004h  [?25h: !copy XXDos,XXMac  XXDosMac.


[?25l:[?2004h  [?25h: !copy XXMac,XXEol  XXMacEol.


[?25l:[?2004h  [?25h: !copy XXUnix,XXDos,XXMac XXUxDsMc.


[?25l:[?2004h  [?25h:elseif has("win32")


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos XXUxDs


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXMac XXUxMac


[?25l:[?2004h  [?25h: !copy /b XXDos+XXMac XXDosMac


[?25l:[?2004h  [?25h: !copy /b XXMac+XXEol XXMacEol


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos+XXMac XXUxDsMc


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !cat XXUnix XXDos >XXUxDs


[?25l:!cat XXUnix XXDos >XXUxDs[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXMac >XXUxMac


[?25l:!cat XXUnix XXMac >XXUxMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXDos XXMac >XXDosMac


[?25l:!cat XXDos XXMac >XXDosMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXMac XXEol >XXMacEol


[?25l:!cat XXMac XXEol >XXMacEol[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXDos XXMac >XXUxDsMc


[?25l:!cat XXUnix XXDos XXMac >XXUxDsMc[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25hendif
[?25l:[?2004h[?25h"
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' empty
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUnix
[?25l"XXUnix" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" 2 lines, 10 charactersdos^M

dos^M[?25h[?25l:[?2004h[?25hw! XXtt01
[?25l"XXtt01" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line] 1 line, 8 charactersmacmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt02
[?25l"XXtt02" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=dos
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdos^Mdos^Meofmac^Mmac^M[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [CR missing][dos format] 2 lines, 10 charactersunixunix~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt11
[?25l"XXtt11" [New File][dos format] 2 lines, 12 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [dos format] 2 lines, 10 charactersdosdos[?25h[?25l:[?2004h[?25hw! XXtt12
[?25l"XXtt12" [New File][dos format] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line][dos format] 1 line, 8 charactersmac^Mmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt13
[?25l"XXtt13" [New File][dos format] 1 line, 10 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=mac
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdosdoseofmac^Jmac[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [Incomplete last line][mac format] 1 line, 10 charactersunix^Junix^J

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt21
[?25l"XXtt21" [New File][mac format] 1 line, 11 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [Incomplete last line][mac format] 3 lines, 10 charactersdos^Jdos^J[?25h[?25l:[?2004h[?25hw! XXtt22
[?25l"XXtt22" [New File][mac format] 3 lines, 11 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [mac format] 2 lines, 8 charactersmac

mac~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt23
[?25l"XXtt23" [New File][mac format] 2 lines, 8 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l^Jdos

^Jeof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to one format
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt31
[?25l"XXtt31" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt32
[?25l"XXtt32" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [mac format] 4 lines, 28 charactersunix^Junix^Jdos^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt33
[?25l"XXtt33" [New File][mac format] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters^Jdoseof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to two formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt41
[?25l"XXtt41" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt42
[?25l"XXtt42" [New File] 3 lines, 19 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [Incomplete last line][dos format] 3 lines, 18 charactersdodos

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt43
[?25l"XXtt43" [New File][dos format] 3 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=unix,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" 4 lines, 20 charactersunixunix

dos^Mdos^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt51
[?25l"XXtt51" [New File] 4 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt52
[?25l"XXtt52" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [mac format] 4 lines, 18 charactersdo^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt53
[?25l"XXtt53" [New File][mac format] 4 lines, 18 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt54
[?25l"XXtt54" [New File] 2 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" [CR missing][dos format] 4 lines, 20 charactersunixunix

dosdos

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt61
[?25l"XXtt61" [New File][dos format] 4 lines, 22 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line][CR missing][dos format] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:dos[?25h[?25l:[?2004h[?25hw! XXtt62
[?25l"XXtt62" [New File][dos format] 4 lines, 35 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt63
[?25l"XXtt63" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25he! XXMacEol
[?25l"XXMacEol" [Incomplete last line][mac format] 3 lines, 13 charactersmacmac

noeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:mac[?25h[?25l:[?2004h[?25hw! XXtt64
[?25l"XXtt64" [New File][mac format] 4 lines, 26 characters written[?25h[?25l:[?2004h[?25hbwipe XXMacEol
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to three formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt71
[?25l"XXtt71" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,dos,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt72
[?25l"XXtt72" [New File] 2 lines, 24 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac,dos,unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt81
[?25l"XXtt81" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line][mac format] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lmac,dos,unix:mac[?25h[?25l:[?2004h[?25hw! XXtt82
[?25l"XXtt82" [New File][mac format] 2 lines, 23 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h" try with 'binary' set
[?25l[?25h[?25l:[?2004h[?25hset fileformats=mac,unix,dos
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt91
[?25l"XXtt91" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt92
[?25l"XXtt92" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt93
[?25l"XXtt93" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix nobin
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXtt01
[?25l"XXtt01" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt02
[?25l"XXtt02" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt11
[?25l"XXtt11" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt12
[?25l"XXtt12" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt13
[?25l"XXtt13" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt21
[?25l"XXtt21" gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/normal.o normal.c
1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt22
[?25l"XXtt22" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt23
[?25l"XXtt23" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt31
[?25l"XXtt31" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt32
[?25l"XXtt32" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt33
[?25l"XXtt33" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt41
[?25l"XXtt41" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt42
[?25l"XXtt42" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt43
[?25l"XXtt43" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt51
[?25l"XXtt51" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt52
[?25l"XXtt52" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt53
[?25l"XXtt53" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt54
[?25l"XXtt54" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt61
[?25l"XXtt61" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt62
[?25l"XXtt62" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt63
[?25l"XXtt63" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt64
[?25l"XXtt64" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt71
[?25l"XXtt71" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt72
[?25l"XXtt72" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt81
[?25l"XXtt81" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt82
[?25l"XXtt82" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt91
[?25l"XXtt91" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt92
[?25l"XXtt92" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt93
[?25l"XXtt93" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results.
[?25l[?25h[?25l:[?2004h[?25h" Make fileformat of test.out the native fileformat.
[?25l[?25h[?25l:[?2004h[?25h" Add a newline at the end.
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25h$r XXtt01
[?25l"XXtt01" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt02
[?25l"XXtt02" 2 lines, 13 charactersmac^Mmac^MEND[?25h

[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXtt11
[?25l"XXtt11" 3 lines, 16 charactersunix^Munix^MEND[?25h[?25l:[?2004h[?25h$r XXtt12
[?25l"XXtt12" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt13
[?25l"XXtt13" 2 lines, 14 charactersmac^Mmac^M^MEND[?25h

[?2004l[?2004h[?25l

2[?25h[?25l:[?2004h[?25h$r XXtt21
[?25l"XXtt21" 3 lines, 15 charactersunixunix^MEND[?25h[?25l:[?2004h[?25h$r XXtt22
[?25l"XXtt22" 3 lines, 15 charactersdos^Mdos^M^MEND[?25h[?25l:[?2004h[?25h$r XXtt23
[?25l"XXtt23" 1 line, 12 characters

mac^Mmac^MEND[?25h[?2004l[?2004h[?25l

3[?25h[?25l

:[?2004h[?25h$r XXtt31
[?25l"XXtt31" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt32
[?25l"XXtt32" 6 lines, 36 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt33
[?25l"XXtt33" 5 lines, 32 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

4[?25h[?25l

:[?2004h[?25h$r XXtt41
[?25l"XXtt41" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt42
[?25l"XXtt42" 4 lines, 23 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt43
[?25l"XXtt43" 4 lines, 24 charactersunix

mac^Mmac^M

END

dos^M[?25h[?25ldos^M

mac^Mmac^M^M

END
[?25h[?2004l[?2004h[?25l

5[?25h[?25l

:[?2004h[?25h$r XXtt51
[?25l"XXtt51" 5 lines, 24 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt52
[?25l"XXtt52" 6 lines, 33 charactersunix

dos^M

dos^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt53
[?25l"XXtt53" 3 lines, 22 charactersunix

dos^M

dos^M

mac^Mmac^M

END

dos^M[?25h[?25l

:[?2004h[?25h$r XXtt54
[?25l"XXtt54" 3 lines, 24 charactersdos^M

mac^Mmac^MEND

unix,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

6[?25h[?25l

:[?2004h[?25h$r XXtt61
[?25l"XXtt61" 5 lines, 26 characters

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt62
[?25l"XXtt62" 5 lines, 39 charactersunix^M

dos^M

dos^M

END

dos,mac:dos^M[?25h[?25l

:[?2004h[?25h$r XXtt63
[?25l"XXtt63" 6 lines, 36 charactersunix^M

unix^M

mac^Mmac^M^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt64
[?25l"XXtt64" 1 line, 30 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

dos,mac:mac^Mmac^Mmac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

7[?25h[?25l

:[?2004h[?25h$r XXtt71
[?25l"XXtt71" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt72
[?25l"XXtt72" 3 lines, 28 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix,dos,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

8[?25h[?25l

:[?2004h[?25h$r XXtt81
[?25l"XXtt81" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt82
[?25l"XXtt82" 1 line, 27 charactersunix

dos^M

dos^M

mac^Mmac^M

END

mac,dos,unix:mac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

9[?25h[?25l

:[?2004h[?25h$r XXtt91
[?25l"XXtt91" 5 lines, 32 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt92
[?25l"XXtt92" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25l

:[?2004h[?25h$r XXtt93
[?25l"XXtt93" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

10[?25h[?25l

:[?2004h[?25h$r XXUnix
[?25l"XXUnix" 2 lines, 10 characters

unix[?25h[?25l

:[?2004h[?25hset nobinary ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 130 lines, 786 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test30 = test61; then \
#	  if diff test.out test30.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test30.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test32.in" 61 lines, 1408 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h[?25l

:so small.vim[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 28 lines, 550 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTO^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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
[?25l"Xtestfile" [New] 3L, 57C written[?25h[?25l:[?2004h[>cs[?25het belloff=all
[?25l[?25h[?25l:[?2004h[?25hse cot=
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       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

ENDTESTstart of testfile

run1run2test32.in                                                                       [?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[+][?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h[?25l3[?25h

[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) match 1 of 117-- 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[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h

[?25l:[?2004h[?25hse cpt=.,w,i
[?25l[?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 58INSERT --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 58Addinge 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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=kXtestfile
[?25l[?25h[?25l:[?2004h[?25hw Xtest11.one
[?25l"Xtest11.one" [New] 9L, 104C writtenXtest11.one+   [?25h[?25l:[?2004h[?25hw Xtest11.two
[?25l"Xtest11.two" [New] 9L, 104C written[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning dictionary: Xtestfile-match in file Xtestfile-- Keyword completion (^N^P) match 1 of 9test11[+]I[?25h [?25l-- Keyword completion (^N^P) match 1 of 9-- INSERT --[?25h[?25l-- INSERT --Xtest11
[?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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25h" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
[?25l[?25h[?25l:[?2004h[?25h" CTRL-X CTRL-F again to verify this doesn't cause trouble.
[?25l[?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 5.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 423.
Make_all.mak

run1 run2d[?25h [?25l-- INSERT --[?25h[?25l
run1 run2~                                                                               [?25h

[?25l:[?2004h[?25hse cpt=w
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=u nohid
[?25l[?25h[?25l



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h

ru[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New] 15L, 175C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test32 = test61; then \
#	  if diff test.out test32.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test32.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test59.failed test.ok test.out X* viminfo
cp test59.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 106 lines, 2520 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1










[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Don't want to depend on the locale from the environment.  The .aff and .dic
[?25l[?25h[?25l:[?2004h[?25h" text is in latin1, the test text is utf-8.
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1









[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :STARTTESTso small.vimso mbyte.vimDon't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.enc=latin1e!

:set enc=utf-8:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=$put =''

  $put ='test '. a:aff . '-' . a:dic  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest  " use that spell file[?25h[?25l:[?2004h[?25hset enc=utf-8
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset fenc=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Function to test .aff/.dic with list of good and bad words.
[?25l[?25h[?25l:[?2004h[?25hfunc TestOne(aff, dic)
[?25l

:[?2004h  [?25h  set spellfile=


[?25l:[?2004h  [?25h  $put =''


[?25l:[?2004h  [?25h  $put ='test '. a:aff . '-' . a:dic


[?25l:[?2004h  [?25h  " Generate a .spl file from a .dic and .aff file.


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'


[?25l:[?2004h  [?25h  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'


[?25l:[?2004h  [?25h  mkspell! Xtest Xtest


[?25l:[?2004h  [?25h  " use that spell file


[?25l:[?2004h  [?25h  set spl=Xtest.utf-8.spl spell


[?25l:[?2004h  [?25h  " list all valid words


[?25l:[?2004h  [?25h  spelldump


[?25l:[?2004h  [?25h  %yank


[?25l:[?2004h  [?25h  quit


[?25l:[?2004h  [?25h  $put


[?25l:[?2004h  [?25h  $put ='-------'


[?25l:[?2004h  [?25h  " find all bad words and suggestions for them


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'good:'


[?25l:[?2004h  [?25h  normal 0f:]s


[?25l:[?2004h  [?25h  let prevbad = ''


[?25l:[?2004h  [?25h  while 1


[?25l:[?2004h    [?25h    let [bad, a] = spellbadword()


[?25l:[?2004h    [?25h    if bad == '' || bad == prevbad || bad == 'badend'


[?25l:[?2004h      [?25h      break


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let prevbad = bad


[?25l:[?2004h    [?25h    let lst = spellsuggest(bad, 3)


[?25l:[?2004h    [?25h    normal mm


[?25l:[?2004h    [?25h    $put =bad


[?25l:[?2004h    [?25h    $put =string(lst)


[?25l:[?2004h    [?25h    normal `m]s


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('1', '1')
[?25l"Xtest.aff" [New File] 48 lines, 768 characters written


"Xtest.dic" [New File] 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25lthe end

uk

wrong

-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']the['put', 'uk', 'test']gebletegek[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kepereneven[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

everles gesvets etele[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l"Xtest.aff" 153 lines, 3426 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest Xtest
[?25lReading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 241 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25l-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end['put', 'uk', 'test']

the['put', 'uk', 'test']gebletegekkepereneveneverles gesvet etelekbltykk[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kprnfn[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

*fls kswts tl[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" also use an addition file
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^addstart/+1,/^addend/-1w! Xtest.utf-8.add
[?25l"Xtest.utf-8.add" [New File] 3 lines, 38 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest.utf-8.add.spl Xtest.utf-8.add
[?25lReading word file Xtest.utf-8.add ...

Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.utf-8.add.spl ...


Done!


Estimated runtime memory use: 145 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset spellfile=Xtest.utf-8.add
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"[?25h[?25l/[?2004h[?25h^test2:
[?25ltomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !![?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25linputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_us.utf-8.spl
[?25l[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lcomment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hset spl=Xtest_gb.utf-8.spl
[?25lelequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_nz.utf-8.spl
[?25lelequint

elekwint

elekwint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lOk

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_ca.utf-8.spl
[?25lelequint

elekwint

elekwint



elequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25ltest

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hunlet str a
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Postponed prefixes
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('2', '1')
[?25l"Xtest.aff" 46 lines, 461 characters written


"Xtest.dic" 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 102 nodes; 92 (90%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 525 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25laddstart

/regions=usgbnz

elequint/2

elekwint/3

addend



1good: wrong OK puts. Test the end

bad:  inputs comment ok Ok. test déôl end the

badend



2good: puts

bad: inputs comment ok Ok end the. test déôl

badendTest rules for compounding.3affstart

SET ISO8859-1COMPOUNDMIN 3

COMPOUNDRULE m*

NEEDCOMPOUND x

3affend[?25h[?25l:[?2004h[?25h" Compound words
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('3', '3')
[?25l"Xtest.aff" 5 lines, 60 characters written


"Xtest.dic" 5 lines, 29 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 31 nodes; 25 (80%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 125 bytes


3 lines yanked


3 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('4', '4')
[?25l"Xtest.aff" 45 lines, 559 characters written


"Xtest.dic" 8 lines, 59 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


12 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('5', '5')
[?25l"Xtest.aff" 25 lines, 237 characters written


"Xtest.dic" 6 lines, 57 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 107 nodes; 88 (82%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('6', '6')
[?25l"Xtest.aff" 23 lines, 211 characters written


"Xtest.dic" 6 lines, 53 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('7', '7')
[?25l"Xtest.aff" 26 lines, 338 characters written


"Xtest.dic" 6 lines, 67 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 91 nodes; 72 (79%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaébar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h" clean up for valgrind
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestOne
[?25l[?25h[?25l:[?2004h[?25hset spl= enc=latin1
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaé bar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^test output:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 270 lines, 3685 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test59 = test61; then \
#	  if diff test.out test59.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test59.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test72.failed test.ok test.out X* viminfo
cp test72.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test72.in" 146 lines, 2107 charactersTests for undo file.

Since this script is sourced we need to explicitly break changes up in

undo-able pieces.  Do that by setting 'undolevels'.



STARTTEST

:so small.vim

:set belloff=all

:"

:" Test 'undofile': first a simple one-line change.

:set nocompatible viminfo+=nviminfo visualbell

:set ul=100 undofile nomore

:e! Xtestfile

ggdGithis is one line^[:set ul=100

:s/one/ONE/

:set ul=100

:w

:bwipe!

:e Xtestfile

u:.w! test.out

:"

:" Test 'undofile', change in original file fails check

:set noundofile

:e! Xtestfile[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 undo file.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 135 lines, 1910 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar

:.w >>test.out

u:.w >>test.out

u:.w >>test.out

u:.w >>test.out

:"

:" Rename the undo file so that it gets cleaned up.

:if has("vms")

: call rename("_un_Xtestfile", "Xtestundo")

:else

: call rename(".Xtestfile.un~", "Xtestundo")

:endif

:qa!

ENDTEST



1111 -----

2222 -----



123456789[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile': first a simple one-line change.
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo visualbell
[?25l[?25h[?25l:[?2004h[>cs[?25het ul=100 undofile nomore
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l-- INSERT --this is one line[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hs/one/ONE/
[?25lONE
[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" [New] 1L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 change; before #2  0 seconds agoone
[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New] 1L, 17C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', change in original file fails check
[?25l[?25h[?25l:[?2004h[?25hset noundofile
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 1L, 17CONE
[?25h[?25l:[?2004h[?25hs/line/Line/
[?25lL
[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 1L, 17C written[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE Line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25lAlready at oldest change[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 17C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', add 10 lines, delete 6 lines, undo 3
[?25l[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --one

twothreefourfivesixseveneightnineten[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 4L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 4L, 17Conetwonineten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 7L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that reading the undofiles when setting undofile works
[?25l[?25h[?25l:[?2004h[?25hset noundofile ul=0
[?25l[?25h[?25l-- INSERT --six
u[?25hs[?25l[?25h[?25l1 line less; before #8  0 seconds ago

~                                                                               [?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cnine

ten~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile ul=100
[?25l[?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l1 more line; before #4  0 seconds agofive[?25h[?25l1 more line; before #3  0 seconds agofour[?25h[?25l1 more line; before #2  0 seconds agothree[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 10L, 49C appended[?25h[?25l:[?2004h[?25h" And now with encryption, cryptmethod=zip
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cninten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile cm=zip
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l-- INSERT --monday

tuesdaywednesdaythursdayfriday[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25lmonday

friday

~                                                                               [?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [crypted] 2L, 14C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [crypted] 2L, 14Cmonday

friday

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [crypted] 2L, 14C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l1 more line; before #11  0 seconds agothursday[?25h[?25l1 more line; before #10  0 seconds agowednesday[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 4L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][crypted] 1L, 14C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25ljan

feb

bar apr[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [blowfish] 4L, 20Cjan

feb

bar apr

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #15  1 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #14  1 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #13  1 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish2
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******


[?25l"Xtestfile" [noeol][blowfish] 1L, 20C^R~GAEk^X~^^L^Z~G]ol^M~N^L^R~SAE

~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][blowfish] 1L, 20C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish2 ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lEnter encryption key:[?2004h [?25h*******


[?25lEnter same key again:[?2004h [?25h*******


[?25ljan

feb[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish2] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Enter encryption key:[?2004h [?25h*******


[?25l"Xtestfile" [blowfish2] 4L, 20Cjan

feb

bar ap

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish2] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #19  0 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #18  0 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #17  0 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Rename the undo file so that it gets cleaned up.
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: call rename("_un_Xtestfile", "Xtestundo")


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: call rename(".Xtestfile.un~", "Xtestundo")


[?25l:[?2004h  [?25h:endif
[?25ljan

feb

mar

apr[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test72 = test61; then \
#	  if diff test.out test72.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test72.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test78.failed test.ok test.out X* viminfo
cp test78.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test78.in" 46 lines, 1476 charactersInserts 10000 lines with text to fill the swap file with two levels of pointer

blocks.  Then recovers from the swap file and checks all text is restored.



We need about 10000 lines of 100 characters to get two levels of pointer

blocks.



STARTTEST

:so small.vim

:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all

:e! Xtest

ggdG

:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01223456789abcdefghijklmnoparstuvwxyz0123456789"

:let i = 1

:let linecount = 10000

:while i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile

:preserve

:" get the name of the swap file

:redir => swapname

:swapname

:redir END

:let swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][::cntrl:]]*$', '\1', '')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lInserts 10000 lines with text to fill the swap file with two levels of pointer[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1220 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:set nobin

:new

:only!

:bwipe! Xtest

:call rename('Xswap', swapname)

:recover Xtest

:call delete(swapname)

:new

:call append(0, 'recovery start')

:wincmd w

:let linedollar = line('$')

:if linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected "" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let linnecount = linedollar | endif

:let i = 1

:while i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appendd(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile

:q!

:call append(line('$'), 'recovery end')

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all
[?25l[?25h[?25l:[?2004h[>ce[?25h! Xtest
[?25l"Xtest" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01


23456789abcdefghijklmnoparstuvwxyz0123456789"
[?25l[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hlet linecount = 10000
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899991    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899992    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899993    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899994    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899995    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899996    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899997    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899998    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789[?25h[?25l:[?2004h[?25hpreserve
[?25lFile preserved[?25h[?25l:[?2004h[?25h" get the name of the swap file
[?25l[?25h[?25l:[?2004h[?25hredir => swapname
[?25l[?25h[?25l:[?2004h[?25hswapname
[?25l.Xtest.swp[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hlet swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][


:cntrl:]]*$', '\1', '')
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899a[?25h[?25l

:[?2004h[?25h" make a copy of the swap file in Xswap
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hexe 'sp ' . swapname
[?25l".Xtest.swp"[noeol] 611L, 1224704Cb0VIM 8.0^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@~]e^@^@buildd^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@mb-lxc-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-basic/testtdir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^.Xtest.swp                                                                      799a

999899a

999999a

1000099a~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hw! Xswap
[?25l"Xswap" [New][noeol] 611L, 1224704C written[?25h[?25l:[?2004h[?25hecho swapname
[?25l.Xtest.sw[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       b0VIM 8.0^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@~]e^@^@buildd^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@mb-lxc-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-basic/testtdir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^.Xtest.swp                                                                      9999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

10000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789



~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe! Xtest
[?25l[?25h[?25l:[?2004h[?25hcall rename('Xswap', swapname)
[?25l[?25h[?25l:[?2004h[?25hrecover Xtest
[?25lUsing swap file ".Xtest.swp"


Original file "/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xtest"


"/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xtest" [New File]Recovery completed. You should check if everything is OK.


(You might want to write out this file under another name


and run diff with the original file to check for changes)


You may want to delete the .swp file now.






Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall delete(swapname)
[?25l1abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

2abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

3abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

4abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

5       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567896       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567897       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567898       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678911      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678912      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@                                                                               [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       199a

299a

399a

4 99a

5 99a

Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hcall append(0, 'recovery start')
[?25lrecovery start[+][?25h[?25l:[?2004h[?25hwincmd w
[?25l[No Name] [+]                                                                    Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hlet linedollar = line('$')
[?25l[?25h[?25l:[?2004h[?25hif linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected 


" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let li


necount = linedollar | endif
[?25lrecovery start[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appen


d(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
[?25lrecovery start[?25h[?25l:[?2004h[?25hq!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hcall append(line('$'), 'recovery end')
[?25lrecovery end[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New] 3L, 29C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test78 = test61; then \
#	  if diff test.out test78.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test78.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test83.failed test.ok test.out X* viminfo
cp test83.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test83.in" 76 lines, 1273 charactersTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 tag search with !_TAG_FILE_ENCODING.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 58 lines, 1021 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h[?25l:[?2004h[?25hif !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
[?25l"Xtags1.txt" [New File] 2 lines, 35 characters written[?25h[?25l:[?2004h[?25h/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
[?25l"Xtags2.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
[?25l"Xtags3.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^tags1$/+1,/^tags1-end$/-1w! Xtags1
[?25l"Xtags1" [New File] 2 lines, 81 characters written[?25h[?25l:[?2004h[?25h[?25l[?25h[?25lTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hcall setline('.', 'Results of test83')
[?25lResults of test83
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case1:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l[No Name]                                                                       Results of test83test83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=Xtags1
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abcdefghijklmnopqrs
[?25l"Xtags1.txt" 2 lines, 35 characterstext for tags1

abcdefghijklmnopqrsXtags1.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'abcdefghijklmnopqrs'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case2:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               [No Name]                                                                       Results of test83case1: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags2
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag /.BC
[?25l"Xtags2.txt" 2 lines, 25 characterstext for tags2

ABCXtags2.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case3:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               [No Name]                                                                       case1: okcase2: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags3
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abc50
[?25l"Xtags3.txt" 2 lines, 25 characterstext for tags3

ABCXtags3.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

case3: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 4 lines, 48 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test83 = test61; then \
#	  if diff test.out test83.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test83.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arabic.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arabic.vim" 613 lines, 18247 characters


Executing Test_arabic_input()!ﻡﻼﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 !مالس                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_arabic_toggle()


Executing Test_arabic_toggle_keymap()٢١21٢١                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_delcombine()ﻞﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_final()ﻶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_isolated()ﻵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final()ﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺾﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final_to_medial()ﺐﺊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺔ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺬ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺐ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺶ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺺ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺾ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻂ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻒ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_initial()ﻎﺋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺿ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_iso_to_medial()ﻍﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻀﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_isolated()ﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺽ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 "test_arabic.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [New File][New] 15L, 422C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arglist.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arglist.vim" 358 lines, 7814 characters


Executing Test_arg_all_expand()
"notexist" [New File]

Executing Test_argadd()
"a" [New File]bababababdsome file" [New File]


Executing Test_argc()
"a" [New File]

Executing Test_argdelete()
"a" [New File]a" [New File]
"bb


Executing Test_argedit()
"a" [New File]baCcx


"x" [New File]


Executing Test_argidx()
"a" [New File]c


"a" [New File]
"bc


Executing Test_arglist_autocmd()
"Xxx1" 1L, 15C
"Xxx21L, 15C1L, 15C
"Xxx1" line 1 of 1 --100%-- col 1 ((3) of 2)
"Xxx21 of 2)

3 buffers wiped out


Executing Test_arglistid()
"a" [New File]

Executing Test_argpos()
"a" [New File]d


"c" [New File]
"ba


"d" [New File]
"a


Executing Test_argument()
"d" [New File]cbafile] --No lines in buffer-- (1 of 4)
"c3


a b [c] d
"c" [New File]


"x" [New File]
"z


Executing Test_argv()
"a" [New file] --No lines in buffer--


Executing Test_zero_argadd()
"b" [New file] --No lines in buffer-- (2 of 4)
"aFbedited" [New File]
"a" [New File]file with spaces" [New File]
"test_arglist.r[New] 0L, 0C written


Executed 12 tests
"messages" 15L, 422C30L, 779C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_assert.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_assert.vim" 147 lines, 3536 characters


Executing Test_assert_equal()


Executing Test_assert_exception()


Executing Test_assert_fail_fails()


Executing Test_assert_false()


Executing Test_assert_inrange()


Executing Test_assert_notequal()


Executing Test_assert_report()


Executing Test_assert_true()


Executing Test_assert_with_msg()


Executing Test_compare_fail()


Executing Test_match()


Executing Test_notmatch()


Executing Test_override()


Executing Test_user_is_happy()




oooo$$$$$$$$$$$$oooo


oo$$$$$$$$$$$$$$$$$$$$$$$$o


oo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$oo$   $$ o$


     o $ ooo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o$$ $$ $$o$


  oo $ $ "$      o$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$o$$$o$$o$


  "$$$$$$o$     o$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$o    $$$$$$$$


    $$$$$$$    $$$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$$$$$$$$$$$$$$


    $$$$$$$$$$$$$$$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$$$$$$  """$$$


     "$$$""""$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$


      $$$   o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$o


     o$$"   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o


     $$$    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$ooooo$$$$o


    o$$$oooo$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$   o$$$$$$$$$$$$$$$$$


    $$$$$$$$"$$$$   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     $$$$""""""""


   """"$$$$    "$$$$$$$$$$$$$$$$$$$$$$$$$$$$"      o$$$


"$$$o     """$$$$$$$$$$$$$$$$$$"$$"$$$


$$$o"$$""$$$$$$""""o$$$


$$$$oo$$$"


"$$$$o      o$$$$$$o"$$$$oo$$$$


"$$$$$oo     ""$$$$o$$$$$o   o$$$$""


""$$$$$oooo  "$$$o$$$$$$$$$"""


""$$$$$$$oo $$$$$$$$$$


""""$$$$$$$$$$$


$$$$$$$$$$$$


$$$$$$$$$$"


"$$$""""


[?25h[?2004l[?2004h[?25lExecuting Test_wrong_error_type()
"test_assert.res" [New File][New] 0L, 0C written


Executed 15 tests
"messages" 30L, 779C48L, 1277C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autochdir.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autochdir.vim" 17 lines, 332 characters


Executing Test_set_filename()
"samples/Xtest" [New] 0L, 0C written
"test_autochdir.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"48L, 1277C52L, 1349C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autocmd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_BufEnter()
"NewFile" [New File]Xdir" is a directory


Executing Test_BufleaveWithDelete()
"Xfile1" [New File]

Executing Test_OptionSet()


Executing Test_OptionSet_diffmode()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_OptionSet_diffmode_close()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_augroup_deleted()


W19: Deleting augroup that is still in use
Executing Test_augroup_warning()

W19: Deleting augroup that is still in useentering


Executing Test_autocmd_bufunload_avoiding_SEGV_01()


"aa.txt" [New File]


"bb.txt" [New File]


Executing Test_autocmd_bufunload_avoiding_SEGV_02()[?2004l[?2004h


"a.txt" [New File]


"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_autocmd_bufunload_with_tabnext()


Executing Test_autocmd_bufwinleave_with_tabfirst()


"a.txt" [New File]


Executing Test_autocmd_bufwipe_in_SessLoadPost()[?2004l[?2004h


Executing Test_autocmd_bufwipe_in_SessLoadPost2()[?2004l[?2004h


Executing Test_bufunload()


Executing Test_cursorhold_insert()[?2004l[?25h[?2004h[?25l_ctrl_x()[?2004l[?25h[?2004h[?25learly_bar()

Executing Test_empty_doau()


No matching autocommands


Executing Test_three_windows()


"Xtestje1" [New File]


"Xtestje1" [New File] 1 line, 8 characters written


"Xtestje2" [New File]


"Xtestje2" [New File] 1 line, 8 characters written


"Xtestje3" [New File]


"Xtestje3" [New File] 1 line, 8 characters written


"Xtestje1" 1 line, 8 characters


"Xtestje3" 1 line, 8 characters


"Xtestje2" 1 line, 8 characters


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


Already only one window
"help.txt" [readonly] 225 lines, 8437 characters


Executing Test_vim_did_enter()


Executing Test_win_tab_autocmd()


"somefile" [New File]


"test_autocmd.res" [New File][?2004l


"test_autocmd.res" [New File] 0 lines, 0 characters written


Executed 21 tests


"messages" 52 lines, 1349 characters


"messages" 76 lines, 2180 characters written


[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_backspace_opt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_backspace_opt.vim" 59 lines, 1673 characters


Executing Test_backspace_option()
"test_backspace_opt.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"76L, 2180C80L, 2260C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_breakindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_breakindent.vim" 298 lines, 7493 characters


Executing Test_breakindent01()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    qrstuvwxyzABCDEF|

    GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent02()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    >>qrstuvwxyzABCD|

    >>EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent03()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

++  qrstuvwxyzABCDEF|

++  GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent04()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

  qrstuvwxyzABCDEFGH|

  IJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent05()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|qrstuvwxyzABCD|EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent06()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

   qrstuvwxyzABCDEFG|

   HIJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

?mnopqrstuvw|

?xyzABCDEFGH|

?IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

    ?    mnopqrstuvw|

    ?    xyzABCDEFGH|

    ?    IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

    #  opqrstuvwxyzA|

    #  BCDEFGHIJKLMN|

    #  OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent09()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

       #opqrstuvwxyz|

       #ABCDEFGHIJKL|

       #MNOP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent10()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2 abcdefgh|

~ijklmnop|

~qrstuvwx|

~yzABCDEF|

~GHIJKLMN|

~OP      ||||~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent11()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent12()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                             1 |

 2 >--->--->--->--->|

   ---{      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        {~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent13()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent14()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

e|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  e~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent15()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |1234567890|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  1234567890~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent16()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            ~                   

~                   

~                   

~                   

~                   

                    7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

"test_breakindent.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 80L, 2260C101L, 2866C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_bufwintabinfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_bufwintabinfo.vim" 116 lines, 3459 characters


Executing Test_get_buf_options()


Executing Test_get_win_options()


Executing Test_getbufwintabinfo()
"Xtestfile1" [New File]212


Already only one window
"test_bufwintabinfo.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"101L, 2866C107L, 3013C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cdo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cdo.vim" 205 lines, 5116 characters


Executing Test_cdo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2


Executing Test_ldo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2
"test_cdo.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"107L, 3013C112L, 3092C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_channel.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_channel.vim" 1761 lines, 51515 characters
"test_channel.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"112L, 3092Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ops.o ops.c
115L, 3132C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_charsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_charsearch.vim" 62 lines, 1475 characters


Executing Test_charsearch()


Executing Test_search_cmds()
"test_charsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"115L, 3132C120L, 3233C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cindent.vim" 105 lines, 2962 characters


Executing Test_cindent_expr()rawstring()o_extern_c()6 lines to indent... 7indented 6to indent...
7indented Executing Test_cino_hash()
"test_cindent.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"120L, 3233C127L, 3397C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_clientserver.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_clientserver.vim" 108 lines, 3648 characters
"test_clientserver.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"127L, 3397C130L, 3442C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cmdline.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cmdline.vim" 434 lines, 12686 characters


Executing Test_cmdline_complete_user_cmd():[?2004hFoo ...blue
:"Foo blue
:"
:[?2004hFoo b...lue
:"Foo blue
:"


Executing Test_cmdline_complete_wildoptions()
"help.txt" [readonly] 225L, 8437C:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V


IMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ')


'. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeym


ap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape


''ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave


''autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backu


pcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloo


nexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh'


'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakind


ent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' '


bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit'


'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys'


'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheigh


t' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'comm


entstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor'


'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpopti


ons' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cs


coperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf'


'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorlin


e' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionar


y' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy'


'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'em"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $VIMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ') '. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeymap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape' 'ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave' 'autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backupcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloonexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh' 'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakindent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' 'bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit' 'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys' 'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheight' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'commentstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor' 'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpoptions' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cscoperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf' 'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorline' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionary' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy' 'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'e
:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V
:"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $
:"


Executing Test_cmdline_search_range()


search hit BOTTOM, continuing at TOP
Executing Test_complete_list():[?2004he test


test1.intest_bufline.vim


test1.oktest_bufwintabinfo.res


test1.outtest_bufwintabinfo.vim


test108.intest_cd.vim


test108.oktest_cdo.res


test108.outtest_cdo.vim


test11.intest_changedtick.vim


test11.oktest_changelist.in


test11.outtest_changelist.ok


test12.intest_changelist.out


test12.oktest_channel.py


test12.outtest_channel.res


test14.intest_channel.vim


test14.oktest_channel_pipe.py


test14.outtest_channel_write.py


test15.intest_charsearch.res


test15.oktest_charsearch.vim


test15.outtest_charsearch_utf8.vim


test17.intest_cindent.res


test17.oktest_cindent.vim


test17.outtest_clientserver.res


test17a.intest_clientserver.vim


test19.intest_close_count.in


test19.oktest_close_count.ok


test19.outtest_close_count.out


test20.intest_cmdline.vim


test20.oktest_command_count.vim


test20.outtest_comparators.vim


test25.intest_crypt.vim


test25.oktest_cscope.vim


test25.outtest_cursor_func.vim


test28.intest_curswant.vim


test28.oktest_delete.vim


test28.outtest_diffmode.vim


test29.intest_digraph.vim


test29.oktest_display.vim


test29.outtest_edit.vim


test3.intest_erasebackword.in


test3.oktest_erasebackword.ok


test3.outtest_erasebackword.out


test30.intest_escaped_glob.vim


test30.oktest_eval.in


test30.outtest_eval.ok


test31.intest_eval.out


test31.oktest_eval_func.vim


test31.outtest_ex_undo.vim


test32.intest_ex_z.vim


test32.oktest_exec_while_if.vim


test32.outtest_execute_func.vim


test33.intest_exists_autocmd.vim


test33.oktest_expand.vim


test33.outtest_expand_dllpath.vim


test34.intest_expr.vim


test34.oktest_expr_utf8.vim


test34.outtest_farsi.vim


test36.intest_feedkeys.vim


test36.oktest_file_perm.vim


test36.outtest_file_size.vim


test37.intest_fileformat.vim


test37.oktest_filetype.vim


test37.outtest_filter_cmd.vim


test38.intest_filter_map.vim


test38.oktest_findfile.vim


test38.outtest_fixeol.in


test39.intest_fixeol.ok


test39.oktest_fixeol.out


test39.outtest_float_func.vim


test4.intest_fnameescape.vim


test4.oktest_fnamemodify.vim


test4.outtest_fold.vim


test40.intest_functions.vim


test40.oktest_ga.vim


test40.outtest_getcwd.vim


test41.intest_getvar.vim


test41.oktest_gf.vim


test41.outtest_glob2regpat.vim


test42.intest_global.vim


test42.oktest_gn.vim


test42.outtest_goto.vim


test43.intest_gui.vim


test43.oktest_gui_init.vim


test43.outtest_hardcopy.vim


test44.intest_help.vim


test44.oktest_help_tagjump.vim


test44.outtest_hide.vim


test45.intest_highlight.vim


test45.oktest_history.vim


test45.outtest_hlsearch.vim


test48.intest_increment.vim


test48.oktest_increment_dbcs.vim


test48.outtest_insertcount.in


test49.intest_insertcount.ok


test49.oktest_insertcount.out


test49.outtest_job_fails.vim


test49.vimtest_join.vim


test5.intest_json.vim


test5.oktest_jumps.vim


test5.outtest_lambda.vim


test50.intest_langmap.vim


test50.oktest_largefile.vim


test52.intest_let.vim


test52.oktest_lineending.vim


test52.outtest_lispwords.vim


test53.intest_listchars.in


test53.oktest_listchars.ok


test53.outtest_listchars.out


test54.intest_listlbr.vim


test54.oktest_listlbr_utf8.vim


test54.outtest_lua.vim


test55.intest_makeencoding.py


test55.oktest_makeencoding.vim


test55.outtest_man.vim


test59.intest_maparg.vim


test59.oktest_mapping.vim


test59.outtest_marks.vim


test60.intest_match.vim


test60.oktest_matchadd_conceal.vim


test60.outtest_matchadd_conceal_utf8.vim


test60.vimtest_menu.vim


test64.intest_messages.vim


test64.oktest_mksession.vim


test64.outtest_mksession_utf8.vim


test66.intest_nested_function.vim


test66.oktest_netbeans.py


test66.outtest_netbeans.vim


test68.intest_normal.vim


test68.oktest_number.vim


test68.outtest_options.vim


test69.intest_packadd.vim


test69.oktest_partial.vim


test69.outtest_paste.vim


test7.intest_perl.vim


test7.oktest_plus_arg_edit.vim


test7.outtest_popup.vim


test70.intest_preview.vim


test70.oktest_profile.vim


test70.outtest_put.vim


test72.intest_python2.vim


test72.oktest_python3.vim


test72.outtest_pyx2.vim


test73.intest_pyx3.vim


test73.oktest_quickfix.vim


test73.outtest_quotestar.vim


test77a.intest_recover.vim


test77a.oktest_regex_char_classes.vim


test78.intest_regexp_latin.vim


test78.oktest_regexp_utf8.vim


test78.outtest_registers.vim


test79.intest_reltime.vim


test79.oktest_retab.vim


test79.outtest_ruby.vim


test8.intest_scrollbind.vim


test8.oktest_search.vim


test8.outtest_search_mbyte.in


test83-tags2test_search_mbyte.ok


test83-tags3test_search_mbyte.out


test83.intest_searchpos.vim


test83.oktest_set.vim


test83.outtest_sha256.vim


test85.intest_short_sleep.py


test85.oktest_signs.vim


test85.outtest_smartindent.vim


test86.intest_sort.vim


test86.oktest_source_utf8.vim


test86.outtest_spell.vim


test87.intest_startup.vim


test87.oktest_startup_utf8.vim


test87.outtest_stat.vim


test88.intest_statusline.vim


test88.oktest_substitute.vim


test88.outtest_syn_attr.vim


test94.intest_syntax.vim


test94.oktest_system.vim


test94.outtest_tabline.vim


test95.intest_tabpage.vim


test95.oktest_tagcase.vim


test95.outtest_tagjump.vim


test99.intest_taglist.vim


test99.oktest_tcl.vim


test99.outtest_terminal.vim


test_alot.vimtest_terminal_fail.vim


test_alot_latin.vimtest_textobjects.vim


test_alot_utf8.vimtest_timers.vim


test_arabic.restest_true_false.vim


test_arabic.vimtest_undo.vim


test_arglist.restest_unlet.vim


test_arglist.vimtest_usercommands.vim


test_assert.restest_utf8.vim


test_assert.vimtest_utf8_comparisons.vim


test_assign.vimtest_viminfo.vim


test_autochdir.restest_vimscript.vim


test_autochdir.vimtest_virtualedit.vim


test_autocmd.restest_visual.vim


test_autocmd.vimtest_winbar.vim


test_autoformat_join.intest_window_cmd.vim


test_autoformat_join.oktest_window_id.vim


test_autoformat_join.outtest_windows_home.vim


test_backspace_opt.restest_wordcount.in


test_backspace_opt.vimtest_wordcount.ok


test_breakindent.restest_wordcount.out


test_breakindent.vimtest_writefile.vim


:e test
"test" [New File]


Executing Test_complete_tab():[?2004he Xtest...file
"Xtestfile" 1L, 9C


Executing Test_complete_wildmenu():[?2004he Xtest...file1...


Xtestfile1  Xtestfile2                                                          :e Xtest...Xtestfile1 file1...Xtestfile1Xtestfile2 2:te Xtestfile2"Xtestfile2" 1L, 10C

Executing Test_expand_star_star():[?2004hfind **/fileXname...a/b/fileXname
"a/b/fileXname" 1L, 9C
"Xtestfile2" [New File]


Executing Test_expr_completion():[?2004hlet a =  getl...ine(
:"let a =  getline(
:"
:[?2004hif getl...ine(
:"if getline(
:"
:[?2004helseif getl...ine(
:"elseif getline(
:"
:[?2004hwhile getl...ine(
:"while getline(
:"
:[?2004hfor getl...ine(
:"for getline(
:"
:[?2004hecho getl...ine(
:"echo getline(
:"
:[?2004hechon getl...ine(
:"echon getline(
:"
:[?2004hexecute getl...ine(
:"execute getline(
:"
:[?2004hechomsg getl...ine(
:"echomsg getline(
:"
:[?2004hechoerr getl...ine(
:"echoerr getline(
:"
:[?2004hcall getl...ine(
:"call getline(
:"
:[?2004hreturn getl...ine(
:"return getline(
:"
:[?2004hcexpr getl...ine(
:"cexpr getline(
:"
:[?2004hcaddexpr getl...ine(
:"caddexpr getline(
:"
:[?2004hcgetexpr getl...ine(
:"cgetexpr getline(
:"
:[?2004hlexpr getl...ine(
:"lexpr getline(
:"
:[?2004hladdexpr getl...ine(
:"laddexpr getline(
:"
:[?2004hlgetexpr getl...ine(
:"lgetexpr getline(
:"


Executing Test_getcmdtype():[?2004hMyCmd a"=[?2004hCheck_cmdline(':')
:MyCmd a:[?2004hdebug echo 'test'
[?2004hEntering Debug mode.  Type "cont" to continue.
function RunTheTest[24]..Test_getcmdtypeline 7: echo 'test'

>[?2004hlet cmdtype = "=[?2004hstring(getcmdtype())
>let cmdtype = '>'


>[?2004hcont
test/[?2004hMyCmd a"=[?2004hCheck_cmdline('/')
/MyCmd a?[?2004hMyCmd a"=[?2004hCheck_cmdline('?')
?MyCmd a:[?2004hcall input('Answer?')
Answer?[?2004hMyCmd a"=[?2004hCheck_cmdline('@')
Answer?MyCmd a:[?2004hinsert


[?2004hMyCmd a"=[?2004hCheck_cmdline('-')
MyCmd a=[?2004hMyCmd aExecuting Test_getcompletion():[?2004hcscope find 


a  c  d  e  f  g  i  s  t


:cscope find :[?2004hsign list 


Testing


:sign list [?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_highlight_completion():[?2004hhi ...Aardig
:"hi Aardig
:"
:[?2004hhi default ...Aardig
:"hi default Aardig
:"
:[?2004hhi clear Aa...rdig
:"hi clear Aardig
:"
:[?2004hhi li...LineNr...
:hi l...nk
:"hi link
:"
:[?2004hhi d...DiffAdd...
:hi d...efault
:"hi default
:"
:[?2004hhi c...ColorColumn...
:hi c...lear
:"hi clear
:"


Executing Test_illegal_address1()


Executing Test_illegal_address2()
"Xtest.vim" 5L, 14C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_map_completion():[?2004hmap <unique> <si...lent>
:"map <unique> <silent>
:"
:[?2004hmap <script> <un...ique>
:"map <script> <unique>
:"
:[?2004hmap <expr> <sc...ript>
:"map <expr> <script>
:"
:[?2004hmap <buffer> <e...xpr>
:"map <buffer> <expr>
:"
:[?2004hmap <nowait> <b...uffer>
:"map <nowait> <buffer>
:"
:[?2004hmap <special> <no...wait>
:"map <special> <nowait>
:"
:[?2004hmap <silent> <sp...ecial>
:"map <silent> <special>
:"


Executing Test_match_completion():[?2004hmatch ...Aardig
:"match Aardig
:"
:[?2004hmatch ...Aardig......none
:"match none
:"


Executing Test_paste_in_cmdline():[?2004habc "def ghi
:"abc def ghi
:"
:[?2004haaa "asdf bbb
:"aaa asdf bbb
:"
:[?2004haaa "/tmp/some bbb
:"aaa /tmp/some bbb
:"
:[?2004haaa veryl"ongword bbb
:"aaa verylongword bbb
:"
:[?2004haaa "a;b-c*d bbb
:"aaa a;b-c*d bbb
:"
:[?2004h=[?2004htoupper(getline(1))
:ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D 
:"ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D
:"


Executing Test_remove_char_in_cmdline():[?2004habc defef
:"abc ef
:"
:[?2004habc defdef
:"abcdef
:"
:[?2004habc def ghighi
:"abc ghi
:"
:[?2004habc def
:def"def


Executing Test_verbosefile()


foo


bar
"test_cmdline.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 130L, 3442C151L, 4108C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_command_count.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_command_count.vim" 191 lines, 4742 characters


Executing Test_command_count_0()
"DoesNotExistEver" [New File]

Executing Test_command_count_1()


"a" [New File]


loading buffers


"b" [New File]


loading buffers


"c" [New File]


loading buffers


"d" [New File]


loading buffers


"e" [New File]


loading buffers
"c" [New File]beb


Executing Test_command_count_2()


"d" [New File]
"a


Already only one window
"x" [New File]

Already only one window


Executing Test_command_count_3()
"aaa" [New File]bbb
"ccc
"test_command_count.vim" 191L, 4742C


2 buffers deleted


Executing Test_command_count_4()
"cc" [New File]

"dd" [New File]


"ee" [New File]
"aa


"bb" [New File]


"cc" [New File]


"dd" [New File]


"ee" [New File]
"cc


"ee" [New File]


"ff" [New File]
"test_command_count.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"151L, 4108C159L, 4320C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_crypt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_crypt.vim" 83 lines, 2590 characters


Executing Test_crypt_blowfish()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 3L, 98C


Executing Test_crypt_blowfish2()
"Xtest.txt" [New File]:[?2004hX
Enter encryption key:[?2004h ******
Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish2] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish2] 3L, 98C


Executing Test_crypt_zip()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][crypted] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [crypted] 3L, 98C


Executing Test_head_only_2()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_head_only_3()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_uncrypt_blowfish()
"Xtest.txt" [New File][converted][New][noeol] 1L, 80C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 2L, 27C


Executing Test_uncrypt_blowfish2()
"Xtest.txt" [New File][converted][New][noeol] 1L, 103C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h *******


"Xtest.txt" [blowfish2] 2L, 44C


Executing Test_uncrypt_zip()
"Xtest.txt" [New File][converted][New][noeol] 1L, 45C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [converted][crypted] 2L, 26C"test_crypt.res" [New File][converted][New] 0L, 0C written

Executed 8 tests
"messages"159L, 4320C170L, 4607C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cscope.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cscope.vim" 279 lines, 10587 characters
"test_cscope.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"170L, 4607C173L, 4646C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_curswant.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_curswant.vim" 23 lines, 563 characters


Executing Test_curswant()
"test_curswant.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"173L, 4646C177L, 4713C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_diffmode.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_diffmode.vim" 568 lines, 12076 characters


Executing Test_diff_fold_sync()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_diff_lastline()


Already only one window[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h
Executing Test_diff_move_to()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


5 buffers wiped out


Executing Test_diff_nomodifiable()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


3 buffers wiped out


Executing Test_diff_too_many_buffers()
"Xtest1" [New File]2[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h4[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h5[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h8[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h9


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h10 buffers wiped out


Executing Test_diffexpr()one

two

three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l||

three                                  ||||||||||||||||||||

[No Name] [+]                           onetwothree.                                  ~~~~~~~~~~~~~~~~~~~[No Name] [+]                           2 buffers wiped out


Executing Test_diffget_diffput()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3 buffers wiped out


Executing Test_diffoff()Two

Three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h  -------------------------------------|

  -------------------------------------|

  Two                                  |

  Three                                |||||||||||||||||||  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  ~~~~~~~~~~~~~~~~~~

[No Name] [+]                             One                                                                             Two  Three                                    ~~~~~~~~~~~~~~~~~~[No Name] [+]                           Two                                    

Three                                  

~                                      

~                                      

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   OneTwoThree~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   



Executing Test_diffoff_hidden()
"one" [New File]                                                                                                                                        

~                                                                               two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                    |

Three                                  |||||||||||||||||||||

one [+]                                 One                                     Four                                    ~~~~~~~~~~~~~~~~~~~~two [+]                                                                                                        

~                                                                               TwoThree[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                                                             Three                                                                           ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               TwoThreeExecuting Test_diffopt_context()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


2 buffers wiped out


Executing Test_diffopt_horizontal()


Executing Test_diffopt_icase()
"one" [New File]One

Two

Three

FourFi#ve"two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h||

Three                                  ||

Fi#ve                                  ||||||||||||||||||

one [+]                                 oneTWOThree                                   FourfI=VE                                   ~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_iwhite()
"one" [New File]OneThree~                                                                                                                                  

~                                                                               "two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h|||

Four                                   |||||||||||||||||||

one [+]                                 OneTwoThree Four                                   ~~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_vertical()


Executing Test_diffpatch()
"Xpatch" [New] 10L, 71C written[?2004lpatching file /tmp/v3ib06a/85 (read from /tmp/v3ib06a/84)
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/v3ib06a/85.rej
[?2004h


[?2004lpatching file /tmp/v3ib06a/87 (read from /tmp/v3ib06a/86)
[?2004h"/tmp/v3ib06a/87" 4L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/v3ib06a/92 (read from /tmp/v3ib06a/91)
[?2004h924L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/v3ib06a/98 (read from /tmp/v3ib06a/97)
[?2004h84L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_dp_do_buffer()
"one" [New File]two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


"not_in_diff_mode" [New File]


4 buffers wiped out


Executing Test_filler_lines()


7 more lines


10 more lines[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_setting_cursor()
"Xtest1" [New File]

90 more lines
"Xtest1" [New] 91L, 262C written2" [New File]

100 more lines
"Xtest2"[New] 101L, 293C written101L, 293C191L, 262C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_vert_split()
"Xtest" [New] 5L, 25C written2" [New] 6L, 29C written


"Nop" [Modified][Not edited] line 4 of 6 --66%-- col 3
"Xtest" 5L, 25C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h2" 6L, 29C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h1" [New File]
"test_diffmode.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 177L, 4713C199L, 5352C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_digraph.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_digraph.vim" 462 lines, 14944 characters


Executing Test_digraph_cmndline()
[?2004hExecuting T


Executing Test_digraphs()


Executing Test_digraphs_option()


Executing Test_digraphs_output()


Executing Test_loadkeymap()
"test_digraph.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"199L, 5352C207L, 5547C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_display.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_display.vim" 69 lines, 1694 characters[?2004l[?1l>[?25h[?1049lExecuting Test_display_foldcolumn()e more noise blah blah<82|

> more stuff here||||||||||~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                  e more noise blah blah<|

  82> more stuff here    ||||||||||  

  

  

  

  

  

  

  

  ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                Executing Test_display_foldtext_mbyte()||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name]                                ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name]                              " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1│+ +-- 12 lines: 2───────────────────────│  14│  15│  16│  17│  18│  19│  20│  │[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1|

+ +-- 12 lines: 2-----------------------|

  14|

  15|

  16|

  17|

  18|

  19|

  20|

  |

[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                "test_display.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"207L, 5547C212L, 5664C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_edit.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_edit.vim" 1365 lines, 41657 characters


Executing Test_edit_00a_CTRL_A()b():[?2004hset im
:[?2004hset noim


Executing Test_edit_01()23:[?2004hs/$/efg/


Executing Test_edit_04():[?2004hstopinsert
Executing Test_edit_05()6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7=[?2004hListMonths()
match 1 of 12January

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for edit functions

"

if exists("+t_kD")

  let &t_kD="^[[3;*~"

endif

set belloff=



" Needed for testing basic rightleft: Test_edit_rightleft

source view_util.vim



test_edit.vim                                                                   January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12

January        2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           

June           

July     7u

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJune           

July           June           

July           

July           

=[?2004hListMonths()
match 1 of 12
January

~              

~              [No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        =[?2004hListMonths()
match 1 of 12
January

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

" Test for editJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12an

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJanuary        
January        

Executing Test_edit_08():[?2004hset im
=[?2004hsetbufvar(1,'&im', 0)
Executing Test_edit_09():[?2004hset im
Executing Test_edit_10()1


Executing Test_edit_12()3CR
"Xqflist.txt" 10L, 21Cline 1 of 10 --10%-- col 1
Executing Test_edit_CTRL_()EY()G()I
The only matchScanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt match in file Xinclude.txtmatch 1 of 3Scanning included file: Xinclude.txt
match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3#include Xinclude.txt

one



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 



three Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Back at original





three Xinclude.txt Executing Test_edit_CTRL_K()
Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3
AA~                                                                               ~                                                                               ~                    

~                  AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 



AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt match in file Xdictionary.txt
match 1 of 3

AA   Xdictionary.txt Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3'dictionary' option is emptyA Edxiecctuitoinnagr yT'e stp_teidoint _CsT RLm_pLt(y) 

match 1Back at originalBack at originalone

twothreet[No Name] [+]                                                                   [Location List]                                                                 two            

three          Back at originaltwo            

three          match 1 of 2wo

two            Back at originaltwo            

three          match 1 of 2wo

two            2
three

two            

three          two            

three          match 2Back at originaltwo            

three          two            two            Back at originaltwo            

three          two            match 1 of 2
three



three          Executing Test_edit_CTRL_N()

Pattern not foundPattern not foundmatch 1match 1

Executing Test_edit_CTRL_O():[?2004hset nu
:[?2004hlet g:a=getpos('.')
:[?2004hlet g:a=getpos('.')


Executing Test_edit_CTRL_R()=[?2004h10*500
=[?2004hgetreg('=', 1)


Executing Test_edit_CTRL_S()
Pattern not foundVim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim              

Sim             

Tim             

Vic             

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              

Deem            

match 1 of 100match 1 of 1002
Vim

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             I   

DeemVim            

Aim            Back at original
v

~               

~               

~               

~               

~               

~               

~               

~               

~               

[No Name] [+]   

Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               

[Location List] Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic              

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              Pattern not foundExecuting Test_edit_CTRL_T()
Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurusmatch 1 of 4Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 



furious Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 





enraged Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus match in file Xthesaurus
match 1 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus mad     Xthesaurus Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurus
Back at original
mad~                  

~                  

~                  

~                  [No Name] [+]   [Location List] mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 'thesaurus' option is empty

Executing Test_edit_CTRL_U()
Pattern not found Jan Month      

 Feb Month      

 Mar Month      

 Apr Month      

  May Month      

  Jun Month      

  Jul Month      

  Aug Month      

  Sep Month      

 NOct Month      

 Nov Month      

  Dec Month      match 1 of 12Mar Month  

May Month  match 1 of 2Mar Month      

May Month      match 2 of 2
May

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               Mar Month      

May Month      Mar Month      

May Month      Mar Month      

May Month      match 2 of 2

~              

~              Mar Month      

May Month      Back at original~              

~              Mar Month      

May Month      
May Month      Pattern not foundExecuting Test_edit_CTRL_V()Executing Test_edit_CTRL_Z()DROP()

Executing Test_edit_F1():[?2004hset im
"help.txt" [readonly] 225L, 8437C
Executing Test_edit_F21()HOME_END()INS()LEFT_RIGHT()MOUSE()[?1000h[?1000lPAGEUP_PAGEDOWN()complete_very_long_name()[?25h[?25l"Xfile" [New File]
Scanning: [Location List]/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddTotum /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa match in file /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
Scanning tags.match in file /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
match 1 of 2
Totum

~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Xqflist.txt|10|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Totum /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [?25h[?25lExecuting Test_edit_forbidden()





Pattern not found

Executing Test_edit_rightleft()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cba|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        abcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cb|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        bcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 ca|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        acdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 "test_edit.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 212L, 5664Cgcc -c -I. -I/usr/include/lua5.2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE   -I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread -fPIE -I/usr/include/ruby-2.3.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.3.0 -DRUBY_VERSION=23 -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/option.o option.c
256L, 6862C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_farsi.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_farsi.vim" 133 lines, 5364 characters




:"




:"



Executing Test_input_farsi()
"test_farsi.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 256L, 6862C[converted] 263L, 7023C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_file_size.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_file_size.vim" 30 lines, 871 characters


Executing Test_File_Size()
"Xtest" [New] 2000000L, 14888896C written[?2004l[?2004h
"test_file_size.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"263L, 7023C267L, 7092C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fnameescape.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fnameescape.vim" 21 lines, 467 characters


Executing Test_fnameescape()
"Xspa ce"[New] 21L, 467C written
"Xemark![New] 21L, 467C written
"test_fnameescape.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"267L, 7092C271L, 7165C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fold.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fold.vim" 462 lines, 13611 characters


Executing Test_address_fold()


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


8 lines yanked


10 lines yanked


4 lines yanked


Executing Test_combining_folds_indent()


3 fewer lines


Executing Test_combining_folds_marker()


3 fewer lines


Executing Test_fold_error()


Executing Test_folddoopen_folddoclosed()


3 substitutions on 3 lines


6 substitutions on 6 lines


3 substitutions on 3 lines


Executing Test_folds_marker_in_comment()


Executing Test_foldtext_recursive()--------------------------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   Executing Test_indent_fold()


Executing Test_indent_fold2()


Executing Test_indent_fold_with_read()
"Xfile" 3L, 6C


Executing Test_manual_fold_with_filter()
[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines

Executing Test_move_folds_around_indent()


6 lines moved


5 lines moved


6 lines moved


5 lines moved


Executing Test_move_folds_around_manual()a

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moved


5 lines moveda

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moveda

+--  4 lines: b-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   5 lines moved


Executing Test_update_folds_expr_read()
"Xfile" 8L, 16C
"test_fold.res" [New File][New] 0L, 0C written


Executed 14 tests
"messages" 271L, 7165C288L, 7723C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_getvar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_getvar.vim" 88 lines, 2988 characters


Executing Test_var()
"test_getvar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"288L, 7723C292L, 7783C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gf.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gf.vim" 56 lines, 1578 characters


Executing Test_gF()
"Xfile" [New] 4L, 16C written2" [New] 3L, 18C written" 4L, 16C


Executing Test_gf_url()
"test_gf.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"292L, 7783C297L, 7863C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gn.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gn.vim" 118 lines, 3078 characters


Executing Test_gn_command()/[?2004h[u]niquepattern/s
/a:0\@!\zs\d\+/[?2004hbar/e
"test_gn.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"297L, 7863C301L, 7926C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u NONE -U NONE --noplugin --not-a-term -S runtest.vim test_gui.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui.vim" 696 lines, 19832 characters
"test_gui.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"301L, 7926C304L, 7962C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u gui_preinit.vim -U gui_init.vim --noplugin --not-a-term -S runtest.vim test_gui_init.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui_init.vim" 61 lines, 1190 characters
"test_gui_init.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"304L, 7962C307L, 8003C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hardcopy.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hardcopy.vim" 73 lines, 2260 characters


Executing Test_fname_with_spaces()
"t e s t.txt" [New File]Printing page 1 (0%)Printed: t e s t.txt


Executing Test_printheader_parsing()


Executing Test_printmbfont_parsing()


Executing Test_printoptions_parsing()


Executing Test_with_syntax()Printing page 1 (0%)Printing page 2 (99%)Printed: test_hardcopy.vim
"test_hardcopy.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"307L, 8003C315L, 8221C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_help.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_help.vim" 32 lines, 551 characters


Executing Test_help_errors()


Executing Test_help_keyword()
"visual.txt" [readonly] 541L, 21843C


Executing Test_help_restore_snapshot()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1
"x" [New File]test_help.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"315L, 8221C321L, 8357C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hide.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hide.vim" 97 lines, 2443 characters


Executing Test_hide()
"Xf1" [New File]

"Xf1" [New File]
"Xf212121


one|two
"Xf1" [New File]
"Xf212
"test_hide.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"321L, 8357C325L, 8416C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_highlight.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_highlight.vim" 36 lines, 1417 characters


Executing Test_highlight()


SpecialKey     xxx term=bold ctermfg=4 guifg=Blue


EndOfBuffer    xxx links to NonText


NonTextxxx term=bold cterm=bold ctermfg=4 gui=bold guifg=Blue


Directory      xxx term=bold ctermfg=4 guifg=Blue


ErrorMsgxxx term=standout cterm=bold ctermfg=7 ctermbg=1 guifg=White


guibg=Red


IncSearch      xxx term=reverse cterm=reverse gui=reverse


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


MoreMsgxxx term=bold ctermfg=2 gui=bold guifg=SeaGreen


ModeMsgxxx term=bold cterm=bold gui=bold


LineNrxxx term=underline ctermfg=3 guifg=Brown


CursorLineNr   xxx term=bold ctermfg=3 gui=bold guifg=Brown


Questionxxx term=standout ctermfg=2 gui=bold guifg=SeaGreen


StatusLine     xxx term=bold,reverse cterm=bold,reverse gui=bold,reverse


StatusLineNC   xxx term=reverse cterm=reverse gui=reverse


VertSplit      xxx term=reverse cterm=reverse gui=reverse


Titlexxx term=bold ctermfg=5 gui=bold guifg=Magenta


Visualxxx term=reverse cterm=reverse guibg=LightGrey


VisualNOS      xxx cleared


WarningMsg     xxx term=standout ctermfg=1 guifg=Red


WildMenuxxx term=standout ctermfg=0 ctermbg=3 guifg=Black guibg=Yellow


Foldedxxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue


guibg=LightGrey


FoldColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


DiffAddxxx term=bold ctermbg=4 guibg=LightBlue


DiffChange     xxx term=bold ctermbg=5 guibg=LightMagenta


DiffDelete     xxx term=bold cterm=bold ctermfg=4 ctermbg=6 gui=bold guifg=Blue


guibg=LightCyan


DiffTextxxx term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red


SignColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


Concealxxx ctermfg=7 ctermbg=0 guifg=LightGrey guibg=DarkGrey


SpellBadxxx term=reverse ctermbg=1 gui=undercurl guisp=Red


SpellCapxxx term=reverse ctermbg=4 gui=undercurl guisp=Blue


SpellRare      xxx term=reverse ctermbg=5 gui=undercurl guisp=Magenta


SpellLocal     xxx term=underline ctermbg=6 gui=undercurl guisp=DarkCyan


Pmenuxxx ctermfg=0 ctermbg=5 guibg=LightMagenta


PmenuSelxxx ctermfg=0 ctermbg=7 guibg=Grey


PmenuSbar      xxx ctermbg=7 guibg=Grey


PmenuThumb     xxx ctermbg=0 guibg=Black


TabLinexxx term=underline cterm=underline ctermfg=0 ctermbg=7


gui=underline guibg=LightGrey


TabLineSel     xxx term=bold cterm=bold gui=bold


TabLineFill    xxx term=reverse cterm=reverse gui=reverse


CursorColumn   xxx term=reverse ctermbg=7 guibg=Grey90


CursorLine     xxx term=underline cterm=underline guibg=Grey90


ColorColumn    xxx term=reverse ctermbg=1 guibg=LightRed


QuickFixLine   xxx links to Search


StatusLineTerm xxx term=bold,reverse cterm=bold ctermfg=7 ctermbg=2 gui=bold


guifg=bg guibg=DarkGreen


StatusLineTermNC xxx term=reverse cterm=bold ctermfg=7 ctermbg=2 guifg=bg


guibg=DarkGreen


MatchParen     xxx term=reverse ctermbg=6 guibg=Cyan


ToolbarLine    xxx term=underline ctermbg=7 guibg=LightGrey


ToolbarButton  xxx cterm=bold ctermfg=7 ctermbg=0 gui=bold guifg=White


guibg=Grey40


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


"test_highlight.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"325L, 8416C329L, 8485C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_history.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_history.vim" 106 lines, 3567 characters


Executing Test_History()


Executing Test_Search_history_window()/[?2004ha
/[?2004hb
/[?2004ha

b

a

b

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Tests for the history functions



test_history.vim                                                                /a

/b

/

/

/

/

/~                                                                              ~                                                                              ~                                                                              ~                                                                              [Command Line]                                                                  [?25h[?25l/a
"test_history.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"329L, 8485C334L, 8590C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hlsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hlsearch.vim" 53 lines, 1490 characters


Executing Test_hlsearch()/[?2004haaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

~                                                                               [No Name] [+]                                                                   " Test for v:hlsearch



function! Test_hlsearch()

  new

  call setline(1, repeat(['aaa'], 10))

  set hlsearch nolazyredraw

  let r=[]

  " redraw is needed to make hlsearch highlight the matches

  exe "normal! /aaa\<CR>" | redraw

  let r1 = screenattr(1, 1)

test_hlsearch.vim                                                               aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





Executing Test_hlsearch_hangs()bc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               "test_hlsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"334L, 8590C339L, 8690C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment.vim" 760 lines, 19011 characters


Executing Test_normal_increment_01()
"dummy" [New File]

Executing Test_normal_increment_02()
"dummy" [New File]

Executing Test_normal_increment_03()
"dummy" [New File]

Executing Test_visual_increment_01()
"dummy" [New File]

Executing Test_visual_increment_02()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_03()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_04()
"dummy" [New File]

Executing Test_visual_increment_05()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_06()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_07()
"dummy" [New File]5 lines changed

Executing Test_visual_increment_08()
"dummy" [New File]

Executing Test_visual_increment_09()
"dummy" [New File]

Executing Test_visual_increment_10()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_11()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_12()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_13()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_14()
"dummy" [New File]

Executing Test_visual_increment_15()
"dummy" [New File]

Executing Test_visual_increment_16()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_17()
"dummy" [New File]

Executing Test_visual_increment_18()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_19()
"dummy" [New File]

Executing Test_visual_increment_20()
"dummy" [New File]

Executing Test_visual_increment_21()
"dummy" [New File]

Executing Test_visual_increment_22()
"dummy" [New File]

Executing Test_visual_increment_23()
"dummy" [New File]

Executing Test_visual_increment_24()
"dummy" [New File]

Executing Test_visual_increment_25()
"dummy" [New File]

Executing Test_visual_increment_26()
"dummy" [New File]

Executing Test_visual_increment_27()
"dummy" [New File]

Executing Test_visual_increment_28()
"dummy" [New File]

Executing Test_visual_increment_29()
"dummy" [New File]

Executing Test_visual_increment_30()
"dummy" [New File]

Executing Test_visual_increment_31()
"dummy" [New File]

Executing Test_visual_increment_32()
"dummy" [New File]_31" [New File]


Executing Test_visual_increment_33()
"dummy" [New File]

Executing Test_visual_increment_34()
"dummy" [New File]

Executing Test_visual_increment_35()
"dummy" [New File]

Executing Test_visual_increment_36()
"dummy" [New File]

Executing Test_visual_increment_37()
"dummy" [New File]

Executing Test_visual_increment_38()
"dummy" [New File]test_increment.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 339L, 8690C383L, 10251C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment_dbcs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment_dbcs.vim" 30 lines, 604 characters


Executing Test_increment_dbcs_1()
"test_increment_dbcs.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"[converted] 383L, 10251C[converted] 387L, 10332C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_job_fails.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_job_fails.vim" 19 lines, 598 characters


Executing Test_job_start_fails()[?25h[?2004l[?2004h[?25l
"test_job_fails.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"387L, 10332C391L, 10407C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_json.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_json.vim" 292 lines, 10880 characters


Executing Test_js_decode()


Executing Test_js_encode()


Executing Test_json_decode()


Executing Test_json_encode()


"test_json.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"391L, 10407C398L, 10557C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_langmap.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_langmap.vim" 28 lines, 628 characters


Executing Test_langmap()
"test_langmap.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"398L, 10557C402L, 10622C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_let.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_let.vim" 27 lines, 806 characters


Executing Test_let()
"test_let.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"402L, 10622C406L, 10679C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lineending.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lineending.vim" 19 lines, 429 characters


Executing Test_lineending()
"Xfile1" [New] 4L, 78C written
"test_lineending.vim" 19L, 429C
"Xfile1" 4L, 78C
"test_lineending.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"406L, 10679C410L, 10750C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr.vim" 235 lines, 6445 characters


Executing Test_block_replace_after_wrapping()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaa0aaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|@                   

@                   

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_conceal()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                Sabbbbbb bla||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        _S_      bla~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ^Iabcdef hijklmn^I  |

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                a_|

aaaaaaaaaaaaaaaaaaaa|

aa>-----a-$||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        a aaaaaaaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_tab_and_skipping_first_chars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ---------------aaaaa|

---------------aaaaa|

---------------aaaaa|

iiiiiiiii>-----aaaaa|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        iiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii      aaaaaaaaaaaaaaaaaa~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_norm_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdpgrs||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdpgrs~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_set_linebreak()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_should_break()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1|

+aaaaaaaaaaaaaaaaaa |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1aaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_undo_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                3 lines changedAaA|

AaA|

A||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        AaAAaAA~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                /[?2004h^REMOVE:this not|

aaaaaaaaaaaaa|

REMOVE:|

REMOVE:|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        this notaaaaaaaaaaaaaREMOVE:REMOVE:~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block_and_vbA()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar TARGETx at   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobarfoobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_char_and_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1111-2222-1111-11-  |

1111-2222-1111      |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1111-2222-1111-11-1111-2222-1111~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

"test_listlbr.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" [converted] 410L, 10750C[converted] 426L, 11300C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr_utf8.vim" 271 lines, 7788 characters


Executing Test_chinese_char_on_wrap_column()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

                    中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_colorcolumn_priority()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /[?2004hxxyy
search hit BOTTOM, continuing at TOPxxyy|

    |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        xxyy~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_illegal_byte_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_fancy_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing1()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing2()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_sign_and_colorcolumn()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_wrap_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_nolinebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_screenattr_for_comment()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /*▕———▕—————— and  |

+some more */¶|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        /*            and some more */~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_visual_block_and_selection_exclusive()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           +foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar TARGETÃx'   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobar+ foobar foobar foobar foobar foobar foobar foobar foobar f+oobar foobar foobar foobar foobar foobar foobar foobar foo+bar foobar foobar foobar foobar foobar foobar foobar fooba+r foobar foobar foobar foobar foobar foobar foobar foobar+TARGETÃx' at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

"test_listlbr_utf8.res" [New File][New] 0L, 0C written


Executed 12 tests
"messages" 426L, 11300C441L, 11860C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lua.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lua.vim" 22 lines, 438 characters
"test_lua.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"441L, 11860C444L, 11896C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_makeencoding.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_makeencoding.vim" 106 lines, 2413 characters
"test_makeencoding.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"444L, 11896C447L, 11941C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_man.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_man.vim" 60 lines, 1358 characters[?2004l[?2004h


Executing Test_g_ft_man_open_mode()[?2004l[?2004h




Cannot find a 'vim'.


Executing Test_nomodifiable()[?2004l[?2004h




Cannot find a 'vim'.
"test_man.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"447L, 11941Cgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/os_unix.o os_unix.c
452L, 12044C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_marks.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_marks.vim" 70 lines, 2047 characters


Executing Test_Incr_Marks()


Executing Test_Restore_DelMark()1 more line; before #2  0 seconds ago
1 line less; after #2  0 seconds agomore line; before #2  0 seconds ago


Executing Test_setpos()
"one" [New File]twoest_marks.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"452L, 12044C458L, 12168C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_matchadd_conceal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_matchadd_conceal.vim" 289 lines, 9276 characters[?2004l[?1l>[?25h[?1049lExecuting Test_clearmatches()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_default_conceal_char()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #+This+is+a+Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_conceallevel_3()#ThisisaTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #Thisisa Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_syn_conceal()Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_repeat_conceal_with_syntax_off()TARGET_TARGETTARGET
t_ttsimple_matchadd()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_simple_matchadd_and_conceal()#XThisXisXaXTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_syn_and_match_conceal()#ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #*This*is*a*Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_using_matchaddpos()#Pis a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       "test_matchadd_conceal.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"458L, 12168C470L, 12582C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession.vim" 155 lines, 3363 characters


Executing Test_mksession()
"Xtemp" [New] 9L, 203C written


search hit BOTTOM, continuing at TOP
Executing Test_mksession_arglist()"file1" [New File]

Executing Test_mksession_one_buffer_two_windows()
"Xtest1" [New File]2


Executing Test_mksession_winheight()
"Xtest1" [New File]test_mksession.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 470L, 12582C[converted] 477L, 12774C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession_utf8.vim" 104 lines, 2328 characters


Executing Test_mksession_utf8()
"/tmp/vyx2Qd0/0" [New] 9L, 215C written


search hit BOTTOM, continuing at TOP
"test_mksession_utf8.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"477L, 12774C481L, 12853C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_nested_function.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_nested_function.vim" 67 lines, 1305 characters


Executing Test_max_nesting()


Executing Test_nested_argument()


[]


Executing Test_nested_functions()
"test_nested_function.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"481L, 12853C487L, 12998C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_netbeans.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_netbeans.vim" 80 lines, 2145 characters
"test_netbeans.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"487L, 12998C490L, 13039C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_normal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_normal.vim" 2392 lines, 61363 characters


Executing Test_delete_until_paragraph()


Executing Test_normal00_optrans()


Executing Test_normal01_keymodel()
4 lines yankedExecuting Test_normal02_selectmode()
10 fewer lines

Executing Test_normal02_selectmode2():[?2004hset im
:[?2004hset noim


Executing Test_normal03_join()


Executing Test_normal04_filter():[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?2004l[?1l>[?1049l[?2004lone
[?2004h[?1049h[?1h=[?2004h[?25l:[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?25l:[?2004h.!
:[?2004h!echo one
[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lone
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h.!!
[?25h[?2004l[?2004h

[?25lExecuting Test_normal05_formatexpr()


Executing Test_normal05_formatexpr_newbuf()
"another" [New File]

Executing Test_normal05_formatexpr_setopt()


Executing Test_normal06_formatprg()[?2004l[?2004h:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered

Executing Test_normal07_internalfmt()
7 fewer lin

Executing Test_normal08_fold()


Executing Test_normal09_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h[?2004h[?2004h[?2004h


Executing Test_normal09a_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h


Executing Test_normal10_expand()


Executing Test_normal11_showcmd()


Executing Test_normal12_nv_error()


Executing Test_normal13_help()
"help.txt" [readonly] 225L, 8437C


Executing Test_normal14_page()


Executing Test_normal14_page_eol()


Executing Test_normal15_z_scroll_vert()


Executing Test_normal16_z_scroll_hor()


Executing Test_normal17_z_scroll_hor2()


Executing Test_normal18_z_fold()


Executing Test_normal19_z_spell()
Word 'goood' added to ./Xspellfile.add
search hit BOTTOM, continuing at TOPWord 'goood' added to ./Xspellfile.add2 goood' added to ./Xspellfile.add/tmp/v9xImmo/11removed from /tmp/v9xImmo/11goood' added to /tmp/v9xImmo/11removed from /tmp/v9xImmo/11added to ./Xspellfile.addremoved from ./Xspellfile.add2 goood' added to ./Xspellfile.addremoved from ./Xspellfile.addgoood' added to ./Xspellfile2.add

Executing Test_normal20_exmode()[?2004l[?2004h


Executing Test_normal21_nv_hat()
"Xfoobar" [New File]ile2" [New File]

Executing Test_normal22_zet()[?2004l[?2004h[?2004l[?2004h


Executing Test_normal23_K()
"version8.txt" [readonly] 18040L, 684251Cline 1 of 18040 --0%-- col 1
"man" [New File]aa%bb" [New File]
"cc|dd
:! man --pager=cat 'man'[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lstdin not open for reading!
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25lExecuting Test_normal24_rot13()


Executing Test_normal25_tag()
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"insert.txt" [readonly] 2004L, 82939Cline 49 of 2004 --2%-- col 7-49


Executing Test_normal26_put()


Executing Test_normal27_bracket()


21 substitutions on 21 lines


Executing Test_normal28_parenthesis()


Executing Test_normal29_brace()
17 fewer lines4 fewer lines3

Executing Test_normal30_changecase()


Executing Test_normal31_r_cmd()


Executing Test_normal32_g_cmd1()
/x_foo?abc

Executing Test_normal33_g_cmd2()/[?2004h[1-8]
search hit BOTTOM, continuing at TOP
9 substitutions on 9 linesblock of 3 lines yanked5


Executing Test_normal34_g_cmd3()


Executing Test_normal35_g_cmd4()


Executing Test_normal36_g_cmd5()


Executing Test_normal37_g_cmd6()
"1.txt" [New File]23


Executing Test_normal38_nvhome()


Executing Test_normal39_cw()


Executing Test_normal40_ctrl_bsl()


Executing Test_normal41_insert_reg()=[?2004ha
=[?2004ha
=[?2004ha


Executing Test_normal42_halfpage()


Executing Test_normal43_textobject1()


Executing Test_normal44_textobjects2()


Executing Test_normal45_drop()


Executing Test_normal46_ignore()


Executing Test_normal47_autocmd()


Executing Test_normal47_visual_buf_wipe()


Executing Test_normal48_wincmd()


Executing Test_normal49_counts()


Executing Test_normal50_commandline()q:  :[?2004hxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :set im

:set noim

:.!sed -e 's/^/|    /'

:.!

:!echo one

:.!!

:

[Command Line]                                                                  [?25h[?25l[?25h[?25l:^M   



Executing Test_normal51_FileChangedRO()
"Xreadonly.log" 1L, 4C
Error detected while processing ...24]..Test_normal51_FileChangedRO:
line   10:W10: Warning: Changing a readonly file


Executing Test_normal52_rl()3_digraph()


Executing Test_normal54_Ctrl_bsl()


Executing Test_normal_8g8()


Executing Test_normal_large_count()
"test_normal.res" [New File][New] 0L, 0C written


Executed 64 tests
"messages" 490L, 13039C563L, 15584C written
[?2004l[?2004l[?1l>[?25h[?1049l

VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_number.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_number.vim" 254 lines, 5032 characters


Executing Test_number()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   1 abcdefghij      |

  2 klmnopqrst      |

  3 uvwxyzABCD      |

  4 EFGHIJKLMN      |

  5 OPQRSTUVWX      |

  6 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_linewrap1()|||~                   

~                   

[No Name]            ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 --1 aaaaaaaaaaaaaaaa|

    aaaaaaaaaaaaaaaa|

    aaaaaaaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   3 abcdefghij      |

  2 klmnopqrst      |

  1 uvwxyzABCD      |

4   EFGHIJKLMN      |

  1 OPQRSTUVWX      |

  2 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 1     aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     0 aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth_adjusted()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                  9991 aaaa|

 9992 aaaa|

 9993 aaaa|

 9994 aaaa|

 9995 aaaa|

 9996 aaaa|

 9997 aaaa|

 9998 aaaa|

 9999 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     9 aaaa|

    8 aaaa|

    7 aaaa|

    6 aaaa|

    5 aaaa|

    4 aaaa|

    3 aaaa|

    2 aaaa|

    1 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   9 aaaa|

  8 aaaa|

  7 aaaa|

  6 aaaa|

  5 aaaa|

  4 aaaa|

  3 aaaa|

  2 aaaa|

  1 aaaa|

  0 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   2 abcdefghij      |

  1 klmnopqrst      |

  0 uvwxyzABCD      |

  1 EFGHIJKLMN      |

  2 OPQRSTUVWX      |

  3 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_set_global_and_local()


Executing Test_set_options()1   ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            1   ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

test_number.vim                                                                 1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

 11 

 12 func! s:test_windows(h, w) abort

 13   call NewWindow(a:h, a:w)

 14 endfunc

 15 

 16 func! s:close_windows() abort

 17   call CloseWindow()

 18 endfunc

 19 

 20 func! s:validate_cursor() abort

 21   " update skipcol.

 22   " wincol():

"test_number.res" [New File][New] 0L, 0C written


Executed 8 tests
"messages"563L, 15584C574L, 15897C written
[?2004l

[?2004l[?1l>[?25h[?1049l../vim -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"../option.c" 12669 lines, 331004 characters
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_options.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_options.vim" 334 lines, 10325 characters


Executing Test_cinkeys()


Executing Test_complete()
Pattern not found

Executing Test_dictionary()


Executing Test_filetype_valid()


Executing Test_isfname()[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_keymap_valid()


Executing Test_options()
"option-window" [New File]


Executing Test_path_keep_commas()


Executing Test_set_all()


Executing Test_set_completion():[?2004hset di...ctionary diff diffexpr diffopt digraph directory display
:"set dictionary diff diffexpr diffopt digraph directory display
:"
:[?2004hset nodi...ff digraph
:"set nodiff digraph
:"
:[?2004hset invdi...ff digraph
:"set invdiff digraph
:"
:[?2004hset ts...abstop thesaurus ttyscroll
:"set tabstop thesaurus ttyscroll
:"
:[?2004hset fileencodings=...ucs-bom,utf-8,default,latin1
:"set fileencodings=ucs-bom,utf-8,default,latin1
:"
:[?2004hset fileencodings:...ucs-bom,utf-8,default,latin1
:"set fileencodings:ucs-bom,utf-8,default,latin1
:"
:[?2004hset <H...elp> <Home>
:"set <Help> <Home>
:"
:[?2004hset t_A...B t_AF t_AL
:"set t_AB t_AF t_AL
:"
:[?2004hset cdpath=./...XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/


./pythonx/ ./pyxfile/ ./samples/ ./sautest/"set cdpath=./XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./samples/ ./sautest/
:[?2004hset tags=./...Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./ben


ch_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim .


/gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.


vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_afte


r/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./


setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1


.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.ou


t./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./te


st15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.


in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./t


est25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.


in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test


30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok "set tags=./Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./bench_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim ./gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.out ./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./test15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./test25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok
:[?2004hset tags=./\\ dif...f diffexpr diffopt
:"set tags=./\\ diff diffexpr diffopt
:"


Executing Test_set_errors()


  tabstop=8


Executing Test_set_indentexpr()ttytype()[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h

E558: Terminal entry not found in terminfo

'xxx' not known. Available builtin terminals are:

    builtin_amiga

    builtin_beos-ansi

    builtin_ansi

    builtin_pcansi

    builtin_win32

    builtin_vt320

    builtin_vt52

    builtin_xterm

    builtin_iris-ansi

    builtin_debug

    builtin_dumb

[?2004l[?1l>[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_set_values()


[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?1000h[?1000lline 3206: set vbs=9999


line 3207: if exists('+verbose')


line 3208: endif


line 3209: set verbose&


[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_signcolumn()


Executing Test_syntax_valid()


Executing Test_thesaurus()


Executing Test_whichwrap()


Executing Test_wildchar()


"test_options.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 574L, 15897C596L, 16476C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_packadd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_packadd.vim" 275 lines, 9157 characters


Executing Test_colorscheme()


Executing Test_colorscheme_completion():[?2004hcolorscheme ...one')
:ccolorscheme one')
:cacolorscheme one')
:calcolorscheme one')
:callcolorscheme one')
:call colorscheme one')acolorscheme one')dcolorscheme one')dcolorscheme one')(colorscheme one')lcolorscheme one')icolorscheme one'),colorscheme one') colorscheme one')'colorscheme one')
:[?2004hcolorscheme ...one...three')
:ccolorscheme three')
:cacolorscheme three')
:calcolorscheme three')
:callcolorscheme three')
:call colorscheme three')acolorscheme three')dcolorscheme three')dcolorscheme three')(colorscheme three')lcolorscheme three')icolorscheme three'),colorscheme three') colorscheme three')'colorscheme three')
:[?2004hcolorscheme ...one...three...wo')
:ccolorscheme two')
:cacolorscheme two')
:calcolorscheme two')
:callcolorscheme two')
:call colorscheme two')acolorscheme two')dcolorscheme two')dcolorscheme two')(colorscheme two')lcolorscheme two')icolorscheme two'),colorscheme two') colorscheme two')'colorscheme two')
:[?2004hcolorscheme ...one...three...wo...')
:ccolorscheme ')
:cacolorscheme ')
:calcolorscheme ')
:callcolorscheme ')
:call colorscheme ')acolorscheme ')dcolorscheme ')dcolorscheme ')(colorscheme ')lcolorscheme ')icolorscheme '),colorscheme ') colorscheme ')'colorscheme ')


Executing Test_helptags()


Executing Test_packadd()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C writtenalso/loaded.vim" [New File][New] 1L, 29C writtenftdetect/test.vim" [New File[New] 1L, 26C written


Executing Test_packadd_completion():[?2004hpackadd ...pluginA')
:cpackadd pluginA')
:capackadd pluginA')
:calpackadd pluginA')
:callpackadd pluginA')
:call packadd pluginA')apackadd pluginA')dpackadd pluginA')dpackadd pluginA')(packadd pluginA')lpackadd pluginA')ipackadd pluginA'),packadd pluginA') packadd pluginA')'packadd pluginA')
:[?2004hpackadd ...pluginA...B')
:cpackadd pluginB')
:capackadd pluginB')
:calpackadd pluginB')
:callpackadd pluginB')
:call packadd pluginB')apackadd pluginB')dpackadd pluginB')dpackadd pluginB')(packadd pluginB')lpackadd pluginB')ipackadd pluginB'),packadd pluginB') packadd pluginB')'packadd pluginB')
:[?2004hpackadd ...pluginA...B...C')
:cpackadd pluginC')
:capackadd pluginC')
:calpackadd pluginC')
:callpackadd pluginC')
:call packadd pluginC')apackadd pluginC')dpackadd pluginC')dpackadd pluginC')(packadd pluginC')lpackadd pluginC')ipackadd pluginC'),packadd pluginC') packadd pluginC')'packadd pluginC')
:[?2004hpackadd ...pluginA...B...C...')
:cpackadd ')
:capackadd ')
:calpackadd ')
:callpackadd ')
:call packadd ')apackadd ')dpackadd ')dpackadd ')(packadd ')lpackadd ')ipackadd '),packadd ') packadd ')'packadd ')


Executing Test_packadd_noload()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written


Executing Test_packadd_symlink_dir()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"./Xdir/Xdir2/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_packloadall()


Executing Test_runtime()
"test_packadd.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"596L, 16476C608L, 16796C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_paste.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_paste.vim" 99 lines, 2938 characters[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_paste_cmdline():[?2004hafoo^Mbarb
:"afoo^Mbarb
:"


Executing Test_paste_insert_mode()normalvisu
"test_paste.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"608L, 16796C615L, 16971C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_perl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_perl.vim" 238 lines, 5919 characters
"test_perl.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"615L, 16971C618L, 17008C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_preview.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_preview.vim" 13 lines, 248 characters


Executing Test_Psearch()
"help.txt" [readonly] 225L, 8437C


"[No Name]" [Not edited][readonly] line 1 of 225 --0%-- col 1
"test_preview.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"618L, 17008C622L, 17073C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_profile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_profile.vim" 147 lines, 6308 characters


Executing Test_profile_completion():[?2004hprofile ...continue file func pause start
:"profile continue file func pause start
:"
:[?2004hprofile start test_prof...ile.vim
:"profile start test_profile.vim
:"


Executing Test_profile_errors()


Executing Test_profile_file()[?2004l[?2004h


Executing Test_profile_func()[?2004l[?2004h
"test_profile.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"622L, 17073C629L, 17242C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python2.vim" 24 lines, 523 characters
"test_python2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"629L, 17242C632L, 17282C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python3.vim" 24 lines, 534 characters
"test_python3.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"632L, 17282C635L, 17322C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx2.vim" 74 lines, 1409 characters
"test_pyx2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"635L, 17322C638L, 17359C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx3.vim" 74 lines, 1409 characters
"test_pyx3.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"638L, 17359C641L, 17396C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quickfix.vim" 2639 lines, 77130 characters


Executing Test_Autocmd()
"F1" [New File]

(1 of 1): Line 10
"F2" [New File]gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pathdef.o auto/pathdef.c


(1 of 2): Line 10


Executing Test_Autocmd_Exception()


Executing Test_Multi_LL_Help()
"arabic.txt" gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perl.o auto/if_perl.c
[readonly] 322L, 11936C


(1 of 4051): o  Viewing and editing files in right-to-left windows.^I File
"arabic.txt" [readonly] line 1 of 322 --0%-- col 1

(1 of 3535): the global settings as they could affect other possible open buffe


rs.


Executing Test_Qf_Size()
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"


Executing Test_add_qf()


Executing Test_adjust_lnum()


Already only one window
"Xqftestfilec" 20L, 131C


9 fewer lines


Already only one window
"Xqftestfilel" 20L, 131C


9 fewer lines


Executing Test_browse()
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


Executing Test_bufoverflow()


Executing Test_caddbuffer_to_empty()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


(2 of 1487):


Executing Test_caddbuffer_wrong()
"Xqftestfile2" [New File]

Executing Test_caddexpr_wrong()


(1 of 1):


(1 of 1):


Executing Test_cage()


error list 3 of 4; 1 errors:cgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:cgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 3 of 4; 1 errors:lgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:lgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


Executing Test_cbottom()


Executing Test_cbuffer()
"Xtestfile7" [New File]

(1 of 2): Line 700


"Xtestfile1" [New File]


"Xtestfile7" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


Executing Test_cclose_from_copen()


Executing Test_cclose_in_autocmd()


Executing Test_cexpr()


Executing Test_cfile()
"Xtestfile1" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


(1 of 2): Line 700


Executing Test_cgetexpr_works()


Executing Test_changedtick()


error list 2 of 3; 0 errors:cexpr ""


error list 1 of 3; 0 errors:cexpr ""


error list 2 of 3; 0 errors:lexpr ""


error list 1 of 3; 0 errors:lexpr ""


Executing Test_clist()


 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one




 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one


Executing Test_cwindow()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 "[Quickfix List]" line 1 of 3 --33%-- col 1


~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 Executing Test_cwindow_jump()
"F1" [New File]2


Executing Test_dirstack_cleanup()


(1 of 1): 0


Executing Test_duplicate_buf()
"DoesNotExist" [New File]2" [New File]


Xgrepthis
"Xgrepthis" line 1 of 2 --50%-- col 1


(1 of 2): this one


Xgrepthis
(1 of 2): this one


Executing Test_efm()


Executing Test_efm1()
"Xtestfile" 21L, 903C


(1 of 20): 1506-045 (S) Undeclared identifier fd_set.


(20 of 20): What is the title of the quickfix window?


Executing Test_efm2()
"Xtestfile" [New File]


 1 Xtestfile:^\VLine search text\$:


(1 of 1): msg2


Executing Test_efm_dirstack()


Executing Test_efm_ignore_continuations()


Executing Test_errortitle()


Executing Test_get_list_from_lines()


Executing Test_grep()


Already only one window[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25l[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25lExecuting Test_helpgrep()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C


"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C
"index.txt" [readonly] 1660L, 76442C
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


Executing Test_history()


error list 1 of 1; 0 errors:setqflist()


error list 1 of 1; 0 errors:setloclist()


Executing Test_invalid_efm()


Executing Test_locationlist()


No matching autocommands


(1 of 7): file foo.txt


No matching autocommands


No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


W19: Deleting augroup that is still in use
Executing Test_locationlist_cross_tab_jump()
"loclistfoo" 1L, 11Cbar1L, 11C[?2004l[?1l>[?25h[?1049l[?2004lloclistfoo:1:loclistfoo
[?2004h[?1049h[?1h=[?2004h

[?25lAlready only one window


Executing Test_locationlist_curwin_was_closed()


W19: Deleting augroup that is still in use
Executing Test_long_lines()"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


Executing Test_multidirstack()


Executing Test_multifilestack()


Executing Test_nomem()
"/<<PKGBUILDDIR>>/src/vim-basic/alloc.h" 21L, 485C


Error detected while processing function RunTheTest[24]..Test_nomem:


line    2:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-basic/alloc.h" 21L, 485C


line    5:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-basic/alloc.h" 21L, 485C


line    8:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-basic/alloc.h" 21L, 485C


line   11:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-basic/alloc.h" 21L, 485C


line   14:


E342: Out of memory!  (allocating 1025 bytes)


Executing Test_perbuf_efm()
"File1" [New File]

(1 of 1): Line10


Executing Test_qf_free()


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

Executing Test_qf_id()


error list 2 of 3; 0 errors:cexpr ''


error list 2 of 3; 0 errors:lexpr ''


Executing Test_qf_property()


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


Executing Test_qf_title()


Executing Test_quickfix_set_list_with_act()


Executing Test_quickfix_was_changed_by_autocmd()


error list 1 of 2; 1 errors:setqflist()


W19: Deleting augroup that is still in use
error list 1 of 2; 1 errors       :setloclist()


error list 1 of 2; 1 errors:setloclist()


W19: Deleting augroup that is still in use
Executing Test_resize_from_copen()

Executing Test_setexpr()


Executing Test_setqflist()
"Xtestfile" [New File]

(2 of 2):


(3 of 3):


(2 of 2):


(3 of 3):


Executing Test_setqflist_empty_middle()


test_quickfix.vim
"test_quickfix.vim" 2639L, 77130C


(1 of 1): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1vimgrep empty test_quickfix.vim


error list 1 of 3; 1 errors:-1vimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setqflist()


error list 3 of 3; 2 errors:-1vimgrep matches test_quickfix.vim


test_quickfix.vim
(1 of 66): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1lvimgrep empty test_quickfix.vim


error list 1 of 3; 66 errors      :-1lvimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setloclist()


error list 3 of 3; 2 errors:-1lvimgrep matches test_quickfix.vim


Executing Test_setqflist_empty_older()


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1vimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1vimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1vimgrep three test_quickfix.vim


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1lvimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1lvimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1lvimgrep three test_quickfix.vim


Executing Test_switchbuf()
"Xqftestfile1" 20L, 131C220L, 131C1" line 1 of 20 --5%-- col 1


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" line 1 of 20 --5%-- col 1


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C220L, 131C


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16


Already only one window
"Xqftestfile1" 20L, 131C220L, 131C320L, 131C120L, 131C220L, 131C320L, 131C


Already only one window


Already only one window


Executing Test_two_windows()
"one" [New File]two


Executing Test_vimgrep()


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Executing Test_vimgreptitle()


file
"file" [New File]


Cannot open file "file"
"test_quickfix.res" [New File][New] 0L, 0C written


Executed 59 tests
"messages" 641L, 17396C703L, 19198C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quotestar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quotestar.vim" 158 lines, 4650 characters
"test_quotestar.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"703L, 19198C706L, 19240C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_retab.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_retab.vim" 77 lines, 3189 characters


Executing Test_retab()


Executing Test_retab_error()


"test_retab.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"706L, 19240C711L, 19331C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_registers.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_registers.vim" 27 lines, 821 characters


Executing Test_yank_shows_register()
1 line yankedinto "z
2 lines yankedinto "z
block of 1 line yanked into "z2 lines yankedinto "z
"test_registers.vim" 27L, 821Cres" [New File][New] 0L, 0C written


Executed 1 test
"messages"711L, 19331C715L, 19410C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_ruby.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_ruby.vim" 51 lines, 1229 characters
"test_ruby.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"715L, 19410C718L, 19447C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_scrollbind.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_scrollbind.vim" 32 lines, 807 characters


Executing Test_scrollbind()
"test_scrollbind.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"718L, 19447C722L, 19518C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_search.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search.vim" 358 lines, 10339 characters


Executing Test_search_cmdline()/[?2004hfoobar
/[?2004hthe
search hit BOTTOM, continuing at TOP/[?2004hthes
/foobar
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthei
/[?2004htheis
/[?2004htheiss
/[?2004hthemthe\>
Executing Test_search_cmdline2()/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hfoo
6 their

  7 the

  8 them

  9 these

 10 foobar

[No Name] [+]                                                                   " Test for the search command



set belloff=all

func Test_search_cmdline()

  if !exists('+incsearch')

    return

  endif

  " need to disable char_avail,

  " so that expansion of commandline works

  call test_override("char_avail", 1)

  new

  call setline(1, ['  1', '  2 these', '  3 the', '  4 their', '  5 there', '  66 their', '  7 the', '  8 them', '  9 these', ' 10 foobar'])

  " Test 1

  " CTRL-N / CTRL-P skips through the previous search history

  set noincsearch

test_search.vim                                                                 Executing Test_search_cmdline3()/[?2004hthe\~
Executing Test_search_cmdline4()?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM?[?2004hthe
Executing Test_searchc()


Executing Test_searchpair()


Executing Test_use_sub_pat()
"test_search.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"722L, 19518C732L, 19771C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_signs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_signs.vim" 199 lines, 6383 characters


Executing Test_sign()
"foo" [New File]a  b  c xd                                                                                 ~

[No Name] [+]                                                                   " Test for signs



if !has('signs')

  finish

endif

test_signs.vim                                                                  ~                                                                               ~                                                                               ~                                                                               ~                                                                               foo                                                                               a

  b

x c

  d

[No Name] [+]                                                                     a  bx c  d  ~   "foo" [New file] --No lines in buffer--
"barF

Executing Test_sign_completion():[?2004hsign ...define jump list place undefine unplace
:"sign define jump list place undefine unplace
:"
:[?2004hsign define Sign ...icon= linehl= text= texthl=
:"sign define Sign icon= linehl= text= texthl=
:"
:[?2004hsign define Sign linehl=Spell...Bad SpellCap SpellLocal SpellRare
:"sign define Sign linehl=SpellBad SpellCap SpellLocal SpellRare
:"
:[?2004hsign define Sign icon=Xsig...nOne XsignTwo
:"sign define Sign icon=XsignOne XsignTwo
:"
:[?2004hsign undefine ...Sign1 Sign2
:"sign undefine Sign1 Sign2
:"
:[?2004hsign place 1 ...buffer= file= line= name=
:"sign place 1 buffer= file= line= name=
:"
:[?2004hsign place 1 name=...Sign1 Sign2
:"sign place 1 name=Sign1 Sign2
:"
:[?2004hsign unplace 1 ...buffer= file=
:"sign unplace 1 buffer= file=
:"
:[?2004hsign list ...Sign1 Sign2
:"sign list Sign1 Sign2
:"
:[?2004hsign jump 1 ...buffer= file=
:"sign jump 1 buffer= file=
:"


Executing Test_sign_delete_buffer()


Executing Test_sign_invalid_commands()


Executing Test_sign_undefine_still_placed()
"foobar" [New File]test_signs.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"732L, 19771C740L, 19984C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_smartindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_smartindent.vim" 41 lines, 935 characters


Executing Test_nosmartindent()/[?2004hsome
search hit BOTTOM, continuing at TOP


Executing Test_smartindent_has_no_effect()
"test_smartindent.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"740L, 19984C745L, 20103C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_spell.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_spell.vim" 779 lines, 25186 charactersgcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o



Executing Test_spellreall()


Executing Test_wrap_search()
search hit BOTTOM, continuing at TOP


Executing Test_z_equal_on_invalid_utf8_word()
Change "ÿ" to:

 1 "I"


 2 "W"


 3 "Y"


 4 "A"


 5 "E"


 6 "O"


 7 "U"


 8 "À"


 9 "B"


10 "C"


11 "D"


12 "F"


13 "G"


14 "H"


15 "J"


16 "K"


17 "L"


18 "M"


19 "N"


20 "P"


21 "Q"


22 "R"


Type number and <Enter> or click with mouse (empty cancels): 


Executing Test_zeq_crash()
Change "asd" to:

 1 "Acid"


 2 "Sad"


 3 "Ads"


 4 "And"


 5 "Ask"


 6 "Asp"


 7 "Add"


 8 "Aid"


 9 "Ass"


10 "Ad"


11 "As"


12 "USD"


13 "Ash"


14 "Asst"


15 "Assad"


16 "SSD"


17 "SD"


18 "AMD"


19 "ASB"


20 "ASL"


21 "BSD"


22 "LSD"


Type number and <Enter> or click with mouse (empty cancels): :[?2004h\"Executing Test_zz_NOSLITSUGS()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 8 of 26 nodes; 18 (69%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 90 bytes


4 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_Numbers()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 2 of 15 nodes; 13 (86%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 65 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_affix()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 105 nodes; 86 (81%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 87 nodes; 68 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_basic()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_compound()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 29 nodes; 23 (79%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 115 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_prefixes()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 98 nodes; 88 (89%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 505 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_sal_and_addition()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 241 bytes


Reading word file Xtest.latin1.add ...


Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.latin1.add.spl ...


Done!


Estimated runtime memory use: 145 bytes/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP
"test_spell.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [converted] 745L, 20103C[converted] 759L, 20479C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup.vim" 265 lines, 7013 characters


Executing Test_after_comes_later()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l1: /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xbefore.vim


  2: /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xhere/plugin/here.vim


  3: /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xanother/plugin/anoth


er.vim


  4: /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xhere/pack/foo/start/


foobar/plugin/foo.vim


  5: /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xafter/plugin/later.v


im

  6: /<<PKGBUILDDIR>>/src/vim-basic/testdir/Xafter.vim


here another pack after
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_compatible_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25lError detected while processing /<<PKGBUILDDIR>>/src/vim-basic/te


stdir/Xafter.vim:


line    2:


E528: Must specify a ' value: viminfo+=nviminfo
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_default_term()[?2004l[?2004h


Executing Test_file_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l3 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l2 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004llink.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_athena.o objects/gui_x11.o objects/gui_beval.o objects/gui_at_sb.o objects/gui_at_fs.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l4 files to edit
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_help_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_pack_in_rtp_when_plugins_run()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_progpath()


Executing Test_read_stdin()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 1 line, 10 characters[?2004h[?12h[?12l"Xtestout" [New File] 1 line, 10 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_silent_ex_mode()[?2004l[?2004h


Executing Test_startup_script()[?1000h


Executing Test_startuptime()[?2004l[?1l>[?25h[?1049l[?1000l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?1000h[?2004h[?1049h[?1h=[?2004h[?25l"test_startup.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" 759L, 20479C773L, 20865C written
[?1000l[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup_utf8.vim" 64 lines, 1366 characters


Executing Test_read_fifo_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"/dev/fd/63" [readonly] 2 lines, 24 characters


"Xtestout" [New File] 2 lines, 24 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_read_stdin_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 2 lines, 24 characters[?2004h[?12h[?12l"Xtestout" [New File] 2 lines, 24 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h[?25l"test_startup_utf8.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"773L, 20865C778L, 20976C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_stat.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_stat.vim" 92 lines, 2287 characters


Executing Test_checktime()
"Xtest.tmp" 1L, 13C[?25h[?2004llink.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena'
# Ensure ERM is set to a sane value for testing
[ yes != "yes" ] || flock debian env TERM=xterm /usr/bin/make -j1 -C src/vim-athena test
[?2004h[?25l1L, 25C


Executing Test_existent_directory()


Executing Test_existent_file()


Executing Test_nonexistent_file()


Executing Test_win32_symlink_dir()
"test_stat.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"778L, 20976C786L, 21177C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_substitute.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_substitute.vim" 296 lines, 12358 characters


Executing Test_multiline_subst()


search hit BOTTOM, continuing at TOP
3 substitutions on 3 lines

3 substitutions on 2 lines


Executing Test_sub_replace_1()


Executing Test_sub_replace_10()


Executing Test_sub_replace_2()


Executing Test_sub_replace_3()


Executing Test_sub_replace_4()


Executing Test_sub_replace_5()


Executing Test_sub_replace_6()


Executing Test_sub_replace_7()


Executing Test_sub_replace_8():[?2004hs/\(^\|,\)\ze\(,\|Y\)/\1N/gc
N,,NX

,,Y

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       replace with \1N (y/n/a/q/l/^E/^Y)?:[?2004hs/\(^\|,\)\ze\(,\|Z\)/\1N/gc
N,,NY

,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?N,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?Executing Test_sub_replace_9():[?2004hs/x/X/gc
xxx~                                                                               ~                                                                               replace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Executing Test_substitute_repeat()
"Xfile" [New File]Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sc


x

[?25l^[?25hy


[?25lxx


Executing Test_substitute_variants():[?2004hs/Test/test/c
Testing string

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               replace with test (y/n/a/q/l/^E/^Y)?:[?2004hsc
replace with test (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ce
:[?2004hsce
:[?2004hs/t/r/cg
Tesreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscg
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/ci
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsci
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cI
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscI
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cn
1 match on 1 line:[?2004hscn
1 match on 1 line:[?2004hs/t/r/cp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hscp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hs/t/r/cl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hscl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hs/t/r/gc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hsgc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ge
:[?2004hsge
:[?2004hs/t/r/g
:[?2004hsg
:[?2004hs/t/r/gi
3 substitutions on 1 line:[?2004hsgi
3 substitutions on 1 line:[?2004hs/t/r/gI
:[?2004hsgI
:[?2004hs/t/r/gn
2 matches on 1 line:[?2004hsgn
2 matches on 1 line:[?2004hs/t/r/gp
Tesring srring$:[?2004hsgp
Tesring srring$:[?2004hs/t/r/gl
Tesring srring$:[?2004hsgl
Tesring srring$:[?2004hs//r/gr
:[?2004hsgr
:[?2004hs/t/r/ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsic
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ie
:[?2004hsie
:[?2004hs/t/r/i
:[?2004hsi
:[?2004hs/t/r/iI
:[?2004hsiI
:[?2004hs/t/r/in
1 match on 1 line:[?2004hsin
1 match on 1 line:[?2004hs/t/r/ip
resting string$:[?2004hsip
resting string$:[?2004hs//r/ir
:[?2004hsir
:[?2004hs/t/r/Ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsIc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/Ie
:[?2004hsIe
:[?2004hs/t/r/Ig
:[?2004hsIg
:[?2004hs/t/r/Ii
:[?2004hsIi
:[?2004hs/t/r/I
:[?2004hsI
:[?2004hs/t/r/Ip
Tesring string$:[?2004hsIp
Tesring string$:[?2004hs/t/r/Il
Tesring string$:[?2004hsIl
Tesring string$:[?2004hs//r/Ir
:[?2004hsIr
:[?2004hs//r/rc
tingreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsrc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs//r/rg
:[?2004hsrg
:[?2004hs//r/ri
:[?2004hsri
:[?2004hs//r/rI
:[?2004hsrI
:[?2004hs//r/rn
1 match on 1 line:[?2004hsrn
1 match on 1 line:[?2004hs//r/rp
Testr string$:[?2004hsrp
Testr string$:[?2004hs//r/rl
Testr string$:[?2004hsrl
Testr string$:[?2004hs//r/r
:[?2004hsr
"test_substitute.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 786L, 21177C802L, 21638C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_syntax.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_syntax.vim" 522 lines, 14436 characters


Executing Test_bg_detection()


Executing Test_conceal()123456

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X 6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1XY6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 16

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 Executing Test_highlight_invalid_arg()


Executing Test_invalid_name()


Error detected while processing function RunTheTest[24]..Test_invalid_name:


line    4:


W18: Invalid character in group name


Executing Test_ownsyntax()
"Xfoo" [New File]

2 buffers wiped out


Executing Test_ownsyntax_completion():[?2004hownsyntax java... javacc javascript
:"ownsyntax java javacc javascript
:"


Executing Test_syn_clear()


Executing Test_syn_iskeyword()CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


syntax iskeyword @,48-57,_,192-255CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


Executing Test_syn_sync()


Executing Test_synstack_synIDtrans()


Executing Test_syntax_after_reload()
"Xsomefile" [New File][New] 2L, 12C written
"other" [New File]Xsomefile" 2L, 12C


Executing Test_syntax_arg_skipped()


Executing Test_syntax_completion():[?2004hsyn ...case clear cluster conceal enable include iskeyword keyword list manual ma


tch off on region reset spell sync"syn case clear cluster conceal enable include iskeyword keyword list manual match off on region reset spell sync
:[?2004hsyn case ...ignore match
:"syn case ignore match
:"
:[?2004hsyn spell ...default notoplevel toplevel
:"syn spell default notoplevel toplevel
:"
:[?2004hsyn sync ...ccomment clear fromstart linebreaks= linecont lines= match maxlines=


minlines= region"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region
:[?2004hsyn list ...Aap Boolean Character ColorColumn Comment Conceal Conditional Constan


tCursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd DiffChange


DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float FoldCo


lumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include Keyword


Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number Operato"syn list Aap Boolean Character ColorColumn Comment Conceal Conditional Constant CursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd DiffChange DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float FoldColumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include Keyword Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number Operat
:[?2004hsyn list ...Boolean Character ColorColumn Comment Conceal Conditional Constant Cu
:"syn list Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"
:[?2004hsyn match ...Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"syn match Boolean Character ColorColumn Comment Conceal Conditional Constant 
:"


Executing Test_syntax_hangs()aaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

thereXsomefileaaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

there

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xsomefile                                                                       Executing Test_syntax_invalid_arg()


Executing Test_syntax_list()
"../memfile_test.c" [readonly] 143L, 3142C


--- Syntax items ---




--- Syntax items ---


"Xsomefile" [New File]


Executing Test_syntime()
"../memfile_test.c" [readonly] 143L, 3142C/* vi:set ts=8 sts=4 sw=4 noet:

 *

 * VIM - Vi IMproved    by Bram Moolenaar

 *

 * Do ":help uganda"  in Vim to read copying and usage conditions.

 * Do ":help credits" in Vim to see a list of people who contributed.

 * See README.txt for an overview of the Vim source code. *//* * memfile_test.c: Unittests for memfile.c * Mostly by Ivan Krasilnikov. */#undef NDEBUG#include <assert.h>/* Must include main.c because it contains much more than just main() */#define NO_VIM_MAIN#include "main.c"/* This file has to be included because the tested functions are static */#include "memfile.c""Xsomefile" [New File]
"test_syntax.res" [New File][New] 0L, 0C written


Executed 17 tests
"messages" 802L, 21638C822L, 22217C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_system.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_system.vim" 92 lines, 2923 characters


Executing Test_System()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"Xdummy" [New File][?2004l[?2004h[?2004l[?2004h[?2004l[?2004h

Executing Test_system_exmode()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"test_system.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"822L, 22217C827L, 22312C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_tcl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_tcl.vim" 23 lines, 471 characters
"test_tcl.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"827L, 22312C830L, 22348C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal.vim" 678 lines, 17334 characters


Executing Test_finish_open_close()


This will take five seconds...[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25lExecuting Test_terminal_basic()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_curwin()
"dummy" [New File]file] --No lines in buffer--


"dummy" [Modified][New file] line 1 of 1 --100%-- col 1


"dummy" [New File]


Executing Test_terminal_cwd()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_env()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_hide_buffer()
"17buf" [New File]

Executing Test_terminal_list_args()


Executing Test_terminal_make_change()[?25h[?2004l[?2004h


[?25l1 change; before #1  0 seconds ago


Executing Test_terminal_nasty_cb()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_no_cmd()


Executing Test_terminal_noblock()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_redir_file()[?2004l[?2004h[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_123()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_multibyte()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scroll()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_size()


Executing Test_terminal_special_chars()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_split_quit()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_tmap()]12;[2 q[?25h]12;[?2004l[?2004h]12;[2 q]12;[?2004l[?2004h


[?25lExecuting Test_terminal_wipe_buffer()


Executing Test_terminal_write_stdin()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_wrong_options()


Executing Test_zz_terminal_in_gui()
"test_terminal.res" [New File][New] 0L, 0C written


Executed 23 tests
"messages" 830L, 22348C856L, 23206C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal_fail.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal_fail.vim" 21 lines, 627 characters


Executing Test_terminal_redir_fails()[?2004l[?2004h[?25h[?25l
"test_terminal_fail.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"856L, 23206C860L, 23290C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_textobjects.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_textobjects.vim" 54 lines, 1127 characters


Executing Test_inner_block_with_cpo_M_left_backslash()


Executing Test_inner_block_with_cpo_M_right_backslash()


Executing Test_inner_block_without_cpo_M()


Executing Test_quote_selection_selection_exclusive()
"test_textobjects.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"860L, 23290C867L, 23542C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_undo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_undo.vim" 276 lines, 7228 characters


Executing Test_U_command()global_local_undolevels()
"one" [New File]

6 fewer lines; before #8  0 seconds ago
"two" [New File]

3 fewer lines; before #11  0 seconds ago
"three" [New File]

Executing Test_insert_expr()=[?2004hsetline('.','1234')
1 line less; before #4  0 seconds ago3=[?2004hsetline('.','1234')
1 line less; before #7  0 seconds ago=[?2004hstring(123)
1 line less; before #9  0 seconds ago


Executing Test_undo_del_chars()
1 change; before #3  0 seconds ago21


1 change; before #6  1 seconds ago5
4s; after #3
1; before #21


3 changes; after #6  1 seconds agobefore #7  0 seconds ago


3 changes; before #1  3 seconds ago


3 changes; after #6  3 seconds ago


3 changes; after #9  0 seconds ago


Executing Test_undo_write()
"Xtest" [New File][New] 1L, 12C written3L, 20C written
1 line less; before #4  0 seconds ago


2 fewer lines; before #2  0 seconds ago


1 line less; before #1  0 seconds ago


1 more line; after #1  0 seconds ago


2 more lines; after #3  0 seconds ago


1 more line; after #4  0 seconds ago


Executing Test_undofile_earlier()
"Xfile" [New File][New] 3L, 14C written3L, 14C


Finished reading undo file Xundofile


3 fewer lines; before #1  2017/09/29 18:27:38


Executing Test_undojoin()
1 line less; before #2  0 seconds ago
2 fewer lines; before #3  0 seconds ago


Executing Test_undojoin_redo():[?2004hundojoin | redo
Already at newest change


Executing Test_undolist()
1 change; before #2  0 seconds ago
Executing Test_undotree()

1 change; before #2  0 seconds ago
"Xtest" [New] 1L, 4C written
"test_undo.res" [New File][New] 0L, 0C written


Executed 10 tests
"messages" 867L, 23542C880L, 23881C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_usercommands.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_usercommands.vim" 209 lines, 6183 characters


Executing Test_Ambiguous()


Executing Test_CmdCompletion():[?2004hcom -...addr bang bar buffer complete count nargs range register
:"com -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=0 -...addr bang bar buffer complete count nargs range register
:"com -nargs=0 -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=...* + 0 1 ?
:"com -nargs=* + 0 1 ?
:"
:[?2004hcom -addr=...arguments buffers lines loaded_buffers quickfix tabs windows
:"com -addr=arguments buffers lines loaded_buffers quickfix tabs windows
:"
:[?2004hcom -complete=co...lor command compiler
:"com -complete=color command compiler
:"
:[?2004hcom ...DoCmd1 DoCmd2
:"com DoCmd1 DoCmd2
:"
:[?2004hDoC...md1 DoCmd2
:"DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md1 DoCmd2
:"delcom DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md2
:"delcom DoCmd2
:"
:[?2004hcom DoC...md2
:"com DoCmd2
:"
:[?2004hdelcom DoC...
:"delcom DoC
:"
:[?2004hcom DoC...
:"com DoC
:"
:[?2004hDoCmd ...mswin xterm
:"DoCmd mswin xterm
:"
:[?2004hDoCmd ...January February Mars
:"DoCmd January February Mars
:"
:[?2004hDoCmd ...Monday Tuesday Wednesday
:"DoCmd Monday Tuesday Wednesday
:"
:[?2004hDoCmd 


:DoCmd :[?2004hDoCmd 


:DoCmd Executing Test_CmdErrors()


Executing Test_CmdUndefined()


Executing Test_cmdmods()
"test_usercommands.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"880L, 23881C888L, 24067C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_viminfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_viminfo.vim" 515 lines, 13492 characters


Executing Test_cmdline_history()


Executing Test_cmdline_history_order()


Executing Test_global_vars()


Executing Test_viminfo_bad_syntax()


Executing Test_viminfo_encoding()
"Xviminfo" [converted] 73L, 3460C


Executing Test_viminfo_file_mark_tabclose()
"Xtestfileintab" [New File]viminfo" 83L, 3639C


Executing Test_viminfo_file_mark_zero_time()


Executing Test_viminfo_file_marks()
"ten" [New File]again" [New File]
"thirty" [New File]
"twen
"again" [New File]fourty" [New File]
"Xviminfo" 90L, 3437C


Executing Test_viminfo_jumplist()
"testbuf" [New File]/[?2004h20
/[?2004h30
/[?2004hlast pos
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere


Executing Test_viminfo_marks()
"bufa" [New File]b


Executing Test_viminfo_oldfiles()


Executing Test_viminfo_read_and_write()


Executing Test_viminfo_registers()
"test_viminfo.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 888L, 24067C904L, 24579C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_vimscript.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_vimscript.vim" 1448 lines, 36110 characters


Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/te


stdir/test_vimscript.vim:


line  432:


E492: Not an editor command: ^Iasdf


line  444:


E492: Not an editor command: ^Iasdf


line  452:


E492: Not an editor command: asdf


line  455:


E492: Not an editor command: asdf | Xpath 'p'


Error detected while processing function T8_F:


line    5:


E492: Not an editor command: ^I    asdf


line    7:


E492: Not an editor command: ^I    asdf | Xpath 'd'


line   19:


E492: Not an editor command: ^I    asdf


line   21:


E492: Not an editor command: ^I    asdf | Xpath 'l'


line   29:


E121: Undefined variable: novar


E15: Invalid expression: novar^I^I" returns (default return value 0)


Error detected while processing function T8_G:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function T8_H:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function F[2]..G[2]..H[2]..I:


line    2:


E492: Not an editor command:     asdf^I^I" error


Error detected while processing /<<PKGBUILDDIR>>/src/vim-basic/te


stdir/test_vimscript.vim:


line  663:


E15: Invalid expression: | strlen("\"") | Xpath 'j'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'j'


line  673:


E15: Invalid expression: | strlen("\"") | Xpath 'n'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'n'


line  682:


E15: Invalid expression: | strlen("\"") | Xpath 'r'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'r'


line  717:


E492: Not an editor command:     asdf^I^I" error


1

line  787:


E492: Not an editor command:     asdf^I^I" error


line  794:


E492: Not an editor command:     asdf^I^I" error


line  817:


E121: Undefined variable: asdf


E15: Invalid expression: asdf


line  828:


E121: Undefined variable: asdf


E15: Invalid expression: asdf | Xpath 'f' | endwhile | Xpath 'g'


Error detected while processing function F:


line    8:


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar^I" possibly undefined


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar | Xpath 'd' | else | Xpath 'e' | endif


Executing Test_arg_abort()


Executing Test_bitwise_functions()


Executing Test_braces_skipped()


Executing Test_curlies()


Executing Test_defining_functions()


Executing Test_delfunction_force()


Executing Test_echo_and_string()


foo bar


'foo bar'


-1.2


-1.2


string


function('string')


{'a': {...}}


{'a': {...}}


[[...]]


[[...]]


[{}, {}, {}]


[{}, {}, {}]


{'a': {}, 'b': {}}


{'a': {}, 'b': {}}


[[], [], []]


[[], [], []]


{'a': [], 'b': []}


{'a': [], 'b': []}


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {...}, {...}]


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {'one': 'yes', 'two': 'yes', 'th


ree': 'yes'}, {'one': 'yes', 'two': 'yes', 'three': 'yes'}]


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {...}}


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {'one': 'yes', 'two':


'yes', 'three': 'yes'}}


[[1, 2, 3], [...], [...]]


[[1, 2, 3], [1, 2, 3], [1, 2, 3]]


{'a': [1, 2, 3], 'b': [...]}


{'a': [1, 2, 3], 'b': [1, 2, 3]}


Executing Test_endfunction_trailing()


W22: Text found after :endfunction: garbage
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Executing Test_endwhile_function()


Executing Test_endwhile_script()


   function T1_F()


1      Xpath 'a'


2      let first = 1


3      while 1


4Xpath 'b'


5if first


6Xpath 'c'


7let first = 0


8break


9else


10Xpath 'd'


11return


12endif


13     endwhile


   endfunction"/tmp/vvq14Ox/0" [noeol] 16L, 299C

13 substitutions on 13 lines

Pattern not found: ^\s*$
"/tmp/vvq14Ox/0" 13L, 248C written
"test_vimscript.vim" 1448L, 36110C

   function T1_G()

1      Xpath 'h'

2      let first = 1

3      while 1

4Xpath 'i'

5if first

6Xpath 'j'

7let first = 0

8break

9else

10Xpath 'k'

11return


12endif


13if 1    " unmatched :if


14     endwhile


   endfunction"/tmp/vvq14Ox/1" [noeol] 17L, 334C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/vvq14Ox/1" 14L, 281C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_error_in_function()

Executing Test_error_in_script()

Executing Test_expr_parsing()

Executing Test_finish()

   function T4_F()

1      if 1

2Xpath 'a'

3let loops = 3

4while loops > 0"    3:  2:     1:

5Xpath 'b' . loops

6if (loops == 2)

7Xpath 'c' . loops

8return


9Xpath 'd' . loops


10endif


11Xpath 'e' . loops


12let loops = loops - 1


13endwhile


14Xpath 'f'


15     else


16Xpath 'g'


17     endif


   endfunction"/tmp/vvq14Ox/2" [noeol] 20L, 504C

17 substitutions on 17 lines

Pattern not found: ^\s*$
"/tmp/vvq14Ox/2" 17L, 445C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_func_abort()

Executing Test_if_bar_fail()

Executing Test_if_fail()

Executing Test_if_while()

Executing Test_num64()

Executing Test_return()

Executing Test_script_emty_line_continuation()

Executing Test_script_lines()

Executing Test_script_local_func():[?2004hcall <SNR>5_DoNothing()|call <SNR>5_DoLast()|delfunc <SNR>5_DoNothing|delfunc <SNR>5_DoLast


Executing Test_skip()

Executing Test_type()

Executing Test_user_command_with_bang()

Executing Test_while_fail()
"test_vimscript.res" [New File][New] 0L, 0C written

Executed 27 tests
"messages" 904L, 24579C934L, 25453C written

[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_visual.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_visual.vim" 93 lines, 1991 characters


Executing Test_Visual_ctrl_o():[?2004hset tw=88


Executing Test_Visual_inner_quote()


Executing Test_Visual_vapo()


Executing Test_block_shift_multibyte()


Executing Test_block_shift_overflow()


Executing Test_dotregister_paste()


Executing Test_visual_mode_reset():[?2004h'<,'>call TriggerTheProblem()
"test_visual.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"934L, 25453C944L, 25736C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_winbar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_winbar.vim" 23 lines, 426 characters


Executing Test_add_remove_menu():[?2004hlet g:did_next = 11
:[?2004hlet g:did_cont = 12


"test_winbar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"944L, 25736C948L, 25808C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_window_id.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_window_id.vim" 103 lines, 2714 characters


Executing Test_win_getid()
"one" [New File]twohree" [New File]
"four" [New File]ive


Executing Test_win_getid_curtab()
"X" [New File]test_window_id.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"948L, 25808C953L, 25912C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_windows_home.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_windows_home.vim" 121 lines, 3249 characters
"test_windows_home.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"953L, 25912C956L, 25957C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_writefile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_writefile.vim" 51 lines, 1496 characters


Executing Test_writefile()


Executing Test_writefile_fails_conversion()
"Xfile" 2L, 18C

WARNING: Original file may be lost or damaged


don't quit the editor until the file is successfully written!


Executing Test_writefile_fails_gently()


"test_writefile.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"956L, 25957C962L, 26111C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_latin.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_latin.vim" 7 lines, 280 characters


Executing Test_backref()


Executing Test_eow_with_optional()


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_nested_backrefs()


Executing Test_recursive_substitute()
"test_alot_latin.res" [New File][New] 0L, 0C written


Executed 6 tests
"messages"[converted] 962L, 26111C[converted] 971L, 26352C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_utf8.vim" 15 lines, 542 characters[?2004l[?1l>[?25h[?1049lExecuting Test_classes_re1()


Executing Test_classes_re2()


Executing Test_comparisons()


Executing Test_customlist_completion():Test1 ...
:"Test1
:"
:Test2 ...あた
:"Test2 あた
:"
:Test3 ...N
:"Test3 N
:"


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_gap()etvcol()


Executing Test_large_class()


Executing Test_match_using_multibyte_conceal_char()#ˑThisˑisˑaˑTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " A series of tests that can run in one Vim invocation.

" This makes testing go faster, since Vim doesn't need to restart.



" These tests use utf8 'encoding'.  Setting 'encoding' is already done in

" runtest.vim.  Checking for the multi_byte feature is in the individual

" files, so that they can be run by themselves.



set belloff=all

source test_charsearch_utf8.vim

source test_expr_utf8.vim

test_alot_utf8.vim                                                              Executing Test_reversed_range()


Executing Test_search_cmds()


Executing Test_source_latin()
"Xscript"[New] 2L, 44C written
Executing Test_source_utf8()"Xscript"[New] 2L, 42C written:%s/àx/--à1234--/g
:%s/Àx/--À1234--/g


Executing Test_strcharpart()


Executing Test_strchars()


Executing Test_strgetchar()


Executing Test_visual_block_insert()
"test_alot_utf8.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 971L, 26352C992L, 26955C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot.vim" 62 lines, 1523 characters


Executing Test_abbr_after_line_join()


Executing Test_abbreviation()s()

Executing Test_acos()


Executing Test_asin()


Executing Test_atan()


Executing Test_atan2()


Executing Test_auto_partial_rebind()


Executing Test_balloon_show()


Executing Test_bind_in_python()


Executing Test_break_undo()ufexists()"Xfoo" [New File]

Executing Test_byte2line_line2byte()


Executing Test_cancel_ptjump()


Already only one window:[?2004hptjump word
  # pri kind tagfile


  1 Fwordfile1


cmd1


  2 Fwordfile2


cmd2


Type number and <Enter> (empty cancels): 
"help.txt" [readonly] 225L, 8437C


Executing Test_caught_error_in_statusline()source test_reltime.vim

source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



                                                                                Executing Test_caught_error_in_tabline()                                                                                source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



test_alot.vim                                                                   Executing Test_cd_large_path()


Executing Test_cd_up_and_down()


Executing Test_ceil()


Executing Test_changedtick_bdel()


Executing Test_changedtick_dict_entry()


Executing Test_changedtick_fixed()


Executing Test_changedtick_increments()


1 line less; before #1  0 seconds ago


Executing Test_changedtick_islocked()


Executing Test_changenr()
"Xchangenr" [New File]

1 change; before #2  0 seconds ago


1 change; after #2  0 seconds ago


Executing Test_close_on_quitpre()
"tab1" [New File]2est_alot.vim" 62L, 1523C


Executing Test_closure_counter()


Executing Test_closure_refcount()


Executing Test_closure_unlet()


Executing Test_col()


Executing Test_color_names()


Executing Test_compare_null_dict()


Executing Test_compare_partials()


Executing Test_compl_vim_cmds_after_register_expr()=[?2004hs:test_func()
 AAAAA_Group             tBufAdd                  BufCreate               BufDelete               BufEnter                BufFilePost             BufFilePre              BufHidden               BufLeave                BufNew                  BufNewFile              BufRead                 BufReadCmd              BufReadPost             BufReadPre              BufUnload               BufWinEnter             BufWinLeave             BufWipeout              BufWrite                BufWriteCmd             BufWritePost           

match 1 of 92

Executing Test_complete_CTRLN_startofbuffer()organize       

cupboard       match 2prioritize     

bureau         Scanning: test_alot.vimab2 tags.
match 2 of 90cupboard.organize(3, 2);

bureauprioritize(bureau, 8, 7);

realize(bannister, 4, 4);

moralize(railing, 3,9);

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

test_alot.vim                                                                   prioritize                          

bureau                              

realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

series              test_alot.vim   

ofo                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   

testing             test_alot.vim   



realize        

bannister      Scanning: test_alot.vimab2 tags.
match 2 of 90.prioritize(8, 7);bannisterrealize(bannister, 4, 4);moralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

seriesm              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   moralize       

railing        Scanning: test_alot.vimab2 tags.
match 2 of 90.realize(4, 4);railingmoralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

bannister                           

realizee                             

series              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   Executing Test_complete_func_mess()Jan~                                                                               ~                                                                               ~                                                                               ~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       match 1 of 3
Oct

Oct            

Nov            

Dec            Oct

~              

~              

~              Oct            

Nov            

Dec            

Executing Test_complete_no_undo()=[?2004hUndoComplete()
match 1 of 12xxx

aaayyy~              January        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       1 change; before #2  0 seconds ago=[?2004hUndoComplete()
match 1 of 12
bbb

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       

January        1 change; before #4  0 seconds ago=[?2004hUndoComplete()
match 1 of 12

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December           
January



~              

~              

~              

~              

~              

~              

~              

~              February       

March          

April          

May            

June           

July           

August         

September      January        1 change; before #5  0 seconds ago


Executing Test_completefunc_opens_new_window_one()


search hit BOTTOM, continuing at TOP
Pattern not found

Executing Test_completefunc_opens_new_window_two()


search hit BOTTOM, continuing at TOPExecuting Test_completefunc_with_scratch_buffer()January        

February  

March   

April    

May      January        

February       match 2 of 5info2-1

2-2

2-3



February

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vimJanuary        

February       

March          

April          

May            



[Scratch]                                                                       test_alot.vim                                                                   [Scratch] [Preview]                                                             [Scratch]                                                                       match 3 of 5
March~              

~              

~              

~              

~              January        

February       

March          

April          

May            3

3

3[Scratch]                                                                        [Scratch]                                                                       February       

March          4
April

~              

~              

~              

~              

~              January        

February       

March          

April          

May            4

4

4[Scratch]                                                                        [Scratch]                                                                       March          

April          

Executing Test_completefunc_works()


search hit BOTTOM, continuing at TOPthreedef       

threeDEF       threedef       

threeDEF       match 2 of 2
threeDEF

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~              

~              

~              

~              

~              threedef       

threeDEF       

Executing Test_completion_can_undo()=[?2004hCompleteUndo()
match 1 of 12~              

~              No Name]January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       

1 line less; before #1  0 seconds ago


Executing Test_completion_clear_candidate_list()
Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~                                                                               ~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tabHello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          match 1 of 2
Hello~              

~              Hello          

World          Hello          

Executing Test_completion_comment_formatting()Executing Test_completion_ctrl_e_without_autowrap()
match 1

Executing Test_completion_respect_bs_option()
Back at originalBack at original

Executing Test_conf_type()
"Xfile" 2L, 28C


Executing Test_cos()


Executing Test_cosh()


Executing Test_count()


Executing Test_cursorline_keep_col()


Executing Test_curswant_with_autocommand()


Executing Test_cycle_partial_job()


Executing Test_cyclic_dict_arg()


Executing Test_cyclic_list_arg()


Executing Test_delete_myself()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_detection()
"something.vim" [New File]


Executing Test_dict()


Executing Test_dir_delete()


Executing Test_duplicate_tagjump()
"Xfile1" [New File][New] 3L, 38C written


tag 2 of 3
tag 3
Executing Test_empty()


Executing Test_empty_buffer()


Executing Test_empty_concatenate()


Executing Test_equal()


Executing Test_equalalways_on_close()


Executing Test_ex_mode()
Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sleep 100m


[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h:vi




[?25lExecuting Test_ex_undo()
"ex-undo" [New File]

1 line less; before #3  0 seconds ago


1 line less; after #1  0 seconds ago


2 fewer lines; before #1  0 seconds ago


Executing Test_execute_list()


Executing Test_execute_string()


this


theend


something


Executing Test_existing()


Executing Test_exp()


Executing Test_expand()


Executing Test_feedkeys_x_with_empty_string()ile_delete()"Xfile" [New File][New] 2L, 4C written


Executing Test_file_perm()


Executing Test_fileformat_after_bw()
"tab2" [New File]ex-undo" [New File]


Executing Test_fileformat_autocommand()
"Xfile" [CR missing][dos] 8L, 39C


Executing Test_filetype_detection()
"file.slt" [New File]uil
"/etc/slp.reg" [New File]
"file.sa" [New File]sbclrc" [New File].sbclrc" [New File]
"file.fal" [New File]drac" [New File]c" [New File]lvs" [New File]pe
".reminders" [New File]
"file.remind" [New File]" [New File]x" [New File]m2" [New File]i
"/etc/dnsmasq.conf" [New File]
"file.feature" [New File]odl" [New File]mof
".gdbinit
".gtkrc" [New File]gtkrc" [New File]file.ave" [New File]st" [New File]cala" [New File]
"/etc/man.conf" [New File]
"man.config" [New File]file.plx" [New File]al" [New File]psgi" [New File]
"gitolite.rc" [New File]
".gitolite.rc" [New File]
"example.gitolite.rc" [New File]
"file.lss" [New File]git-rebase-todo" [New File]
"file.dcd" [New File].inputrc
"inputrc" [New File]file.sci" [New File]edesktop" [New File]
".directory" [New File]/etc/elinks.conf" [New File]
"/.elinks/elinks.conf" [New DIRECTORY]
"texmf.cnf" [New File]file.abc" [New File]strl" [New File]mt" [New File]ith" [New File]lot" [New File]os" [New File]sqlj" [New File]/boot/grub/menu.lst" [New DIRECTORY]grub.conf" [New DIRECTORY]
"/etc/grub.conf" [New File]file.v" [New File]hog" [New File]
"snort.conf" [New File]
"vision.conf" [New File]
"file.sst" [New File]mi-sst" [New File]_sst.meta" [New File]-sst.meta" [New File]_
"/etc/apt/sources.list" [readonly] 2L, 104C.d/file.list" [New File]
"file.page" [New File]ecd" [New File]mchrefimp
"enlightenment/file.cfg" [New DIRECTORY]
"file.qc" [New File]c" [New File]ec" [New File]EClite" [New File]t" [New File]php" [New File]9" [New File]tml" [New File]ctp" [New File].cvsrc" [New File]file.ijs" [New File]
"fdrupstream.log" [New File]
"upstream.log" [New File]UPSTREAM.LOG
"upstream.file.log" [New File]
"UPSTREAM.FILE.LOG
"file.upstream.log
"FILE.UPSTREAM.LOG
"UPSTREAM-file.logFILE.LOG
"file.haml" [New File].screenrc
"screenrc" [New File]file.riboramglrcpmghex32
".mailcap
"mailcap" [New File].pinerc
"pinerc" [New File].pinercex" [New File]
"pinercex" [New File]file.occ
"/etc/a2ps.cfg" [New File]/file.cfg" [New DIRECTORY]
"a2psrc" [New File].a2psrc" [New File]
".procmail" [New File]rc" [New File]
"file.ttl" [New File]anyXmodmap" [New File]
"file.s19" [New File]2837motsrec" [New File]edf" [New File]if" [New File]o" [New File].Xdefaults" [New File]
".Xpdefaults" [New File]
".Xresource
"xdm-config" [New File]file.ad" [New File]squid.conf" [New File]
"file.lid" [New File]pf.conf" [New File]file.awk" [New File]tr" [New File]nroff" [New File]tmacmom" [New File]wrl
"catalog" [New File]file.lhs" [New File]proto" [New File]aml" [New File]kv" [New File]less" [New File]
"namedfile.conf" [New File]
"rndcfile.conf" [New File]file.gretl" [New File]stp" [New File]/etc/initng/any/file.i" [New DIRECTORY]
"file.ii" [New File]bat" [New File]syspsf
"denyhosts.conf" [New File]
"/etc/login.access" [New File]
"mrxvtrc" [New File].mrxvtrc" [New File]
"file.cdlrtfxpmldif" [New File]abl" [New File]p6" [New File]m6" [New File]ltssop" [New File]
"file,v" [New File].ml" [New File]i" [New File]ly
".ocamlinit" [New File]
"file.erl" [New File]hyaws" [New File]pod6
"/log/authDIRECTORY]crondaemon" [New DIRECTORY]ebug" [New DIRECTORY]kern" [New DIRECTORY]lpr" [New DIRECTORY]mail" [New DIRECTORY]essages" [New DIRECTORY]news/news" [New DIRECTORY]syslog" [New DIRECTORY]user" [New DIRECTORY]auth.log" [New DIRECTORY]crondaemon.log" [New DIRECTORY]ebug.log" [New DIRECTORY]kern.log" [New DIRECTORY]lpr.log" [New DIRECTORY]mail.log" [New DIRECTORY]essages.log" [New DIRECTORY]news/news.log" [New DIRECTORY]syslog.log" [New DIRECTORY]user.log" [New DIRECTORY]auth.errcrondaemon.err" [New DIRECTORY]ebug.err" [New DIRECTORY]kern.err" [New DIRECTORY]lpr.err" [New DIRECTORY]mail.err" [New DIRECTORY]essages.err" [New DIRECTORY]news/news.err" [New DIRECTORY]syslog.err" [New DIRECTORY]user.err" [New DIRECTORY]auth.info" [New DIRECTORY]crondaemon.info" [New DIRECTORY]ebug.info" [New DIRECTORY]kern.info" [New DIRECTORY]lpr.info" [New DIRECTORY]mail.info" [New DIRECTORY]essages.info" [New DIRECTORY]news/news.info" [New DIRECTORY]syslog.info" [New DIRECTORY]user.info" [New DIRECTORY]auth.warncrondaemon.warn" [New DIRECTORY]ebug.warn" [New DIRECTORY]kern.warn" [New DIRECTORY]lpr.warn" [New DIRECTORY]mail.warn" [New DIRECTORY]essages.warn" [New DIRECTORY]news/news.warn" [New DIRECTORY]syslog.warn" [New DIRECTORY]user.warn" [New DIRECTORY]auth.critcrondaemon.crit" [New DIRECTORY]ebug.crit" [New DIRECTORY]kern.crit" [New DIRECTORY]lpr.crit" [New DIRECTORY]mail.crit" [New DIRECTORY]essages.crit" [New DIRECTORY]news/news.crit" [New DIRECTORY]syslog.crit" [New DIRECTORY]user.crit" [New DIRECTORY]auth.notice" [New DIRECTORY]crondaemon.notice" [New DIRECTORY]ebug.notice" [New DIRECTORY]kern.notice" [New DIRECTORY]lpr.notice" [New DIRECTORY]mail.notice" [New DIRECTORY]essages.notice" [New DIRECTORY]news/news.notice" [New DIRECTORY]syslog.notice" [New DIRECTORY]user.notice" [New DIRECTORY]file.xsd" [New File]/.gnupg/options" [New DIRECTORY]gpg.conf" [New DIRECTORY]
"/usr/any/gnupg/options.skel" [New DIRECTORY]
"file.bdf" [New File]/etc/services" [New File]
"file.ice" [New File]mu" [New File]fsl" [New File]t.html" [New File]n1ql" [New File]ql" [New File]exports" [New File]file.def" [New File]takchopro" [New File]rd" [New File]hordpro" [New File]hordpro" [New File]mv" [New File]pl" [New File]wssqriadbsagpro" [New File]build.xml" [New File]
"/debian/control" [New DIRECTORY]
"ipf.conf" [New File]6.conf" [New File]
"ipf.rules
".zprofile
"/etc/zprofile" [New File]
".zfbfmarks" [New File]file.zsh" [New File]sig
"ssh_config" [New File]
"/.ssh/config" [New DIRECTORY]
"main.cf" [New File]file.clj" [New File]s" [New File]xc
"/etc/blkid.tab" [New File].old" [New File]
"file.xmi" [New File]csproj" [New File].user" [New File]ts" [New File]uitpm" [New File]
"/etc/xdg/menus/file.menu" [New DIRECTORY]
"fglrxrc" [New File]ile.xlf" [New File]iff" [New File]ul" [New File]upstream.dat" [New File]
"UPSTREAM.DAT
"upstream.file.dat" [New File]
"UPSTREAM.FILE.DAT
"file.upstream.dat
"FILE.UPSTREAM.DAT
"/etc/serial.conf" [New File]file.java" [New File]" [New File]cfengine.conf" [New File]
"/etc/host.conf" [readonly] 1L, 9C
".povrayrc" [New File]smb.conf" [New File]fstab" [New File]mtab" [New File]file.sas" [New File]miby" [New File]ahk" [New File]infINFvc" [New File]evsum" [New File]errsum" [New File]
"anyEterm/file.cfg" [New DIRECTORY]
"/etc/nanorc" [New File]file.scss" [New File]nqc" [New File]CMakeLists.txt" [New File]
"file.cmake" [New File].in" [New File]
"lilo.conf" [New File]named.root" [New File]
"anyesmtprc
"file.sim" [New File]wmlmysql" [New File]text" [New File]README" [New File]file.lsl" [New File]tli
".tidyrc" [New File]tidyrc" [New File]file.con" [New File]rc" [New File]h" [New File]
"configure.in" [New File]ac
"filter-rules
"file.wm" [New File]lftp.conf" [New File]
".lftprc" [New File]anylftp/rc" [New DIRECTORY]
"file.hlp" [New File]ihlp" [New File]smcltpl" [New File]hb" [New File]chs" [New File]scms" [New File]rkt" [New File]ps" [New File]fa" [New File]afmepsf" [New File]iai" [New File]svg" [New File]
"tags" [New File]/.icewm/menu" [New DIRECTORY]
"svn-commitfile.tmp" [New File]
"file.wrm" [New File]exim.conf" [New File]
"file.4gl" [New File]hm4gl" [New File]frt" [New File]bl" [New File]icn" [New File]cxx++hh" [New File]xx" [New File]ppimoctcinltlhcbloblicfghgrc" [New File]
"filehgrc" [New File].sass" [New File]
".arch-inventory" [New File]
".wgetrc" [New File]wgetrc" [New File]file.kix" [New File]sbt
"inittab" [New File].slrnrc
"file.nsi" [New File]h
"bzr_log.any" [New File]
"apt.conf" [New File]/.aptitude/config" [New DIRECTORY]
"file.jsp" [New File]gkrellmrc" [New File]_x" [New File]
"/etc/sensors.conf" [New File]3.conf" [New File]
"file.tsscl" [New File]spec" [New File]atl" [New File]s" [New File]/etc/updatedb.conf" [New File]
"file.dcl" [New File]i
"/etc/pinforc" [New File]
"/.pinforc" [New File]file.isc" [New File]monk" [New File]ssc" [New File]tsd" [New File]ado" [New File]do" [New File]imata" [New File]mata" [New File]/etc/limits" [New File]anylimits.conf" [New File]d/file.conf" [New DIRECTORY]udev/cdsymlinks.conf" [New File]sendmail.cf" [New File]file.mason" [New File]htmlcomp" [New File]tcl" [New File]k" [New File]itcl" [New File]k" [New File]jacl" [New File]spy" [New File]i
".asoundrc" [New File]
"/usr/share/alsa/alsa.conf" [New DIRECTORY]
"/etc/asound.conf" [New File]file.ist" [New File]m
"gitolite.conf" [New File]
"/etc/libao.conf" [New File]
"/.libao" [New File]any/etc/passwd" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/passwd.bak" [New DIRECTORY]shadow
"file.vroom" [New File]scoretexinfo" [New File]" [New File]xi" [New File]latte" [New File]te" [New File]it" [New File]hsml" [New File]rs" [New File]snd.123
".letter.123" [New File]
".followup" [New File]article" [New File].123" [New File]
"pico.123" [New File]mutt-xx-xxx" [New File]
"muttng-xx-xxx" [New File]
"ae123.txt" [New File]file.eml" [New File]sdc
"/etc/modules.conf" [New File]" [readonly] 5L, 195Cconf.modules" [New File]file.pli" [New File]1diff" [New File]rej" [New File]/etc/sysctl.conf" [readonly] 77L, 2683Cd/file.conf" [New File]file.ll" [New File]plp" [New File]msql" [New File]liquid" [New File]gpi" [New File]va" [New File]ms" [New File]ht" [New File].editorconfig" [New File]
"/etc/yum.conf
"file.ini" [New File]jj" [New File]t" [New File]expdothtpp" [New File]lua" [New File]rockspec" [New File]nse" [New File]manpgs
"resolv.conf" [New File]
"file.hs" [New File]-boot" [New File]zut" [New File]tf" [New File].tfrc" [New File]tfrc" [New File]file.obj" [New File]
".viminfo
"_xorg.conf" [New File]-4" [New File]
"robots.txt" [New File]mplayer.conf" [New File]
"/.mplayer/config" [New DIRECTORY]
"file.cyn" [New File]/etc/udev/permissions.d/file.permissions" [New DIRECTORY]
"file.fex" [New File]ocexec" [New File]si" [New File]task" [New File]xom" [New File]in
"trustees.conf" [New File]
"file.crm" [New File]pdbor" [New File]git/config" [New DIRECTORY]
".gitconfig" [New File]modules" [New File]
"file.git/modules//config" [New DIRECTORY]
"/.config/git/config" [New DIRECTORY]file.vr" [New File]i" [New File]hrexorrxojjrexx" [New File]rexxj" [New File]testGroup" [New File]Unit" [New File]jgr" [New File]sdlpr" [New File]svh" [New File]
"help.txt[readonly] 225L, 8437C
"file.hsc" [New Filemxpm2" [New File]hdl" [New File]vhdl" [New File]be" [New File]stmaster" [New File]
"pending.data" [New File]
"completed.data" [New File]
"undo.data" [New File]file.rnc" [New File]gnashrc" [New File].gnashrc" [New File]
"gnashpluginrc" [New File]
".gnashpluginrc" [New File]
"file.rng" [New File]tex/context/any/file.tex" [New DIRECTORY]
"file.mkii" [New File]vvigp" [New File].gprc" [New File]itsendemail.msg.xxxxxx" [New File]
"file.action" [New File]recipetmpl" [New File]xhtml" [New File]" [New File]pc" [New File]slpapp" [New File]xmlsjal" [New File]JALjplrdslzu" [New File]upstreaminstall.log" [New File]
"UPSTREAMINSTALL.LOG
"upstreaminstall.file.log" [New File]
"UPSTREAMINSTALL.FILE.LOG
"file.upstreaminstall.log
"FILE.UPSTREAMINSTALL.LOG
"file.dylan" [New File]/etc/hosts.allow" [New File]deny" [New File]any/etc/sudoersDIRECTORY]
"sudoers.tmp" [New File]file.iba" [New File]icscmk" [New File]ak" [New File]dsptoc
"/etc/slp.conf" [New File]
"file.ncf" [New File]ks" [New File]sed" [New File]cu" [New File]sp" [New File]fdr
"GNUmakefile.am" [New File]
"file.a65" [New File]cssinopderstsin85nb" [New File]wbt" [New File]pdfmush" [New File]
"calendar" [New File]file.mmptwig" [New File]
".dir_colors" [New File]
".dircolors" [New File]/etc/DIR_COLORS" [New File]
"file.properties_xx" [New File]_xx" [New File]
"/etc/slp.spi" [New File]file.yy" [New File]xx" [New File]++bibwsml" [New File]bst" [New File]fs" [New File]tace" [New File]ACE
"Muttngrcrc" [New File]file.dtd" [New File]iss
"/etc/cdrdao.conf" [New File]defaults/cdrdao" [New DIRECTORY]/cdrdao" [New File].cdrdao" [New File]file.sba" [New File]vb" [New File]s" [New File]dsmctlintr" [New File]
"dict.conf
".dictrc" [New File]file.dstpp" [New File]
"anybaseq2/file.cfg" [New DIRECTORY]
"anyid1/file.cfg" [New DIRECTORY]quake3
"file.ti" [New File]dts" [New File]i" [New File]
"tmuxfile.conf" [New File]
".tmuxfile.conf" [New File]
"wvdial.conf" [New File].wvdialrc" [New File]file.ged" [New File]lltxxxxx.txt" [New File]
"file.ld" [New File]gsjavascript" [New File]es" [New File]jsx" [New File]mjs.chasn1" [New File]xq" [New File]l" [New File]muery" [New File]y" [New File]bc" [New File]csdl" [New File]k" [New File]rad" [New File]mat
"/etc/pam.conf"[readonly] 15L, 552C
"file.pod" [New File]cm" [New File]xsl" [New File]t" [New File]mp" [New File]ar" [New File]plsql" [New File]fan" [New File]wt
"/LiteStep/any/file.rc" [New DIRECTORY]
"any/systemd/file.automount" [New DIRECTORY]mount" [New DIRECTORY]path" [New DIRECTORY]service" [New DIRECTORY]ocket" [New DIRECTORY]wap" [New DIRECTORY]target" [New DIRECTORY]imer" [New DIRECTORY]/etc/udev/udev.conf" [readonly] 6L, 153C
".netrc" [New File]file.pov" [New File]scpt" [New File]at" [New File]u3" [New File]siv
".htaccess" [New File]
"/etc/httpd/file.conf" [New DIRECTORY]
"file.pml" [New File]rpjov73ovial" [New File]lgt" [New File]abap" [New File]msc" [New File]ftssgm" [New File]uc" [New File]atg" [New File]pike" [New File]lpc" [New File]ulpc" [New File]pmoderb" [New File]rhtml" [New File]htt" [New File]bsnoptz8a
"any/.cmus/autosave" [New DIRECTORY]rc" [New DIRECTORY]command-history" [New DIRECTORY]file.theme" [New DIRECTORY]cmus/rc" [New DIRECTORY]file.theme" [New DIRECTORY]
"file.html.m4" [New File]yaml" [New File]ml" [New File].irbrc" [New File]irbrc" [New File]file.rb" [New File]w" [New File]gemspec" [New File]ru" [New File]Gemfile
"file.builder" [New File]rxml" [New File]js" [New File]ant" [New File]kemo" [New File]gdmo" [New File]ninja" [New File]
".ratpoisonrc" [New File]
"ratpoisonrc" [New File]file.chai" [New File]mf" [New File]spice" [New File]
"COMMIT_EDITMSG" [New File]
"MERGE_MSG" [New File]TAG_EDITMSG" [New File]
"file.clp" [New File]abal" [New File]fm" [New File]ic
"dictd.conf" [New File]
"file.chf" [New File]Dockerfile" [New File]
"file.Dockerfile" [New File]eni" [New File]tybpcpkbsrunpldcs" [New File]ils" [New File]cdfppdtdf
"/etc/protocols" [New File]xinetd.conf" [New File]
".fetchmailrc" [New File]any/etc/group" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/group.bak" [New DIRECTORY]shadow.bak" [New DIRECTORY]
"auto.master" [New File]/usr/share/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/etc/init/file.conf" [New File]override" [New File]
"/.init/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/.config/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"file.py" [New File]w" [New File]
".pythonstartup" [New File]rc" [New File]file.ptl" [New File]moo
"vgrindefs" [New File]
"file.pas" [New File]dprmel
"lynx.cfg
"file.desc" [New File]jsonp" [New File]webmanifest" [New File]g" [New File]po" [New File]t" [New File]mixal" [New File]
"hg-editor-file.txt" [New File]
"file.speedup" [New File]data" [New File]" [New File]sshd_config" [New File]
".indent.pro
"indentrc" [New File]file.fb" [New File]biasciidoc" [New File]doc" [New File]xs" [New File]/etc/mail/aliases" [New DIRECTORY]aliases" [New File]file.markdown" [New File]down" [New File]kd" [New File]n" [New File]dw" [New File]plm" [New File]36aclex" [New File]xx" [New File]++atex" [New File]sty" [New File]dtxlbblvimba
".exrc" [New File]_Kconfig" [New File].debug" [New File]
"/etc/login.defs" [readonly] 340L, 10477C
"file.pyx" [New File]xdart
"cvs123" [New File]usserver.log" [New File]
"USSERVER.LOG
"usserver.file.log" [New File]
"USSERVER.FILE.LOG
"file.usserver.log
"FILE.USSERVER.LOG
"file.aap" [New File]lout" [New File]gradle" [New File]oovyfactortreetop" [New File]f" [New File]or" [New File]tran" [New File]pp" [New File]tn77905038
"usw2kagt.log" [New File]
"USW2KAGT.LOG
"usw2kagt.file.log" [New File]
"USW2KAGT.FILE.LOG
"file.usw2kagt.log
"FILE.USW2KAGT.LOG
"file.DEF" [New File]MOD


Executing Test_filewritable()
"Xfilewritable" [New File][New] 0L, 0C written


Executing Test_filter()
"Xdoesnotmatch" [New File]
"Xwillmatch" [New File]ex-undo" [New File]

Executing Test_filter_cmd_completion():[?2004hfilter ^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter ^I:[?2004hfilter pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat^I:[?2004hfilter /pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat^I:[?2004hfilter /pat/^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/^I:[?2004hfilter pat pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat print:[?2004hfilter /pat/ pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/ print:[?2004hfilter #pat# pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter #pat# printExecuting Test_filter_fails()


Executing Test_filter_map_dict_expr_funcref()


Executing Test_filter_map_dict_expr_string()


Executing Test_filter_map_list_expr_funcref()


Executing Test_filter_map_list_expr_string()


Executing Test_findfile()


Executing Test_float2nr()


Executing Test_float_misc()


Executing Test_floor()


Executing Test_fmod()


Executing Test_fnamemodify()
"test_alot.vim" 62L, 1523C


Executing Test_func_unref()


Executing Test_funcref()


0

Executing Test_function_in_dict()


Executing Test_function_with_funcref()


Executing Test_gD()


Executing Test_gD_char()


Executing Test_gD_comment()


Executing Test_gD_inline_comment()


Executing Test_gD_string()


Executing Test_gD_string_same_line()


Executing Test_gD_too()


Executing Test_ga_command()


Executing Test_gd()


Executing Test_gd_comment()


Executing Test_gd_comment_in_string()


Executing Test_gd_inline_comment()


Executing Test_gd_inline_comment_body()


Executing Test_gd_inline_comment_only()


Executing Test_gd_kr_style()


Executing Test_gd_local_block()


Executing Test_gd_missing_braces()


Executing Test_gd_not_local()


Executing Test_gd_string()


Executing Test_gd_string_in_comment()


Executing Test_gd_string_only()


Executing Test_gd_trailing_comment()


Executing Test_gd_trailing_multiline_comment()


Executing Test_get_partial_items()


Executing Test_getbufvar()


Executing Test_getpid()[?2004l[?2004h


Executing Test_getreg_empty_list()


Executing Test_global_local_lispwords()


Executing Test_help_complete()


Executing Test_help_respect_current_file_lang()
"testdoc.abx" [readonly] 2L, 25Cja[readonly] 2L, 25Cline 1 of 2 --50%-- col 2-9txt[readonly] 2L, 25C
Executing Test_help_tagjump()"help.txt" [readonly] 225L, 8437C
"motion.txt" [readonly] 1337L, 51313C
"gui.txt" [readonly] 1048L, 44040C
"index.txt" [readonly] 1660L, 76442C
"cmdline.txt" [readonly] 1156L, 47238C
"autocmd[readonly] 1487L, 61609C
"windows[readonly] 1312L, 53080C
"change.txt" [readonly] 1832L, 74819C
"insert[readonly] 2004L, 82939C
"visual[readonly] 541L, 21843C
"options.txt" [readonly] 8980L, 380531Cline 7850 of 8980 --87%-- col 7-49
"eval.txt" [readonly][converted] 11161L, 430353C line 2464 of 11161 --22%-- col 1
"options.txt" [readonly] line 1359 of 8980 --15%-- col 4-25
"cmdline675 of 1156 --58%-- col 2-9index.txt" [readonly] line 1069 of 1660 --64%-- col 172


Executing Test_hlexists()


Executing Test_hostname()[?2004l[?2004h


Executing Test_if()


Executing Test_info()


Executing Test_input_in_timer()[?25h


[?25l?[?2004h[?25h[?25l[?25hhello
[?25l?helloExecuting Test_invalid()


Executing Test_invalid_submatch()


Executing Test_isnan()


Executing Test_join_with_count()


Executing Test_keyword_jump()
"Xtestfile" 9L, 141C


Executing Test_lambda_call_lambda_from_lambda()


Executing Test_lambda_capture_by_reference()


Executing Test_lambda_circular_reference()


Executing Test_lambda_closure_counter()


Executing Test_lambda_combination()


Executing Test_lambda_delfunc()


Executing Test_lambda_do_not_share_local_variable()


Executing Test_lambda_fails()


Executing Test_lambda_feature()


Executing Test_lambda_refer_local_variable_from_other_scope()


Executing Test_lambda_scope()


Executing Test_lambda_share_scope()


Executing Test_lambda_side_effect()


Executing Test_lambda_with_a_var()


Executing Test_lambda_with_filter()


Executing Test_lambda_with_map()


Executing Test_lambda_with_partial()


Executing Test_lambda_with_sort()


Executing Test_lambda_with_timer()[?25h[?2004l[?2004h


[?25l1[?25h[?2004l[?2004h

[?25l2[?25h[?2004l[?2004h

[?25l3[?25h[?2004l[?2004h

[?25l4[?25h[?2004l[?2004h[?2004l[?2004h

[?25l5[?25h[?2004l[?2004h

[?25l6[?25h[?2004l[?2004h

[?25l7[?25h[?2004l[?2004h

[?25l8[?25h[?2004l[?2004h

[?25lExecuting Test_last_buffer_nr()


Executing Test_len()


Executing Test_let_termcap()


Executing Test_load_menu()


Executing Test_log()


Executing Test_log10()


Executing Test_loop_over_null_list()


Executing Test_map_ctrl_c_insert()visual:[?2004h'<,'>$put ='vmap works'


Executing Test_map_cursor()
1 line less; before #8  0 seconds ago


Executing Test_map_feedkeys():[?2004hcall feedkeys(".", "in")
:[?2004hcall feedkeys(".", "in")
Executing Test_map_langmap():[?2004hcall append(line('$'), '+')


Executing Test_map_meta_quotes()timeout()[?25h[?25ltch()

abcdefghijklmnopq

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   abcdΣabcdef

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_match_func()


Executing Test_matchaddpos()12345

NP

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   12345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   012345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchaddpos_using_negative_priority()x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchend()


Executing Test_matchlist()


Executing Test_matchstr()


Executing Test_matchstrpos()


Executing Test_max()


Executing Test_max_min_errors()


Executing Test_messages()


hello0x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)    hello1234567898


hello9xhello9
Executing Test_min()


Executing Test_missing_attr()


Executing Test_mode()=[?2004hSave_mode()
match 1 of 2Blue Ball Black

Brown Band Bowl

Band~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap worksTest1: text with a (here some more text)

Test1: text with a (here some more text)Test2: text wit a (here some more text [und undo])fooc d[No Name]                                                                        Ball           

Band           =[?2004hSave_mode()
1 change; before #2  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #3  0 seconds ago=[?2004hSave_mode()
1 change; before #4  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #5  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #6  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #7  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #8  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #9  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #10  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #11  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #12  0 seconds ago
match 1 of 2
Band~               Ball           

Band           =[?2004hSave_mode()
1 change; before #13  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #14  0 seconds ago=[?2004hSave_mode()
1 change; before #15  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #16  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #17  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #18  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #19  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #20  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #21  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #22  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #23  0 seconds ago:[?2004hecho "=[?2004hSave_mode():echo Entering Ex mode.  Type "visual" to go to Normal mode.


:[?2004hecho "=[?2004hSave_mode()
:echo 


:[?2004hvi


Executing Test_move_cursor()


Executing Test_named_function_closure()


Executing Test_nested_global()




Executing Test_next_split_all()
"x" [New File]Xtestfile" [New File]


Executing Test_nextnonblank_prevnonblank()


Executing Test_no_type_checking()


Executing Test_noinsert_complete()=[?2004hs:complTest1()
match 1 of 2~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtestfile                                                                       source         

soundfold      ndfold=[?2004hs:complTest2()
match 1 of 2

~              

~              source         

soundfold      

Executing Test_non_zero_arg()


Executing Test_not_existing()


Executing Test_not_lamda()


Executing Test_omnifunc_with_check()


search hit BOTTOM, continuing at TOPfour1

~                                                                               ~                                                                               ~                                                                               ~                                                                               [+]four1          

four2          2

~              

~              four1          

four2          four1          

four2          match 2 of 6

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          match 3 of 6

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          four3          

four4          

four5          

four6          match 4 of 64

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          55

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          four4          

four5          

Executing Test_oneshot()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_option_value()


Executing Test_other_type()
"Xfile" 2L, 28C


Executing Test_partial_args()


Executing Test_partial_dict()


Executing Test_partial_exists()


Executing Test_partial_implicit()


Executing Test_partial_string()


Executing Test_paste_end_of_line():[?2004hnormal! "agP


Executing Test_paused()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_peek_and_get_char()[?25h


[?25lExecuting Test_popup_complete()=[?2004hListMonths()
match 1 of 2
June

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   June           

July           match 2 of 2

June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           7June           

July           8July           

August         =[?2004hListMonths()
match 1 of 3

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           =[?2004hListMonths()
match 1 of 12

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 2
June~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 2ne

~              

~              June           

July           Back at original~              

~              June           

July           June           

Julymatch 2 of 2ly

~              

~              July           
July           =[?2004hListMonths()
match 1 of 2ne

~              
June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       =[?2004hListMonths()
match 1 of 3
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           =[?2004hListMonths()
match 1 of 3
January

~              

~              

~              January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           match 1 of 3
January

~              

~              

~              January        

June           

July           January        =[?2004hListMonths()
match 1 of 3

~              

~              

~              January        

June           

July           =[?2004hListMonths()
match 1 of 2
June~              

~              

~              June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       2 of 12



February       December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       match 10 of 12October        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       1
Nov

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       0
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       9 of 12
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        =[?2004hListMonths()
match 1 of 12
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       0October        

November       9 of 12September      

October        =[?2004hListMonths()
The only match=[?2004hListMonths()
The only matchDecember2015

December~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  December       =[?2004hListMonths()
match 1 of 2
March~                                                                               ~              March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2March~              
March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2
March

~                                                                               ~              

~              March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            

Executing Test_popup_complete2()=[?2004hListMonths()
The only match

Executing Test_popup_completion_insertmode()=[?2004hListMonths()
match 1 of 12~                                                                               ~                                                                               ~              

~                  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       match 2 of 12

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       3
March~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        February       

March          4
April

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        March          

April          5
May~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        April          

May            6
June

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        May            

June           7ly

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        June           

July           8
August

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        July           

August         9
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        August         

September      10 of 12
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        1
November

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       2
Dec

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       

Executing Test_pow()


Executing Test_printf_64bit()


Executing Test_printf_errors()


0

0

1

0

0

Executing Test_printf_float()


0.000000


Executing Test_printf_misc()


Executing Test_printf_spec_b()


Executing Test_printf_spec_s()


Executing Test_ptag_with_notagstack()


Executing Test_put_block()char_block()


"Xfile_put" [Modified][Not edited] line 1 of 2 --50%-- col 1


Executing Test_put_char_block2()


Executing Test_put_lines()


Executing Test_read_only()


Executing Test_recover_root_dir()
"Xtest" [New File]

"Xtest" [New File]


Executing Test_recursive_delete()
"Xdir1/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written


Executing Test_redefine_dict_func()


Executing Test_redo_in_nested_functions():[?2004hset opfunc=Operator


Executing Test_ref_job_partial_dict()


Executing Test_reltime()[?25h[?2004l[?2004h


[?25lExecuting Test_repeat_many()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_repeat_three()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_retain_partial()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_round()


Executing Test_script_detection()
"Xtest" 1L, 64C1L, 77C1L, 32C1L, 9C2L, 10C3L, 11C4L, 12C5L, 13C


Executing Test_script_function_in_dict()


Executing Test_script_function_in_dict_arg()


Executing Test_searchpos()
"one" [New File]

Executing Test_set_add()


Executing Test_set_backslash()


Executing Test_set_reg_null_list()


Executing Test_set_tagcase()


Executing Test_setbufline_getbufline()
"Xtest" [New File]

Executing Test_setbufvar_options()
"dummy_preview" [New File]buf1" [New File]2


Executing Test_setline_startup()[?2004l[?2004h


Executing Test_setmatches()


Executing Test_sha256()


Executing Test_shellescape()


Executing Test_simplify()


Executing Test_sin()


Executing Test_sinh()


Executing Test_sort_cmd()


Executing Test_sort_default()


Executing Test_sort_float()


Executing Test_sort_nested()


Executing Test_sort_numbers()


Executing Test_sort_numeric()


Executing Test_sort_strings()


Executing Test_special_char()


Executing Test_sqrt()


Executing Test_static_tagjump()
"Xfile1" [New File][New] 3L, 18C written


Executing Test_statusline()
"Xstatusline" [New File]170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

56,38                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

789,315                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

Xstatusline                                                                     170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

/<<PKGBUILDDIR>>/src/vim-basic/testdir/Xstatusline                170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1175

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[Help],HLP                                                                      170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

<Eo>                                                                            170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

180/200,2                                                                       170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+],+                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+-],+-                                                                         "Xstatusline" [New] 200L, 692C written170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[-],-                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

                                                                                170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

1119                                                                            1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

0,Top                                                                           179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

100,Bot                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

90,Bot                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 (1 of 2): 1179

180

181

182

183

184

185

186

187

188

189

                                                                                || 1                                                                            || 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1179

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[RO],RO                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

Xstatusline                                                                     179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

2,                                                                              179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10,-10                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                "Xstatusline" 200L, 692C179

180

181

182

183

184

185

186

187

                                                                                175

176

177

178

179

180

181

182

183

184

185

186

[Preview],PRV                                                                   179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

[vim] VIM                                                                       179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

foo                                                                          bar179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

0038                                                                            179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#  38#                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#38  #                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

<sline                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

a<cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccd179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb>179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimNumber                                                                       179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimLineComment                                                                  179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abde                                                                            179

"180

181

182

183

184

185

186

187

188

189

abde                                                                            ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               abcd[Quickfix List]de                                                           179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abcdef                                                                          179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abc                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10%                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

7                                                                               179|

"180|

181|

182|

183|

184|

185|

186|

187|

188|

189|

190|

191|

192|

193|

194|

195|

196|

197|

198|

199|

200|

x^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^y^179"180181182183184185186187188189190191192193194195196197198199200x=====================================y92 buffers wiped out


Executing Test_statusline_will_be_disabled_with_error()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                                                                                                               

Executing Test_stop_all_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stop_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stopall()


Executing Test_str2float()


Executing Test_str2nr()


Executing Test_strcharpart()


Executing Test_strftime()


Executing Test_strgetchar()


Executing Test_stridx()


Executing Test_strridx()


Executing Test_substitute_expr()


Executing Test_substitute_expr_arg()


Executing Test_symlink_delete()
"Xfile" [New File][New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_dir_delete()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_recursive_delete()
"Xdir3/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written
"Xdir4/Xfile" [New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_tabline_will_be_disabled_with_error()                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_tabnext_on_buf_unload1()


Executing Test_tabnext_on_buf_unload2()


"x" [Not edited] --No lines in buffer--
"y" [New File]

Executing Test_tabpage()
"x" [New File]

2 fewer lines; before #1  0 seconds ago


Executing Test_tabpage_with_autocmd()


Executing Test_tabpage_with_tab_modifier()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1


Executing Test_tabpage_with_tabclose()


Already only one tab page
"n0" [New File]1234


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabnext()


Executing Test_tabpage_with_tabonly()


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabprevious()


Executing Test_tagcase()
"Xtext" [New File]

Executing Test_tagjump_switchbuf()


Already only one window
"Xfile1" 3L, 19C3L, 19C3L, 19C


Already only one window


Executing Test_taglist()
"Xtext" [New File]

Executing Test_taglist_ctags_etags()


Executing Test_taglist_native_etags()


Executing Test_tan()


Executing Test_tanh()


Executing Test_timer_catch_error()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_timer_errors()[?25h[?2004l[?2004h


[?25lError detected while processing function RunTheTest[24]..Test_timer_errors[4]..


WaitFor[21]..FuncWithError:


line    5:


E492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_tolower()


Executing Test_tostring()


Executing Test_toupper()


Executing Test_translate_menu()


Executing Test_true_false_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?2004h[?25l"colored" [New File]

Executing Test_trunc()


Executing Test_unlet_fails()


Executing Test_valid()


Executing Test_version()


Executing Test_window_cmd_cmdwin_with_vsp()


Executing Test_window_cmd_ls0_with_split()


Executing Test_window_cmd_wincmd_gf()
"test_gf.txt" 0L, 0C
W19: Deleting augroup that is still in use
Executing Test_window_contents()Already only one window1

2

3

4

5

6

7

8

9

10

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       50

51

52

53

54

55

56

57

58

59

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       59

60

61

62

63

64

65

66

67

68

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_window_exchange()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_height()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_horizontal_split()jump_tag()"help.txt" [readonly] line 1 of 225 --0%-- col 1
"uganda.txt" [readonly] 288L, 14024C
"intro.txt" [readonly] 909L, 39223C
48 buffers wiped outExecuting Test_window_newtab()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_preview()
"Xa" [New File]Executing Test_window_quit()
"Xa" [New File]b
2 buffers wiped out
Executing Test_window_rotate()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_split_edit_alternate()
"Xa" [New File]ba
2 buffers wiped out
Executing Test_window_vertical_split()width()"Xa" [New File]bc
3 buffers wiped out
Executing Test_with_directories()
"Xdir1/file" [New File][New] 2L, 4C written
"Xdir3/Xdir4/file"[New] 2L, 4C written2L, 4C
"Xdir?/*/nofile" [New DIRECTORY]
"foo" [New File]Executing Test_with_partial_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25ltilde()rong_arguments()yank_move_change():[?2004h'<,'>call MoveSelectionDown(v:count1)
Executing Test_yank_put_clipboard()
3 more linesExecuting Test_z()
"Xdir?/*/nofile" [New DIRECTORY]
Executing Test_z_negative_lnum()overflow()"test_alot.res" [New File][New] 0L, 0C written
Executed 328 tests"messages" 992L, 26955C1323L, 37571C written
[?2004l

[?2004l[?1l>[?25h[?1049l

From test_arabic.vim:
Executing Test_arabic_input()
Executing Test_arabic_toggle()
Executing Test_arabic_toggle_keymap()
Executing Test_delcombine()
Executing Test_shape_combination_final()
Executing Test_shape_combination_isolated()
Executing Test_shape_final()
Executing Test_shape_final_to_medial()
Executing Test_shape_initial()
Executing Test_shape_iso_to_medial()
Executing Test_shape_isolated()
Executed 11 tests

From test_arglist.vim:
Executing Test_arg_all_expand()
Executing Test_argadd()
Executing Test_argc()
Executing Test_argdelete()
Executing Test_argedit()
Executing Test_argidx()
Executing Test_arglist_autocmd()
Executing Test_arglistid()
Executing Test_argpos()
Executing Test_argument()
Executing Test_argv()
Executing Test_zero_argadd()
Executed 12 tests

From test_assert.vim:
Executing Test_assert_equal()
Executing Test_assert_exception()
Executing Test_assert_fail_fails()
Executing Test_assert_false()
Executing Test_assert_inrange()
Executing Test_assert_notequal()
Executing Test_assert_report()
Executing Test_assert_true()
Executing Test_assert_with_msg()
Executing Test_compare_fail()
Executing Test_match()
Executing Test_notmatch()
Executing Test_override()
Executing Test_user_is_happy()
Executing Test_wrong_error_type()
Executed 15 tests

From test_autochdir.vim:
Executing Test_set_filename()
Executed 1 test

From test_autocmd.vim:
Executing Test_BufEnter()
Executing Test_BufleaveWithDelete()
Executing Test_OptionSet()
Executing Test_OptionSet_diffmode()
Executing Test_OptionSet_diffmode_close()
Executing Test_augroup_deleted()
Executing Test_augroup_warning()
Executing Test_autocmd_bufunload_avoiding_SEGV_01()
Executing Test_autocmd_bufunload_avoiding_SEGV_02()
Executing Test_autocmd_bufunload_with_tabnext()
Executing Test_autocmd_bufwinleave_with_tabfirst()
Executing Test_autocmd_bufwipe_in_SessLoadPost()
Executing Test_autocmd_bufwipe_in_SessLoadPost2()
Executing Test_bufunload()
Executing Test_cursorhold_insert()
Executing Test_cursorhold_insert_ctrl_x()
Executing Test_early_bar()
Executing Test_empty_doau()
Executing Test_three_windows()
Executing Test_vim_did_enter()
Executing Test_win_tab_autocmd()
Executed 21 tests

From test_backspace_opt.vim:
Executing Test_backspace_option()
Executed 1 test

From test_breakindent.vim:
Executing Test_breakindent01()
Executing Test_breakindent02()
Executing Test_breakindent03()
Executing Test_breakindent04()
Executing Test_breakindent05()
Executing Test_breakindent06()
Executing Test_breakindent07()
Executing Test_breakindent07a()
Executing Test_breakindent08()
Executing Test_breakindent08a()
Executing Test_breakindent09()
Executing Test_breakindent10()
Executing Test_breakindent11()
Executing Test_breakindent12()
Executing Test_breakindent13()
Executing Test_breakindent14()
Executing Test_breakindent15()
Executing Test_breakindent16()
Executed 18 tests

From test_bufwintabinfo.vim:
Executing Test_get_buf_options()
Executing Test_get_win_options()
Executing Test_getbufwintabinfo()
Executed 3 tests

From test_cdo.vim:
Executing Test_cdo()
Executing Test_ldo()
Executed 2 tests

From test_channel.vim:
Executed 0 test

From test_charsearch.vim:
Executing Test_charsearch()
Executing Test_search_cmds()
Executed 2 tests

From test_cindent.vim:
Executing Test_cindent_expr()
Executing Test_cindent_rawstring()
Executing Test_cino_extern_c()
Executing Test_cino_hash()
Executed 4 tests

From test_clientserver.vim:
Executed 0 test

From test_cmdline.vim:
Executing Test_cmdline_complete_user_cmd()
Executing Test_cmdline_complete_wildoptions()
Executing Test_cmdline_search_range()
Executing Test_complete_list()
Executing Test_complete_tab()
Executing Test_complete_wildmenu()
Executing Test_expand_star_star()
Executing Test_expr_completion()
Executing Test_getcmdtype()
Executing Test_getcompletion()
Executing Test_highlight_completion()
Executing Test_illegal_address1()
Executing Test_illegal_address2()
Executing Test_map_completion()
Executing Test_match_completion()
Executing Test_paste_in_cmdline()
Executing Test_remove_char_in_cmdline()
Executing Test_verbosefile()
Executed 18 tests

From test_command_count.vim:
Executing Test_command_count_0()
Executing Test_command_count_1()
Executing Test_command_count_2()
Executing Test_command_count_3()
Executing Test_command_count_4()
Executed 5 tests

From test_crypt.vim:
Executing Test_crypt_blowfish()
Executing Test_crypt_blowfish2()
Executing Test_crypt_zip()
Executing Test_head_only_2()
Executing Test_head_only_3()
Executing Test_uncrypt_blowfish()
Executing Test_uncrypt_blowfish2()
Executing Test_uncrypt_zip()
Executed 8 tests

From test_cscope.vim:
Executed 0 test

From test_curswant.vim:
Executing Test_curswant()
Executed 1 test

From test_diffmode.vim:
Executing Test_diff_fold_sync()
Executing Test_diff_lastline()
Executing Test_diff_move_to()
Executing Test_diff_nomodifiable()
Executing Test_diff_too_many_buffers()
Executing Test_diffexpr()
Executing Test_diffget_diffput()
Executing Test_diffoff()
Executing Test_diffoff_hidden()
Executing Test_diffopt_context()
Executing Test_diffopt_horizontal()
Executing Test_diffopt_icase()
Executing Test_diffopt_iwhite()
Executing Test_diffopt_vertical()
Executing Test_diffpatch()
Executing Test_dp_do_buffer()
Executing Test_filler_lines()
Executing Test_setting_cursor()
Executing Test_vert_split()
Executed 19 tests

From test_digraph.vim:
Executing Test_digraph_cmndline()
Executing Test_digraphs()
Executing Test_digraphs_option()
Executing Test_digraphs_output()
Executing Test_loadkeymap()
Executed 5 tests

From test_display.vim:
Executing Test_display_foldcolumn()
Executing Test_display_foldtext_mbyte()
Executed 2 tests

From test_edit.vim:
Executing Test_edit_00a_CTRL_A()
Executing Test_edit_00b()
Executing Test_edit_01()
Executing Test_edit_02()
Executing Test_edit_03()
Executing Test_edit_04()
Executing Test_edit_05()
Executing Test_edit_06()
Executing Test_edit_07()
Executing Test_edit_08()
Executing Test_edit_09()
Executing Test_edit_10()
Executing Test_edit_11()
Executing Test_edit_12()
Executing Test_edit_13()
Executing Test_edit_CR()
Executing Test_edit_CTRL_()
Executing Test_edit_CTRL_EY()
Executing Test_edit_CTRL_G()
Executing Test_edit_CTRL_I()
Executing Test_edit_CTRL_K()
Executing Test_edit_CTRL_L()
Executing Test_edit_CTRL_N()
Executing Test_edit_CTRL_O()
Executing Test_edit_CTRL_R()
Executing Test_edit_CTRL_S()
Executing Test_edit_CTRL_T()
Executing Test_edit_CTRL_U()
Executing Test_edit_CTRL_V()
Executing Test_edit_CTRL_Z()
Executing Test_edit_DROP()
Executing Test_edit_F1()
Executing Test_edit_F21()
Executing Test_edit_HOME_END()
Executing Test_edit_INS()
Executing Test_edit_LEFT_RIGHT()
Executing Test_edit_MOUSE()
Executing Test_edit_PAGEUP_PAGEDOWN()
Executing Test_edit_complete_very_long_name()
Executing Test_edit_forbidden()
Executing Test_edit_rightleft()
Executed 41 tests

From test_farsi.vim:
Executing Test_command_line_farsi()
Executing Test_farsi_map()
Executing Test_farsi_toggle()
Executing Test_input_farsi()
Executed 4 tests

From test_file_size.vim:
Executing Test_File_Size()
Executed 1 test

From test_fnameescape.vim:
Executing Test_fnameescape()
Executed 1 test

From test_fold.vim:
Executing Test_address_fold()
Executing Test_combining_folds_indent()
Executing Test_combining_folds_marker()
Executing Test_fold_error()
Executing Test_folddoopen_folddoclosed()
Executing Test_folds_marker_in_comment()
Executing Test_foldtext_recursive()
Executing Test_indent_fold()
Executing Test_indent_fold2()
Executing Test_indent_fold_with_read()
Executing Test_manual_fold_with_filter()
Executing Test_move_folds_around_indent()
Executing Test_move_folds_around_manual()
Executing Test_update_folds_expr_read()
Executed 14 tests

From test_getvar.vim:
Executing Test_var()
Executed 1 test

From test_gf.vim:
Executing Test_gF()
Executing Test_gf_url()
Executed 2 tests

From test_gn.vim:
Executing Test_gn_command()
Executed 1 test

From test_gui.vim:
Executed 0 test

From test_gui_init.vim:
Executed 0 test

From test_hardcopy.vim:
Executing Test_fname_with_spaces()
Executing Test_printheader_parsing()
Executing Test_printmbfont_parsing()
Executing Test_printoptions_parsing()
Executing Test_with_syntax()
Executed 5 tests

From test_help.vim:
Executing Test_help_errors()
Executing Test_help_keyword()
Executing Test_help_restore_snapshot()
Executed 3 tests

From test_hide.vim:
Executing Test_hide()
Executed 1 test

From test_highlight.vim:
Executing Test_highlight()
Executed 1 test

From test_history.vim:
Executing Test_History()
Executing Test_Search_history_window()
Executed 2 tests

From test_hlsearch.vim:
Executing Test_hlsearch()
Executing Test_hlsearch_hangs()
Executed 2 tests

From test_increment.vim:
Executing Test_normal_increment_01()
Executing Test_normal_increment_02()
Executing Test_normal_increment_03()
Executing Test_visual_increment_01()
Executing Test_visual_increment_02()
Executing Test_visual_increment_03()
Executing Test_visual_increment_04()
Executing Test_visual_increment_05()
Executing Test_visual_increment_06()
Executing Test_visual_increment_07()
Executing Test_visual_increment_08()
Executing Test_visual_increment_09()
Executing Test_visual_increment_10()
Executing Test_visual_increment_11()
Executing Test_visual_increment_12()
Executing Test_visual_increment_13()
Executing Test_visual_increment_14()
Executing Test_visual_increment_15()
Executing Test_visual_increment_16()
Executing Test_visual_increment_17()
Executing Test_visual_increment_18()
Executing Test_visual_increment_19()
Executing Test_visual_increment_20()
Executing Test_visual_increment_21()
Executing Test_visual_increment_22()
Executing Test_visual_increment_23()
Executing Test_visual_increment_24()
Executing Test_visual_increment_25()
Executing Test_visual_increment_26()
Executing Test_visual_increment_27()
Executing Test_visual_increment_28()
Executing Test_visual_increment_29()
Executing Test_visual_increment_30()
Executing Test_visual_increment_31()
Executing Test_visual_increment_32()
Executing Test_visual_increment_33()
Executing Test_visual_increment_34()
Executing Test_visual_increment_35()
Executing Test_visual_increment_36()
Executing Test_visual_increment_37()
Executing Test_visual_increment_38()
Executed 41 tests

From test_increment_dbcs.vim:
Executing Test_increment_dbcs_1()
Executed 1 test

From test_job_fails.vim:
Executing Test_job_start_fails()
Executed 1 test

From test_json.vim:
Executing Test_js_decode()
Executing Test_js_encode()
Executing Test_json_decode()
Executing Test_json_encode()
Executed 4 tests

From test_langmap.vim:
Executing Test_langmap()
Executed 1 test

From test_let.vim:
Executing Test_let()
Executed 1 test

From test_lineending.vim:
Executing Test_lineending()
Executed 1 test

From test_listlbr.vim:
Executing Test_block_replace_after_wrapping()
Executing Test_linebreak_with_conceal()
Executing Test_linebreak_with_list()
Executing Test_linebreak_with_nolist()
Executing Test_list_with_listchars()
Executing Test_list_with_tab_and_skipping_first_chars()
Executing Test_norm_after_block_visual()
Executing Test_set_linebreak()
Executing Test_should_break()
Executing Test_undo_after_block_visual()
Executing Test_virtual_block()
Executing Test_virtual_block_and_vbA()
Executing Test_virtual_char_and_block()
Executed 13 tests

From test_listlbr_utf8.vim:
Executing Test_chinese_char_on_wrap_column()
Executing Test_colorcolumn_priority()
Executing Test_illegal_byte_and_breakat()
Executing Test_linebreak_with_fancy_listchars()
Executing Test_linebreak_with_nolist()
Executing Test_list_and_concealing1()
Executing Test_list_and_concealing2()
Executing Test_multibyte_sign_and_colorcolumn()
Executing Test_multibyte_wrap_and_breakat()
Executing Test_nolinebreak_with_list()
Executing Test_screenattr_for_comment()
Executing Test_visual_block_and_selection_exclusive()
Executed 12 tests

From test_lua.vim:
Executed 0 test

From test_makeencoding.vim:
Executed 0 test

From test_man.vim:
Executing Test_g_ft_man_open_mode()
Executing Test_nomodifiable()
Executed 2 tests

From test_marks.vim:
Executing Test_Incr_Marks()
Executing Test_Restore_DelMark()
Executing Test_setpos()
Executed 3 tests

From test_matchadd_conceal.vim:
Executing Test_clearmatches()
Executing Test_default_conceal_char()
Executing Test_matchadd_and_conceallevel_3()
Executing Test_matchadd_and_syn_conceal()
Executing Test_matchadd_repeat_conceal_with_syntax_off()
Executing Test_simple_matchadd()
Executing Test_simple_matchadd_and_conceal()
Executing Test_syn_and_match_conceal()
Executing Test_using_matchaddpos()
Executed 9 tests

From test_mksession.vim:
Executing Test_mksession()
Executing Test_mksession_arglist()
Executing Test_mksession_one_buffer_two_windows()
Executing Test_mksession_winheight()
Executed 4 tests

From test_mksession_utf8.vim:
Executing Test_mksession_utf8()
Executed 1 test

From test_nested_function.vim:
Executing Test_max_nesting()
Executing Test_nested_argument()
Executing Test_nested_functions()
Executed 3 tests

From test_netbeans.vim:
Executed 0 test

From test_normal.vim:
Executing Test_delete_until_paragraph()
Executing Test_normal00_optrans()
Executing Test_normal01_keymodel()
Executing Test_normal02_selectmode()
Executing Test_normal02_selectmode2()
Executing Test_normal03_join()
Executing Test_normal04_filter()
Executing Test_normal05_formatexpr()
Executing Test_normal05_formatexpr_newbuf()
Executing Test_normal05_formatexpr_setopt()
Executing Test_normal06_formatprg()
Executing Test_normal07_internalfmt()
Executing Test_normal08_fold()
Executing Test_normal09_operatorfunc()
Executing Test_normal09a_operatorfunc()
Executing Test_normal10_expand()
Executing Test_normal11_showcmd()
Executing Test_normal12_nv_error()
Executing Test_normal13_help()
Executing Test_normal14_page()
Executing Test_normal14_page_eol()
Executing Test_normal15_z_scroll_vert()
Executing Test_normal16_z_scroll_hor()
Executing Test_normal17_z_scroll_hor2()
Executing Test_normal18_z_fold()
Executing Test_normal19_z_spell()
Executing Test_normal20_exmode()
Executing Test_normal21_nv_hat()
Executing Test_normal22_zet()
Executing Test_normal23_K()
Executing Test_normal24_rot13()
Executing Test_normal25_tag()
Executing Test_normal26_put()
Executing Test_normal27_bracket()
Executing Test_normal28_parenthesis()
Executing Test_normal29_brace()
Executing Test_normal30_changecase()
    Skipped
Executing Test_normal31_r_cmd()
Executing Test_normal32_g_cmd1()
Executing Test_normal33_g_cmd2()
Executing Test_normal34_g_cmd3()
Executing Test_normal35_g_cmd4()
    Skipped
Executing Test_normal36_g_cmd5()
Executing Test_normal37_g_cmd6()
Executing Test_normal38_nvhome()
Executing Test_normal39_cw()
Executing Test_normal40_ctrl_bsl()
Executing Test_normal41_insert_reg()
Executing Test_normal42_halfpage()
Executing Test_normal43_textobject1()
Executing Test_normal44_textobjects2()
Executing Test_normal45_drop()
Executing Test_normal46_ignore()
Executing Test_normal47_autocmd()
    Skipped
Executing Test_normal47_visual_buf_wipe()
Executing Test_normal48_wincmd()
Executing Test_normal49_counts()
Executing Test_normal50_commandline()
Executing Test_normal51_FileChangedRO()
Executing Test_normal52_rl()
Executing Test_normal53_digraph()
Executing Test_normal54_Ctrl_bsl()
Executing Test_normal_8g8()
Executing Test_normal_large_count()
Executed 64 tests
SKIPPED Test_normal30_changecase(): Turkish locale not available
SKIPPED Test_normal35_g_cmd4(): output of g< can't be tested currently
SKIPPED Test_normal47_autocmd(): not possible to test cursorhold autocmd while waiting for input in normal_cmd

From test_number.vim:
Executing Test_number()
Executing Test_number_with_linewrap1()
Executing Test_number_with_relativenumber()
Executing Test_numberwidth()
Executing Test_numberwidth_adjusted()
Executing Test_relativenumber()
Executing Test_set_global_and_local()
Executing Test_set_options()
Executed 8 tests

From test_options.vim:
Executing Test_cinkeys()
Executing Test_complete()
Executing Test_dictionary()
Executing Test_filetype_valid()
Executing Test_isfname()
Executing Test_keymap_valid()
Executing Test_options()
Executing Test_path_keep_commas()
Executing Test_set_all()
Executing Test_set_completion()
Executing Test_set_errors()
Executing Test_set_indentexpr()
Executing Test_set_ttytype()
Executing Test_set_values()
Executing Test_signcolumn()
Executing Test_syntax_valid()
Executing Test_thesaurus()
Executing Test_whichwrap()
Executing Test_wildchar()
Executed 19 tests

From test_packadd.vim:
Executing Test_colorscheme()
Executing Test_colorscheme_completion()
Executing Test_helptags()
Executing Test_packadd()
Executing Test_packadd_completion()
Executing Test_packadd_noload()
Executing Test_packadd_symlink_dir()
Executing Test_packloadall()
Executing Test_runtime()
Executed 9 tests

From test_paste.vim:
Executing Test_paste_cmdline()
Executing Test_paste_insert_mode()
Executing Test_paste_normal_mode()
Executing Test_paste_visual_mode()
Executed 4 tests

From test_perl.vim:
Executed 0 test

From test_preview.vim:
Executing Test_Psearch()
Executed 1 test

From test_profile.vim:
Executing Test_profile_completion()
Executing Test_profile_errors()
Executing Test_profile_file()
Executing Test_profile_func()
Executed 4 tests

From test_python2.vim:
Executed 0 test

From test_python3.vim:
Executed 0 test

From test_pyx2.vim:
Executed 0 test

From test_pyx3.vim:
Executed 0 test

From test_quickfix.vim:
Executing Test_Autocmd()
Executing Test_Autocmd_Exception()
Executing Test_Multi_LL_Help()
Executing Test_Qf_Size()
Executing Test_add_qf()
Executing Test_adjust_lnum()
Executing Test_browse()
Executing Test_bufoverflow()
Executing Test_caddbuffer_to_empty()
Executing Test_caddbuffer_wrong()
Executing Test_caddexpr_wrong()
Executing Test_cage()
Executing Test_cbottom()
Executing Test_cbuffer()
Executing Test_cclose_from_copen()
Executing Test_cclose_in_autocmd()
Executing Test_cexpr()
Executing Test_cfile()
Executing Test_cgetexpr_works()
Executing Test_changedtick()
Executing Test_clist()
Executing Test_cwindow()
Executing Test_cwindow_jump()
Executing Test_dirstack_cleanup()
Executing Test_duplicate_buf()
Executing Test_efm()
Executing Test_efm1()
Executing Test_efm2()
Executing Test_efm_dirstack()
Executing Test_efm_ignore_continuations()
Executing Test_errortitle()
Executing Test_get_list_from_lines()
Executing Test_grep()
Executing Test_helpgrep()
Executing Test_history()
Executing Test_invalid_efm()
Executing Test_locationlist()
Executing Test_locationlist_cross_tab_jump()
Executing Test_locationlist_curwin_was_closed()
Executing Test_long_lines()
Executing Test_multidirstack()
Executing Test_multifilestack()
Executing Test_nomem()
Executing Test_perbuf_efm()
Executing Test_qf_free()
Executing Test_qf_id()
Executing Test_qf_property()
Executing Test_qf_title()
Executing Test_quickfix_set_list_with_act()
Executing Test_quickfix_was_changed_by_autocmd()
Executing Test_resize_from_copen()
Executing Test_setexpr()
Executing Test_setqflist()
Executing Test_setqflist_empty_middle()
Executing Test_setqflist_empty_older()
Executing Test_switchbuf()
Executing Test_two_windows()
Executing Test_vimgrep()
Executing Test_vimgreptitle()
Executed 59 tests

From test_quotestar.vim:
Executed 0 test

From test_retab.vim:
Executing Test_retab()
Executing Test_retab_error()
Executed 2 tests

From test_registers.vim:
Executing Test_yank_shows_register()
Executed 1 test

From test_ruby.vim:
Executed 0 test

From test_scrollbind.vim:
Executing Test_scrollbind()
Executed 1 test

From test_search.vim:
Executing Test_search_cmdline()
Executing Test_search_cmdline2()
Executing Test_search_cmdline3()
Executing Test_search_cmdline4()
Executing Test_searchc()
Executing Test_searchpair()
Executing Test_use_sub_pat()
Executed 7 tests

From test_signs.vim:
Executing Test_sign()
Executing Test_sign_completion()
Executing Test_sign_delete_buffer()
Executing Test_sign_invalid_commands()
Executing Test_sign_undefine_still_placed()
Executed 5 tests

From test_smartindent.vim:
Executing Test_nosmartindent()
Executing Test_smartindent_has_no_effect()
Executed 2 tests

From test_spell.vim:
Executing Test_spellreall()
Executing Test_wrap_search()
Executing Test_z_equal_on_invalid_utf8_word()
Executing Test_zeq_crash()
Executing Test_zz_NOSLITSUGS()
Executing Test_zz_Numbers()
Executing Test_zz_affix()
Executing Test_zz_basic()
Executing Test_zz_compound()
Executing Test_zz_prefixes()
Executing Test_zz_sal_and_addition()
Executed 11 tests

From test_startup.vim:
Executing Test_after_comes_later()
Executing Test_compatible_args()
Executing Test_default_term()
Executing Test_file_args()
Executing Test_help_arg()
Executing Test_pack_in_rtp_when_plugins_run()
Executing Test_progpath()
Executing Test_read_stdin()
Executing Test_silent_ex_mode()
Executing Test_startup_script()
Executing Test_startuptime()
Executed 11 tests

From test_startup_utf8.vim:
Executing Test_read_fifo_utf8()
Executing Test_read_stdin_utf8()
Executed 2 tests

From test_stat.vim:
Executing Test_checktime()
Executing Test_existent_directory()
Executing Test_existent_file()
Executing Test_nonexistent_file()
Executing Test_win32_symlink_dir()
Executed 5 tests

From test_substitute.vim:
Executing Test_multiline_subst()
Executing Test_sub_replace_1()
Executing Test_sub_replace_10()
Executing Test_sub_replace_2()
Executing Test_sub_replace_3()
Executing Test_sub_replace_4()
Executing Test_sub_replace_5()
Executing Test_sub_replace_6()
Executing Test_sub_replace_7()
Executing Test_sub_replace_8()
Executing Test_sub_replace_9()
Executing Test_substitute_repeat()
Executing Test_substitute_variants()
Executed 13 tests

From test_syntax.vim:
Executing Test_bg_detection()
Executing Test_conceal()
Executing Test_highlight_invalid_arg()
Executing Test_invalid_name()
Executing Test_ownsyntax()
Executing Test_ownsyntax_completion()
Executing Test_syn_clear()
Executing Test_syn_iskeyword()
Executing Test_syn_sync()
Executing Test_synstack_synIDtrans()
Executing Test_syntax_after_reload()
Executing Test_syntax_arg_skipped()
Executing Test_syntax_completion()
Executing Test_syntax_hangs()
Executing Test_syntax_invalid_arg()
Executing Test_syntax_list()
Executing Test_syntime()
Executed 17 tests

From test_system.vim:
Executing Test_System()
Executing Test_system_exmode()
Executed 2 tests

From test_tcl.vim:
Executed 0 test

From test_terminal.vim:
Executing Test_finish_open_close()
Executing Test_terminal_basic()
Executing Test_terminal_curwin()
Executing Test_terminal_cwd()
Executing Test_terminal_env()
Executing Test_terminal_hide_buffer()
Executing Test_terminal_list_args()
Executing Test_terminal_make_change()
Executing Test_terminal_nasty_cb()
Executing Test_terminal_no_cmd()
Executing Test_terminal_noblock()
Executing Test_terminal_redir_file()
Executing Test_terminal_scrape_123()
Executing Test_terminal_scrape_multibyte()
Executing Test_terminal_scroll()
Executing Test_terminal_size()
Executing Test_terminal_special_chars()
Executing Test_terminal_split_quit()
Executing Test_terminal_tmap()
Executing Test_terminal_wipe_buffer()
Executing Test_terminal_write_stdin()
Executing Test_terminal_wrong_options()
Executing Test_zz_terminal_in_gui()
Executed 23 tests

From test_terminal_fail.vim:
Executing Test_terminal_redir_fails()
Executed 1 test

From test_textobjects.vim:
Executing Test_inner_block_with_cpo_M_left_backslash()
Executing Test_inner_block_with_cpo_M_right_backslash()
Executing Test_inner_block_without_cpo_M()
Executing Test_quote_selection_selection_exclusive()
Executed 4 tests

From test_undo.vim:
Executing Test_U_command()
Executing Test_global_local_undolevels()
Executing Test_insert_expr()
Executing Test_undo_del_chars()
Executing Test_undo_write()
Executing Test_undofile_earlier()
Executing Test_undojoin()
Executing Test_undojoin_redo()
Executing Test_undolist()
Executing Test_undotree()
Executed 10 tests

From test_usercommands.vim:
Executing Test_Ambiguous()
Executing Test_CmdCompletion()
Executing Test_CmdErrors()
Executing Test_CmdUndefined()
Executing Test_cmdmods()
Executed 5 tests

From test_viminfo.vim:
Executing Test_cmdline_history()
Executing Test_cmdline_history_order()
Executing Test_global_vars()
Executing Test_viminfo_bad_syntax()
Executing Test_viminfo_encoding()
Executing Test_viminfo_file_mark_tabclose()
Executing Test_viminfo_file_mark_zero_time()
Executing Test_viminfo_file_marks()
Executing Test_viminfo_jumplist()
Executing Test_viminfo_marks()
Executing Test_viminfo_oldfiles()
Executing Test_viminfo_read_and_write()
Executing Test_viminfo_registers()
Executed 13 tests

From test_vimscript.vim:
Executing Test_arg_abort()
Executing Test_bitwise_functions()
Executing Test_braces_skipped()
Executing Test_curlies()
Executing Test_defining_functions()
Executing Test_delfunction_force()
Executing Test_echo_and_string()
Executing Test_endfunction_trailing()
Executing Test_endwhile_function()
Executing Test_endwhile_script()
Executing Test_error_in_function()
Executing Test_error_in_script()
Executing Test_expr_parsing()
Executing Test_finish()
Executing Test_func_abort()
Executing Test_if_bar_fail()
Executing Test_if_fail()
Executing Test_if_while()
Executing Test_num64()
Executing Test_return()
Executing Test_script_emty_line_continuation()
Executing Test_script_lines()
Executing Test_script_local_func()
Executing Test_skip()
Executing Test_type()
Executing Test_user_command_with_bang()
Executing Test_while_fail()
Executed 27 tests

From test_visual.vim:
Executing Test_Visual_ctrl_o()
Executing Test_Visual_inner_quote()
Executing Test_Visual_vapo()
Executing Test_block_shift_multibyte()
Executing Test_block_shift_overflow()
Executing Test_dotregister_paste()
Executing Test_visual_mode_reset()
Executed 7 tests

From test_winbar.vim:
Executing Test_add_remove_menu()
Executed 1 test

From test_window_id.vim:
Executing Test_win_getid()
Executing Test_win_getid_curtab()
Executed 2 tests

From test_windows_home.vim:
Executed 0 test

From test_writefile.vim:
Executing Test_writefile()
Executing Test_writefile_fails_conversion()
Executing Test_writefile_fails_gently()
Executed 3 tests

From test_alot_latin.vim:
Executing Test_backref()
Executing Test_eow_with_optional()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_nested_backrefs()
Executing Test_recursive_substitute()
Executed 6 tests

From test_alot_utf8.vim:
Executing Test_classes_re1()
Executing Test_classes_re2()
Executing Test_comparisons()
Executing Test_customlist_completion()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_gap()
Executing Test_getvcol()
Executing Test_large_class()
Executing Test_match_using_multibyte_conceal_char()
Executing Test_reversed_range()
Executing Test_search_cmds()
Executing Test_source_latin()
Executing Test_source_utf8()
Executing Test_strcharpart()
Executing Test_strchars()
Executing Test_strgetchar()
Executing Test_visual_block_insert()
Executed 18 tests

From test_alot.vim:
Executing Test_abbr_after_line_join()
Executing Test_abbreviation()
Executing Test_abs()
Executing Test_acos()
Executing Test_asin()
Executing Test_atan()
Executing Test_atan2()
Executing Test_auto_partial_rebind()
Executing Test_balloon_show()
Executing Test_bind_in_python()
Executing Test_break_undo()
Executing Test_bufexists()
Executing Test_byte2line_line2byte()
Executing Test_cancel_ptjump()
Executing Test_caught_error_in_statusline()
Executing Test_caught_error_in_tabline()
Executing Test_cd_large_path()
Executing Test_cd_up_and_down()
Executing Test_ceil()
Executing Test_changedtick_bdel()
Executing Test_changedtick_dict_entry()
Executing Test_changedtick_fixed()
Executing Test_changedtick_increments()
Executing Test_changedtick_islocked()
Executing Test_changenr()
Executing Test_close_on_quitpre()
Executing Test_closure_counter()
Executing Test_closure_refcount()
Executing Test_closure_unlet()
Executing Test_col()
Executing Test_color_names()
Executing Test_compare_null_dict()
Executing Test_compare_partials()
Executing Test_compl_vim_cmds_after_register_expr()
Executing Test_complete_CTRLN_startofbuffer()
Executing Test_complete_func_mess()
Executing Test_complete_no_undo()
Executing Test_completefunc_opens_new_window_one()
Executing Test_completefunc_opens_new_window_two()
Executing Test_completefunc_with_scratch_buffer()
Executing Test_completefunc_works()
Executing Test_completion_can_undo()
Executing Test_completion_clear_candidate_list()
Executing Test_completion_comment_formatting()
Executing Test_completion_ctrl_e_without_autowrap()
Executing Test_completion_respect_bs_option()
Executing Test_conf_type()
Executing Test_cos()
Executing Test_cosh()
Executing Test_count()
Executing Test_cursorline_keep_col()
Executing Test_curswant_with_autocommand()
Executing Test_cycle_partial_job()
Executing Test_cyclic_dict_arg()
Executing Test_cyclic_list_arg()
Executing Test_delete_myself()
Executing Test_detection()
Executing Test_dict()
Executing Test_dir_delete()
Executing Test_duplicate_tagjump()
Executing Test_empty()
Executing Test_empty_buffer()
Executing Test_empty_concatenate()
Executing Test_equal()
Executing Test_equalalways_on_close()
Executing Test_ex_mode()
Executing Test_ex_undo()
Executing Test_execute_list()
Executing Test_execute_string()
Executing Test_existing()
Executing Test_exp()
Executing Test_expand()
Executing Test_feedkeys_x_with_empty_string()
Executing Test_file_delete()
Executing Test_file_perm()
Executing Test_fileformat_after_bw()
Executing Test_fileformat_autocommand()
Executing Test_filetype_detection()
Executing Test_filewritable()
Executing Test_filter()
Executing Test_filter_cmd_completion()
Executing Test_filter_fails()
Executing Test_filter_map_dict_expr_funcref()
Executing Test_filter_map_dict_expr_string()
Executing Test_filter_map_list_expr_funcref()
Executing Test_filter_map_list_expr_string()
Executing Test_findfile()
Executing Test_float2nr()
Executing Test_float_misc()
Executing Test_floor()
Executing Test_fmod()
Executing Test_fnamemodify()
Executing Test_func_unref()
Executing Test_funcref()
Executing Test_function_in_dict()
Executing Test_function_with_funcref()
Executing Test_gD()
Executing Test_gD_char()
Executing Test_gD_comment()
Executing Test_gD_inline_comment()
Executing Test_gD_string()
Executing Test_gD_string_same_line()
Executing Test_gD_too()
Executing Test_ga_command()
Executing Test_gd()
Executing Test_gd_comment()
Executing Test_gd_comment_in_string()
Executing Test_gd_inline_comment()
Executing Test_gd_inline_comment_body()
Executing Test_gd_inline_comment_only()
Executing Test_gd_kr_style()
Executing Test_gd_local_block()
Executing Test_gd_missing_braces()
Executing Test_gd_not_local()
Executing Test_gd_string()
Executing Test_gd_string_in_comment()
Executing Test_gd_string_only()
Executing Test_gd_trailing_comment()
Executing Test_gd_trailing_multiline_comment()
Executing Test_get_partial_items()
Executing Test_getbufvar()
Executing Test_getpid()
Executing Test_getreg_empty_list()
Executing Test_global_local_lispwords()
Executing Test_help_complete()
Executing Test_help_respect_current_file_lang()
Executing Test_help_tagjump()
Executing Test_hlexists()
Executing Test_hostname()
Executing Test_if()
Executing Test_info()
Executing Test_input_in_timer()
Executing Test_invalid()
Executing Test_invalid_submatch()
Executing Test_isnan()
Executing Test_join_with_count()
Executing Test_keyword_jump()
Executing Test_lambda_call_lambda_from_lambda()
Executing Test_lambda_capture_by_reference()
Executing Test_lambda_circular_reference()
Executing Test_lambda_closure_counter()
Executing Test_lambda_combination()
Executing Test_lambda_delfunc()
Executing Test_lambda_do_not_share_local_variable()
Executing Test_lambda_fails()
Executing Test_lambda_feature()
Executing Test_lambda_refer_local_variable_from_other_scope()
Executing Test_lambda_scope()
Executing Test_lambda_share_scope()
Executing Test_lambda_side_effect()
Executing Test_lambda_with_a_var()
Executing Test_lambda_with_filter()
Executing Test_lambda_with_map()
Executing Test_lambda_with_partial()
Executing Test_lambda_with_sort()
Executing Test_lambda_with_timer()
Executing Test_last_buffer_nr()
Executing Test_len()
Executing Test_let_termcap()
Executing Test_load_menu()
Executing Test_log()
Executing Test_log10()
Executing Test_loop_over_null_list()
Executing Test_map_ctrl_c_insert()
Executing Test_map_ctrl_c_visual()
Executing Test_map_cursor()
Executing Test_map_feedkeys()
Executing Test_map_langmap()
Executing Test_map_meta_quotes()
Executing Test_map_timeout()
Executing Test_match()
Executing Test_match_func()
Executing Test_matchaddpos()
Executing Test_matchaddpos_using_negative_priority()
Executing Test_matchend()
Executing Test_matchlist()
Executing Test_matchstr()
Executing Test_matchstrpos()
Executing Test_max()
Executing Test_max_min_errors()
Executing Test_messages()
Executing Test_min()
Executing Test_missing_attr()
Executing Test_mode()
Executing Test_move_cursor()
Executing Test_named_function_closure()
Executing Test_nested_global()
Executing Test_next_split_all()
Executing Test_nextnonblank_prevnonblank()
Executing Test_no_type_checking()
Executing Test_noinsert_complete()
Executing Test_non_zero_arg()
Executing Test_not_existing()
Executing Test_not_lamda()
Executing Test_omnifunc_with_check()
Executing Test_oneshot()
Executing Test_option_value()
Executing Test_other_type()
Executing Test_partial_args()
Executing Test_partial_dict()
Executing Test_partial_exists()
Executing Test_partial_implicit()
Executing Test_partial_string()
Executing Test_paste_end_of_line()
Executing Test_paused()
Executing Test_peek_and_get_char()
Executing Test_popup_complete()
Executing Test_popup_complete2()
Executing Test_popup_completion_insertmode()
Executing Test_pow()
Executing Test_printf_64bit()
Executing Test_printf_errors()
Executing Test_printf_float()
Executing Test_printf_misc()
Executing Test_printf_spec_b()
Executing Test_printf_spec_s()
Executing Test_ptag_with_notagstack()
Executing Test_put_block()
Executing Test_put_char_block()
Executing Test_put_char_block2()
Executing Test_put_lines()
Executing Test_read_only()
Executing Test_recover_root_dir()
Executing Test_recursive_delete()
Executing Test_redefine_dict_func()
Executing Test_redo_in_nested_functions()
Executing Test_ref_job_partial_dict()
Executing Test_reltime()
Executing Test_repeat_many()
Executing Test_repeat_three()
Executing Test_retain_partial()
Executing Test_round()
Executing Test_script_detection()
Executing Test_script_function_in_dict()
Executing Test_script_function_in_dict_arg()
Executing Test_searchpos()
Executing Test_set_add()
Executing Test_set_backslash()
Executing Test_set_reg_null_list()
Executing Test_set_tagcase()
Executing Test_setbufline_getbufline()
Executing Test_setbufvar_options()
Executing Test_setline_startup()
Executing Test_setmatches()
Executing Test_sha256()
Executing Test_shellescape()
Executing Test_simplify()
Executing Test_sin()
Executing Test_sinh()
Executing Test_sort_cmd()
Executing Test_sort_default()
Executing Test_sort_float()
Executing Test_sort_nested()
Executing Test_sort_numbers()
Executing Test_sort_numeric()
Executing Test_sort_strings()
Executing Test_special_char()
Executing Test_sqrt()
Executing Test_static_tagjump()
Executing Test_statusline()
Executing Test_statusline_will_be_disabled_with_error()
Executing Test_stop_all_in_callback()
Executing Test_stop_in_callback()
Executing Test_stopall()
Executing Test_str2float()
Executing Test_str2nr()
Executing Test_strcharpart()
Executing Test_strftime()
Executing Test_strgetchar()
Executing Test_stridx()
Executing Test_strridx()
Executing Test_substitute_expr()
Executing Test_substitute_expr_arg()
Executing Test_symlink_delete()
Executing Test_symlink_dir_delete()
Executing Test_symlink_recursive_delete()
Executing Test_tabline_will_be_disabled_with_error()
Executing Test_tabnext_on_buf_unload1()
Executing Test_tabnext_on_buf_unload2()
Executing Test_tabpage()
Executing Test_tabpage_with_autocmd()
Executing Test_tabpage_with_tab_modifier()
Executing Test_tabpage_with_tabclose()
Executing Test_tabpage_with_tabnext()
Executing Test_tabpage_with_tabonly()
Executing Test_tabpage_with_tabprevious()
Executing Test_tagcase()
Executing Test_tagjump_switchbuf()
Executing Test_taglist()
Executing Test_taglist_ctags_etags()
Executing Test_taglist_native_etags()
Executing Test_tan()
Executing Test_tanh()
Executing Test_timer_catch_error()
Executing Test_timer_errors()
Executing Test_tolower()
Executing Test_tostring()
Executing Test_toupper()
Executing Test_translate_menu()
Executing Test_true_false_arg()
Executing Test_trunc()
Executing Test_unlet_fails()
Executing Test_valid()
Executing Test_version()
Executing Test_window_cmd_cmdwin_with_vsp()
Executing Test_window_cmd_ls0_with_split()
Executing Test_window_cmd_wincmd_gf()
Executing Test_window_contents()
Executing Test_window_exchange()
Executing Test_window_height()
Executing Test_window_horizontal_split()
Executing Test_window_jump_tag()
Executing Test_window_newtab()
Executing Test_window_preview()
Executing Test_window_quit()
Executing Test_window_rotate()
Executing Test_window_split_edit_alternate()
Executing Test_window_vertical_split()
Executing Test_window_width()
Executing Test_with_directories()
Executing Test_with_partial_callback()
Executing Test_with_tilde()
Executing Test_wrong_arguments()
Executing Test_yank_move_change()
Executing Test_yank_put_clipboard()
Executing Test_z()
Executing Test_z_negative_lnum()
Executing Test_z_overflow()
Executed 328 tests

Test results:
ALL DONE
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic/testdir'
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json_test.o json_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o json_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o          objects/netbeans.o objects/channel.o  objects/charset.o objects/memfile.o objects/message.o objects/json_test.o        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl           
link.sh: Linked fine
./json_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/kword_test.o kword_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o kword_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o          objects/netbeans.o objects/channel.o  objects/json.o objects/memfile.o objects/message.o objects/kword_test.o        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl           
link.sh: Linked fine
./kword_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile_test.o memfile_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o memfile_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o          objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/message.o objects/memfile_test.o        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl           
link.sh: Linked fine
./memfile_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message_test.o message_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o message_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o          objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/memfile.o objects/message_test.o        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl           
link.sh: Linked fine
./message_test || exit 1; echo  passed;
passed
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
touch build-stamp-vim-basic
dh_testdir
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk3'
/usr/bin/make -f Makefile vim
dh_prep -p vim-nox
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk3'
make[2]: 'vim' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk3'
if test -n "yes" -a -f po/Makefile; then \
	cd po; /usr/bin/make -f Makefile check VIM=../vim; \
fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk3/po'
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq af.po
*** DEBIAN *** BUILDING VARIANT vim-nox
/usr/bin/make -C src/vim-nox
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox'
/bin/sh install-sh -c -d objects
touch objects/.dirstamp
CC="gcc -Iproto -DHAVE_CONFIG_H   -Wdate-time    " srcdir=. sh ./osdef.sh
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/popupmnu.o popupmnu.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pty.o pty.c
touch af.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ca.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/quickfix.o quickfix.c
touch ca.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.po
touch cs.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq de.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/regexp.o regexp.c
touch de.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq en_GB.po
touch en_GB.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq eo.po
touch eo.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq es.po
touch es.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fi.po
touch fi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fr.po
touch fr.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ga.po
touch ga.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq it.po
touch it.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.po
touch ja.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/screen.o screen.c
touch ko.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.UTF-8.po
touch ko.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nb.po
touch nb.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nl.po
touch nl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq no.po
touch no.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/search.o search.c
touch pl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pt_BR.po
touch pt_BR.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/sha256.o sha256.c
touch ru.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spell.o spell.c
touch sk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sv.po
touch sv.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.po
touch uk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq vi.po
touch vi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.UTF-8.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/spellfile.o spellfile.c
touch zh_CN.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.po
touch zh_CN.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.UTF-8.po
touch zh_TW.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.po
touch zh_TW.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.cp1250.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/syntax.o syntax.c
touch cs.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.sjis.po
touch ja.sjis.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.euc-jp.po
touch ja.euc-jp.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.cp1250.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/tag.o tag.c
touch pl.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.UTF-8.po
touch pl.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.cp1251.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/term.o term.c
touch ru.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.cp1250.po
touch sk.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.cp1251.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/terminal.o terminal.c
touch uk.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.cp936.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ui.o ui.c
touch zh_CN.cp936.ck
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk3/po'
if test vim != vim -a ! -r vim; then \
	ln -s vim vim; \
fi
cd testdir; /usr/bin/make -f Makefile gui VIMPROG=../vim  SCRIPTSOURCE=../../runtime
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk3/testdir'
rm -f test.log messages
rm -rf test1.failed test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out wrongtermsize
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test1.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test1.in" 57 lines, 2069 charactersFirst 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 1133 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l





/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" If columns or lines are too small, create wrongtermsize.
[?25l[?25h[?25l:[?2004h[?25h" (Some tests will fail. When columns and/or lines are small)
[?25l[?25h[?25l:[?2004h[?25hif &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Write a single line to test.out to check if testing works at all.
[?25l[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lthis is a test[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 15 characters written[?25h[?25l:[?2004h[?25h" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?25h
[?25l[?25h[?25l:[?2004h[?25hw! small.vim
[?25l"small.vim" [New File] 1 line, 1 character written[?25h[?25l:[?2004h[?25hw! tiny.vim
[?25l"tiny.vim" [New File] 1 line, 1 character written[?25h[?2004l[?2004h[?25le! test.ok

w! test.outqa![?25h[?25l:[?2004h[?25hw! mbyte.vim
[?25l"mbyte.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! mzscheme.vim
[?25l"mzscheme.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! lua.vim
[?25l"lua.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l"another" [New File]

"mbyte.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +lua feature supported, make lua.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("lua") | sp another | w! lua.vim | q | endif
[?25l"another" [New File]

"lua.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?25h[?25l:[?2004h[?25h" Otherwise write small.vim to skip the test.
[?25l[?25h[?25l:[?2004h[?25hif 1 | q! | endif
[?25l[?2004l[?2004l[?1l>[?25h[?1049lrm -rf X* 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test3.in" 2344 lines, 23156 characters/* vim: set cin ts=4 sw=4 : */



Test for 'cindent'.

For new tests, consider putting them in test_cindent.vim.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo 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;[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 : */[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 125 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo modeline
[?25l[?25h[?25l:[?2004h[>ce[?25hdit                " read modeline
[?25l"test3.in"2344L, 23156CTest for 'cindent'.

For new tests, consider putting them in test_cindent.vim.STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo modeline

:edit                " read modeline/start of AUTO=/end of AUTOENDTEST/* start of AUTO matically checked vim: set ts=4 : */

{    if (test)cmd1;cmd2;}{

    if (test)cmd1;else[?25h[?25l/[?2004h[?25hstart of AUTO
[?25l[?25h[?25l/[?2004h[?25hend of AUTO
[?25l956 lines to indent...
9500
850
750gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/undo.o undo.c

650
550
450
350
250
150
50 lines to indent... 
957 lines indented [?25h[?25l/[?2004h^STARTTEST
}break;default:baz();baz();break;

    }

}



/* end of AUTO */



STARTTEST

:set tw=0 noai fo=croq

:let &wm = &columns - 20

/serious/e

a about life, the universe, and the rest^[

ENDTEST



{



/* this is

 * a real serious important big

 * comment[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 101C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset tw=0 noai fo=croq
[?25l[?25h[?25l:[?2004h[?25hlet &wm = &columns - 20
[?25l[?25h[?25l/[?2004h[?25hserious/e
[?25l[?25h[?25l



-- INSERT --about life, the

 * universe, and the

 * rest important big[?25h[?25l

* comment[?25h[?25l

/[?2004h^STARTTEST
*/

    /* insert " about life, the universe, and the rest" after "serious" */

}



STARTTEST[?25h[?25l

:set nocin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 6L, 78C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comments

joabout life^[/happens

jothere^[/below

oline^[/this

Ohello^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nocin
[?25l[?25h[?25l/[?2004h[?25hcomments
[?25l{

    /** Testing for comments, without 'cin' set[?25h[?25l

*/[?25h[?25l

-- INSERT --

about life[?25h[?25l

/[?2004h[?25hhappens
[?25l/*

* what happens here?[?25h[?25l

*/[?25h[?25l

-- INSERT --

there[?25h[?25l

/[?2004h[?25hbelow
[?25l/*the end of the comment, try inserting a line below */[?25h[?25l

-- INSERT --

line[?25h[?25l

/[?2004h[?25hthis
[?25l/* how aboutthis one */[?25h[?25l

-- INSERT --hello[?25h[?25l

this one */[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 18C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/vec2

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l/[?2004h[?25hvec2
[?25l{

    var = this + that + vec[0] * vec[0]+ vec[1] * vec[1]+ vec2[2] * vec[2];[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5L, 51C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=}4

/testing1

k2==/testing2

k2==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=}4
[?25l[?25h[?25l/[?2004h[?25htesting1
[?25l{asdf asdflkajds f;

    if (tes & ting) {asdf asdf asdf ;asdfa sdf asdf;}

    testing1;[?25h [?25l



/[?2004h[?25htesting2
[?25lif (tes & ting)

    {asdf asdf asdf ;asdfa sdf asdf;}

    testing2;[?25h [?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=(0,)20

/main

=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=(0,)20
[?25l[?25h[?25l/[?2004h[?25hmain
[?25lmain ( int first_par, /*[?25h[?25l

19 lines to indent...
20indented [?25h[?25l

* Comment for[?25h[?25l

/[?2004h^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();[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=es,n0s
[?25l[?25h[?25l/[?2004h[?25hmain
[?25l[?25h[?25l8 lines to indent...
9indented [?25h

[?25l/[?2004h^STARTTEST
else

    {bar();

    }

}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l{[?25h[?25l

11 lines to indent...
12indented [?25h[?25l

do[?25h[?25l

/[?2004h^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();

    }[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 1L, 6C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h





[?25l8 lines to indent...
9indented [?25h

   [?25l/[?2004h^STARTTEST
n();

}



STARTTEST[?25h[?25l

:set cino={s,e-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,e-s
[?25l[?25h[?25lvoid f()

{[?25h[?25l

7 lines to indent...
8indented     {[?25h[?25l

if ( k() )[?25h[?25l

/[?2004h^STARTTEST
{l();} else { /* Start (two words) end */m();}

    n();    /* should be under the if () */

}



STARTTEST[?25h[?25l

:set cino={s,fs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=/ foo[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,fs
[?25l[?25h[?25lvoid bar(void)

{[?25h[?25l

/[?2004h[?25h foo
[?25l30 lines to indent...
31indented     {[?25h[?25l/[?2004h^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 */[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l/[?2004h[?25hwhile
[?25l[?25h[?25l

-- INSERT --

here[?25h[?25l

if ( a )
    i[?25h[?25l

/[?2004h^STARTTEST
a;

}



STARTTEST[?25h[?25l

:set cino= com=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 109C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comment

olabel2: b();^Mlabel3 /* post */:^M/* pre */ label4:^Mf(/*com*/);^Mif (/*com*/)^^Mcmd();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino= com=
[?25l[?25h[?25l/[?2004h[?25hcomment
[?25la()

{

label1:/* hmm */// comment[?25h[?25l

-- INSERT --label2: b();

label3 /* post */:

/* pre */ label4:f(/*com*/);if (/*com*/)cmd();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set comments& comments^=s:/*,m:**,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 53C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/simple

=5j[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset comments& comments^=s:/*,m:**,ex:*/
[?25l[?25h[?25l/[?2004h[?25hsimple
[?25l/*

  * A simple comment[?25h[?25l

5 lines to indent...
6indented * A simple comment[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
/*

** A different comment

*/



STARTTEST[?25h[?25l

:set cino=c0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 70C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=c0,C1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 73C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0,C1
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********

    A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 17C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s,U1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,U1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(0,w1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,w1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3) && c4;

    if (c1 && c2)foo;

}



STARTTEST[?25h[?25l

:set cino=(s,m1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,m1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3

    ) && c4;

    if (c1 && c2

    )foo;

}



STARTTEST[?25h[?25l

:set cino=b1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=b1
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

9 lines to indent...
10 lines indented [?25h[?25l

switch (x)[?25h[?25l

/[?2004h^STARTTEST
{case 1:a = b;break;default:a = 0;break;

    }

}



STARTTEST[?25h[?25l

:set cino=(0,W5
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W5
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

10 lines to indent...
11indented [?25h[?25l

invokeme([?25h[?25l

/[?2004h^STARTTEST
argu,ment);

    invokeme(argu,ment);

    invokeme(argu,ment);

}



STARTTEST[?25h[?25l

:set cino=/6
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=/6
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

3 lines to indent...
4indented [?25h[?25l

statement;[?25h[?25l

/[?2004h^STARTTEST
// comment 1// comment 2

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 34C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-12kdd]]/comment 1/+1

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l==ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

/[?2004h[?25hcomment 1/+1
[?25lstatement;// comment 1

    // comment 2[?25h[?25l    // comment 2[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino=g0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=g0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass CAbc

{[?25h[?25l

6 lines to indent...
7indented [?25h[?25l

int Test() { return FALSE; }[?25h[?25l

/[?2004h^STARTTEST
public: // comment

    void testfall();

protected:

    void testfall();

};



STARTTEST[?25h[?25l

:set cino=(0,gs,hs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 29C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,gs,hs
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass Foo : public Bar

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

public:[?25h[?25l

/[?2004h^STARTTEST
virtual void method1(void) = 0;virtual void method2(int arg1,int arg2,int arg3) = 0;

};



STARTTEST[?25h[?25l

:set cino=+20
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 24C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=+20
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid

foo()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (a)[?25h[?25l

/[?2004h^STARTTEST
{

    } elseasdf;

}



STARTTEST[?25h[?25l

:set cino=(0,W2s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W2s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25l

{[?25h[?25l

34 lines to indent...
35indented [?25h[?25l

averylongfunctionnamelongfunctionnameaverylongfunctionname()->asd([?25h[?25l

/[?2004h^STARTTEST
dec)->asdfasdfasdf(asdfadsf,asdfasdf,asdfasdf,),func(asdfadf,asdfasdf),asdasdf);

}



STARTTEST

:set cino=M1

2kdd]]=][

ENDTEST



int main ()

{

    if (cond1 &&cond2)foo;

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=M1
[?25l[?25h[?25l

[?25h[?25l4 lines to indent...
5indented [?25h

   [?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set cino=(0,ts
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,ts
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

7 lines to indent...
8indented [?25h[?25l

void func(int a[?25h[?25l

/[?2004h^STARTTEST
#if defined(FOO), int b, int c

#endif)

{

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void[?25h[?25l

/[?2004h^STARTTEST
func(int a

#if defined(FOO), int b, int c

#endif

    )

{

}



STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 22C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=7][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=7][

ENDTEST[?25h



[?25l

69 lines to indent...
50
7indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^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};[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l:[?2004h[?25hset cino+=l1
[?25l[?25h[?25l

[?25h



[?25l22 lines to indent...
23indented [?25h

[?25l/[?2004h^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";

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l

[?25h



[?25l6 lines to indent...
7indented     << "b"

        << ") :"

        << "c";[?25h

[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set com=s1:/*,m:*,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]3jofoo();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset com=s1:/*,m:*,ex:*/
[?25l[?25h[?25lvoid func(void)

{[?25h[?25l/** This is a comment.*/[?25h[?25l

-- INSERT --

foo();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^STARTTEST
{

    for (int i = 0; i < 10; ++i)if (i & 1) {foo(1);} elsefoo(0);

    baz();

}



STARTTEST[?25h[?25l

:set cino=k2s,(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd3j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0
[?25l[?25h[?25l2kdd3j=][ENDTEST[?25h[?25l

void func(void)[?25h[?25l

23 lines to indent...
24indented [?25h[?25l

{[?25h[?25l

/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s
[?25l[?25h[?25l

[?25h





[?25l23 lines to indent...
24indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s,U1
[?25l[?25h[?25l

[?25h





[?25l24 lines to indent...
25indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,W4
[?25l[?25h[?25l

[?25h





[?25l29 lines to indent...
30indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,u2
[?25l[?25h[?25l

[?25h





[?25l18 lines to indent...
19indented         && condition2)

        action();        && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,w1
[?25l[?25h[?25l

[?25h





[?25l27 lines to indent...
28indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2,(s
[?25l[?25h[?25l

[?25h





[?25l14 lines to indent...
15indented [?25h

[?25l/[?2004h^STARTTEST
if (c1 && (c2 ||c3))foo;

    if (c1 &&(c2 || c3))

    {

    }

}



STARTTEST[?25h[?25l

:set cino=N-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 47C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^NAMESPACESTART

=/^NAMESPACEEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=N-s
[?25l[?25h[?25l/[?2004h[?25h^NAMESPACESTART
[?25lNAMESPACESTART[?25h[?25l

/[?2004h[?25h^NAMESPACEEND
[?25l81 lines to indent...
50
82indented [?25h[?25l/[?2004h^STARTTEST
namespace test test2

{

    1111111111111111111;

}

namespace111111111

{

    111111111111111111;

}

NAMESPACEEND





STARTTEST

:set cino=j1,J1

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

var bar = {

foo: {

that: this,

some: ok,

},[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l12 lines to indent...
13indented     foo: {

        that: this,

        some: ok,

    },[?25h[?25l/[?2004h^STARTTEST
"bar":{a : 2,b: "123abc",x: 4,"y": 5

    }

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l5 lines to indent...
6indented [?25h[?25l/[?2004h^STARTTEST
var foo = [

    1,

    2,

    3

];

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l7 lines to indent...
8indented [?25h[?25l/[?2004h^STARTTEST
function bar() {

    var foo = [1,2,3

    ];

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l58 lines to indent...
509indented [?25h[?25l/[?2004h^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: [[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l14 lines to indent...
15indented     $(this).data(class_name+'_public',$.extend({},{

        foo: 'bar',

        bar: 2,

        foobar: [[?25h[?25l/[?2004h^STARTTEST
1,2,3],callback: function(){return true;}

    }, options||{}));

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l16 lines to indent...
17indented [?25h[?25l/[?2004h^STARTTEST
2,3],callback: function(){return true;}}, options||{}));

    }

})(jQuery);

JSEND



STARTTEST

:set cino=j1,J1,+2

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

// Results of JavaScript indent

// 1

(function(){

var a = [

'a',[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1,+2
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l149 lines to indent...
100
50 lines to indent... 
150 lines indented     var a = [

      'a',[?25h[?25l/[?2004h^STARTTEST
var a,

    b,

    c,

    d,

    e,

    f,

    g,

    h,

    i;

JSEND



STARTTEST

:set cin cino&

/start of define

=/end of define

ENDTEST



/* start of define */

{

}

#define AAA \

BBB\

CCC[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 48C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin cino&
[?25l[?25h[?25l/[?2004h[?25hstart of define
[?25l[?25h[?25l/[?2004h[?25hend of define
[?25l11 lines to indent...
12indented     BBB\

    CCC[?25h[?25l/[?2004h^STARTTEST
#define CNT \

    1 + \

    2 + \

    4

/* end of define */



STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 61C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l227 fewer lines    c,

    d,

    e,    f,    g,    h,    i;JSEND/* start of define */

{}#define AAA \

    BBB\

    CCC#define CNT \

    1 + \

    2 + \4

/* end of define */[?25h[?25l:[?2004h[?25h1;/start of AUTO/,$wq! test.out
[?25l[?2004l"test.out" [New] 2096L, 20188C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test3 = test61; then \
#	  if diff test.out test3.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test3.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test4.failed test.ok test.out X* viminfo
cp test4.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test4.in" 34 lines, 960 charactersTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew

/start of

:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx" split to Xxx, autocmd will do :brew

G?this is a

othis should be auto-indented^[

:" Append text with autoindent to this file

:au! BufEnter Xxx

:buf Xxx" go to Xxx, no autocmd anymore

G?this is a

othis should be in column 1^[:wq " append text without autoindent to Xxx

G:r Xxx" include Xxx in the current file

:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is sset

Go# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes current buffer on BufEnter event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 20 lines, 678 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:?startstart?,$w! test.out

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>ca[?25hu BufEnter Xxx brew
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25lstartstart

start of test file Xxx[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx   " write test file Xxx
[?25l"Xxx" [New] 7L, 124C written[?25h[?25l:[?2004h[?25hset ai modeline modelines=3
[?25l[?25h[?25l:[?2004h[?25hsp Xxx             " split to Xxx, autocmd will do :brew
[?25l"Xxx" 7L, 124CTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.STARTTESTo small.vim:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew/start of.,/end of/w!" write test file Xxx

:set ai modeline modelines=3:sp Xxx    " split to Xxx, autocmd will do :brew

test4.in                                                                        :set fo+=rssue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.outqa!ENDTESTstartstart of test file Xxx

test4.in                                                                        test4.in" line 1 of 34 --2%-- col 1[?25h[?25l:qa!ENDTESTstartstart

start of test file Xxx

vim: set noai :        this is a test

        this is a test

        this is a test        this is a testend of test file Xxx[?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --        this should be auto-indented[+][+][?25h[?25l

end of test file Xxx[?25h[?25l:[?2004h[?25h                   " Append text with autoindent to this file
[?25l[?25h[?25l:[?2004h[?25hau! BufEnter Xxx
[?25l[?25h[?25l:[?2004h[?25hbuf Xxx            " go to Xxx, no autocmd anymore
[?25l"Xxx" 7L, 124Cstart of test file Xxx

vim: set noai :

        this is a test

        this is a test

        this is a test



end of test file Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxxt          [?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --this should be in column 1[+][?25h[?25l:[?2004h[?25hwq " append text without autoindent to Xxx
[?25l"Xxx8L, 151C written:au BufEnter Xxx brew/start of:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx             " split to Xxx, autocmd will do :brew

G?this is aothis should be auto-indented^[

:                   " Append text with autoindent to this file

:au! BufEnter Xxx:buf Xxx            " go to Xxx, no autocmd anymoreG?this is aothis should be in column 1^[:wq " append text without autoindent to XxxG:r Xxx   nclude Xxx in the current file:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.out

:qa!ENDTESTstarstart of test file Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a testthis should be auto-indented

end of test file Xxx[?25h[?25l

:[?2004h[?25hr Xxx             " include Xxx in the current file
[?25l"Xxx" 8L, 151C

start of test file Xxx[?25h[?25l

:[?2004h[?25hset fo+=r          " issue #57 do not move cursor on <c-o> when autoindent is 


set
[?25l:au! BufEnter Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

this should be in column 1

end of test file Xxx
[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --

# def[?25h[?25lINSERTt --defo[?25hd[?25l[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --[?25h[?25l

-- INSERTt --def:[?25hd[?25l[?25h[?25l

:[?2004h[?25h[?25l:[?2004h[?25h?startstart?,$w! test.out
[?25l"test.out" [New] 20L, 330C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test4 = test61; then \
#	  if diff test.out test4.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test4.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test5.failed test.ok test.out X* viminfo
cp test5.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test5.in" 29 lines, 949 charactersTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.



STARTTEST

:so small.vim

:au BufLeave Xxx bwipe

/start of

:.,/end of/w! Xxx" write test file Xxx

:sp Xxx" split to Xxx

:bwipe" delete buffer Xxx, now we're back here

G?this is a

othis is some more text^[

:" Append some text to this file

:?start?,$w! test.out" Write current file contents

:bwipe test.out" delete alternate buffer

:au bufleave test5.in bwipe

:bwipe!" delete current buffer, get an empty one

ithis is another test line^[:w >>test.out

:" append an extra line to the output file

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that deletes the current buffer on BufLeave event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 664 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufLeave Xxx bwipe
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25l[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx               " write test file Xxx
[?25l"Xxx" [New File] 7 lines, 124 characters written[?25h[?25l:[?2004h[?25hsp Xxx                         " split to Xxx
[?25l"Xxx" 7 lines, 124 charactersstart of test file Xxxvim: set noai :this is a test

        this is a test

        this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx                                                                             ?start?,$w! test.outWrite current file contentsbwipe test.out      delete alternate bufferau bufleave test5.in bwipebwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out:                               " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx

test5.in                                                                        [?25h[?25l:[?2004h[?25hbwipe                          " delete buffer Xxx, now we're back here
[?25lTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.STARTTEST:so small.vim:au BufLeave Xxx bwipe

/start of:.,/end of/w! Xxx               " write test file Xxx:sp Xxx                         " split to Xxx:bwipe                          " delete buffer Xxx, now we're back hereG?this is aothis is some more text^[                    Append some text to this file

:?start?,$w! test.outWrite current file contents

:bwipe test.out                 " delete alternate buffer

:au bufleave test5.in bwipe:bwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out   " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx"test5.in" line 23 of 29 --79%-- col 1[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

end of test file Xxx[?25h[?25l

?[?2004h[?25hthis is a
[?25l[?25h[?2004l[?2004h[?25l

this is some more text[?25h[?25l

end of test file Xxx[?25h[?25l

:[?2004h[?25h                               " Append some text to this file
[?25l[?25h[?25l:[?2004h[?25h?start?,$w! test.out           " Write current file contents
[?25l"test.out" [New File] 8 lines, 147 characters written[?25h[?25l:[?2004h[?25hbwipe test.out                 " delete alternate buffer
[?25l[?25h[?25l:[?2004h[?25hau bufleave test5.in bwipe
[?25l[?25h[?25l:[?2004h[?25hbwipe!                         " delete current buffer, get an empty one
[?25lError detected while processing BufLeave Auto commands for "test5.in":

E89: No write since last change for buffer 1 (add ! to override)


Press ENTER or type command to continue[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lthis is another test line[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 26 characters appended[?25h[?25l:[?2004h[?25h                               " append an extra line to the output file
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test5 = test61; then \
#	  if diff test.out test5.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test5.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test7.failed test.ok test.out X* viminfo
cp test7.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/userfunc.o userfunc.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test7.in" 26 lines, 675 charactersTest for autocommand that changes the buffer list, when doing ":ball".



STARTTEST

:so small.vim

/^start of

A1^[:.,/end of/w! Xxx1   " write test file Xxx1

:sp Xxx1

:close

$r2:.,/end of/w! Xxx2    " write test file Xxx2

:sp Xxx2

:close

$r3:.,/end of/w! Xxx3    " write test file Xxx3

:sp Xxx3

:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes the buffer list, when doing ":ball".[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 508 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx1   " write test file Xxx1
[?25l"Xxx1" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx1
[?25l"Xxx1" 4 lines, 77 charactersstart of test file Xxx1this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2    " write test file Xxx2
[?25l"Xxx2" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx2
[?25l"Xxx2" 4 lines, 77 charactersstart of test file Xxx2this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx2                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2[?25h[?25l3[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx3    " write test file Xxx3
[?25l"Xxx3" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx3
[?25l"Xxx3" 4 lines, 77 charactersstart of test file Xxx3this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx3                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3[?25h[?25l:[?2004h[?25hau BufReadPost Xxx2 bwipe
[?25l[?25h[?25l4[?25h[?25l:[?2004h[?25hball                 " open window for all args, close Xxx2
[?25l"Xxx1"4 lines, 77 characters


"Xxx2" 4 lines, 77 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h.,$w! test.out          " Write contents of this file
[?25l"test.out" [New File] 4 lines, 77 characters written


Press ENTER or type command to continue[?25h[?25l:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx4

test7.in [+]                                                                    start of test file Xxx1this is a testthis is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            [?25h

test7.in [+]                                                                     Xxx1                                                                            [?25l:[?2004h[?25hw >>test.out        " Append contents of second window (Xxx1)
[?25l"test.out" 4 lines, 77 characters appended[?25htest7.in [+]                                                                    Xxx1                                                                             [?25l:[?2004h[?25h/^start of/,$w >>test.out   " Append contents of last window (this file)
[?25lsearch hit BOTTOM, continuing at TOP"test.out" 4 lines, 77 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test7 = test61; then \
#	  if diff test.out test7.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test7.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test8.in" 46 lines, 1236 charactersTest 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('$')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1054 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTif 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,nviminfo

:au BufUnload * call CloseAll()

:au VimLeave * call WriteToOut()

:e small.vim

:sp mbyte.vim

:q

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx1 bunload
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx2 bwipe
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l

start of Xxx[?25h[?2004l[?2004h[?25l1[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx1  " write test file Xxx1
[?25l"Xxx1" [New File] 3 lines, 31 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2   " write test file Xxx2
[?25l"Xxx2" [New File] 3 lines, 31 characters written[?25h[?25l:[?2004h[?25he! Xxx2                " edit Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2

        testend of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbdel test8.in^I^I" delete this file from the buffer list
[?25l[?25h[?25l:[?2004h[?25he Xxx1                 " edit Xxx1
[?25l"Xxx1" 3 lines, 31 characters1
[?25h[?25l:[?2004h[?25hw                      " write it, will unload it and give an error msg
[?25l"Xxx2"3 lines, 31 characters


E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! test.out            " Write contents of this file
[?25l"test.out" [New File] 3 lines, 31 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he! Xxx2                " start editing Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2test

end of Xxx"Xxx2" 3 lines, 31 characters[?25h[?25l:[?2004h[?25hbwipe test.out         " remove test.out from the buffer list
[?25l[?25h[?25l:[?2004h[?25hw                      " write it, will delete the buffer and give an error ms


g[?25l"Xxx1"3 lines, 31 characters

E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out           " Append contents of this file
[?25l"test.out" 3 lines, 31 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! BufWritePre
[?25lstart of Xxx1test

end of Xxx[?25h[?25l:[?2004h[?25hfunc CloseAll()
[?25l

:[?2004h  [?25h  let i = 0


[?25l:[?2004h  [?25h  while i <= bufnr('$')


[?25l:[?2004h    [?25h    if i != bufnr('%') && bufloaded(i)


[?25l:[?2004h      [?25h      exe  i . "bunload"


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let i += 1


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfunc WriteToOut()
[?25l

:[?2004h  [?25h  edit! test.out


[?25l:[?2004h  [?25h  $put ='VimLeave done'


[?25l:[?2004h  [?25h  write


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               [?25h[?25l:[?2004h[?25hset viminfo='100,nviminfo
[?25l[?25h[?25l:[?2004h[?25hau BufUnload * call CloseAll()
[?25l[?25h[?25l:[?2004h[?25hau VimLeave * call WriteToOut()
[?25l[?25h[?25l:[?2004h[?25he small.vim
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"small.vim" 1 line, 1 character


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp mbyte.vim
[?25l"mbyte.vim" 0 lines, 0 characters~                                                                               ~                                                                               ~                                                                               mbyte.vim                                                                       small.vim                                                                       "mbyte.vim" 0 lines, 0 characters[?25h[?25l:[?2004h[?25hq
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"test.out" 6 lines, 62 characters[?2004l


"test.out" 7 lines, 76 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test8 = test61; then \
#	  if diff test.out test8.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test8.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test14.in" 100 lines, 1623 charactersTests 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

:set belloff=all

/Start cursor here

vaBiBD:?Bug?,/Piece/-2w! test.out

/^- Bug

:s/u/~u~/

:s/i/~u~/

:s/o/~~~/

:.w >>test.out

:if has("ebcdic")

: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>"

:else

: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"

:endif

:exe "normal " . tt

:unlet tt[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1158 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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 */{}}}[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25hStart cursor here
[?25l[?25h[?25l[?25h[?25l{ 

                        cmd;    /* <-- Start cursor here */ 

                        { 

                        } 

                [?25h[?25l                cmd; 

                }[?25h[?25l





6 fewer lines        }Piece of Java{        tt m1 {                t1;e1[?25h[?25l:[?2004h[?25h?Bug?,/Piece/-2w! test.out
[?25l"test.out" [New File] 3 lines, 44 characters written[?25h[?25l/[?2004h[?25h^- Bug
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/u/~u~/
[?25l[?25h[?25l:[?2004h[?25hs/i/~u~/
[?25luuun "vPPPP" on this text (Webb):
[?25h[?25l:[?2004h[?25hs/o/~~~/
[?25luuuuuuuuun this text (Webb):
[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 48 characters appended[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>


"

[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"


[?25l:[?2004h  [?25h:endif
[?25l:$put =@/

/^substitute

:keeppatterns s/asdf/xyz/

:$put =@/

/^substitute[?25h[?25l:[?2004h[?25hexe "normal " . tt
[?25l[?2004l[?2004hABC !a^Og^G8[?25h[?25l:[?2004h[?25hunlet tt
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset vb
[?25l[?25h[?25l/[?2004h[?25h^Piece
[?25l[?25h[?2004l[?2004h[?25l{A[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25ltt m2 {[?25h[?2004l[?2004h[?25l{B[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25lt2;} e2tt m3 {[?25h[?2004l[?2004h[?25l{C[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?2004l[?2004h[?25l{DC[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{EA[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{F[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}G e1[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h

[?25lif (x){t3;}} e3[?25h[?2004l[?2004h[?25l}H e3[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?25l

}[?25h[?2004l[?2004h[?25l}I[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}JH e3[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?25h[?2004l[?2004h[?25l}K e2[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?2004l[?2004h[?25l{LF[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^foobar
[?25lfoobar[?25h[?25l

:[?2004h[?25hlet startline = line('.')
[?25l[?25h[?25l:[?2004h[?25hcall search('foobar', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l

[?25h[?25l

:[?2004h[?25hcall search('^$', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l:[?2004h[?25hcall search('^$', 'bc')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l/[?2004h[?25htwo
[?25lsubstitute foo asdf



one two[?25h[?25l

:[?2004h[?25hcall search('.', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), getline('.')[col('.') - 1:])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/foo/bar/
[?25lbar
[?25h[?25l:[?2004h[?25h$put =@/
[?25lsearch()

0

1

1

two

foo[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hkeeppatterns s/asdf/xyz/
[?25lxyz[?25h[?25l:[?2004h[?25h$put =@/
[?25l

^substitute[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l

/[?2004h[?25hbar /e
[?25l[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l



:[?2004h[?25hkeeppatterns /xyz
[?25l[?25h[?25l

/bar /exyz[?25h[?25l:[?2004h[?25h/^search()/,$w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 9 lines, 58 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test14 = test61; then \
#	  if diff test.out test14.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test14.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test15.in" 136 lines, 2246 charactersTests 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

:set nocp viminfo+=nviminfo

:" 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 401 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset tw=65
[?25l[?25h[?25l

test for :left[?25h[?25l

:[?2004h[?25h/^\s*test for :left/,/^\s*test for :center/ left
[?25lsearch hit BOTTOM, continuing at TOPtest for :left[?25h[?25l:[?2004h[?25h/^\s*test for :center/,/^\s*test for :right/ center
[?25l[?25h[?25l:[?2004h[?25h/^\s*test for :right/,/^xxx/-1 right
[?25l[?25h[?25l:[?2004h[?25hset fo+=tcroql tw=72
[?25l[?25h[?25l/[?2004h[?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[?25h
[?25l

 xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xxxx xxxxxxx.

xxxx xxxx.xxxxxxx: xxxx xxxxxxx, xx xxxx xxxxxxx~                                                                               [?25h

[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h undo/redo here to make the next undo only work on the following changes
[?25l[?25h[?25l1 more line; before #1  0 seconds ago0gq6kk

:set nocp viminfo+=nviminfo

:" 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 :centeraafaafd asdf[?25h[?25l1 line less; after #1  0 seconds agotest for :lefta      afa    adfa      asdfaaasdfa           axasdfaa                test for :center  aa  fa        afd asdf[?25h

[?25l:[?2004h[?25hmap gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
[?25l[?25h[?25l/[?2004h[?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[?25h[?25l





:[?2004h.,.+2s/^/x/
3 substitutions on 3 linesxaa aa aa aa

xbb bb bb bb

xcc cc cc cc
[?25h[?25l:[?2004hset tw=3
[?25h[?25l





3 more lines

aaaaaa3 more lines[?25h[?25l

3 fewer lines; before #2  0 seconds agoaa aa aa aa

bb bb bb bb

cc cc cc cc

~                                                                               [?25h

[?25l:[?2004h[?25h?test for :left?,$w! test.out
[?25l"test.out"[New] 111L, 2304C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test15 = test61; then \
#	  if diff test.out test15.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test15.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test19.in" 33 lines, 692 charactersTests 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![?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 447 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset smarttab expandtab ts=8 sw=4
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25lSTARTTEST

: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

[?25h[?25l

/[?2004h[?25hsome
[?25lstart textsome test text[?25h[?2004l[?2004h[?25l    ome test text[?25h[?25l

:[?2004h[?25hset noexpandtab
[?25l[?25h[?25l/[?2004h[?25hother
[?25ltest textother test text[?25h[?2004l[?2004h[?25l    ther test text[?25h[?25l

a cde[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs and then backspacing to undo it
[?25l[?25h
    [?2004l[?2004h[?25l[?25h[?25l

f ghi[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs
[?25l[?25h
    [?2004l[?2004h[?25l     hi[?25h[?25l

test text[?25h[?25l

:[?2004h[?25h" Test that copyindent works with expandtab set
[?25l[?25h[?25l:[?2004h[?25hset expandtab smartindent copyindent ts=8 sw=8 sts=8
[?25l[?25h[?2004l[?2004h[?25l{x[?25h[?25l

:[?2004h[?25hset nosol
[?25l[?25h[?25l/[?2004h[?25hSecond line/
[?25l

Second line beginning with whitespace[?25h[?25l
  with whitespace[?25h[?25l

:[?2004h[?25h?^start?,$w! test.out
[?25l"test.out" [New File] 10 lines, 121 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test19 = test61; then \
#	  if diff test.out test19.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test19.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test20.failed test.ok test.out X* viminfo
cp test20.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test20.in" 28 lines, 398 charactersTests Blockwise Visual when there are TABs before the text.

First test for undo working properly when executing commands from a register.

Also test this in an empty buffer.



STARTTEST

:so tiny.vim

G0"ay$k@au

:new

@auY:quit!

GP

/start here$

"by$^Vjjlld

/456$

^Vjj"bP

:/56$/,$-1w! test.out

:qa!

ENDTEST



123456

234567

345678



test text test tex start here[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests Blockwise Visual when there are TABs before the text.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 107 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso tiny.vim
[?25l[?25h[?25lsome texttest text

test text



Ox^[jAy^[kdd[?25h[?2004l[?2004h[?25lx[?25h

[?2004l[?2004h[?25ly[?25h[?25ly

Ox^[jAy^[kdd[?25h[?25l



2 changes; before #1  0 seconds ago[?25h

[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       123456

234567

345678test text test tex start here

                some texttest

test textOx^[jAy^[kdd

test20.in                                                                       [?25h[?2004l[?2004h[?25lx[+][?25h

[?2004l[?2004h[?25ly[?25h[?25l

~                                                                               [?25h[?25l1 line less; before #1  0 seconds ago    [?25h[?25l:[?2004h[?25hquit!
[?25l:so tiny.vim

G0"ay$k@au:new@auY:quit!GP/start here$"by$^Vjjlld/456$^Vjj"bP:/56$/,$-1w! test.out:qa!ENDTEST123456

234567

345678test text test tex start heresome

         test text

test textOx^[jAy^[kdd[?25h[?25l[?25h[?25l

Ox^[jAy^[kdd[?25h[?25l

/[?2004h[?25hstart here$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25ls[?25h[?25le[?25h[?25lt t[?25h[?25lat [?25h[?25lrt hereextex[?25h[?25l/[?2004h[?25h456$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25l4

234[?25h[?25l5

345[?25h[?25l[?25h[?25lstart here56

234start here67

345start here78[?25h[?25l:[?2004h[?25h/56$/,$-1w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 10 lines, 106 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test20 = test61; then \
#	  if diff test.out test20.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test20.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test28.failed test.ok test.out X* viminfo
cp test28.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test28.in" 23 lines, 364 charactersTest for sourcing a file with CTRL-V's at the end of the line



STARTTEST

:/firstline/+1,/lastline/-1w! Xtestfile

:so Xtestfile

Gmm__1^[^[__2^[__3^[^[__4^[__5^[:'m,$s/^@/0/g

:'m,$w! test.out

:qa!

ENDTEST



firstline

map __1 afirst

map __2 asecond

map __3 athird

map __4 afourth

map __5 afifth

map __1 asd^V

map __2 asd^V^V

map __3 asd^V^V

map __4 asd^V^V^V

map __5 asd^V^V^V

lastline[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 sourcing a file with CTRL-V's at the end of the line[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 114 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h/firstline/+1,/lastline/-1w! Xtestfile
[?25l"Xtestfile" [New File] 10 lines, 148 characters written[?25h[?25l:[?2004h[?25hso Xtestfile
[?25l[?25h[?2004l[?2004h[?25l

sd

map __2 asd^[[?25h[?2004l[?2004h[?25lsecond[?25h[?2004ld  [?2004h[?25lsd^[[?25h[?2004l^[  [?2004h[?25lsd^@map __5 asd^@[?25h[?2004l[?2004h[?25lfifth[?25h[?25l

:[?2004h[?25h'm,$s/^@/0/g
[?25l0map __5 asd0fifth[?25h[?25l:[?2004h[?25h'm,$w! test.out
[?25l"test.out" [New File] 2 lines, 45 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test28 = test61; then \
#	  if diff test.out test28.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test28.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test29.in" 231 lines, 4278 charactersTest 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 nocompatible viminfo+=nviminfo

: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 cpoptions-=j nojoinspaces compatible

j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2

ENDTEST



firstline

asdfasdf.

asdf[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 478 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het nojoinspaces
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j
[?25l[?25h[?25l/[?2004h[?25hfirstline/
[?25l[?25h

[?25l/[?2004h[?25h^STARTTEST/-1
[?25l+-1
37 fewer linesSTARTTEST

/^{/+1[?25h[?25lmore linesasdfasdf.

asdf[?25h[?25lasdf

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop!

ert[?25h
hjkl i[?25l. as dfg? hjkl iop! ert

zx cvn.

as dfg?hjkl iop![?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv
hjkl i[?25l. as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop![?25h
hjkl i[?25l.  as dfg?  hjkl iop!  ert

zx cvn.

as dfg?[?25h  er[?25lt  e[?25h
zx cv[?25len[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv[?25l

hjkl iop![?25h
hjkl i[?25l.  as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions-=j nojoinspaces compatible
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h[?25l.  as dfg? hjkl iop! ert[?25h[?25lt  a[?25h[?25l

zx cvn.[?25h[?25l

/[?2004h[?25hSTARTTEST/-2
[?25l+-2
4 fewer lines[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 12 lines, 147 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset comments=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset nojoinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();
[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:" Test with backspace set to the non-compatible setting
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 18 lines, 364 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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 backspace= visualbell

A vim5^[A^U^U^[

A vim6^[Azwei^Gu^U^[

:inoremap <c-u> <left><c-u>

A vim7^U^U^[

:set compatible novisualbell

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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" Test with backspace set to the non-compatible setting
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25h^\d\+ this
[?25l[?25h[?25l:[?2004h[?25hset cp bs=2
[?25l[?25h[?2004l[?2004h[?25l[?25h[?2004ld    [?25lvim2[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hset cpo-=<
[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25ld3[?25h[?25l:[?2004h[?25hiunmap <c-u>
[?25l[?25h[?2004l[?2004h[?25l[?25h

[?25l:[?2004h[?25h" Test with backspace set to the compatible setting
[?25l[?25h[?25l:[?2004h[?25hset backspace= visualbell
[?25l[?25h[?2004l[?2004h[?25lvim5[?25h[?2004l[?2004h[?2004l[?2004h[?25ld vim6[?25h[?2004l6    [?25lzwei[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25lvim7[?25h

[?25l:[?2004h[?25hset compatible novisualbell
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 21 lines, 356 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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.

 */[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset comments=sO:*\ -,mO:*\ \ ,exO:*/
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:>#,mb:#,ex:#<,:<
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed.  *//* List:

 * - item1

 *   foo bar baz[?25h

[?25l/* Make sure the previous comment leader is not removed.  */*   foo bar baz

 * - item2

 *   foo bar baz[?25h

[?25l:[?2004h[?25h.,+8join
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz *//* List:- item1  foo bar baz

 * - item2[?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?[?25h

[?25l:[?2004h[?25h.,+2join
[?25lShould the next comment leader be left alone?  Yes.





// Yes.[?25h

[?25l// Should the next comment leader be left alone?  Yes.* Here the comment leader should be left intact. */

// And so should this one.[?25h

[?25l





:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.* Here the comment leader should be left intact. */[?25h

[?25l/* Here the comment leader should be left intact. */ // And so should this one.[?25h

[?25l:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;[?25h[?25l

[?25h[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;
[?25h[?25l

[?25h[?25l

:[?2004h[?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.[?25h[?25l

[?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.[?25h[?25l

[?25h[?2004l[?2004h[?25lSome code!

// Make sure backspacing does not remove this comment leader.[?25h
[?2004l[?2004h[?25l// Make sure backspacing does not remove this comment leader.

}[?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 61 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:?firstline?+1,$w! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l75 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.

}[?25h[?25l:[?2004h[?25h?firstline?+1,$w! test.out
[?25l"test.out" [New File] 97 lines, 3018 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test29 = test61; then \
#	  if diff test.out test29.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test29.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/window.o window.c
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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test31.in" 95 lines, 1832 charactersTest for commands that close windows and/or buffers:

:quit

:close

:hide

:only

:sall

:all

:ball

:buf

:edit



STARTTEST

:so small.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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 80 lines, 1697 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" test ":q!" and hidden buffer.

:bw! Xtest1 Xtest2 Xtest3 Xtest4

:sp Xtest1

:wincmd w

:bw!

:set modified

:bot sp Xtest2

:set modified

:bot sp Xtest3

:set modified

:wincmd t

:hide

:q!

:w >>test.out

:q!

:w >>test.out

:q!

:call append(line('$'), "Oh, Not finished yet.")

:w >>test.out

:qa!

ENDTEST



testtext[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h

[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h$w! Xtest1
[?25l"Xtest1" [New File] 1 line, 11 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h$w! Xtest2
[?25l"Xtest2" [New File] 1 line, 11 characters written[?25h[?25l3[?25h[?25l:[?2004h[?25h$w! Xtest3
[?25l"Xtest3" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hn! Xtest1 Xtest2
[?25l"Xtest1" 1 line, 11 characterstesttext 1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" test for working :n when hidden set; write "testtext 2"
[?25l[?25h[?25l:[?2004h[?25hn
[?25l"Xtest2" 1 line, 11 characters2[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25h" test for failing :rew when hidden not set; write "testtext 2 2"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hrew
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for working :rew when hidden set; write "testtext 1 1"
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hrew
[?25l"Xtest1" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)1 1
[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for :all keeping a buffer when it's modified; write "testtext 1 1 1"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hsp
[?25lXtest1 [+]                                                                      testtext 1 1 1Xtest1 [+]                                                                      [?25h[?25l:[?2004h[?25hn Xtest2 Xtest3
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)2 22 [?25h[?25l:[?2004h[?25hall
[?25l"Xtest3" 1 line, 11 characterstesttext 1 1 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25h1wincmd w
[?25lXtest1 [+]                                                                      Xtest2 [+]                                                                       [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test abandoning changed buffer, should be unloaded even when 'hidden' set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 2 2" twice
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?2004l[?2004h[?25l1 1[?25h[?25l:[?2004h[?25hq!
[?25ltesttext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25hunhide
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":hide" hides anyway when 'hidden' not set; write "testtext 3"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hhide
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" failing in modified buffer when 'hidden' not set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3"
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25he Xtest1
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" working in modified buffer when 'hidden' set; write "testtext 1


"[?25ltesttext 3 3[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 1 line, 11 characters1[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":close" not hiding when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3 3"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest3
[?25l"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)3 3Xtest3 [+]                                                                      testtext 1Xtest1                                                                          [?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test ":close!" does hide when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 1"
[?25l[?25h[?2004l[?2004h[?25l3 3[?25h[?25l:[?2004h[?25hclose!
[?25l1~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?25l:[?2004h[?25h" test ":all!" hides changed buffer; write "testtext 2 2 2"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest4
[?25l"Xtest4" [New File]Xtest4                                                                          testtext 1Xtest1                                                                          [?25h[?2004l[?2004h[?25l 4[+][?25h[?25l:[?2004h[?25hall!
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)


"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h1wincmd w
[?25ltesttext 2 2 2

~                                                                               Xtest2 [+]                                                                      testtext 3 3 3 3~                                                                               3 [+][?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test ":q!" and hidden buffer.
[?25l[?25h[?25l:[?2004h[?25hbw! Xtest1 Xtest2 Xtest3 Xtest4
[?25l"test31.in"95 lines, 1832 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp Xtest1
[?25l"Xtest1" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               Xtest1                                                                          :w >>test.out:q!:w >>test.out:q!:call append(line('$'), "Oh, Not finished yet."):w >>test.out:qa!ENDTESTtesttexttest31.in "Xtest1" 1 line, 11 characters[?25h[?25l:[?2004h[?25hwincmd w
[?25lXtest1                                                                           test31.in                                                                       [?25h[?25l:[?2004h[?25hbw!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset modified
[?25l[?25h[?25l:[?2004h[?25hbot sp Xtest2
[?25l"Xtest2" 1 line, 11 charactersXtest1 [+]                                                                      testtext 2Xtest2                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hbot sp Xtest3
[?25l"Xtest3" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hwincmd t
[?25lXtest1 [+]                                                                      Xtest3 [+]                                                                       [?25h[?25l:[?2004h[?25hhide
[?25ltesttext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3 [+]                                                                      [?25h[?25l:[?2004h[?25hq!
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hq!
[?25lE37: No write since last change


E162: No write since last change for buffer "Xtest1"[?2004h


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test31 = test61; then \
#	  if diff test.out test31.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test31.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test33.failed test.ok test.out X* viminfo
cp test33.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test33.in" 34 lines, 616 charactersTest for 'lisp'

If the lisp feature is not enabled, this will fail!



STARTTEST

:so small.vim

:set lisp

/^(defun

=G:/^(defun/,$w! test.out

:q!

ENDTEST



(defun html-file (base)

(format nil "~(~A~).html" base))



(defmacro page (name title &rest body)

(let ((ti (gensym)))

`(with-open-file (*standard-output*

(html-file ,name)

:direction :output

:if-exists :supersede)

(let ((,ti ,title))

(as title ,ti)

(with center[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'lisp'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 63 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset lisp
[?25l[?25h[?25l/[?2004h[?25h^(defun
[?25l[?25h[?25l22 lines to indent...
23indented   (format nil "~(~A~).html" base))





  (let ((ti (gensym)))

       `(with-open-file (*standard-output*

                 (html-file ,name)

                  :direction :output

                         :if-exists :supersede)

                        (let ((,ti ,title))

              (as title ,ti)

            (with center[?25h[?25l:[?2004h[?25h/^(defun/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 23 lines, 544 characters written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test33 = test61; then \
#	  if diff test.out test33.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test33.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test34.in" 87 lines, 1833 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1621 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction Table(title, ...)
[?25l

:[?2004h  [?25h:  let ret = a:title


[?25l:[?2004h  [?25h:  let idx = 1


[?25l:[?2004h  [?25h:  while idx <= a:0


[?25l:[?2004h    [?25h:    exe "let ret = ret . a:" . idx


[?25l:[?2004h    [?25h:    let idx = idx + 1


[?25l:[?2004h    [?25h:  endwhile


[?25l:[?2004h  [?25h:  return ret


[?25l:[?2004h  [?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[?25h[?25l



:[?2004h[?25hfunction Compute(n1, n2, divname)
[?25l

:[?2004h  [?25h:  if a:n2 == 0


[?25l:[?2004h    [?25h:    return "fail"


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  exe "let g:" . a:divname . " = ". a:n1 / a:n2


[?25l:[?2004h  [?25h:  return "ok"


[?25l:[?2004h  [?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))[?25h[?25l



:[?2004h[?25hfunc Expr1()
[?25l

:[?2004h  [?25h:  normal! v


[?25l:[?2004h  [?25h:  return "111"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc Expr2()
[?25l

:[?2004h  [?25h:  call search('XX', 'b')


[?25l:[?2004h  [?25h:  return "222"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListItem()
[?25l

:[?2004h  [?25h:  let g:counter += 1


[?25l:[?2004h  [?25h:  return g:counter . '. '


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListReset()
[?25l

:[?2004h  [?25h:  let g:counter = 0


[?25l:[?2004h  [?25h:  return ''


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc FuncWithRef(a)
[?25l

:[?2004h  [?25h:  unlet g:FuncRef


[?25l:[?2004h  [?25h:  return a:a


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hlet g:FuncRef=function("FuncWithRef")
[?25l[?25h[?25l:[?2004h[?25hlet counter = 0
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> ( ListItem()
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> [ ListReset()
[?25l[?25h[?25l:[?2004h[?25himap <expr> + Expr1()
[?25l[?25h[?25l:[?2004h[?25himap <expr> * Expr2()
[?25l[?25h[?25l:[?2004h[?25hlet retval = "nop"
[?25l[?25h[?25l/[?2004h[?25h^here
[?25l[?25h[?25lher$[?2004l=[?2004h[?25hTable("xxx", 4, "asdf")
[?25l=[?2004h[?25hCompute(45, 0, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hCompute(45, 5, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hg:FuncRef(333)


[?25lError detected while processing function Expr1:


line    1:


E523: Not allowed here


Press ENTER or type command to continue[?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[?25h[?2004h[?25l1. one again[?25h[?25l

:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25hcall extend(g:, {'max': function('min')})
[?25lE704: Funcref variable name must start with a capital: max[?25h[?25l:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:    " Regression: the first line below used to throw ?E110: Missing ')'?


[?25l:[?2004h  [?25h:    " Second is here just to prove that this line is correct when not skipp


ing


[?25l:[?2004h  [?25h:    " rhs of &&.


[?25l:[?2004h  [?25h:    $put =(0&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:    $put =(1&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:    $put ='!!! Unexpected exception:'


[?25l:[?2004h  [?25h:    $put =v:exception


[?25l:[?2004h  [?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[?25h[?25l

:[?2004h[?25h$-9,$w! test.out
[?25l"test.out" [New File] 10 lines, 81 characters written[?25h[?25l:[?2004h[?25hdelfunc Table
[?25l[?25h[?25l:[?2004h[?25hdelfunc Compute
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr1
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr2
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListItem
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListReset
[?25l[?25h[?25l:[?2004h[?25hunlet retval counter
[?25l[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test34 = test61; then \
#	  if diff test.out test34.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test34.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test36.in" 114 lines, 2136 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 107 lines, 1961 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTp: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\%210l^\t...//g

p:s/\%#=1\%211l^\t...//g

p:s/\%#=2\%212l^\t...//g

p:s/\%#=0[0-z]//g

p:s/\%#=1[0-z]//g

p:s/\%#=2[0-z]//g

p:s/\%#=0[^0-z]//g

p:s/\%#=1[^0-z]//g

p:s/\%#=2[^0-z]//g

:/^start-here/+1,$wq! test.out

ENDTEST




[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^start-here/+1
[?25l[?25h[?25l:[?2004h[?25hs/\%#=0\d//g



:[?2004h[?25hs/\%#=1\d//g



:[?2004h[?25hs/\%#=2\d//g



:[?2004h[?25hs/\%#=0[0-9]//g



:[?2004h[?25hs/\%#=1[0-9]//g



:[?2004h[?25hs/\%#=2[0-9]//g



:[?2004h[?25hs/\%#=0\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\o//g



:[?2004h[?25hs/\%#=1\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l

[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\x//g




:[?2004h[?25hs/\%#=1\x//g




:[?2004h[?25hs/\%#=2\x//g




:[?2004h[?25hs/\%#=0[0-9A-Fa-f]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-9A-Fa-f]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\w//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\w//g





:[?2004h[?25hs/\%#=1[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=2[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=0\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\h//g




:[?2004h[?25hs/\%#=1\h//g




:[?2004h[?25hs/\%#=2\h//g




:[?2004h[?25hs/\%#=0[A-Za-z_]//g




:[?2004h[?25hs/\%#=1[A-Za-z_]//g




:[?2004h[?25hs/\%#=2[A-Za-z_]//g




:[?2004h[?25hs/\%#=0\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\a//g




:[?2004h[?25hs/\%#=1\a//g




:[?2004h[?25hs/\%#=2\a//g




:[?2004h[?25hs/\%#=0[A-Za-z]//g




:[?2004h[?25hs/\%#=1[A-Za-z]//g




:[?2004h[?25hs/\%#=2[A-Za-z]//g




:[?2004h[?25hs/\%#=0\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\l//g



:[?2004h[?25hs/\%#=1\l//g



:[?2004h[?25hs/\%#=2\l//g



:[?2004h[?25hs/\%#=0[a-z]//g



:[?2004h[?25hs/\%#=1[a-z]//g



:[?2004h[?25hs/\%#=2[a-z]//g



:[?2004h[?25hs/\%#=0\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\u//g



:[?2004h[?25hs/\%#=1\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l

[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\%210l^\t...//g



:[?2004h[?25hs/\%#=1\%211l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\%212l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-z]//g
[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l

[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l:[?2004h[?25h/^start-here/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 105 lines, 4521 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test36 = test61; then \
#	  if diff test.out test36.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test36.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test37.in" 116 lines, 3262 charactersTest 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 --[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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![?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 72 lines, 1498 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTHk^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

. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25hset scrollopt=ver,jump
[?25l[?25h[?25l:[?2004h[?25hset scrolloff=2
[?25l[?25h[?25l:[?2004h[?25hset nowrap
[?25l[?25h[?25l:[?2004h[?25hset noequalalways
[?25l[?25h[?25l:[?2004h[?25hset splitbelow
[?25l[?25h[?25l:[?2004h[?25h" TEST using two windows open to one buffer, one extra empty window
[?25l[?25h[?25l:[?2004h[?25hsplit
[?25l^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

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02test37.in                                                                       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 11122

test37.in                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l:w! test.out             " Write contents of this file

:qa!ENDTESTtest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 8
[?25l:" ***** done with tests *****w! test.out             " Write contents of this file

:qa!ENDTESTstart of window 1

. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01

test37.in                                                                       :" ***** done with tests *****:w! test.out             " Write contents of this fileqa!ENDTESTstart of window 1[?25h[?25l/[?2004h[?25h^start of window 1$/
[?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 7
[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lend of window 1start of window 2

. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03[?25h[?25l

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25htest37.in                                                                        [No Name]                                                                       [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[+][?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l2[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        test37.in                                                                       test37.in                                                                       test37.in                                                                        test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       test37.in                                                                        test37.in                                                                        test37.in                                                                       test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0656789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415UTSRQPONMLKJIHGREDCBA9876543210 09101112131415[?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[?25h[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" ****** tests using two different buffers *****
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hclose
[?25lstart of window 20000000000[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25h/^start of window 2$/,/^end of window 2$/y
[?25l18 lines yanked[?25h[?25l:[?2004h[?25hnew
[?25ltest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        test37.in                                                                        [No Name]                                                                       [?25l4 more lines[+][?25h





[?25l18 more linesstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l/[?2004h[?25h^start of window 1$/
[?25lsearch hit BOTTOM, continuing at TOPENDTESTstart of window 1010102020303[?25h[?25l

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
[?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
[?25h[?25l2[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11

46 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

56 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06UTSRQPONMLKJIHGREDCBA9876543210 07[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415



UTSRQPONMLKJIHGREDCBA9876543210 0910111213141516[?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[?25h[?25l[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" TEST syncbind
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 201010202[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25h[?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25h[?25l



:[?2004h[?25h[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

^Wj:
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" ***** done with tests *****
[?25l[?25h[?25l:[?2004h[?25hw! test.out             " Write contents of this file
[?25l"test.out" [New File] 33 lines, 1329 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test37 = test61; then \
#	  if diff test.out test37.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test37.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test38.in" 35 lines, 455 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 29 lines, 407 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTopq 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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25l^[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

[?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

^Duvwxyz[?25h[?25l

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25l

abcdefghijk      lmn    opq rstuvwxyz[?25h[?25l:[?2004h[?25hset ai
[?25l[?25h[?25l:[?2004h[?25hset bs=2
[?25l[?25h[?2004l[?2004h[?25l 1

 A BCDEFGHIJ    KL        MNOPQR[?25h[?25l:[?2004h[?25hka
[?25l[?25h[?2004l[?2004h[?25labcdefghijk      lmn    opq rstuvwxyz[?25h

[?2004l[?2004h[?25l 1[?25h[?25l:[?2004h[?25h$
[?25l[?25h[?2004l[?2004h[?25lab      cdefghi jkl[?25h
[?2004l[?2004h[?25lAB......CDEFGHI.J[?25h[?2004l[?2004h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?2004l[?2004h[?25labcdefghijklmnopqrst[?25h
[?2004l[?2004h[?25lAB      IJKLMNO QR[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 13 lines, 107 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test38 = test61; then \
#	  if diff test.out test38.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test38.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test39.in" 118 lines, 2435 charactersTest Visual block mode commands

And test "U" in Visual mode, also on German sharp S.



#define BO_ALL      0x0001

#define BO_BS0x0002

#define BO_CRSR     0x0004



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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 2061 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" This only works when 'encoding' is "latin1", don't depend on the environment
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h[?25l/[?2004h[?25h^abcde
[?25lbbbb

cccc

dddd



yaaa


bbb



A23

4567



B23

4567



C23

4567



abcdefghijklm[?25h[?25l

:[?2004h[?25h" Test shift-right of a block
[?25l[?25h[?25l

abcdefghijklm[?25habcd[?25l[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

3 lines >ed 1 time        efghijklm

abcd        efghijklm

abcd        efghijklm[?25h     ef[?25l[?25h[?25lg[?25h[?25lhg[?25h[?25lih[?25h[?25lji[?25h[?25l        ghijklm        ghijklm[?25h[?25l:[?2004h[?25h" Test shift-left of a block
[?25l[?25h[?25l

abcdefghijklm[?25h[?25l[?25h[?25li[?25h[?25l [?25h[?25l





3 lines <ed 1 timeef    efghijklmi[?25h[?25l:[?2004h[?25h" Test block-insert
[?25l[?25h

a[?25l[?25h[?25lb[?25h[?25lb[?25h[?25lb[?25h[?25l

ab

ab

ab[?2004l[?2004hxyzbcdefghijklm

axyzbcd

axyzbcd

axyzbcd[?25h

a[?25l:[?2004h[?25h" Test block-replace
[?25l[?25h





abcd[?25l[?25h[?25le[?25h[?25lb[?25h[?25lb[?25h[?25lbccf[?25h[?25lcddg[?25h[?25ld  h[?25h[?25lqqqq

axyzqqqq

axyzqqqq

abcdqqqq[?25h

axyz[?25l:[?2004h[?25h" Test block-change
[?25l[?25h



[?25l[?25h[?25lj[?25h[?25li[?25h[?25l     ghijkl[?25h[?25lef  gkl[?25h[?2004l[?2004h[?25lmnomnomno[?25h[?25l:[?2004h[?25h$-4,$w! test.out
[?25l"test.out" [New File] 5 lines, 108 characters written[?25h[?25l:[?2004h[?25h" Test block-insert using cursor keys for movement
[?25l[?25h[?25l/[?2004h[?25h^aaaa/
[?25lsearch hit BOTTOM, continuing at TOPaaaaaa

bbbbbb

cccccc

ddddddsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>jjjlllI\<Right>\<Right>  \<Esc>"
[?25l[?2004l[?2004h  aaa

bbb  bbb

ccc  ccc

ddd  ddd[?25h[?25l:[?2004h[?25h/^aa/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 37 characters appended[?25h[?25l/[?2004h[?25hxaaa$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! \<C-V>jjjI<>\<Left>p\<Esc>"
[?25l[?2004l[?2004h<p>xaaa

<p>bbbb

<p>cccc

<p>dddd[?25h[?25l:[?2004h[?25h/xaaa$/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 33 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the last <C-v>$
[?25l[?25h[?25l/[?2004h[?25h^A23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$Aab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (1)
[?25l[?25h[?25l/[?2004h[?25h^B23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hAab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 15 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (2)
[?25l[?25h[?25l/[?2004h[?25h^C23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hhAab\<Esc>"
[?25l[?2004l[?2004hab

456ab7[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block insert when virtualedit=all and utf-8 encoding
[?25l[?25h[?25l:[?2004h[?25hset ve=all enc=utf-8
[?25laaa  aaa

bbb  bbb

ccc  ccc

ddd  ddd



<p>xaaa

<p>bbbb

<p>cccc

<p>dddd



yaaa

<bf><bf><bf>

bbb



A23ab

4567ab



B23 ab

4567ab



C23ab

456ab7[?25h[?25l





:[?2004h[?25h/\t\tline
[?25lsearch hit BOTTOM, continuing at TOPline1line2line3search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! 07l\<C-V>jjIx\<Esc>"
[?25l[?2004l[?2004hxxx[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 4 lines, 49 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block append when virtualedit=all
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 012l\<C-v>jjAx\<Esc>"
[?25l[?2004l[?2004hx   line1x   line2x   line3[?25h[?25l:[?2004h[?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



yaaa


bbb



A23ab

4567ab



B23 ab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l[?25h[?25lC23ab

456ab7



axyzbcdefghijklm

axyzqqqq   mnoghijklm

axyzqqqqef mnoghijklm

axyzqqqqefgmnoklm

abcdqqqqijklm[?25h[?2004l[?2004h[?25l


[?25hthe [?25lYOUTUSSEUU end
the [?25h

the [?25l

:[?2004h[?25h" gUfx must uppercase until x, inclusive.
[?25l[?25h[?2004l[?2004h[?25l
- y[?25lOUSSTUSSEXu -
- y[?25h[?25l


:[?2004h[?25h" VU must uppercase a whole line
[?25l[?25h[?25l

[?25h[?25lTHE YOUTUSSEUU END
[?25h

[?25l

:[?2004h[?25h" same, when it's the last line in the buffer
[?25l[?25h[?25l[?25h[?25l

11[?25h[?25l
11[?25h[?25l
111THE YOUTUSSEUU END
[?25h[?25l~                                                                               [?25h[?25l111THE YOUTUSSEUU END


[?25l

:[?2004h[?25h" Uppercase two lines
[?25l[?25h[?2004l[?2004h[?25l

blah didoh dut[?25h[?25l
doh dut [?25h[?25lblah di t[?25h[?25l
BLAH DIDOH DUT[?25h[?25l


:[?2004h[?25h" Uppercase part of two lines
[?25l[?25h[?25l
~                                                                               [?25h[?25l


33[?25h

333the yo[?25h[?25lut[?25h[?25lUTUSSEUU END

333THE YOUTU[?25h[?25l



:[?2004h[?25h" visual replace using Enter or NL
[?25l[?25h

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^M65

98^M65

98^M65[?25h

98

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^@65

98^@65

98^@65[?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test cursor position. When ve=block and Visual block mode and $gj
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 2k\<C-V>$gj\<Esc>"
[?25l[?25h[?25l:[?2004h[?25hlet cpos=getpos("'>")
[?25l[?25h[?25l:[?2004h[?25h$put ='col:'.cpos[2].' off:'.cpos[3]
[?25l

col:4 off:0[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" block_insert when replacing spaces in front of the block with tabs
[?25l[?25h[?25l:[?2004h[?25hset ts=8 sts=4 sw=4
[?25l[?25h[?25l:[?2004h[?25h4,7y
[?25l4 lines yanked[?25h[?25l

4 more lines

4 more lines[?25h[?25l

#define BO_ALL      0x0001[?25h[?25l

:[?2004h[?25hexe ":norm! f0\<C-V>2jI\<tab>\<esc>"
[?25l[?2004l[?2004h    0x0001

#define BO_BS0x0002

#define BO_CRSR0x0004[?25h[?25l





:[?2004h[?25h/^the/,$w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 31 lines, 322 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test39 = test61; then \
#	  if diff test.out test39.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test39.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test40.in" 63 lines, 1536 charactersTest for "*Cmd" autocommands



STARTTEST

:so small.vim

:/^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

:" 6     end of Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1455 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^start/,$w! Xxx^I^I" write lines below to Xxx
[?25l"Xxx" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25hau BufReadCmd XtestA 0r Xxx|$del
[?25l[?25h[?25l:[?2004h[?25he XtestA^I^I^I" will read text of Xxd instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxx        test40end of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau BufWriteCmd XtestA call append(line("$"), "write")
[?25l[?25h[?25l:[?2004h[?25hw^I^I^I^I" will append a line to the file
[?25lwrite[?25h[?25l:[?2004h[?25hr XtestA^I^I^I" should not read anything
[?25lE484: Can't open file XtestA[?25h[?25l:[?2004h[?25h^I^I^I^I" now we have:
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileReadCmd XtestB '[r Xxx
[?25l[?25h[?25l:[?2004h[?25h2r XtestB^I^I^I" will read Xxx below line 2 instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxxtest40

end of Xxx[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileWriteCmd XtestC '[,']copy $
[?25l[?25h[?2004l[?2004h[?25ltest401[?25h[?25l:[?2004h[?25h4,5w XtestC^I^I^I" will copy lines 4 and 5 to the end
[?25l        test401end of Xxx[?25h[?25l:[?2004h[?25hr XtestC^I^I^I" should not read anything
[?25lE484: Can't open file XtestC[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hau FILEAppendCmd XtestD '[,']w! test.out
[?25l[?25h[?25l:[?2004h[?25hw >>XtestD^I^I^I" will write all lines to test.out
[?25l"test.out" [New File] 9 lines, 91 characters written[?25h[?25l:[?2004h[?25h$r XtestD^I^I^I" should not read anything
[?25lE484: Can't open file XtestD[?25h[?25l:[?2004h[?25h$w >>test.out^I^I^I" append "end of Xxx" to test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hau BufReadCmd XtestE 0r test.out|$del
[?25l[?25h[?25l:[?2004h[?25hsp XtestE^I^I^I" split window with test.out
[?25l"test.out" 10 lines, 102 charactersend of XxxXtestE                                                                          end of Xxxwrite        test401end of XxxXtestA                                                                          [?25h[?2004l[?2004h[?25lasdf[+][?25hXtestE [+]                                                                       XtestA                                                                          [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hau BufWriteCmd XtestE w! test.out
[?25l[?25h[?25l:[?2004h[?25hwall^I^I^I^I" will write other window to test.out
[?25l"test.out" 11 lines, 107 characters written   [?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iasdf
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 10^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 11^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test40 = test61; then \
#	  if diff test.out test40.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test40.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test41.failed test.ok test.out X* viminfo
cp test41.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test41.in" 24 lines, 421 charactersTest for writing and reading a file of over 100 Kbyte



1 line: "This is the start"

3001 lines: "This is the leader"

1 line: "This is the middle"

3001 lines: "This is the trailer"

1 line: "This is the end"



STARTTEST

:%d

aThis is the start

This is the leader

This is the middle

This is the trailer

This is the end^[kY3000p2GY3000p

:w! Xtest

:%d

:e! Xtest

:.w! test.out

3003G:.w >>test.out

6005G:.w >>test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 of over 100 Kbyte[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 196 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lThis is the start

This is the leaderThis is the middleThis is the trailerThis is the end[?25h[?25l3000 more linestrailer

This is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailer[?25h[?25lleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleader[?25h

[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 6005 lines, 117092 characters written[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25he! Xtest
[?25l"Xtest" 6005 lines, 117092 charactersThis is the start

This is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leader[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 18 characters written[?25h[?25lThis is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the middle

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 19 characters appended[?25h[?25lThis is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the end
[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 16 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test41 = test61; then \
#	  if diff test.out test41.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test41.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test42.in" 130 lines, 2368 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 111 lines, 2116 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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


utf-8

utf-8

utf-8-err

utf-8~@err

ucs-2


ucs-2le


[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25l: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

<fe><fe>latin-1

utf-8

<feff>utf-8

utf-8-err

<feff>utf-8<80>err

ucs-2

<fe><ff>^@u^@c^@s^@-^@2^@

ucs-2le

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l:[?2004h[?25hset fileencodings=ucs-bom,latin-1
[?25l[?25h[?25l:[?2004h[?25hset ff=unix ffs=unix           " This changes the file for DOS and MAC
[?25l[?25h[?25l:[?2004h[?25h" --- Write the test files
[?25l[?25h[?25l:[?2004h[?25h/^latin-1$/+1w! Xtest0
[?25l"Xtest0" [New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h/^utf-8$/+1w! Xtest1
[?25l"Xtest1" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h/^utf-8-err$/+1w! Xtest2
[?25l"Xtest2" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25h/^ucs-2$/+1w! Xtest3
[?25l"Xtest3" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25h/^ucs-2le$/+1w! Xtest4
[?25l"Xtest4" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h" Need to add a NUL byte after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest4                      " Ignore change from setting 'ff'
[?25l"Xtest4" 1 line, 17 characters<ff><fe>u^@c^@s^@-^@2^@l^@e^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

[?2004h[?25l^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest4" [Incomplete last line] 2 lines, 18 characters written[?25h[?25l:[?2004h[?25hset ffs& nobinary              " Allow default test42.in format
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25hset ff=unix                    " Format for files to write
[?25l[?25h[?25l:[?2004h[?25h/^ucs-4$/+1w! Xtest5
[?25l"Xtest5" [converted][New File] 1 line, 30 characters written[?25h[?25l:[?2004h[?25h/^ucs-4le$/+1w! Xtest6
[?25l"Xtest6" [converted][New File] 1 line, 35 characters written[?25h[?25l:[?2004h[?25h" Need to add three NUL bytes after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest6                      " ! for when setting 'ff' is a change
[?25l"Xtest6" 1 line, 33 characters<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

~   [?2004h[?25l
^@^@^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest6" [Incomplete last line] 2 lines, 36 characters written[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check that editing a latin-1 file doesn't see a BOM
[?25l[?25h[?25l:[?2004h[?25he! Xtest0
[?25l"Xtest0" [converted] 1 line, 12 charactersþþlatin-1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hredir! >test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lþþlatin-1

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 12 characters appended[?25h[?25l:[?2004h[?25hset bomb fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw! Xtest0x
[?25l"Xtest0x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8
[?25l[?25h[?25l:[?2004h[?25he! Xtest1
[?25l"Xtest1" 1 line, 9 charactersutf-8[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-8


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest1x
[?25l"Xtest1x" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8 with an error (will fall back to latin-1)
[?25l[?25h[?25l:[?2004h[?25he! Xtest2
[?25l"Xtest2" [converted] 1 line, 17 charactersutf-8<80>err
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8<80>err

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 17 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest2x
[?25l"Xtest2x" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2
[?25l[?25h[?25l:[?2004h[?25he! Xtest3
[?25l"Xtest3" [converted] 1 line, 8 charactersucs-2[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2
[?25l[?25h[?25l:[?2004h[?25hw! Xtest3x
[?25l"Xtest3x" [converted][New File] 1 line, 8 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2le
[?25l[?25h[?25l:[?2004h[?25he! Xtest4
[?25l"Xtest4" [converted] 1 line, 10 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest4x
[?25l"Xtest4x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4
[?25l[?25h[?25l:[?2004h[?25he! Xtest5
[?25l"Xtest5" [converted] 1 line, 10 characters4[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4
[?25l[?25h[?25l:[?2004h[?25hw! Xtest5x
[?25l"Xtest5x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4le
[?25l[?25h[?25l:[?2004h[?25he! Xtest6
[?25l"Xtest6" [converted] 1 line, 12 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest6x
[?25l"Xtest6x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check the files written with BOM
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 35 lines, 275 characters  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[?25h[?25l:[?2004h[?25h$r Xtest0x
[?25l"Xtest0x" 1 line, 10 charactersbomb

ucs-2lefileencoding=ucs-4

  bomb

ucs-4fileencoding=ucs-4le

  bomb

ucs-4le

<fe><fe>latin-1[?25h[?25l

:[?2004h[?25h$r Xtest1x
[?25l"Xtest1x" 1 line, 9 characters

<feff>utf-8[?25h[?25l

:[?2004h[?25h$r Xtest2x
[?25l"Xtest2x" 1 line, 17 characters

utf-8<80>err[?25h[?25l

:[?2004h[?25h$r Xtest3x
[?25l"Xtest3x" 1 line, 14 characters

<fe><ff>^@u^@c^@s^@-^@2^@[?25h[?25l

:[?2004h[?25h$r Xtest4x
[?25l"Xtest4x" [Incomplete last line] 2 lines, 18 characters

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l

:[?2004h[?25h$r Xtest5x
[?25l"Xtest5x" 1 line, 28 characters^@

^@^@<fe><ff>^@^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@[?25h[?25l

:[?2004h[?25h$r Xtest6x
[?25l"Xtest6x" [Incomplete last line] 2 lines, 36 characters

<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@[?25h[?25l

:[?2004h[?25hset nobin ff&               " Write the file in default format
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_encoding.o libvterm/src/encoding.c
44 lines, 409 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test42 = test61; then \
#	  if diff test.out test42.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test42.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test43.failed test.ok test.out X* viminfo
cp test43.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_keyboard.o libvterm/src/keyboard.c
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test43.in" 34 lines, 473 charactersTests for regexp with various magic settings.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

/^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:$

:set undolevels=100

dv?bar?

Yup:"

:?^1?,$w! test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various magic settings.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 268 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l/[?2004h[>c^[?25h1
[?25l

1 a aa abb abbccc[?25h[?25l

/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l

2 d dd dee deefff[?25h[?25l[?25h[?25l

:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l

3 g gg ghh ghhiii[?25h[?25l[?25h[?25l

/[?2004h[?25h\mj*k\{2}l\+/e
[?25l

4 j jj jkk jkklll[?25h[?25l[?25h[?25l

/[?2004h[?25h\vm*n{2}o+/e
[?25l

5 m mm mnn mnnooo[?25h[?25l[?25h[?25l

/[?2004h[?25h\V^aa$
[?25l

6 x ^aa$ x[?25h[?25laa$ x[?25h[?25l

:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l

7 (a)(b) abbaa[?25h[?25l[?25h[?25l

/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l

8 axx [ab]xx[?25h[?25lab]x[?25h[?25l

:[?2004h[?25h$
[?25l9 foobar[?25h[?25l

:[?2004h[?25hset undolevels=100
[?25l[?25h[?25l?[?2004h[?25hbar?
[?25l~                                                                               [?25h[?25l



1 more line; before #2  0 seconds agobar[?25h[?25l

9 foo
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 11L, 137C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004lgcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_mouse.o libvterm/src/mouse.c
[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test43 = test61; then \
#	  if diff test.out test43.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test43.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in; \
#	  fi \
#	fi"
# 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.
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_parser.o libvterm/src/parser.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test44.in" 81 lines, 1492 charactersTests 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 nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

: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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1023 characters written[?25h[?25l:[?2004hset ff& cpo+=A



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l:[?2004h[?25h" c
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


:[?2004h[?25h" d
[?25l[?25h[?25l/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


:[?2004h[?25h" e
[?25l[?25h[?25l/[?2004h[?25h\%U12345678
[?25l


:[?2004h[?25h" f
[?25l[?25h[?25l/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


:[?2004h[?25h" g
[?25l[?25h[?25l/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" j Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       e y f z

g abb



test.out [+]                                                                    [?25h[?25l:[?2004h[?25h$put =['dog(a', 'cat(']
[?25ldog(acat([+][?25h[?25l/[?2004h[?25h(/e+
[?25l/(/e+1
[?25h[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hbd!
[?25l1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii


e y



[?25l

[?25h[?25la[?25h[?25l

cat(
[?25h[?25l

:[?2004h[?25hw!
[?25l"test.out" 25L, 271C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004lgcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_pen.o libvterm/src/pen.c
[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test44 = test61; then \
#	  if diff test.out test44.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test44.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test45.in" 92 lines, 1979 charactersTests for folding. vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:" 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("."))[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 1846 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:new

iTest fdm=indent and :move bug END

line2Test fdm=indent STARTline3line4^[

:set fdm=indent

:1m1

2jzc:m0

:%w >> test.out

:qa!

ENDTEST



1 aa

2 bb

3 cc

4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" We also need the +syntax feature here.
[?25l[?25h[?25l:[?2004h[?25hif !has("syntax")
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   w! test.out


[?25l:[?2004h  [?25h   qa!


[?25l:[?2004h  [?25h:endif
[?25l:new

iTest fdm=indent and :move bug END

line2Test fdm=indent START[?25h[?25l:[?2004h[?25h" basic test if a fold can be created, opened, moving to the end and closed
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", "manual " . getline(foldclosed(".")))
[?25l[?25h[?25l1 aa2 bb3 cc4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h[?25l:[?2004h[?25hcall append("$", foldclosed("."))
[?25l[?25h



[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", getline(foldclosed(".")))
[?25l[?25h[?25l:[?2004h[?25h" test folding with markers.
[?25l[?25h[?25l:[?2004h[?25hset fdm=marker fdl=1 fdc=3
[?25l   :new

   iTest fdm=indent and :move bug END

   line2

           Test fdm=indent START

           line3

           line4^[

   :set fdm=indent

   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa   2 bb   3 cc-  4 dd {{{

|- 5 ee {{{ }}}

|  6 ff }}}

   7 gg

   8 hh

   9 ii

   a jj[?25h[?25l/[?2004h[?25h^5
[?25l[?25h[?25l:[?2004h[?25hcall append("$", "marker " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?2004l[?2004h[?25l{{ |  6 ff }}}[?25h[?25l-{|

|

|

|[?25h[?25l





:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l6 ff }}}

 7 gg

 8 hh[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h" test folding with indent
[?25l[?25h[?25l:[?2004h[?25hset fdm=indent sw=2
[?25l-++---  3 lines: Test fdm=indent START-----------------------------------------:set fdm=indent:1m12jzc:m0%w >> test.out:qa!ENDTEST1 aa2 bb3 cc4 dd {{{5 ee {{{ }}}

 {{{  6 ff }}}  6 ff }}}

  7 gg 8 hh9 iia jj[?25h[?25l/[?2004h[?25h^2 b
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?2004l[?2004h[?25l
-  2 bb[?25h[?2004l[?2004h[?25l
|-    3 cc[?25h[?25l:[?2004h[?25hcall append("$", "indent " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hset sw&
[?25l         Test fdm=indent START|        line3|        line4^[:set fdm=indent1m12jzc:m0:%w >> test.out:qa!ENDTEST

   1 aa  2 bb    3 cc4 dd {{{5 ee {{{ }}}{{{6 ff }}}6 ff }}}7 gg8 hh[?25h[?25l:[?2004h[?25h" test syntax folding
[?25l[?25h[?25l:[?2004h[?25hset fdm=syntax fdl=0
[?25l 

 

 [?25h[?25l:[?2004h[?25hsyn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
[?25l++--  8 lines: 4 dd ----------------------------------------------------------a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hsyn region Fd1 start="ee" end="ff" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd2 start="gg" end="hh" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd3 start="commentstart" end="commentend" fold contained
[?25l[?25h[?25l   1 aa

   marker 2

   1

   1

   0

   indent 2

   1[?25h[?25l:[?2004h[?25hcall append("$", "folding " . getline("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?2004l[?2004h[?25l
--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[?25h[?2004l[?2004h[?25l commentend- 

|-



| 

  

  

  

  

  

  [?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25hset fdl=0
[?25l++--  8 lines: 4 dd commentstart  commentend----------------------------------  a jj b kk  last manual 1 aa-13 cc1 aarker 2110indent[?25h[?25l
-4 dd {{{commentstart  commentend|-5 ee {{{ }}}

||{{{||6 ff }}}

|6 ff }}}|-7 gg

||8 hh

|9 iia jjb kklastmanual 1 aa-13 cc[?25h[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25h" test expression folding
[?25l[?25h[?25l:[?2004h[?25hfun Flvl()
[?25l

:[?2004h  [?25h  let l = getline(v:lnum)


[?25l:[?2004h  [?25h  if l =~ "bb$"


[?25l:[?2004h    [?25h    return 2


[?25l:[?2004h    [?25h  elseif l =~ "gg$"


[?25l:[?2004h    [?25h    return "s1"


[?25l:[?2004h    [?25h  elseif l =~ "ii$"


[?25l:[?2004h    [?25h    return ">2"


[?25l:[?2004h    [?25h  elseif l =~ "kk$"


[?25l:[?2004h    [?25h    return "0"


[?25l:[?2004h    [?25h  endif


[?25l:[?2004h  [?25h  return "="


[?25l:[?2004h  [?25hendfun
[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa

     2 bb

       3 cc

-  4 dd {{{commentstart  commentend

|- 5 ee {{{ }}}

|| {{{[?25h[?25l:[?2004h[?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---------------------------------------------------~                                                                            ~                                                                            [?25h[?25l/[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", "expr " . foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hhh$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hii$
[?25l-9 ii||a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hkk$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h/^last/+1,$w! test.out
[?25l"test.out" [New File] 18 lines, 96 characters written[?25h[?25l:[?2004h[?25hdelfun Flvl
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l   

   

   

   ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            [No Name]                                                                       5 ee {{{ }}}{{{6 ff }}}|6 ff }}}|7 gg 8 hh

|-9 ii

||a jjb kklast

test45.in [+]                                                                   [?25h[?2004l[?2004h[?25lTest fdm=indent and :move bug ENDline2        Test fdm=indent START        line3        line4[+][?25h[?25l:[?2004h[?25hset fdm=indent
[?25l++--  3 lines: Test fdm=indent START------------------------------------------~                                                                            ~                                                                            [?25h[?25l:[?2004h[?25h1m1
[?25l[?25h[?25l:[?2004h[?25hm0
[?25l3 lines moved++--  3 lines: Test fdm=indent START------------------------------------------Test fdm=indent and :move bug END

 line2[?25h[?25l:[?2004h[?25h%w >> test.out
[?25l"test.out" 5 lines, 77 characters appendedtest.out [+]]  [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test45 = test61; then \
#	  if diff test.out test45.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test45.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test48.in" 83 lines, 1658 charactersThis is a test of 'virtualedit'.



STARTTEST

:so small.vim

:set noswf

:set ve=all

-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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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'.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 61 lines, 1442 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

this is a test[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswf
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l65 fewer linesthis is a test

"r"

"r"

a^Vb^Msd

abcv6efi.him0kl





~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               65 fewer lines[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
[?25l[?25h[?25l:[?2004h[?25h"    Repeating CTRL-N fixes it. (Mary Ellen Foster)
[?25l[?25h[?25l/[?2004h[?25hw
[?25l[?25h[?25l$[?2004lScanning tags.
The only match[?2004hword[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Using "C" then then <CR> moves the last remaining character to the next
[?25l[?25h[?25l:[?2004h[?25h"    line.  (Mary Ellen Foster)
[?25l[?25h
[?25l/[?2004h[?25hare
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l$[?2004l[?2004hare belong to vim

1 2 3 4 5 6

'i

'C

'a

'A

'D'this is a test



"r"     

a^Vb^Msdabcv6efi.him0kl[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   When past the end of a line that ends in a single character "b" skips
[?25l[?25h[?25l:[?2004h[?25h"    that word.
[?25l[?25h
[?25l$[?2004l[?2004h7[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'i' works
[?25l[?25h
'i'   [?2004l[?2004h[?25l<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'C' works
[?25l[?25h
'C'   [?25l$[?2004l[?2004h<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'a' works
[?25l[?25h
'a'   [?2004l[?2004h[?25l <-- should be 4 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'A' works
[?25l[?25h
'A'   [?2004l[?2004h[?25l<-- should be 0 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'D' works
[?25l[?25h
'D'   [?2004l[?2004h[?25l<-- 'D' should be intact[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for yank bug reported by Mark Waggoner.
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h
[?25l[?25h[?25laaa[?25h[?25laaablock of 4 lines yanked[?25h[?25l3 more linesa

aa [?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" beyond the end of the line
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l/[?2004h[?25h^"r"
[?25lsearch hit BOTTOM, continuing at TOP[?25h"r"    [?25lx[?25h[?2004l[?2004h[?25lx<-- should be 'x'[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" on a tab
[?25l[?25h[?25l:[?2004h[?25h" Note that for this test, 'ts' must be 8 (the default).
[?25l[?25h
"r"  [?25lx[?25h[?2004l[?2004h[?25lx  <-- should be '  x  '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test to make sure 'x' can delete control characters
[?25l[?25h[?25l:[?2004h[?25hset display=uhex
[?25l<16>b<0d>sd[?25h
[?25l<16>b<0d>sd[?25h[?25lb<0d>sd[?25h[?25l<0d>sd[?25h[?25lsd[?25h[?25ld[?25h[?25l[?25h[?2004l[?2004h[?25l[This line should contain only the text between the brackets.][?25h[?25l:[?2004h[?25hset display=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for ^Y/^E due to bad w_virtcol value, reported by
[?25l[?25h[?25l:[?2004h[?25h"   Roy <royl@netropolis.net>.
[?25l[?25h
[?2004l[?2004h[?25l[?25h   [?2004l[?2004h[?25lv[?25hv   [?2004l[?2004h[?25li[?25hi   [?2004l[?2004h[?25lm   <-- should show the name of a noted text editor[?25h
[?2004l[?2004h[?25l[?25h    [?2004l[?2004h[?25l6[?25h6   [?2004l[?2004h[?25l.[?25h.   [?2004l[?2004h[?25l0   <-- and its version number[?25h[?25l

[?25h

    [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test for yanking and pasting using the small delete register
[?25l[?25h[?25l/[?2004h[?25h^foo
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l, bar[?25h, [?25l[?25h[?25lba[?25h[?25l[?25h[?25lfoo[?25h

keyw[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_screen.o libvterm/src/screen.c
[New File] 23 lines, 479 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test48 = test61; then \
#	  if diff test.out test48.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test48.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test53.failed test.ok test.out X* viminfo
cp test53.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test53.in" 75 lines, 1763 charactersTests for string and html text objects. vim: set ft=vim :



Note that the end-of-line moves the cursor to the next test line.



Also test match() and matchstr()



STARTTEST

:so small.vim

/^start:/

da"

0va'a'rx

02f`da`

0fXdi"

03f'vi'ry

:set quoteescape=+*-

di`

$F"va"oha"i"rz

:"

/^<begin

jfXdit

0fXdit

fXdat

0fXdat[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 string and html text objects. vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 47 lines, 1237 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:put =match('abc', '$', 4, 1) " -1

:put =match('abc', '\zs', 0, 1) " 0

:put =match('abc', '\zs', 0, 2) " 1

:put =match('abc', '\zs', 0, 3) " 2

:put =match('abc', '\zs', 0, 4) " 3

:put =match('abc', '\zs', 0, 5) " -1

:put =match('abc', '\zs', 1, 1) " 1

:put =match('abc', '\zs', 2, 1) " 2

:put =match('abc', '\zs', 3, 1) " 3

:put =match('abc', '\zs', 4, 1) " -1

:/^start:/,/^end:/wq! test.out

ENDTEST



start: "wo\"rd\\" foo

'foo' 'bar' 'piep'

bla bla `quote` blah

out " in "noXno"

"'" 'blah' rep 'buh'

bla `s*`d-`+++`l**` b`la

voo "nah" sdf " asdf" sdf " sdf" sd



<begin>

-<b>asdf<i>Xasdf</i>asdf</b>-[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l[?25h[?25lfo[?25h
[?25l[?25h[?25l'foo'[?25h[?25l 'bar'[?25h[?25l
xxxxxxxxxxxx
[?25h

[?25lblah[?25h
[?25l"[?25h
[?25l[?25h[?25l' rep[?25h[?25lyyyyy[?25h[?25l:[?2004h[?25hset quoteescape=+*-
[?25l[?25h[?25l` b`la[?25h[?25l[?25h[?25l" sdf"[?25h[?25l" [?25h[?25l"[?25h[?25l asdf" sdf [?25h[?25lah" sdf "
voo "[?25h[?25lzzzzzzzzzzzzzzzzzzzzzzzzzzzz
voo "[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^<begin
[?25l[?25h

[?25l</i>asdf</b>-[?25h[?25l

-<b>asdX<i>a<i />sdf</i>asdf</b>-[?25h
[?25l</b>-[?25h[?25l

-<b>asdf<i>Xasdf</i>asdf</b>-
-<b>[?25h[?25lasdf</b>-[?25h[?25l

-<b>asdX<i>as<b />df</i>asdf</b>-[?25h
[?25l
--[?25h[?25l

-<b>
-[?25h[?25l<b></b>[?25h[?25l

</begin>[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, 2) " b
[?25l

b[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \"..\", 0, 2) " bc
[?25l

bc[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
[?25l

c[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, -1) " a
[?25l

a[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, -1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 4) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 3, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 2) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 1, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 2, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 4) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25h/^start:/,/^end:/wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 45 lines, 284 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test53 = test61; then \
#	  if diff test.out test53.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test53.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test55.failed test.ok test.out X* viminfo
cp test55.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test55.in" 586 lines, 12256 charactersTests for List and Dictionary types.     vim: set ft=vim :



STARTTEST

:so small.vim

:fun Test(...)

:lang C

:" Creating List directly with different types

:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]

:$put =string(l)

:$put =string(l[-1])

:$put =string(l[-4])

:try

:  $put =string(l[-5])

:catch

:  $put =v:exception[:14]

:endtry

:" List slices

:$put =string(l[:])

:$put =string(l[1:])

:$put =string(l[:-2])

:$put =string(l[0:8])

:$put =string(l[8:-1])

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 List and Dictionary types.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 580 lines, 12170 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfun Test(...)
[?25l

:[?2004h  [?25h:lang C


[?25l:[?2004h  [?25h:" Creating List directly with different types


[?25l:[?2004h  [?25h:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:$put =string(l[-4])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-5])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List slices


[?25l:[?2004h  [?25h:$put =string(l[:])


[?25l:[?2004h  [?25h:$put =string(l[1:])


[?25l:[?2004h  [?25h:$put =string(l[:-2])


[?25l:[?2004h  [?25h:$put =string(l[0:8])


[?25l:[?2004h  [?25h:$put =string(l[8:-1])


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" List identity


[?25l:[?2004h  [?25h:let ll = l


[?25l:[?2004h  [?25h:let lx = copy(l)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(l == ll) . (l isnot ll) . (l is ll) . (l == lx) . (l is lx) . (l


isnot lx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Creating Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {001: 'asd', 'b': [1, 2, function('strlen')], -1: {'a': 1},}


[?25l:[?2004h  [?25h:$put =string(d) . d.1


[?25l:[?2004h  [?25h:$put =string(sort(keys(d)))


[?25l:[?2004h  [?25h:$put =string (values(d))


[?25l:[?2004h  [?25h:for [key, val] in items(d)


[?25l:[?2004h    [?25h:  $put =key . ':' . string(val)


[?25l:[?2004h    [?25h:  unlet key val


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:call extend  (d, {3:33, 1:99})


[?25l:[?2004h  [?25h:call extend(d, {'b':'bbb', 'c':'ccc'}, "keep")


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  call extend(d, {3:333,4:444}, "error")


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:call filter(d, 'v:key =~ ''[ac391]''')


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary identity


[?25l:[?2004h  [?25h:let dd = d


[?25l:[?2004h  [?25h:let dx = copy(d)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(d == dd) . (d isnot dd) . (d is dd) . (d == dx) . (d is dx) . (d


isnot dx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items with :unlet


[?25l:[?2004h  [?25h:unlet l[2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:let l = range(8)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:unlet l[:3]


[?25l:[?2004h    [?25h:unlet l[1:]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:$put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:unlet d.c


[?25l:[?2004h  [?25h:unlet d[-1]


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:1]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:3]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:4]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:5]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-1:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-3:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-4:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-5:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-6:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" assignment to a list


[?25l:[?2004h  [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:let [va, vb] = l[2:3]


[?25l:[?2004h  [?25h:$put =va


[?25l:[?2004h  [?25h:$put =vb


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l[1:1]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" manipulating a big Dictionary (hashtable.c has a border of 1000 entries)


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: let d[i] = 3000 - i


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:$put =d[0] . ' ' . d[100] . ' ' . d[999] . ' ' . d[1400] . ' ' . d[1499]


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let n = d[1500]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" lookup each items


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h: let i += 1


[?25l:[?2004h  [?25h:" delete even items


[?25l:[?2004h  [?25h:while i >= 2


[?25l:[?2004h    [?25h: let i -= 2


[?25l:[?2004h    [?25h: unlet d[i]


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =get(d, 1500 - 100, 'NONE') . ' ' . d[1]


[?25l:[?2004h  [?25h:" delete odd items, checking value, one intentionally wrong


[?25l:[?2004h  [?25h:let d[33] = 999


[?25l:[?2004h  [?25h:let i = 1


[?25l:[?2004h  [?25h:while i < 1500


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =i . '=' . d[i]


[?25l:[?2004h      [?25h: else


[?25l:[?2004h      [?25h:  unlet d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h: let i += 2


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =string(d)  " must be almost empty now


[?25l:[?2004h  [?25h:unlet d


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary function


[?25l:[?2004h  [?25h:let dict = {}


[?25l:[?2004h  [?25h:func dict.func(a) dict


[?25l:[?2004h    [?25h:  $put =a:a . len(self.data)


[?25l:[?2004h    [?25h:endfunc


[?25l:[?2004h    [?25h:let dict.data = [1,2,3]


[?25l:[?2004h    [?25h:call dict.func("len: ")


[?25l:[?2004h    [?25h:let x = dict.func("again: ")


[?25l:[?2004h    [?25h:let Fn = dict.func


[?25l:[?2004h    [?25h:call Fn('xxx')


[?25l:[?2004h    [?25h:" 


[?25l:[?2004h    [?25h:" Function in script-local List or Dict


[?25l:[?2004h    [?25h:let g:dict = {}


[?25l:[?2004h    [?25h:function g:dict.func() dict


[?25l:[?2004h      [?25h:  $put ='g:dict.func'.self.foo[1].self.foo[0]('asdf')


[?25l:[?2004h      [?25h:endfunc


[?25l:[?2004h      [?25h:let g:dict.foo = ['-', 2, 3]


[?25l:[?2004h      [?25h:call insert(g:dict.foo, function('strlen'))


[?25l:[?2004h      [?25h:call g:dict.func()


[?25l:[?2004h      [?25h:" 


[?25l:[?2004h      [?25h:" Nasty: remove func from Dict that's being called (works)


[?25l:[?2004h      [?25h:let d = {1:1}


[?25l:[?2004h      [?25h:func d.func(a)


[?25l:[?2004h[?25h:  return "a:". a:a


[?25l:[?2004h[?25h:endfunc


[?25l:[?2004h[?25h:$put =d.func(string(remove(d, 'func')))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Nasty: deepcopy() dict that refers to itself (fails when noref used


)

[?25l:[?2004h[?25h:let d = {1:1, 2:2}


[?25l:[?2004h[?25h:let l = [4, d, 6]


[?25l:[?2004h[?25h:let d[3] = l


[?25l:[?2004h[?25h:let dc = deepcopy(d)


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let dc = deepcopy(d, 1)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:let l2 = [0, l, l, 3]


[?25l:[?2004h[?25h:let l[1] = l2


[?25l:[?2004h[?25h:let l3 = deepcopy(l2)


[?25l:[?2004h[?25h:$put ='same list: ' . (l3[1] is l3[2])


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1][0] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2]['6'][7] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2][6] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Unletting locked variables


[?25l:[?2004h[?25h:$put ='Unletting:'


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]['6'][7]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2][6]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1][0]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables and :unlet or list / dict functions


[?25l:[?2004h[?25h:$put ='Locks and commands or functions:'


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put =':unlet after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='filter() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call filter(d, 'v:key != "a"')


[?25l:[?2004h[?25h:  $put ='did filter()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='map() after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call map(d, 'v:val + 200')


[?25l:[?2004h[?25h:  $put ='did map()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  $put =string(extend(d, {'a': 123}))


[?25l:[?2004h[?25h:  $put ='did extend()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No remove() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(remove(a:, 'this_is_a_loooooooooong_parameter_na


me'))


[?25l:[?2004h[?25h:    $put ='did remove()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(extend(a:, {'this_is_a_loooooooooong_parameter


_name': 1234}))


[?25l:[?2004h[?25h:    $put ='did extend()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet of variable in locked scope:'


[?25l:[?2004h[?25h:let b:testvar = 123


[?25l:[?2004h[?25h:lockvar 1 b:


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet b:testvar


[?25l:[?2004h[?25h:  $put ='b:testvar was :unlet: '. (!exists('b:testvar'))


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:unlockvar 1 b:


[?25l:[?2004h[?25h:unlet! b:testvar


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :let += of locked list variable:'


[?25l:[?2004h[?25h:let l = ['a', 'b', 3]


[?25l:[?2004h[?25h:lockvar 1 l


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let l += ['x']


[?25l:[?2004h[?25h:  $put ='did :let +='


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:lockvar! l


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:unlet l[0:1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l[1:2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:let l[0:1] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let l[1:2] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:" :lockvar/islocked() triggering script autoloading


[?25l:[?2004h[?25h:set rtp+=./sautest


[?25l:[?2004h[?25h:lockvar g:footest#x


[?25l:[?2004h[?25h:unlockvar g:footest#x


[?25l:[?2004h[?25h:$put ='locked g:footest#x:'.islocked('g:footest#x')


[?25l:[?2004h[?25h:$put ='exists g:footest#x:'.exists('g:footest#x')


[?25l:[?2004h[?25h:$put ='g:footest#x: '.g:footest#x


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" a:000 function argument


[?25l:[?2004h[?25h:" first the tests that should fail


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000 = [1, 2]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[0] = 9


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[0]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2] = [9, 10]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[2]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[3] = {9: 10}


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[3]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:" now the tests that should pass


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2][1] = 9


[?25l:[?2004h[?25h:  call extend(a:000[2], [5, 6])


[?25l:[?2004h[?25h:  let a:000[3][5] = 8


[?25l:[?2004h[?25h:  let a:000[3]['a'] = 12


[?25l:[?2004h[?25h:  $put =string(a:000)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught ' . v:exception


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" reverse(), sort(), uniq()


[?25l:[?2004h[?25h:let l = ['-0', 'A11', 2, 2, 'xaaa', 4, 'foo', 'foo6', 'foo', [0, 


1, 2], 'x8', [0, 1, 2], 1.5]


[?25l:[?2004h[?25h:$put =string(uniq(copy(l)))


[?25l:[?2004h[?25h:$put =string(reverse(l))


[?25l:[?2004h[?25h:$put =string(reverse(reverse(l)))


[?25l:[?2004h[?25h:$put =string(sort(l))


[?25l:[?2004h[?25h:$put =string(reverse(sort(l)))


[?25l:[?2004h[?25h:$put =string(sort(reverse(sort(l))))


[?25l:[?2004h[?25h:$put =string(uniq(sort(l)))


[?25l:[?2004h[?25h:let l=[7, 9, 'one', 18, 12, 22, 'two', 10.0e-16, -1, 'three', 0xf


f, 0.22, 'four']


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'n'))


[?25l:[?2004h[?25h:let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'bar', 


'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', {}, []]


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 1))


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'i'))


[?25l:[?2004h[?25h:$put =string(sort(copy(l)))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" splitting a string to a List


[?25l:[?2004h[?25h:$put =string(split('  aa  bb '))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 0))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 1))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W', 1))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 0))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 1))


[?25l:[?2004h[?25h:$put =string(split('aa,,bb, cc,', ',\s*', 1))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs'))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs', 1))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare recursively linked list and dict


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:let d = {'1': 1, '2': l, '3': 3}


[?25l:[?2004h[?25h:let l[1] = d


[?25l:[?2004h[?25h:$put =(l == l)


[?25l:[?2004h[?25h:$put =(d == d)


[?25l:[?2004h[?25h:$put =(l != deepcopy(l))


[?25l:[?2004h[?25h:$put =(d != deepcopy(d))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare complex recursively linked list and dict


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:call add(l, l)


[?25l:[?2004h[?25h:let dict4 = {"l": l}


[?25l:[?2004h[?25h:call add(dict4.l, dict4)


[?25l:[?2004h[?25h:let lcopy = deepcopy(l)


[?25l:[?2004h[?25h:let dict4copy = deepcopy(dict4)


[?25l:[?2004h[?25h:$put =(l == lcopy)


[?25l:[?2004h[?25h:$put =(dict4 == dict4copy)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same List to extend()


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4, 5]


[?25l:[?2004h[?25h:call extend(l, l)


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend()


[?25l:[?2004h[?25h:let d = { 'a': {'b': 'B'}}


[?25l:[?2004h[?25h:call extend(d, d)


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend() with "error"


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call extend(d, d, "error")


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" test for range assign


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:let l[:] = [1, 2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:endfun
[?25l:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test(1, 2, [3, 4], {5: 6})  " This may take a while
[?25lError detected while processing function Test:

line   76:


E684: list index out of range: 1


line   91:


E684: list index out of range: 2


line  271:


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


line  441:


E741: Value is locked: l[0:1]


line  443:


E741: Value is locked: l[1:2]


line  446:


E741: Value is locked: l[0:1] = [0, 1]


line  448:


E741: Value is locked: l[1:2] = [0, 1]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb']

['aa', 'bb']

['', 'aa', 'bb', '']

['', '', 'aa', '', 'bb', '', '']

['aa', '', 'bb']

['', 'aa', '', 'bb', '']

['aa', '', 'bb', 'cc', '']

['a', 'b', 'c']

['', 'a', '', 'b', '', 'c', '']

1

1

0

0

1

1

[1, 2, 3, 4, 5, 1, 2, 3, 4, 5]

{'a': {'b': 'B'}}

Vim(call):E737: a

{'a': {'b': 'B'}}

[1, 2]

~                                                                               [?25h[?25l



:[?2004h[?25hdelfunc Test
[?25l[?25h[?25l:[?2004h[?25hunlet dict
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test for patch 7.3.637
[?25l[?25h[?25l:[?2004h[?25hlet a = 'No error caught'
[?25l[?25h[?25l:[?2004h[?25htry|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25l[?25h[?2004l[?25l=[?2004h[?25ha
[?2004h[?25lVim(foldopen):E490:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hredir => a
[?25l[?25h[?25l:[?2004h[?25htry|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'


)|endtry


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb'][?25h[?2004l[?25l

=[?2004h[?25ha
[?2004h[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'))|endtry

[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 197 lines, 3821 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test55 = test61; then \
#	  if diff test.out test55.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test55.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test60.failed test.ok test.out X* viminfo
cp test60.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.
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_state.o libvterm/src/state.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test60.in" 601 lines, 13116 charactersTests for the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :



STARTTEST

:so small.vim

:function! RunTest(str, result)

    if exists(a:str) == a:resultecho "OK"

    elseecho "FAILED: Checking for " . a:str

    endif

endfunction

:function! TestExists()

    augroup myagroupautocmd! BufEnter*.my     echo "myfile edited"autocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"

    augroup END

    set rtp+=./sautestlet test_cases = []" valid autocmd group

    let test_cases += [['#myagroup', 1]]

    " valid autocmd group with garbage[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 596 lines, 13023 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction! RunTest(str, result)
[?25l

:[?2004h  [?25h    if exists(a:str) == a:result


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED: Checking for " . a:str


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x[?25h[?25l

:[?2004h[?25hfunction! TestExists()
[?25l

:[?2004h  [?25h    augroup myagroup


[?25l:[?2004h  [?25h^Iautocmd! BufEnter       *.my     echo "myfile edited"


[?25l:[?2004h  [?25h^Iautocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"


[?25l:[?2004h  [?25h    augroup END


[?25l:[?2004h  [?25h    set rtp+=./sautest


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    let test_cases = []


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " valid autocmd group


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup', 1]]


[?25l:[?2004h  [?25h    " valid autocmd group with garbage


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup+b', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group or event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup', 0]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group and valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup#BufEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event with no matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#CmdwinEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#xyzacmd', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['###', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group and event or empty event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['##', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##FileReadCmd', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##MySpecialCmd', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&textwidth', 1]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&tw', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['&tw-', 0]]


[?25l:[?2004h  [?25h    " Global option


[?25l:[?2004h  [?25h    let test_cases += [['&g:errorformat', 1]]


[?25l:[?2004h  [?25h    " Local option


[?25l:[?2004h  [?25h    let test_cases += [['&l:errorformat', 1]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojoinspaces', 0]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojs', 0]]


[?25l:[?2004h  [?25h    " Non-existing option


[?25l:[?2004h  [?25h    let test_cases += [['&myxyzoption', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch!1', 0]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['+is', 1]]


[?25l:[?2004h  [?25h    " Existing option that is hidden.


[?25l:[?2004h  [?25h    let test_cases += [['+autoprint', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing environment variable


[?25l:[?2004h  [?25h    let $EDITOR_NAME = 'Vim Editor'


[?25l:[?2004h  [?25h    let test_cases += [['$EDITOR_NAME', 1]]


[?25l:[?2004h  [?25h    " Non-existing environment variable


[?25l:[?2004h  [?25h    let test_cases += [['$NON_ENV_VAR', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal function


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr', 1]]


[?25l:[?2004h  [?25h    " Valid internal function with ()


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr()', 1]]


[?25l:[?2004h  [?25h    " Non-existing internal function


[?25l:[?2004h  [?25h    let test_cases += [['*myxyzfunc', 0]]


[?25l:[?2004h  [?25h    " Valid internal function with garbage


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr&6', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*TestExists', 1]]


[?25l:[?2004h  [?25h    " Non-existing user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*MyxyzFunc', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function that may be created by FuncUndefined event


[?25l:[?2004h  [?25h    let test_cases += [['*UndefFun', 0]]


[?25l:[?2004h  [?25h    " Function that may be created by script autoloading


[?25l:[?2004h  [?25h    let test_cases += [['*footest#F', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    redir! > test.out


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    for [test_case, result] in test_cases


[?25l:[?2004h    [?25h        echo test_case . ": " . result


[?25l:[?2004h    [?25h        call RunTest(test_case, result)


[?25l:[?2004h    [?25h    endfor


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match)


[?25l:[?2004h  [?25h    echo ':edit: 2'


[?25l:[?2004h  [?25h    if exists(':edit') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match) with garbage


[?25l:[?2004h  [?25h    echo ':edit/a: 0'


[?25l:[?2004h  [?25h    if exists(':edit/a') == 0


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (partial match)


[?25l:[?2004h  [?25h    echo ':q: 1'


[?25l:[?2004h  [?25h    if exists(':q') == 1


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing internal command


[?25l:[?2004h  [?25h    echo ':invalidcmd: 0'


[?25l:[?2004h  [?25h    if !exists(':invalidcmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (full match)


[?25l:[?2004h  [?25h    command! MyCmd :echo 'My command'


[?25l:[?2004h  [?25h    echo ':MyCmd: 2'


[?25l:[?2004h  [?25h    if exists(':MyCmd') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (partial match)


[?25l:[?2004h  [?25h    command! MyOtherCmd :echo 'Another command'


[?25l:[?2004h  [?25h    echo ':My: 3'


[?25l:[?2004h  [?25h    if exists(':My') == 3


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Command modifier


[?25l:[?2004h  [?25h    echo ':rightbelow: 2'


[?25l:[?2004h  [?25h    if exists(':rightbelow') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (full match)


[?25l:[?2004h  [?25h    delcommand MyCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':MyCmd: 0'


[?25l:[?2004h  [?25h    if !exists(':MyCmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (partial match)


[?25l:[?2004h  [?25h    delcommand MyOtherCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':My: 0'


[?25l:[?2004h  [?25h    if !exists(':My')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var: 1'


[?25l:[?2004h  [?25h    if exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable with garbage


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var%n: 0'


[?25l:[?2004h  [?25h    if !exists('local_var%n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local variable


[?25l:[?2004h  [?25h    unlet local_var


[?25l:[?2004h  [?25h    echo 'local_var: 0'


[?25l:[?2004h  [?25h    if !exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing autoload variable that may be autoloaded


[?25l:[?2004h  [?25h    echo 'footest#x: 0'


[?25l:[?2004h  [?25h    if !exists('footest#x')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list


[?25l:[?2004h  [?25h    let local_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'local_list: 1'


[?25l:[?2004h  [?25h    if exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item


[?25l:[?2004h  [?25h    echo 'local_list[1]: 1'


[?25l:[?2004h  [?25h    if exists('local_list[1]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item with garbage


[?25l:[?2004h  [?25h    echo 'local_list[1]+5: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[1]+5')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Invalid local list item


[?25l:[?2004h  [?25h    echo 'local_list[2]: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[2]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local list


[?25l:[?2004h  [?25h    unlet local_list


[?25l:[?2004h  [?25h    echo 'local_list: 0'


[?25l:[?2004h  [?25h    if !exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local dictionary


[?25l:[?2004h  [?25h    let local_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'local_dict: 1'


[?25l:[?2004h  [?25h    if exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local dictionary


[?25l:[?2004h  [?25h    unlet local_dict


[?25l:[?2004h  [?25h    echo 'local_dict: 0'


[?25l:[?2004h  [?25h    if !exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing local curly-brace variable


[?25l:[?2004h  [?25h    let str = "local"


[?25l:[?2004h  [?25h    let curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local curly-brace variable


[?25l:[?2004h  [?25h    unlet curly_{str}_var


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable


[?25l:[?2004h  [?25h    let g:global_var = 1


[?25l:[?2004h  [?25h    echo 'g:global_var: 1'


[?25l:[?2004h  [?25h    if exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable with garbage


[?25l:[?2004h  [?25h    echo 'g:global_var-n: 1'


[?25l:[?2004h  [?25h    if !exists('g:global_var-n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global variable


[?25l:[?2004h  [?25h    unlet g:global_var


[?25l:[?2004h  [?25h    echo 'g:global_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global list


[?25l:[?2004h  [?25h    let g:global_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'g:global_list: 1'


[?25l:[?2004h  [?25h    if exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global list


[?25l:[?2004h  [?25h    unlet g:global_list


[?25l:[?2004h  [?25h    echo 'g:global_list: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global dictionary


[?25l:[?2004h  [?25h    let g:global_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'g:global_dict: 1'


[?25l:[?2004h  [?25h    if exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global dictionary


[?25l:[?2004h  [?25h    unlet g:global_dict


[?25l:[?2004h  [?25h    echo 'g:global_dict: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global curly-brace variable


[?25l:[?2004h  [?25h    let str = "global"


[?25l:[?2004h  [?25h    let g:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global curly-brace variable


[?25l:[?2004h  [?25h    unlet g:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window variable


[?25l:[?2004h  [?25h    echo 'w:window_var: 1'


[?25l:[?2004h  [?25h    let w:window_var = 1


[?25l:[?2004h  [?25h    if exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window variable


[?25l:[?2004h  [?25h    unlet w:window_var


[?25l:[?2004h  [?25h    echo 'w:window_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window list


[?25l:[?2004h  [?25h    let w:window_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'w:window_list: 1'


[?25l:[?2004h  [?25h    if exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window list


[?25l:[?2004h  [?25h    unlet w:window_list


[?25l:[?2004h  [?25h    echo 'w:window_list: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window dictionary


[?25l:[?2004h  [?25h    let w:window_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'w:window_dict: 1'


[?25l:[?2004h  [?25h    if exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window dictionary


[?25l:[?2004h  [?25h    unlet w:window_dict


[?25l:[?2004h  [?25h    echo 'w:window_dict: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window curly-brace variable


[?25l:[?2004h  [?25h    let str = "window"


[?25l:[?2004h  [?25h    let w:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window curly-brace variable


[?25l:[?2004h  [?25h    unlet w:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer variable


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 1'


[?25l:[?2004h  [?25h    let b:buffer_var = 1


[?25l:[?2004h  [?25h    if exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer variable


[?25l:[?2004h  [?25h    unlet b:buffer_var


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer list


[?25l:[?2004h  [?25h    let b:buffer_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer list


[?25l:[?2004h  [?25h    unlet b:buffer_list


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer dictionary


[?25l:[?2004h  [?25h    let b:buffer_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer dictionary


[?25l:[?2004h  [?25h    unlet b:buffer_dict


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer curly-brace variable


[?25l:[?2004h  [?25h    let str = "buffer"


[?25l:[?2004h  [?25h    let b:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer curly-brace variable


[?25l:[?2004h  [?25h    unlet b:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Script-local tests


[?25l:[?2004h  [?25h    source test60.vim


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:version: 1'


[?25l:[?2004h  [?25h    if exists('v:version')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:non_exists_var: 0'


[?25l:[?2004h  [?25h    if !exists('v:non_exists_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function arguments


[?25l:[?2004h  [?25h    function TestFuncArg(func_arg, ...)


[?25l:[?2004h    [?25h        echo 'a:func_arg: 1'


[?25l:[?2004h    [?25h        if exists('a:func_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:non_exists_arg: 0'


[?25l:[?2004h    [?25h        if !exists('a:non_exists_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:1: 1'


[?25l:[?2004h    [?25h        if exists('a:1')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:2: 0'


[?25l:[?2004h    [?25h        if !exists('a:2')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h    endfunction


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    call TestFuncArg("arg1", "arg2")


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    echo ' g:footest#x =' g:footest#x


[?25l:[?2004h    [?25h    echo '   footest#F()' footest#F()


[?25l:[?2004h    [?25h    echo 'UndefFun()' UndefFun()


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    redir END


[?25l:[?2004h    [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hcall TestExists()
[?25l#myagroup: 1

OK


#myagroup+b: 0


OK


#myagroup#BufEnter: 1


OK


#myagroup#BufEnter#*.my: 1


OK


#BufEnter: 1


OK


#BufEnter#*.my: 1


OK


#xyzagroup: 0


OK


#xyzagroup#BufEnter: 0


OK


#myagroup#CmdwinEnter: 0


OK


#myagroup#xyzacmd: 0


OK


#myagroup#BufEnter#xyzpat: 0


OK


#BufEnter#xyzpat: 0


OK


###: 0


OK


##: 0


OK


##FileReadCmd: 1


OK


##MySpecialCmd: 0


OK


&textwidth: 1


OK


&tw: 1


OK


&tw-: 0


OK


&g:errorformat: 1


OK


&l:errorformat: 1


OK


&nojoinspaces: 0


OK


&nojs: 0


OK


&myxyzoption: 0


OK


+incsearch: 1


OK


+incsearch!1: 0


OK


+is: 1


OK


+autoprint: 0


OK


$EDITOR_NAME: 1


OK


$NON_ENV_VAR: 0


OK


*bufnr: 1


OK


*bufnr(): 1


OK


*myxyzfunc: 0


OK


*bufnr&6: 0


OK


*TestExists: 1


OK


*MyxyzFunc: 0


OK


*UndefFun: 0


OK


*footest#F: 0


OK


:edit: 2


OK


:edit/a: 0


OK


:q: 1


OK


:invalidcmd: 0


OK


:MyCmd: 2


OK


:My: 3


OK


:rightbelow: 2


OK


:MyCmd: 0


OK


:My: 0


OK


local_var: 1


OK


local_var%n: 0


OK


local_var: 0


OK


footest#x: 0


OK


local_list: 1


OK


local_list[1]: 1


OK


local_list[1]+5: 0


OK


local_list[2]: 0


OK


local_list: 0


OK


local_dict: 1


OK


local_dict: 0


OK


curly_local_var: 1


OK


curly_local_var: 0


OK


g:global_var: 1


OK


g:global_var-n: 1


OK


g:global_var: 0


OK


g:global_list: 1


OK


g:global_list: 0


OK


g:global_dict: 1


OK


g:global_dict: 0


OK


g:curly_global_var: 1


OK


g:curly_global_var: 0


OK


w:window_var: 1


OK


w:window_var: 0


OK


w:window_list: 1


OK


w:window_list: 0


OK


w:window_dict: 1


OK


w:window_dict: 0


OK


w:curly_window_var: 1


OK


w:curly_window_var: 0


OK


b:buffer_var: 1


OK


b:buffer_var: 0


OK


b:buffer_list: 1


OK


b:buffer_list: 0


OK


b:buffer_dict: 1


OK


b:buffer_dict: 0


OK


b:curly_buffer_var: 1


OK


b:curly_buffer_var: 0


OK


s:script_var: 1


OK


s:script_var: 0


OK


s:script_list: 1


OK


s:script_list: 0


OK


s:script_dict: 1


OK


s:script_dict: 0


OK


s:curly_script_var: 1


OK


s:curly_script_var: 0


OK


*s:my_script_func: 1


OK


*s:my_script_func: 0


OK


v:version: 1


OK


v:non_exists_var: 0


OK


a:func_arg: 1


OK


a:non_exists_arg: 0


OK


a:1: 1


OK


a:2: 0


OK


 g:footest#x = 1


   footest#F() 0


UndefFun() 0


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hdelfunc TestExists
[?25l[?25h[?25l:[?2004h[?25hdelfunc RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestFuncArg
[?25l[?25h[?25l:[?2004h[?25hedit! test.out
[?25l"test.out" [Incomplete last line] 206 lines, 1940 characters#myagroup: 1OK

#myagroup+b: 0OK

#myagroup#BufEnter: 1OK#myagroup#BufEnter#*.my: 1OK

#BufEnter: 1OK#BufEnter#*.my: 1OK

#xyzagroup: 0OK#xyzagroup#BufEnter: 0

OK#myagroup#CmdwinEnter: 0

OK

#myagroup#xyzacmd: 0

OK#myagroup#BufEnter#xyzpat: 0

OK[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 206 lines, 1941 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test60 = test61; then \
#	  if diff test.out test60.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test60.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test64.failed test.ok test.out X* viminfo
cp test64.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test64.in" 654 lines, 27565 charactersTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns without multi-byte support.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 621 lines, 27090 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:for pat in [' \ze*', ' \zs*']

:  try

:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" tl is a List of Lists with:
[?25l[?25h[?25l:[?2004h[?25h"    regexp engine
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"""" Previously written tests """"""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b', 'abcdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abbdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'ccc', 'ccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'abdef', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abdef']) "no match
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"operator \|
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\|ab', 'cabd', 'a']) "alternation is ordered
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c\?', 'ccb', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abd', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abccd', 'bc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}', 'ab', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'caad', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vb{1}', 'abca', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{2}', 'abaa', 'baa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{3}', 'aabaac'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'dabc', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'acb'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'acb', "", ""])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ababc', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'ababcab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'abcababa', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'cdababe', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abacabab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abacabababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'daaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'daaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'adaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaabaaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){2}', 'dadaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3}){2}', 'aaaaaaa', 'aaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'daaac', 'aaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaac', 'aaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaaac', 'aaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){3}', 'daac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'dac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'daac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){1,2}', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)(a+)', 'aaa', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3})+', 'daaaac', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c)+', 'aacb', 'aacb', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c){2}', 'abcb', 'ab', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abcabd', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abdabcabc','abcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a*', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+)+', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'ab', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'dababc', 'abab', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{0,2})+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a*)+)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1,3}', 'aab', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2,3}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})|(b{3})', 'bbabbbb', 'bbb', '', 'bbb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}|b{2}', 'abab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)+|(c)+', 'bbacbaacbbb', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbccccccccccccc', 'abbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbbccccccccccccc', 'abbbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}cd{2,3}e', 'aabbbcddee', 'abbbcdde'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va(bc){2}d', 'aabcbfbc' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'a', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aa', 'aa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aaa', 'aaa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'bbbabcc', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*b*|a*c*', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}b{1}|a{1}b{1}', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)(b)', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab)(b)(c)', 'abbc', 'abbc', 'ab', 'b', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a)(b))', 'ab', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)|(b)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x', 'abcdef'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""" Simple tests """""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search single groups
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'baced'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', '                    ab           ', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search multi-modifiers
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xcd', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xxxxxxxxxxxxxxxxsofijiojgf', 'xxxxxxxxxxxxxxxx'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'abcdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" no match here
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdoin'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdeoijdfxxiuhfij', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'xxxxx', 'xxxxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abc x siufhiush xxxxxxxxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'abc sfoij', '']) " empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'xxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'abc sfoij', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'xxxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,1}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a\{0,1}'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{1,0}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaa asfoij afaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaaaaa', 'aaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'iuash fiusahfliusah fiushfilushfi uhsaifuh askfj na


sfvius afg aaaa sfiuhuhiushf', 'aa'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'aaaaa aa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'aaaaasfoij ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaxxx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaaxxx ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'aaaaaaaaaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25h" leading star as normal char when \{} follows
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '***'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '****', '****'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '*****', '*****'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'aaaaioudfh coisf jda', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,1}', 'asiubid axxxaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaa asfoij afaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'aaaaa aa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'aaaaasfoij ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'aaaaaaaaaa', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'aaaaioudfh coisf jda', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test groups of characters and submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abc\)*', 'abcabcabc', 'abcabcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(ab\)\+', 'abababaaaaa', 'ababab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abaaaaa\)*cd', 'cd', 'cd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\? \(test2\)\?', 'test1 test3', 'test1 ', 'test1', 


''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\= \(test2\) \(test4443\)\=', ' test2 test4443 yupi


iiiiiiiiii', ' test2 test4443', '', 'test2', 'test4443'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(sub1\) hello \(sub 2\)\)', 'asterix sub1 hello sub 2 obe


lix', 'sub1 hello sub 2', 'sub1 hello sub 2', 'sub1', 'sub 2'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(\(yyxxzz\)\)\)', 'abcdddsfiusfyyzzxxyyxxzz', 'yyxxzz', '


yyxxzz', 'yyxxzz', 'yyxxzz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c+)+', 'abcccaba', 'abcccab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a(c*)+b)+', 'acbababaaa', 'acbabab', 'ab', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aá ^I', 'aá '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test greedy-ness and lazy-ness
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}','aaaaaaaaaaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}','aaaaaaaaaaaaaaaaaaaa', 'aaaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.{-,8})yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz','ayxa


','xayzxayz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.*)yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz', 'ayxayzx


ayzxa',''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){-2,3}','aaaaaaa','aaaa','aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{-1,3})+', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\( x\|x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\(x\| x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\ze\(x\| x$\)', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(\s\{-}\)\(x\| x$\)', ' x', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test Character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\d\+e\d\d','test 10e23 fd','10e23'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test collections and character range []
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[a]', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[bcd]', 'abcd', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[b-d]', 'acbd', 'ac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-d][e-f][x-x]d', 'cexdxx', 'cexd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[[:alpha:]]+', 'abcdefghijklmnopqrstuvwxyz6','abcdefghijkl


mnopqrstuvwxyz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]\+]', '6x8','x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','abcabcabc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]','defghiasijvoinasoiunbvb','d'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','ddddddda','ddddddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-d]\+','aaaAAAZIHFNCddd','AAAZIHFNC'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','iiiiiiii',''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','abcdefgh','abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-f]\+','abcdefgh','gh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-c]\{-3,6}','abcabc','abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[:alpha:]]\+','abcccadfoij7787ysf287yrnccdu','7787'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-a]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*\c','ABCDEFGH','ABCDEF'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[abc][xyz]\c','-af-AF-BY--','BY'])
[?25l[?25h[?25l:[?2004h[?25h" filename regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-./[:alnum:]_~]\+', 'log13.file', 'log13.file'])
[?25l[?25h[?25l:[?2004h[?25h" special chars
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[\]\^\-\\]\+', '\^\\\-\---^', '\^\\\-\---^'])
[?25l[?25h[?25l:[?2004h[?25h" collation elem
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[.a.]]\+', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" middle of regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'siuhabc ii'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'adf abc44482ddd oijs', 'abc44482ddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9\n]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', "asfi\n9888u", "\n9888"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f', "  \na ", "\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f\+', "  \na ", "\na"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9A-Za-z-_.]\+', " @0_a.A-{ ", "0_a.A-"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test start/end of line, start/end of file
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "a_\nb ", "a_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "b a \na_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a b\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a.', "a a\na", "a "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a', " a \na "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-7]\+', 'x0123456789x', '01234567'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-7]\+', '0a;X+% 897', 'a;X+% 89'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9]\+', 'x0123456789x', '0123456789'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9]\+', '0a;X+% 9', 'a;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-fA-F]\+', 'x0189abcdefg', '0189abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9A-Fa-f]\+', '0189g;X+% ab', 'g;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z0-9]\+', ';+aso_SfOij ', 'aso_SfOij'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z0-9]\+', 'aSo_;+% sfOij', ';+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z]\+', '0abyz_ABYZ;', 'abyz_ABYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z]\+', 'abAB_09;+% yzYZ', '09;+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', '0abcxyz1', 'abcxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', 'AabxyzZ', 'abxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'a;X09+% x', ';X09+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'abX0;%yz', 'X0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-zA-Z]\+', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-zA-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+', 'aABXYZz', 'ABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^A-Z]\+', 'ABx0;%YZ', 'x0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+\c', '0abxyzABXYZ;', 'abxyzABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+\c', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^a-z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^A-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \z features
[?25l[?25h[?25l:[?2004h[?25h" match ends at \ze
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'xx \ze test', 'xx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zeend', 'oij abcend', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aaxx ', 'aaxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aabb\|aa\zebb', ' aabb ', 'aabb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaebb', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" match starts at \zs
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zsdd', 'ddabcddxyzt', 'dd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa \zsax', ' ax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc \zsmatch\ze abc', 'abc abc abc match abc abc', 'match'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a \zsif .*){2}', 'a if then a if last', 'if last', 'a if 


last'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\>\zs.', 'aword. ', '.'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\s\+\ze\[/\|\s\zs\s\+', 'is   [a t', '  '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \@= and \& features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'abc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=cd', 'abcd', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'ababc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h" will never match, no matter the input text
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25h" will never match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'any text in here ... '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc)@=..', 'xabcd', 'ab', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.*John\)\@=.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(John.*\)\@=.*Bob', 'John is Bobs friend', 'John is Bob', '


John is Bobs friend'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\S\+\())\)\@=', '$((i=i+1))', 'i=i+1', '))'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'John is Bobs friend', 'John is Bob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test1)@=.*yep', 'this is a test1, yep it is', 'test1, yep


', 'test1'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if then else'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if else ', 'if else ', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!bar', 'foobar', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!...bar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' bar foo '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo bar '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo xxx ', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\%([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:']


)[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:', 


's'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'm\k\+_\@=\%(_\@!\k\)\@<=\k\+e', 'mx__xe', 'mx__xe'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%(\U\@<=S\k*\|S\l\)R', 'SuR', 'SuR'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(())', 'any possible text', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v%(ab(xyz)c)', '   abxyzc ', 'abxyzc', 'xyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test|)empty', 'tesempty', 'empty', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|aa)(a|aa)', 'aaa', 'aa', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" \%u and friends
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d32', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%o40', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%x20', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%u0020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%U00000020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d0', "yes\x0ano", "\x0a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \%[abc]
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fooxx', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobxx', 'foob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobaxx', 'fooba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobarxx', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobxx', 'foobx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobarxx', 'foobarx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'barxx', 'barx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'bxx', 'bx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'xxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[]]r]', 'b]r bor', 'b]r'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '@\%[\w\-]*', '<http://john.net/pandoc/>[@pandoc]', '@pandoc'


])[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Alternatives, must use first longest match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|\<go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', ' abc abc', 'abc abc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', 'xgoo goox', 'goo goo', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7


\8\9', 'xabcddefghiabcddefghix', 'abcddefghiabcddefghi', 'a', 'b', 'c', 'dd', 'e


', 'f', 'g', 'h', 'i'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\d*\)a \1b', ' a b ', 'a b', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', "aaa\naaa\nb", "aaa\naaa", 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo


.com', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo


.bat', 'bat', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}', '2013-06-27${0}', '$


{0}', '0'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a*\)\1$', 'aaaaaaaa', 'aaaaaaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a\{-2,}\)\1\+$', 'aaaaaaaaa', 'aaaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Look-behind with limit
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@1<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@2<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<


'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<


<'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<!bar.', 'xx foobar1 xbar2 xx', 'bar2'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" look-behind match in front of a zero-width item
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" test header'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" Last Changed: 1970', '19


70'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'barfoo', '', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=.*', 'foobar', 'bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" complicated look-behind match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(r\@<=\|\w\@<!\)\/', 'x = /word/;', '/'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^[a-z]\+\ze \&\(asdf\)\@<!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \@>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>a', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>b', 'aaab', 'aaab', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(.\{-}b\)\@>.', '  abcbd', '  abc', '  ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.\{-}\)\(\)\@>$', 'abc', 'abc', 'abc', ''])
[?25l[?25h[?25l:[?2004h[?25h" TODO: BT engine does not restore submatch after failure
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, '\(a*\)\@>a\|a\+', 'aaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" "\_" prepended negated collection matches EOL
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^8-9]\+', "asfi\n9888", "asfi\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^a]\+', "asfi\n9888", "sfi\n9888"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Requiring lots of states.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}', "


12345678-1234-1234-1234-123456789012 ", "12345678-1234-1234-1234-123456789012",


"1234-"])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Skip adding state twice
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=', "#if FOO", 


"#if", ' FOO'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""" Test \%V atom
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%>70vGesamt', 'Jean-Michel Charlier & Victor Hubinon\Gesamt


ausgabe [Salleck]    Buck Danny {Jean-Michel Charlier & Victor Hubinon}\Gesamtau


sgabe', 'Gesamt'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.

OK 2 - ^\(.\{-}b\)\@>.

OK 0 - \(.\{-}\)\(\)\@>$

OK 1 - \(.\{-}\)\(\)\@>$

OK 2 - \(.\{-}\)\(\)\@>$

OK 0 - \(a*\)\@>a\|a\+

OK 2 - \(a*\)\@>a\|a\+

OK 0 - \_[^8-9]\+

OK 1 - \_[^8-9]\+

OK 2 - \_[^8-9]\+

OK 0 - \_[^a]\+

OK 1 - \_[^a]\+

OK 2 - \_[^a]\+

OK 0 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 1 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 0 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 1 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 0 - \%>70vGesamt

OK 1 - \%>70vGesamt

OK 2 - \%>70vGesamt
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""""" multi-line tests """"""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', ['aaa', 'aaa', 'b'], ['XX', 'b']])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v.*\/(.*)\n.*\/\1$', ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/D


ir2/abcdefgh.bat', '', './Dir1/Dir2/file1.txt', './OtherDir1/OtherDir2/file1.txt


'], ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/Dir2/abcdefgh.bat', '', 'XX']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" line breaks
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\S.*\nx', ['abc', 'def', 'ghi', 'xjk', 'lmn'], ['abc', 'def'


, 'XXjk', 'lmn']])
[?25lOK 0 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that \_[0-9] matching EOL does not break a following \>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)


\.\)\{3\}\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>', ['', 'loca


lnet/192.168.0.1', ''], ['', 'localnet/XX', '']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a line break and ^ and $
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\n^b$\n^c', ['a', 'b', 'c'], ['XX']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(^.\+\n\)\1', [' dog', ' dog', 'asdf'], ['XXasdf']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the multi-line tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='multi-line tests'
[?25l

multi-line tests[?25h[?25l

:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let before = t[2]


[?25l:[?2004h  [?25h:  let after = t[3]


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re ==1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    new


[?25l:[?2004h    [?25h:    call setline(1, before)


[?25l:[?2004h    [?25h:    exe '%s/' . pat . '/XX/'


[?25l:[?2004h    [?25h:    let result = getline(1, '$')


[?25l:[?2004h    [?25h:    q!


[?25l:[?2004h    [?25h:    if result != after


[?25l:[?2004h      [?25h:      $put ='ERROR: pat: \"' . pat . '\", text: \"' . string(before) . 


'\", expected: \"' . string(after) . '\", got: \"' . string(result) . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?25l

:[?2004h[?25hunlet t tl
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that using a pattern on two lines doesn't get messed up by using
[?25l[?25h[?25l:[?2004h[?25h" matchstr() with \ze in between.
[?25l[?25h[?25l:[?2004h[?25hset re=0
[?25l[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2s/""/\='"'.matchstr(getline("."), '\d\+\ze<').'"'
[?25l5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2yank
[?25l[?25h[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?2004l[?2004h[?25l

[?25h[?25l

<T="5">Ta 5</Title>
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a look beind crossing a line boundary
[?25l[?25h[?25l/[?2004h[?25h^Behind:
[?25lsearch hit BOTTOM, continuing at TOP:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

search hit BOTTOM, continuing at TOP[?25h[?25l/[?2004h[?25h\(<\_[xy]\+\)\@3<=start
[?25l[?25h[?25l:[?2004h[?25h.yank
[?25l[?25h[?25lOK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?2004l[?2004h[?25l

[?25h[?25l

xxstart3
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching Visual area
[?25l[?25h[?25l/[?2004h[?25h^Visual:
[?25lsearch hit BOTTOM, continuing at TOP<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

oooxofor foroxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

search hit BOTTOM, continuing at TOP[?25h

the[?25l[?25h[?25lxe the the[?25h[?25l:[?2004h'<,'>[?25hs/\%Ve/E/g
[?25l3 substitutions on 1 linexE thE thE
[?25h

[?25landaxand andaxand 
[?25h[?25l:[?2004h'<,'>[?25hs/\%Va/A/g
[?25l6 substitutions on 1 lineAndAxAnd AndAxAnd[?25h

ooo[?25l[?25h[?25lxofor foro[?25h[?25lx

oooxofor foro[?25h[?25l:[?2004h'<,'>[?25hs/\%Vo/O/g
[?25l8 substitutions on 2 linesxOfOr fOrOx

oooxOfOr fOrO
[?25h[?25l:[?2004h[?25h/^Visual/+1,/^Visual/+4yank
[?25lsearch hit BOTTOM, continuing at TOP
4 lines yanked[?25h[?25lOK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3
[?25h[?2004l[?2004h[?25l

[?25h[?25l

4 more lines

thexE thE thExethe4 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching marks
[?25l[?25h[?25l/[?2004h[?25h^Marks:
[?25lsearch hit BOTTOM, continuing at TOPasdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

OK 0 - ab

OK 1 - ab

OK 2 - ab

OK 0 - b

OK 1 - b

OK 2 - b

search hit BOTTOM, continuing at TOP[?25h

asdf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s.*\%<'e../here/
[?25lhereasdf[?25h

asdf

dfsa
dfsadf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s\_.*\%<'e../again/
[?25l

asdfagainasdfOK 0 - bc*[?25h[?25l:[?2004h[?25h/^Marks:/+1,/^Marks:/+3yank
[?25lsearch hit BOTTOM, continuing at TOP
3 lines yanked[?25h[?25lOK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo
[?25h[?2004l[?2004h[?25l

[?25h[?25l

3 more linesasdfhereasdf

asdfagainasdf3 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check patterns matching cursor position.
[?25l[?25h[?25l:[?2004h[?25hfunc! Postest()
[?25l

:[?2004h  [?25h new


[?25l:[?2004h  [?25h call setline(1, ['ffooooo', 'boboooo', 'zoooooo', 'koooooo', 'moooooo', "\t


\t\tfoo", 'abababababababfoo', 'bababababababafoo', '********_', '        xxxxxx


xxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxx xx xxxx


xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxx xxxxxxxxxx


xxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxx xxxxxxxxxxx


x xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx xxxxxxxxx xxxx


xxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxx xxx xxx xx


xxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx xxxxxxxxxxxx x


xxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxxxxx


xxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx'])


[?25l:[?2004h  [?25h call setpos('.', [0, 1, 0, 0])


[?25l:[?2004h  [?25h s/\%>3c.//g


[?25l:[?2004h  [?25h call setpos('.', [0, 2, 4, 0])


[?25l:[?2004h  [?25h s/\%#.*$//g


[?25l:[?2004h  [?25h call setpos('.', [0, 3, 0, 0])


[?25l:[?2004h  [?25h s/\%<3c./_/g


[?25l:[?2004h  [?25h %s/\%4l\%>5c./_/g


[?25l:[?2004h  [?25h %s/\%6l\%>25v./_/g


[?25l:[?2004h  [?25h %s/\%>6l\%3c./!/g


[?25l:[?2004h  [?25h %s/\%>7l\%12c./?/g


[?25l:[?2004h  [?25h %s/\%>7l\%<9l\%>5v\%<8v./#/g


[?25l:[?2004h  [?25h $s/\%(|\u.*\)\@<=[^|\t]\+$//ge


[?25l:[?2004h  [?25h 1,$yank


[?25l:[?2004h  [?25h quit!


[?25l:[?2004h  [?25hendfunc
[?25lOK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf[?25h[?25l~                                                                               [?25h[?2004l[?2004h[?25l

-0-[?25h[?25l

:[?2004h[?25hset re=0
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25loooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf-0-ffobob__ooooo

koooo__moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx[?25h[?2004l[?2004h[?25l

-1-[?25h[?25l

:[?2004h[?25hset re=1
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l-1-

ffo

bob

__ooooo

koooo__

moooooo

   f__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxx xxxx xx xxxxxxxx xxx xxxxxxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l-2-[?25h[?25l:[?2004h[?25hset re=2
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l-2-

ffo

bob~                                                                               [?25h[?25l:[?2004h[?25h" start and end of buffer
[?25l[?25h[?25l/[?2004h[?25h\%^
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 2 - \v(a*)+

OK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}[?25h[?25l/[?2004h[?25h\%^..
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?2004l[?2004h[?25lt END[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}

OK 1 - \va{1,3}[?25h[?25l/[?2004h[?25h\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h[?25l:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

:call add(tl, [2, 'ab', 'aab', 'ab'])

:call add(tl, [2, 'b', 'abcdef', 'b'])

:call add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])

:call add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])

:call add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])

:call add(tl, [2, 'bc*', 'abbdef', 'b'])

:call add(tl, [2, 'c*', 'ccc', 'ccc'])

:call add(tl, [2, 'bc*', 'abdef', 'b'])[?25h[?25l/[?2004h[?25h..\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h
[?2004l[?2004h[?25l[?25h[?25lEN[?25h[?2004l[?2004h[?25l[?25h[?25lE[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check for detecting error
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=2
[?25l[?25h[?25l:[?2004h[?25hfor pat in [' \ze*', ' \zs*']
[?25l

:[?2004h  [?25h:  try


[?25l:[?2004h    [?25h:    let l = matchlist('x x', pat)


[?25l:[?2004h    [?25h:    $put ='E888 NOT detected for ' . pat


[?25l:[?2004h    [?25h:  catch


[?25l:[?2004h    [?25h:    $put ='E888 detected for ' . pat


[?25l:[?2004h    [?25h:  endtry


[?25l:[?2004h  [?25h:endfor
[?25lffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?ba

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxxxxxxx xxx xxxxxxx xxxxxxxxx  xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxx xxxx xxx xxxx xxx xxx xxxxxx x xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x x xx xxxxxx xxxxxxx  xxxxxxxxxx xxxxxxxxx xxx xxx xxxxxxxx   xxxx xxx xxxxxx xxxxx xxxxx xx   xxxxxxxxxxxx xxxx xxxxxxxxx xxxxx xxxxx xx xxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxTestEND

EN888 detected for  \ze*

E888 detected for  \zs*[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" Write the results """""""""""""
[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1107 lines, 22167 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test64 = test61; then \
#	  if diff test.out test64.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test64.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test66.failed test.ok test.out X* viminfo
cp test66.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.
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_unicode.o libvterm/src/unicode.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in
gcc -c -I. -Ilibvterm/include -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -DINLINE="" -DVSNPRINTF=vim_vsnprintf -DIS_COMBINING_FUNCTION=utf_iscomposing_uint -DWCWIDTH_FUNCTION=utf_uint2cells -o objects/term_vterm.o libvterm/src/vterm.c
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test66.in" 33 lines, 509 charactersTest for visual block shift and tab characters.



STARTTEST

:so small.vim

/^one

fe^V4jR^[ugvr1:'<,'>w! test.out

/^abcdefgh

^V4jI    ^[j<<11|D

7|a^[

7|a^[

7|a^[4k13|^V4j<

:$-5,$w >> test.out

:$-4,$s/\s\+//g

^V4kI    ^[j<<

7|a^[

7|a^[

7|a^[4k13|^V4j3<

:$-4,$w >> test.out

:qa!

ENDTEST



one two three[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 234 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^one
[?25l[?25hon[?25l[?25h[?25le

one two three

one two three

one two three

one two three[?25h[?25l

4 fewer lines[?2004l[?2004habcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz[?25h[?25lmore lines; before #1  0 seconds agoone two three

one two three

one two threeone two threeone two three[?25h[?25le

one

one

one

on[?25h[?25l1

on1

on1

on1

on1[?25h[?25l:[?2004h[?25h'<,'>w! test.out
[?25l"test.out" [New File] 5 lines, 70 characters written[?25h[?25l/[?2004h[?25h^abcdefgh
[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz
[?25h[?25la

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc            defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 1 timeidefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-5,$w >> test.out
[?25l"test.out"6 lines, 151 characters appended[?25h[?25l:[?2004h[?25h$-4,$s/\s\+//g
[?25l7 substitutions on 4 linesabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

a

a

a[?25h[?25l

a

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghij

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghij[?25h

    ab[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                       defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                 defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 3 timesidefghijklmnopqrstuvwxyz    defghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-4,$w >> test.out
[?25l"test.out"5 lines, 147 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test66 = test61; then \
#	  if diff test.out test66.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test66.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test68.failed test.ok test.out X* viminfo
cp test68.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test68.in" 131 lines, 1004 charactersTest for text formatting.



Results of test68:



STARTTEST

:so small.vim

/^{/+1

:set noai tw=2 fo=t

gRa b^[

ENDTEST



{





}



STARTTEST

/^{/+1

:set ai tw=2 fo=tw

gqgqjjllab^[

ENDTEST



{[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 4 lines, 48 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset noai tw=2 fo=t
[?25l[?25h[?2004l[?2004h[?25la

b[?25h

[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 38 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l

a  b[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tw
[?25l[?25h[?25l

b[?25h[?25l

[?25h[?25l

a[?25ha [?2004l[?2004h[?25l

b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=3 fo=t

gqgqo

a ^V^A^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a ^A[?25h[?25l

:[?2004h[?25hset tw=3 fo=t
[?25l[?25h[?25l

^A[?25h[?2004l[?2004h[?25la

^A
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" gcc -c -I. -I/usr/include/lua5.2 -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_lua.o if_lua.c
5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tcq1 comments=:#

gqgqjgqgqo

a b

#a b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a b[?25h[?25l

:[?2004h[?25hset tw=2 fo=tcq1 comments=:#
[?25l[?25h[?25l

#a b[?25h[?2004l[?2004h[?25la b

#a b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 46 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=tcn comments=:#

A b^[jA b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  1 a[?25h[?25l

:[?2004h[?25hset tw=5 fo=tcn comments=:#
[?25l[?25h[?2004l[?2004h[?25l

b[?25h[?25l

# 1 a[?25h[?2004l[?2004h[?25l

#   b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+3
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 35 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=t2a si

i  ^[A_^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+3
[?25l{



  x a

  b[?25h[?25l

:[?2004h[?25hset tw=5 fo=t2a si
[?25l[?25h[?2004l[?2004h[?25l    b[?25h[?2004l[?2004h[?25l b_[?25h[?25l

c[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=qn comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# 1 a b[?25h[?25l

:[?2004h[?25hset tw=5 fo=qn comments=:#
[?25l[?25h[?25l[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=q2 comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# x[?25h[?25l

:[?2004h[?25hset tw=5 fo=q2 comments=:#
[?25l[?25h[?25l# x a
[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+2
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 26 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw& fo=a

I^^^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+2
[?25l{

   1aa

   2bb[?25h[?25l

:[?2004h[?25hset tw& fo=a
[?25l[?25h[?2004l[?2004h[?25l1aa ^^2bb }STARTTEST[?25h

[?25l/[?2004h^STARTTEST
[?25h[?25l

/mno pqr/[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 69 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/

A vwx yz^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25hmno pqr/
[?25l/* abc def ghi jkl

 *    mno pqr stu[?25h[?25l

:[?2004h[?25hsetl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
[?25l[?25h[?2004l[?2004h[?25l

*    vwx yz[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^#/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=12 fo=tqnc comments=:#

A foobar^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^#/
[?25l

# 1 xxxxx[?25h[?25l

:[?2004h[?25hsetl tw=12 fo=tqnc comments=:#
[?25l[?25h[?2004l[?2004h[?25l

#   foobar[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l63 fewer lines# 1 a#   b}{

# x a#   b}{ 1aa ^^2bb }/* abc def ghi jkl

 *    mno pqr stu

 *    vwx yz

 */# 1 xxxxx

#   foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 77 lines, 281 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test68 = test61; then \
#	  if diff test.out test68.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test68.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test69.failed test.ok test.out X* viminfo
cp test69.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test69.in" 192 lines, 2185 charactersTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 multi-byte text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 2 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=t
[?25l[?25h

[?25l

XYZ[?25h[?2004l[?25l[?25h[?25lX[?25h[?25lY[?25h[?25l

Z

abc [?25h[?25l

X[?25h[?25lY[?25h[?2004h[?25lZ[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=1 fo=tm

gqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

X[?25h[?25l

:[?2004h[?25hset tw=1 fo=tm
[?25l[?25h[?25l

Xa[?25h[?25l

a[?25h[?25l

X a
[?25h[?25l

a[?25h[?25l

XY
[?25h[?25l

Y
[?25h[?25l

X Y
[?25h[?25l

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c

abXY^[

ENDTEST



{

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h

[?25la[?25h

[?25la[?25h

[?25lY
[?25h

[?25lY 
[?25h[?25l

aX
[?25h[?25l

X
[?25h[?25l

abX
[?25h[?25l

X
[?25h[?25l

abcX
[?25h[?25l

X
[?25h[?25l

abX c
[?25h[?25lX

c[?25h[?25l

abXY
[?25h[?25lX

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?25lY

a[?25h[?25lX

ab[?25h[?25lX

abc[?25h[?25lX

ab[?25h[?25lX

c

ab[?25h[?25l

X[?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set ai tw=2 fo=tm

gqgqjgqgqo

X

Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

  a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 53 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set noai tw=2 fo=tm

gqgqjgqgqo

  X

  Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset noai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 169 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa

XXY^[

ENDTEST



{

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=cqm comments=n:X
[?25l[?25h



[?25lXY[?25h



[?25lXZ
[?25h



[?25l

X Z
[?25h[?25l

XX
[?25h[?25l

XXa
[?25h[?25l

XXY
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25l

Xa

[?25h[?25lXa[?25h[?25lXY

[?25h[?25lX[?25h[?25l

Y

[?25h[?25lX[?25h[?25lY[?25h[?25lXZ

[?25h[?25lX [?25h[?25l

Y

[?25h[?25lX [?25h[?25lY[?25h[?25lX Z

[?25h[?25lX[?25h[?25l

X

[?25h[?25lX[?25h[?25l

Xa

[?25h[?25lX[?25h[?25lX[?25h[?2004h[?25lY[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 30 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tm

RXa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h[?2004l[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set mps+=^Vu2018:^Vu2019

d%

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

‘two three ’four[?25h[?25l

:[?2004h[?25hset mps+=^‘:^’
[?25l[?25h[?25l four[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^ra test
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 16 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTjVjra

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^ra test
[?25l

ra test[?25h[?25l

abba
[?25h[?25lbba 
[?25h[?25l

a

aab 
[?25h[?25laaaaaaa [?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set whichwrap+=h
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 43 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^x

dh

:set whichwrap-=h

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset whichwrap+=h
[?25l[?25h[?25l/[?2004h[?25h^x
[?25láx[?25h[?25lx[?25h

[?25l

:[?2004h[?25hset whichwrap-=h
[?25l[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:let a = '.é.' " one char of two bytes
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 9 lines, 548 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let b = '.é.' " normal e with composing char

/^byteidx

:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)])

:put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])

/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)])

:let b = '.é.'

:put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet a = '.é.' " one char of two bytes
[?25l[?25h[?25l:[?2004h[?25hlet b = '.eé.' " normal e with composing char
[?25l[?25h[?25l/[?2004h[?25h^byteidx
[?25l

byteidx[?25h[?25l

:[?2004h[?25hput =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), bytei


dx(a, 4)])
[?25l:set whichwrap-=h

ENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hput =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), bytei


dx(b, 4)])
[?25lENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5[?25h[?25l

/[?2004h[?25h^byteidxcomp
[?25l

byteidxcomp[?25h[?25l

:[?2004h[?25hput =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxc


omp(a, 3), byteidxcomp(a, 4)])
[?25láxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hlet b = '.eé.'
[?25l[?25h[?25l:[?2004h[?25hput =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxc


omp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])
[?25lSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1]2, 4, 5, -1][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^substitute
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 75 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let y = substitute('123', '\zs', 'a', 'g')    | put =y

ENDTEST[?25h[?25lsubstitute[?25h[?25l



:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^substitute
[?25l[?25h[?25l:[?2004h[?25hlet y = substitute('123', '\zs', 'a', 'g')    | put =y
[?25la1a2a3a[?25h[?25l



/[?2004h^STARTTEST


STARTTEST[?25h[?25l:g/^STARTTEST/.,/^ENDTEST/d

:1;/^Results/,$wq! test.out[?25h[?25l



:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l



/ENDTEST[?25h
[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l104 fewer lines{ four}ra test

aaaaaaaáxbyteidx[0, 1, 3, 4, -1]

[0, 1, 4, 5, -1]byteidxcomp

[0, 1, 3, 4, -1]

[0, 1, 2, 4, 5, -1]substitute

a1a2a3a[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 166 lines, 730 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test69 = test61; then \
#	  if diff test.out test69.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test69.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test70.failed test.ok test.out X* viminfo
cp test70.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test70.in" 63 lines, 1501 charactersSmoke test for MzScheme interface and mzeval() function



STARTTEST

:so mzscheme.vim

:set nocompatible viminfo+=nviminfo

:function! MzRequire()

:redir => l:mzversion

:mz (version)

:redir END

:if strpart(l:mzversion, 1, 1) < "4"

:" MzScheme versions < 4.x:

:mz (require (prefix vim- vimext))

:else

:" newer versions:

:mz (require (prefix-in vim- 'vimext))

:mz (require r5rs)

:endif

:endfunction

:silent call MzRequire()

:mz (define l '("item0" "dictionary with list OK" "item2"))

:mz (define h (make-hash))

:mz (hash-set! h "list" l)

/^1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSmoke test for MzScheme interface and mzeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1398 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:if l2[2] == l2

:let res = "OK"

:else

:let res = "FAILED: " . l2[2]

:endif

:call setline(search("^3"), "circular test " . res)

:" funcrefs

:mz (define vim:max (vim-eval "function('max')"))

:mz (define m (vim:max '(1 100 8)))

:let m = mzeval('m')

:if m == 100

:let fref_res = "OK"

:else

:let fref_res = "FAILED: " . m

:end

:call append(line('$'), 'funcrefs '. fref_res)

:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mzscheme.vim
[?25l"test.ok" 6 lines, 94 characters


"test.out" [New File] 6 lines, 94 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test70 = test61; then \
#	  if diff test.out test70.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test70.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test73.failed test.ok test.out X* viminfo
cp test73.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test73.in" 170 lines, 3664 charactersTests for find completion.



STARTTEST

:so small.vim

:set belloff=all

:" Do all test in a separate window to avoid E211 when we recursively

:" delete the Xfind directory during cleanup

:"

:" This will cause a few errors, do it silently.

:set visualbell

:set nocp viminfo+=nviminfo

:"

:" On windows a stale "Xfind" directory may exist, remove it so that

:" we start from a clean state.

:call delete("Xfind", "rf")

:new

:let cwd=getcwd()

:let test_out = cwd . '/test.out'

:call mkdir('Xfind')

:cd Xfind

:set path=

:find

:exec "w! " . test_out[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 find completion.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 165 lines, 3617 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exec "cd " . cwd . "/Xfind/"

:set path=./path

:" Open the file where Jimmy Hoffa is found

:e in/file.txt

:" Find the file containing 'E.T.' in the Xfind/in/path directory

:find file

:exec "w >>" . test_out

:"

:" Test that completion works when path=.,,

:"

:set path=.,,

:" Open Jimmy Hoffa file

:e in/file.txt

:exec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu

:exec "w >>" . test_out

:q

:exec "cd " . cwd

:call delete("Xfind", "rf")

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" Do all test in a separate window to avoid E211 when we recursively
[?25l[?25h[?25l:[?2004h[?25h" delete the Xfind directory during cleanup
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" This will cause a few errors, do it silently.
[?25l[?25h[?25l:[?2004h[?25hset visualbell
[?25l[?25h[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h
[?25l[?25h[?25l:[?2004h[?25h" On windows a stale "Xfind" directory may exist, remove it so that
[?25l[?25h[?25l:[?2004h[?25h" we start from a clean state.
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTESTtest73.in                                                                       [?25h[?25l:[?2004h[?25hlet cwd=getcwd()
[?25l[?25h[?25l:[?2004h[?25hlet test_out = cwd . '/test.out'
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('Xfind')
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE345: Can't find file "" in path[?25h[?25l:[?2004h[?25hexec "w! " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out"
<ld/vim-FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test.out" [New] 0L, 0C written/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test73.in                   [?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test73.in                   [?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test73.in                   [?25h[?25l:[?2004h[?25hset path=./**
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test73.in                   [?25h[?25l:[?2004h[?25h" We shouldn't find any file at this point, test.out must be empty.
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('in')
[?25l[?25h[?25l:[?2004h[?25hcd in
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/in[?25h[?25l:[?2004h[?25hcall mkdir('path')
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdirtest73.in                                                    [?25h[?25l:[?2004h[?25he Xfind/file.txt
[?25l"Xfind/file.txt" [New File]Xfind/file.txt[?25h[?25l-- INSERT --Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/file.txt" [New] 1L, 11C written    [?25h[?25l:[?2004h[?25he Xfind/in/file.txt
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
[?25l"Xfind/in/file.txt" [New File]in/file.txt[?25h[?25l-- INSERT --Jimmy Hoffa[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/file.txt"/usr/bin/perl /usr/share/perl/5.26/ExtUtils/xsubpp -prototypes -typemap \
    /usr/share/perl/5.26/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
 [New] 1L, 12C written    [?25h[?25l:[?2004h[?25he Xfind/in/stuff.txt
[?25l"Xfind/in/stuff.txt" [New File]stuff.txt[?25h[?25l-- INSERT --Another Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/stuff.txt" [New] 1L, 19C written    [?25h[?25l:[?2004h[?25he Xfind/in/path/file.txt
[?25l"Xfind/in/path/file.txt" [New File]path/file.txt[?25h[?25l-- INSERT --E.T.[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/path/file.txt" [New] 1L, 5C written    [?25h[?25l:[?2004h[?25hset path=Xfind/**
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Rerun the previous three find completions, using fullpath in 'path'
[?25l[?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Same steps again, using relative and fullpath items that point to the same
[?25l[?25h[?25l:[?2004h[?25h" recursive location.
[?25l[?25h[?25l:[?2004h[?25h" This is to test that there are no duplicates in the completion list.
[?25l[?25h[?25l:[?2004h[?25hexec "set path+=Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out"gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perlsfio.o if_perlsfio.c
 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25h" Test find completion for directory of current buffer, which at this point
[?25l[?25h[?25l:[?2004h[?25h" is Xfind/in/file.txt.
[?25l[?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind st...[?25luff.txt[?25h
[?25l"Xfind/in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25h" Test find completion for empty path item ",," which is the current directory
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfindin/stuff.txtf       /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=,,
[?25l[?25h[?25l:[?2004h[?25hfind f...[?25lile.txt[?25h...[?25l[?25h
[?25l"file.txt" 1L, 11CHoly Grailfile.txt.     [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25h" Test shortening of
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    foo/x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    foo/y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is above foo/ they should be shortened to (in order
[?25l[?25h[?25l:[?2004h[?25h" of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('foo')
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/file.txt[?25h[?25l:[?2004h[?25hcall mkdir('x')
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('y')
[?25l[?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/x[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfindfile.txti                                                           [?25h[?25l:[?2004h[?25h" We should now be in the Xfind directory
[?25l[?25h[?25l:[?2004h[?25he foo/x/bar/voyager.txt
[?25l"foo/x/bar/voyager.txt" [New File]oo/x/bar/voyager.txt[?25h[?25l-- INSERT --Voyager 1[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/x/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25he foo/y/bar/voyager.txt
[?25l"foo/y/bar/voyager.txt" [New File]y/[?25h[?25l-- INSERT --Voyager 2[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/y/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h
[?25l"foo/x/bar/voyager.txt" 1L, 10C1x/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h...[?25ly[?25h
[?25l"foo/y/bar/voyager.txt" 1L, 10C2y/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is .../foo/y/bar they should be shortened to (in
[?25l[?25h[?25l:[?2004h[?25h" order of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    ./voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/fooy/bar/voyager.txt.     [?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/ybar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/y/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25lx/bar/voyager.txt[?25h
[?25l<ild/vim-FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/Xfind/foo/x/bar/voyager.txt"
<-FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/Xfind/foo/x/bar/voyager.txt" 1L, 10C1/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/x/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check the opposite too:
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foox/bar/voyager.txt/                                                               [?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/xbar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/x/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25ly/bar/voyager.txt[?25h
[?25l<ild/vim-FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/Xfind/foo/y/bar/voyager.txt"
<-FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/Xfind/foo/y/bar/voyager.txt" 1L, 10C2/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/foo/y/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check for correct handling of shorten_fname()'s behavior on windows
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/in"
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfind/in[?25h[?25l:[?2004h[?25hfind file...[?25l./file.txt[?25h
[?25l"file.txt" 1L, 12CJimmy Hoffafile.txti                                                                        [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Test for relative to current buffer 'path' item
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/"
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xfindin/file.txt[?25h[?25l:[?2004h[?25hset path=./path
[?25l[?25h[?25l:[?2004h[?25h" Open the file where Jimmy Hoffa is found
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12C[?25h[?25l:[?2004h[?25h" Find the file containing 'E.T.' in the Xfind/in/path directory
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25ltxt[?25h
[?25l"in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out"gcc -c -I. -I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread -fPIE  -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_python3.o if_python3.c
 1L, 5C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that completion works when path=.,,
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25h" Open Jimmy Hoffa file
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Search for the file containing Holy Grail in same directory as in/path.txt
[?25l[?25h[?25l:[?2004h[?25hfind stu...[?25lff.txt[?25h
[?25l"in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25hq
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test73 = test61; then \
#	  if diff test.out test73.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test73.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test79.failed test.ok test.out X* viminfo
cp test79.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test79.in" 255 lines, 3381 charactersTest for *sub-replace-special* and *sub-replace-expression* on :substitute.

Test for submatch() on :substitue.

Test for *:s%* on :substitute.

Test for :s replacing \n with  line break.



STARTTEST

:so small.vim

ENDTEST



Results of test71:



STARTTEST

:set magic

:set cpo&

/^TEST/

j:s/A/&&/

j:s/B/\&/

j:s/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/

j:s/D/d/

j:s/E/~/

j:s/F/\~/

j:s/G/\ugg/

j:s/H/\Uh\Eh/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 *sub-replace-special* and *sub-replace-expression* on :substitute.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 14 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 347 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_1:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25lA
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l&[?25h

[?25l:[?2004h[?25hs/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25ld[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set nomagic
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 351 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_2:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25l&&
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l[?25h

[?25l:[?2004h[?25hs/\mC\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25l~[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 203 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\='\\'/

j:s/C/\='^V^M'/

j:s/D/\='\^V^M'/

j:s/E/\='\\^V^M'/

j:s/F/\='\r'/

j:s/G/\='^V^@'/

j:s/H/\='\^V^@'/

j:s/I/\='\\^V^@'/

j:s/J/\='\n'/

j:s/K/\="\r"/

j:s/L/\="\n"/

ENDTEST



TEST_3:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\='\'/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\='\\'/
[?25l\\b
[?25h

[?25l:[?2004h[?25hs/C/\='^^M'/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\='\^^M'/
[?25l\d[?25h

[?25l





:[?2004h[?25hs/E/\='\\^^M'/
[?25l\\

efFf[?25h

[?25l:[?2004h[?25hs/F/\='\r'/
[?25l\rf
[?25h[?25l

gGg[?25h[?25l

:[?2004h[?25hs/G/\='^^@'/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\='\^^@'/
[?25l

\h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\='\\^^@'/
[?25l

\\

i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\='\n'/
[?25l\nj
[?25h[?25l

kKk[?25h[?25l

:[?2004h[?25hs/K/\="\r"/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\="\n"/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 611 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\=substitute(submatch(0), '.', '\\', '')/

j:s/C/\=substitute(submatch(0), '.', '^V^M', '')/

j:s/D/\=substitute(submatch(0), '.', '\^V^M', '')/

j:s/E/\=substitute(submatch(0), '.', '\\^V^M', '')/

j:s/F/\=substitute(submatch(0), '.', '\r', '')/

j:s/G/\=substitute(submatch(0), '.', '^V^@', '')/

j:s/H/\=substitute(submatch(0), '.', '\^V^@', '')/

j:s/I/\=substitute(submatch(0), '.', '\\^V^@', '')/

j:s/J/\=substitute(submatch(0), '.', '\n', '')/

j:s/K/\=substitute(submatch(0), '.', "\r", '')/

j:s/L/\=substitute(submatch(0), '.', "\n", '')/

ENDTEST



TEST_4:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\=substitute(submatch(0), '.', '\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\=substitute(submatch(0), '.', '\\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/C/\=substitute(submatch(0), '.', '^^M', '')/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\=substitute(submatch(0), '.', '\^^M', '')/
[?25ld[?25h

[?25l





:[?2004h[?25hs/E/\=substitute(submatch(0), '.', '\\^^M', '')/
[?25l\efFf[?25h

[?25l:[?2004h[?25hs/F/\=substitute(submatch(0), '.', '\r', '')/
[?25l

f[?25h[?25l

gGg
[?25h[?25l

:[?2004h[?25hs/G/\=substitute(submatch(0), '.', '^^@', '')/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\=substitute(submatch(0), '.', '\^^@', '')/
[?25l

h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\=substitute(submatch(0), '.', '\\^^@', '')/
[?25l

\i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\=substitute(submatch(0), '.', '\n', '')/
[?25l

j[?25h[?25l

kKk
[?25h[?25l

:[?2004h[?25hs/K/\=substitute(submatch(0), '.', "\r", '')/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\=substitute(submatch(0), '.', "\n", '')/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 445 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST/

j:s/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .. submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch((3) . submatch(2) . submatch(1)/

j:s/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), subbmatch(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), subbmatch(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l

TEST_5:[?25h[?25l

A123456789
[?25h[?25l

:[?2004h[?25hs/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .


submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch(


3) . submatch(2) . submatch(1)/
[?25li\

i987654321[?25h[?25l

B123456789
[?25h[?25l

:[?2004h[?25hs/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), sub


match(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), sub


match(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/
[?25li

j[['B123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^TEST/

:set cpo+=/

j:s/A/a/

j:s/B/%/

:set cpo-=/

j:s/C/c/

j:s/D/%/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25lTEST_6:

A

B[?25h[?25l





:[?2004h[?25hset cpo+=/
[?25l[?25h

[?25l:[?2004h[?25hs/A/a/
[?25la[?25h

[?25l:[?2004h[?25hs/B/%/
[?25la[?25h[?25l:[?2004h[?25hset cpo-=/
[?25l[?25h[?25lC

D[?25h[?25l





:[?2004h[?25hs/C/c/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/%/
[?25l%[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 11 lines, 303 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST_7/

j:s/A./\=submatch(0)/

j:s/B./\=submatch(0)/

j:s/C./\=strtrans(string(submatch(0, 1)))/

j:s/D.\nD/\=strtrans(string(submatch(0, 1)))/

j:s/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/

/^Q$

:s/Q[^\n]Q/\=submatch(0)."foobar"/

:" Avoid :s error breaks dotest map on Windows.

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST_7/
[?25l

TEST_7:[?25h[?25l

A^MA
[?25h[?25l

:[?2004h[?25hs/A./\=submatch(0)/
[?25l

A[?25h[?25l

B^@B
[?25h[?25l

:[?2004h[?25hs/B./\=submatch(0)/
[?25l

B[?25h[?25l

C^@C
[?25h[?25l

:[?2004h[?25hs/C./\=strtrans(string(submatch(0, 1)))/
[?25l['C^@']C
[?25h[?25l

D^@[?25h[?25l

:[?2004h[?25hs/D.\nD/\=strtrans(string(submatch(0, 1)))/
[?25l['D^@', 'D']
[?25h[?25l

E^@[?25h[?25l

:[?2004h[?25hs/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/
[?25l['E^@', '^@', '^@', '^@', '^@E']
[?25h[?25l/[?2004h[?25h^Q$
[?25l

Q[?25h[?25l

:[?2004h[?25hs/Q[^\n]Q/\=submatch(0)."foobar"/
[?25lE486: Pattern not found: Q[^\n]Q[?25h[?25l:[?2004h[?25h" Avoid :s error breaks dotest map on Windows.
[?25l[?25h[?25l/[?2004h^STARTTEST
Q



STARTTEST[?25h[?25l

:function! TitleString()
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 177 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTlet check = 'foo' =~ 'bar'

  return ""

endfunction

:set titlestring=%{TitleString()}

:/^test_one/s/.*/\="foo\nbar"/

:/^test_two/s/.*/\="foo\nbar"/c

y

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hfunction! TitleString()
[?25l

:[?2004h  [?25h  let check = 'foo' =~ 'bar'


[?25l:[?2004h  [?25h  return ""


[?25l:[?2004h  [?25hendfunction
[?25lTEST_7:

A[?25h[?25l

:[?2004h[?25hset titlestring=%{TitleString()}
[?25l[?25h[?25l:[?2004h[?25h/^test_one/s/.*/\="foo\nbar"/
[?25lfoo

bar[?25h[?25l

:[?2004h[?25h/^test_two/s/.*/\="foo\nbar"/c
[?25l

test_tworeplace with \="foo\nbar" (y/n/a/q/l/^E/^Y)?[?25h[?25l

foobar
[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 72 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l136 fewer linesaa

c

%TEST_7:AABB['C^@']C['D^@', 'D']

['E^@', '^@', '^@', '^@', '^@E']

Q

Qfoo

bar

foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 134 lines, 574 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test79 = test61; then \
#	  if diff test.out test79.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test79.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test88.failed test.ok test.out X* viminfo
cp test88.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test88.in" 99 lines, 1449 charactersvim: set ft=vim



Tests for correct display (cursor column position) with +conceal and

tabulators.



STARTTEST

:so small.vim

:if !has('conceal')

   e! test.ok

   wq! test.out

:endif

:" Conceal settings.

:set conceallevel=2

:set concealcursor=nc

:syntax match test /|/ conceal

:" Save current cursor position. Only works in <expr> mode, can't be used

:" with :normal because it moves the cursor to the command line. Thanks to ZyX

:" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.

:let positions = []

:nnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"

:" Start test.

/^start:

:normal ztj[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 82 lines, 1216 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:normal W

GGk

:normal W

GGk

:normal W

GGk

:normal $

GGk

:" Display result.

:call append('$', 'end:')

:call append('$', positions)

:/^end/,$wq! test.out

ENDTEST



start:

.concealed.     text

|concealed|     text.concealed.     text|concealed|     text



.a.     .b.     .c.     .d.

|a|     |b|     |c|     |d|[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif !has('conceal')
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   wq! test.out


[?25l:[?2004h  [?25h:endif
[?25l:normal W

GGk

:normal W[?25h[?25l:[?2004h[?25h" Conceal settings.
[?25l[?25h[?25l:[?2004h[?25hset conceallevel=2
[?25l[?25h[?25l:[?2004h[?25hset concealcursor=nc
[?25l[?25h[?25l:[?2004h[?25hsyntax match test /|/ conceal
[?25lconcealed  concealed  





a       b       c       d[?25h[?25l:[?2004h[?25h" Save current cursor position. Only works in <expr> mode, can't be used
[?25l[?25h[?25l:[?2004h[?25h" with :normal because it moves the cursor to the command line. Thanks to ZyX
[?25l[?25h[?25l:[?2004h[?25h" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.
[?25l[?25h[?25l:[?2004h[?25hlet positions = []
[?25l[?25h[?25l:[?2004h[?25hnnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"
[?25l[?25h[?25l:[?2004h[?25h" Start test.
[?25l[?25h[?25l/[?2004h[?25h^start:
[?25l[?25h[?25l:[?2004h[?25hnormal ztj
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004hlet positions += ['2:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" We should end up in the same column when running these commands on the two
[?25l[?25h[?25l:[?2004h[?25h" lines.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['2:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['2:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['3:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['3:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['3:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['5:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Same for next test block.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['5:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['5:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['6:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['6:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['6:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['8:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" And check W with multiple tabs and conceals in a line.
[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['8:27']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset lbr
[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset list listchars=tab:>-
[?25l>------



>------->----

>------->------>----.b.>----.c.>----

a>------b>------c>------[?25h[?25l:[?2004h[?25hnormal 0
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Display result.
[?25l[?25h[?25l:[?2004h[?25hcall append('$', 'end:')
[?25lend:[?25h[?25l:[?2004h[?25hcall append('$', positions)
[?25l2:12:172:203:13:173:205:85:255:286:86:256:288:1[?25h[?25l:[?2004h[?25h/^end/,$wq! test.out
[?25l[?2004l"test.out" [New File] 29 lines, 135 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test88 = test61; then \
#	  if diff test.out test88.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test88.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test94.failed test.ok test.out X* viminfo
cp test94.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test94.in" 257 lines, 4841 charactersTest for Visual mode and operators



Tests for the two kinds of operations: Those executed with Visual mode

followed by an operator and those executed via Operator-pending mode. Also

part of the test are mappings, counts, and repetition with the . command.



Test cases:

- Visual modes (v V CTRL-V) followed by an operator; count; repeating

- Visual mode maps; count; repeating

  - Simple

  - With an Ex command (custom text object)

- Operator-pending mode maps

  - Simple

  - With Ex command moving the cursor

  - With Ex command and Visual selection (custom text object)

- Patch 7.3.879: Properly abort Ex command in Operator-pending mode



STARTTEST

:so small.vim

:set belloff=all

:set enc=utf-8 nocp viminfo+=nviminfo

:

:" User functions[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Visual mode and operators[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 212 lines, 3854 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hset enc=utf-8 nocp viminfo+=nviminfo
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h[?25l:[?2004h[>c[?25h[?25l:[?2004h[?25h" User functions
[?25l[?25h[?25l:[?2004h[?25hfunction MoveToCap()
[?25l

:[?2004h  [?25h:  call search('\u', 'W')


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'[?25h[?25l:[?2004h[?25hfunction SelectInCaps()
[?25l

:[?2004h  [?25h:  let [line1, col1] = searchpos('\u', 'bcnW')


[?25l:[?2004h  [?25h:  let [line2, col2] = searchpos('.\u', 'nW')


[?25l:[?2004h  [?25h:  call setpos("'<", [0, line1, col1, 0])


[?25l:[?2004h  [?25h:  call setpos("'>", [0, line2, col2, 0])


[?25l:[?2004h  [?25h:  normal! gv


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual modes followed by operator
[?25l[?25h[?25l/[?2004h[?25h^apple
[?25l[?25ha[?25l-- VISUAL --[?25h[?25lp[?25h[?25lle banana cherry[?25h[?25l banana cherry[?25h [?25lbanan-- VISUAL --[?25h[?25l
a  cherry[?25h[?25ly[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^line 1
[?25l[?25h[?25lline 1 line 1 -- VISUAL LINE --[?25h[?25lINSERT --Nnewline[?25h[?25l-- INSERT --newline[?25h[?25l
line 3 line 3 

line 4 line 4 





-- VISUAL LINE --[?25h[?25lline 5 line 5line 6 line 6xxxxxxxxxxxxx[?25h[?25lxxxxxxxxxxxxx

xxxxxxxxxxxxx[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^xxxx
[?25l[?25h[?25l





-- VISUAL BLOCK --[?25h[?25lx

[?25h[?25lx

x[?25h[?25lINSERT --O  

  [?25h [?25l





-- INSERT --  

    [?25h [?25l

xxxx

    xxxx

xxxxxxxx

xxxxxxxxxxxxx

-- VISUAL BLOCK --[?25h[?25l

-- INSERT --O----

    ----

xxxx----

xxxx----[?25h-[?25l-- INSERT ------------------[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25hvnoremap W /\u/s-1<CR>
[?25l[?25h[?25l:[?2004h[?25hvnoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Kiwi
[?25lKiwiRaspberryDateWatermelonPeach[?25h[?25l

-- VISUAL --[?25h[?25l/[?2004h\u/s-1
Kiw[?25h[?25l

-- INSERT --NoRaspberryDateWatermelonPeach[?25ho[?25l

-- INSERT --NoberryDateWatermelonPeach[?25hoberry[?25lDateWat

-- VISUAL --[?25h[?25lrmelonPeach[?25h[?25lach[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Jambu
[?25l

JambuRambutanBananaTangerineMango[?25hJa[?25l

-- VISUAL --[?25h[?25l:[?2004h'<,'>call SelectInCaps()
Jamb[?25h[?25l

-- INSERT ---RambutanBananaTangerineMango[?25h-[?25l

-- INSERT ---tanBananaTangerineMango[?25h-[?25ltanBanana

-- VISUAL --[?25h[?25l
--angerineMango[?25ha[?25lgo[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Operator-pending mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25honoremap W /\u/<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap <Leader>W :<C-U>call MoveToCap()<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Pineapple
[?25lPineappleQuinceLoganberryOrangeGrapefruitKiwiZ[?25h[?25l

/[?2004h\u/
-QuinceLoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---LoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---GrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---Z[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Juniper
[?25l

JuniperDurianZ[?25h[?25l

:[?2004hcall MoveToCap()
Whavcre
[?25h[?25l:[?2004hcall MoveToCap()
Qhevna[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Lemon
[?25l

LemonNectarineZ[?25h[?25l

:[?2004hcall SelectInCaps()
[?25h[?25lLemonLemonNectarineZ
Lemo[?25hn[?25l:[?2004hcall SelectInCaps()
NewNectarineZ[?25hwNecta[?25l

:[?2004hcall SelectInCaps()
wZ[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Patch 7.3.879: Properly abort Operator-pending mode for "dv:<Esc>" etc.
[?25l[?25h[?25l/[?2004h[?25h^zzzz
[?25lzzzz[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25lE21: Cannot make changes, 'modifiable' is off[?25h[?25l:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'ok' : 'failed'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'failed' : 'ok'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: replace last line'
[?25l

characterwise visual mode: replace last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25hlet @" = 'x'
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l

-- VISUAL --[?25h[?25la[?25h[?25lx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h$put ='v:errmsg='.v:errmsg
[?25l

v:errmsg=[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle line'
[?25l

characterwise visual mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle two line'
[?25l

characterwise visual mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise visual mode: delete last line'
[?25l

characterwise visual mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete last two line'
[?25l

characterwise visual mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- VISUAL --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Select mode maps
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>End> <End>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Down> <Down>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Del> <Del>
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle line'
[?25l

characterwise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle two line'
[?25l

characterwise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise select mode: delete last line'
[?25l

characterwise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- SELECT --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete last two line'
[?25l

characterwise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- SELECT --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle line'
[?25l

linewise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25lbc

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle two line'
[?25l

linewise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25la

b 
[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='linewise select mode: delete last line'
[?25l

linewise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lc 

-- SELECT LINE --[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete last two line'
[?25l

linewise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lb 



-- SELECT LINE --[?25h[?25lb

c 
[?25h[?25l~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='v_p: replace last character with line register at middle line'
[?25l

v_p: replace last character with line register at middle line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25laaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25lccc

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at middle line selecting


newline'
[?25llinewise select mode: delete middle two line

c---linewise select mode: delete last line

ab

---linewise select mode: delete last two line

a---v_p: replace last character with line register at middle line

aaabbaaaccc

---v_p: replace last character with line register at middle line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25lb[?25h[?25laaa[?25h[?25l

ccc
[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line'
[?25l

v_p: replace last character with line register at last line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line selecting n


ewline'
[?25laaa

bbaaaccc

---v_p: replace last character with line register at middle line selecting newline

aaabbaaa

ccc

---v_p: replace last character with line register at last line

aaabbb

ccaaa---v_p: replace last character with line register at last line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode after operation'
[?25l

gv in exclusive select mode after operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25h$put ='äà '
[?25l

äÃ[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l



-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h

[?25l

-- VISUAL --[?25h[?25läÃ[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode without operation'
[?25l

gv in exclusive select mode without operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l

-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h/^start:/+2,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 123L, 1328C written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test94 = test61; then \
#	  if diff test.out test94.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test94.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test95.failed test.ok test.out X* viminfo
cp test95.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test95.in" 141 lines, 5827 charactersTest for regexp patterns with multi-byte support, using utf-8.

See test64 for the non-multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:so mbyte.vim

:set nocp encoding=utf-8 viminfo+=nviminfo nomore

:" tl is a List of Lists with:

:"    2: test auto/old/new  0: test auto/old  1: test auto/new

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:

:"""" Multi-byte character tests. These will fail unless vim is compiled

:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns with multi-byte support, using utf-8.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 131 lines, 5590 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h

[?25l





:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp encoding=utf-8 viminfo+=nviminfo nomore
[?25l:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h[?25l





:[?2004h[>c" tl is a List of Lists with:
[?25h[?25l:[?2004h[?25h"    2: test auto/old/new  0: test auto/old  1: test auto/new
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Multi-byte character tests. These will fail unless vim is compiled
[?25l[?25h[?25l:[?2004h[?25h"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[=a=]]\+', 'ddaãâbcd', 'aãâ'])^I^I^I^I^I^I^I^I" equivalence


classes
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oij


asoifjos'])
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna']


)[?25l:endif[?25h[?25l





:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" this is not a normal "i" but 0xec
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p\+', 'ìa', 'ìa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aあ', 'aあ'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of some character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\f\+', '&*<9f>fname ', 'fname'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test composing character matching
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.ม', 'xมม่x yมy', 'yม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.มม่', 'xมม่x yมy', 'xมม่'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ca", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a\u0300", "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test \Z
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ú\Z', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְ\Z', 'ווְייַ', 'ייַ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" check that 'ambiwidth' does not change the meaning of \p
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=1 ambiwidth=single
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=1 ambiwidth=double
[?25lOK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi double: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=single
[?25lOK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=double
[?25lOK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0

eng 2 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi double: 0[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New] 140L, 2022C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test95 = test61; then \
#	  if diff test.out test95.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test95.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test99.failed test.ok test.out X* viminfo
cp test99.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test99.in" 69 lines, 1400 charactersTests for regexp with multi-byte encoding and various magic settings.

Test matchstr() with a count and multi-byte chars.

See test44 for exactly the same test with re=1.



STARTTEST

:so mbyte.vim

:set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

:set re=2

/^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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 43 lines, 931 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
[?25l:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


/[?2004h[?25h\%U12345678
[?25l


/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l"test.out" 23L, 264C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test99 = test61; then \
#	  if diff test.out test99.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test99.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test108.failed test.ok test.out X* viminfo
cp test108.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test108.in" 88 lines, 1329 charactersTests for backtrace debug commands.     vim: set ft=vim :



STARTTEST

:so small.vim

:lang mess C

:function! Foo()

:   let var1 = 1

:   let var2 = Bar(var1) + 9

:   return var2

:endfunction

:

:function! Bar(var)

:    let var1 = 2 + a:var

:    let var2 = Bazz(var1) + 4

:    return var2

:endfunction

:

:function! Bazz(var)

:    let var1 = 3 + a:var

:    let var3 = "another var"

:    return var1

:endfunction

:new[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 backtrace debug commands.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 83 lines, 1251 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTup

b

echo "fil is not frame or finish, it is file"

fil

echo "\n- relative backtrace movement\n"

fr -1

frame

fra +1

fram

echo "\n- go beyond limits does not crash\n"

fr 100

fra

frame -40

fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hlang mess C
[?25l[?25h[?25l:[?2004h[?25hfunction! Foo()
[?25l

:[?2004h  [?25h:   let var1 = 1


[?25l:[?2004h  [?25h:   let var2 = Bar(var1) + 9


[?25l:[?2004h  [?25h:   return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bar(var)
[?25l

:[?2004h  [?25h:    let var1 = 2 + a:var


[?25l:[?2004h  [?25h:    let var2 = Bazz(var1) + 4


[?25l:[?2004h  [?25h:    return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bazz(var)
[?25l

:[?2004h  [?25h:    let var1 = 3 + a:var


[?25l:[?2004h  [?25h:    let var3 = "another var"


[?25l:[?2004h  [?25h:    return var1


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       echo "\n- final result 19:"

cont:0debuggreedy

:redir END$put =out

:w! test.out

:qa!ENDTESTtest108.in                                                                      [?25h[?25l:[?2004h[?25hdebuggreedy
[?25l[?25h[?25l:[?2004h[?25hredir => out
[?25l[?25h[?25l:[?2004h[?25hdebug echo Foo()
[?25l[?2004hEntering Debug mode.  Type "cont" to continue.


cmd: echo Foo()


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 1: let var1 = 1


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 2: let var2 = Bar(var1) + 9


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 1: let var1 = 2 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 2: let var2 = Bazz(var1) + 4


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 1: let var1 = 3 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "- show backtrace:\n"


[?25l- show backtrace:


>[?2004h[?25hbacktrace


[?25l  2 function Foo[2]


  1 Bar[2]


->0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "\nshow variables on different levels:\n"


[?25l

show variables on different levels:


>[?2004h[?25hecho var1


[?25l6

>[?2004h[?25hup


[?25l>[?2004h[?25hback


[?25l  2 function Foo[2]


->1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l3

>[?2004h[?25hu


[?25l>[?2004h[?25hbt


[?25l->2 function Foo[2]


  1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l1

>[?2004h[?25hecho "\n- undefined vars:\n"


[?25l

- undefined vars:


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: return var1


>[?2004h[?25hframe 2


[?25l>[?2004h[?25hecho "undefined var3 on former level:"


[?25lundefined var3 on former level:


>[?2004h[?25hecho var3


[?25lError detected while processing function Foo[2]..Bar[2]..Bazz:


line    3:


E121: Undefined variable: var3


E15: Invalid expression: var3


>[?2004h[?25hfr 0


[?25l>[?2004h[?25hecho "here var3 is defined with \"another var\":"


[?25lhere var3 is defined with "another var":


>[?2004h[?25hecho var3


[?25lanother var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: End of function


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: return var2


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: End of function


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nundefined var2 on former level"


[?25l

undefined var2 on former level


>[?2004h[?25hecho var2


[?25lError detected while processing function Foo[2]..Bar:


line    3:


E121: Undefined variable: var2


E15: Invalid expression: var2


>[?2004h[?25hdown


[?25l>[?2004h[?25hecho "here var2 is defined with 10:"


[?25lhere var2 is defined with 10:


>[?2004h[?25hecho var2


[?25l10


>[?2004h[?25hecho "\n- backtrace movements:\n"


[?25l

- backtrace movements:


>[?2004h[?25hb


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\nnext command cannot go down, we are on bottom\n"


[?25l

next command cannot go down, we are on bottom


>[?2004h[?25hdown


[?25lframe is zero


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nnext command cannot go up, we are on top\n"


[?25l

next command cannot go up, we are on top


>[?2004h[?25hup


[?25lframe at highest level: 1


>[?2004h[?25hb


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "fil is not frame or finish, it is file"


[?25lfil is not frame or finish, it is file


>[?2004h[?25hfil


[?25l"[No Name]" --No lines in buffer--


>[?2004h[?25hecho "\n- relative backtrace movement\n"


[?25l

- relative backtrace movement


>[?2004h[?25hfr -1


[?25l>[?2004h[?25hframe


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hfra +1


[?25l>[?2004h[?25hfram


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- go beyond limits does not crash\n"


[?25l

- go beyond limits does not crash


>[?2004h[?25hfr 100


[?25lframe at highest level: 1


>[?2004h[?25hfra


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hframe -40


[?25lframe is zero


>[?2004h[?25hfram


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- final result 19:"


[?25l

- final result 19:


>[?2004h[?25hcont


[?25l19


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h0debuggreedy
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST



test108.in                                                                      [?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25h$put =out
[?25l83 more lines->1 function Foo[2]

  0 Barline 3: End of functionframe is zero  1 function Foo[2]->0 Barline 3: End of function- final result 19:19[+][?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 84 lines, 1390 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test108 = test61; then \
#	  if diff test.out test108.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test108.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_autoformat_join.failed test.ok test.out X* viminfo
cp test_autoformat_join.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autoformat_join.in" 23 lines, 524 charactersTests for setting the '[,'] marks when joining lines.



STARTTEST

:so small.vim

:/^\t\t/

0gqj:

:let a=string(getpos("'[")).'/'.string(getpos("']"))

:/^This line/;'}-join

:let b=string(getpos("'[")).'/'.string(getpos("']"))

:$put ='First test: Start/End '.string(a)

:$put ='Second test: Start/End '.string(b)

:/^\t\t/,$wq! test.out

ENDTESTO sodales, ludite, vos qui

attamen consulite per voster honur. Tua pulchra facies me fay planszer milies



This line.

Should be joined with the next line

and with this line



Results:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 setting the '[,'] marks when joining lines.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 9 lines, 265 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^\t\t/
[?25l[?25h[?25lattamen consulite per voster honur.

Tua pulchra facies me fay planszer milies[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hlet a=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h/^This line/;'}-join
[?25lThis line.  Should be joined with the next line and with this line





~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet b=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h$put ='First test: Start/End '.string(a)
[?25lFirst test: Start/End '[0, 16, 1, 0]/[0, 17, 1, 0]'[?25h[?25l:[?2004h[?25h$put ='Second test: Start/End '.string(b)
[?25lSecond test: Start/End '[0, 19, 11, 0]/[0, 19, 67, 0]'[?25h[?25l:[?2004h[?25h/^\t\t/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 8 lines, 292 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_autoformat_join = test61; then \
#	  if diff test.out test_autoformat_join.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_autoformat_join.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_changelist.failed test.ok test.out X* viminfo
cp test_changelist.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_changelist.in" 22 lines, 288 charactersTest changelist position after splitting window

Set 'undolevels' to make changelist for sourced file



STARTTEST

:so small.vim

Gkylp:set ul=100

Gylp:set ul=100

gg

:vsplit

:try

:  normal g;

:  normal ggVGcpass^[

:catch

:  normal ggVGcfail^[

:finally

:  %w! test.out

:endtry

:qa!

ENDTEST



1

2

~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest changelist position after splitting window[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 14 lines, 163 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h



[?25l11[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l22[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l:[?2004h[?25hvsplit
[?25l|

 window                                 |

Set 'undolevels' to make changelist for |

sourced file|

             |

STARTTEST       |

:so small.vim  |

Gkylp:set ul=100|

Gylp:set ul=100|

gg  |

:vsplit     |

:try                  |

:  normal g;|pass|

:catch  |

:  normal ggVGcfail^[|

:finally|

:  %w! test.out|

:endtry|

:qa!|

ENDTEST|

  |

test_changelist.in [+]                   Test changelist position after splitting windowSet 'undolevels' to make changelist forsourced fileSTARTTEST:so small.vimGkylp:set ul=100Gylp:set ul=100gg:vsplit:try:  normal g;:  normal ggVGcpass^[:catch:  normal ggVGcfail^[:finally:  %w! test.out:endtry:qa!ENDTESTtest_changelist.in [+]                 [?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:  normal g;


[?25l:[?2004h  [?25h:  normal ggVGcpass
[?25l21 fewer lines[?2004l[?2004h

:[?2004h  


:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:  normal ggVGcfail


[?25l:[?2004h  


:[?2004h  [?25h:finally


[?25l:[?2004h  [?25h:  %w! test.out


[?25l"test.out" [New File] 1 line, 5 characters written


:[?2004h  [?25h:endtry
[?25lpass||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                           pass~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                         [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_changelist = test61; then \
#	  if diff test.out test_changelist.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_changelist.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_close_count.failed test.ok test.out X* viminfo
cp test_close_count.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_close_count.in" 154 lines, 2682 charactersTests for :[count]close! and :[count]hide     vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:let tests = []

:for i in range(5)

:new

:endfor

:4wincmd w

:close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:$close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[count]close! and :[count]hide     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 42 lines, 766 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call add(tests, buffers)

:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:for i in range(5)

:new

:endfor

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:4wincmd w

:.hide[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hclose!
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File]test.out]  [?25h[?25l:[?2004h[?25hcall append(0, map(copy(tests), 'join(v:val, " ")'))
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5[+][?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 7 lines, 39 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 5~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l"test_close_count.in" 154 lines, 2682 characters:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w:only!:b1ENDTESTSTARTTEST:let tests = []:for i in range(5):new:endfor:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers):4wincmd w:.hide:let buffers = [][?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 44 lines, 815 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:2wincmd w

:+hide

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:1wincmd w

:$ hide

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                       test_close_count.in                                                              [?25h[?25l:[?2004h[?25h.hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h3wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 7 lines, 39 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l13 12 11 10 9 113 12 11 9 112 11 9 112 11 9[+][?25h[?25l12 9

15 12 9

15 12[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 15 lines, 106 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 9

15 12~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:+hide:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5):new:endfor:1wincmd w:$ hide:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 94 of 154 --61%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 448 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:1wincmd w

:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:4wincmd w

^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h1wincmd w
[?25l[?25h[?25l:[?2004h[?25h$ hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$-1 close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h.+close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 15 lines, 106 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l[+][?25h[?25l15 12 915 120 19 18 17 16

20 19 18 16

20 18 16
[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 19 lines, 143 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5



13 12 11 10 9 1

13 12 11 9 1

12 11 9 1

12 11 9

12 9

15 12 9

15 12



20 19 18 17 16

20 19 18 16

20 18 16



~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new:endfor:4wincmd w

^Wc:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 122 of 154 --79%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 28 lines, 511 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST1^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

9^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w

2^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:only!

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l

[?25h[?25l



:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" line 19 of 19 --100%-- col 16 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 915 1220 19 18 17 1620 19 18 1620 18 16[?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l25 24 23 21 124 23 21 124 23 2124 21[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 23 lines, 183 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_close_count = test61; then \
#	  if diff test.out test_close_count.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_close_count.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_erasebackword.failed test.ok test.out X* viminfo
cp test_erasebackword.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_erasebackword.in" 20 lines, 444 charactersTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G







:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 erasing backword[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 379 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G

o wwwこんにちわ世界ワールドvim ^W^[

o wwwこんにちわ世界ワールドvim ^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^W^[

:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h



[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25lド[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?25l

:[?2004h[?25h/^test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 8 lines, 111 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_erasebackword = test61; then \
#	  if diff test.out test_erasebackword.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_erasebackword.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_eval.in" 247 lines, 6201 charactersTest for various eval features.   vim: set ft=vim :



Note: system clipboard is saved, changed and restored.



clipboard contents

something else



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:lang C

:fun AppendRegContents(reg)

  call AppendRegParts(a:reg, getregtype(a:reg), getreg(a:reg), string(getreg(a:rreg, 0, 1)), getreg(a:reg, 1), string(getreg(a:reg, 1, 1)))

:endfun

:fun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)

  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:reg, aa:type, a:cont, a:strcont, a:cont1, a:strcont1))

endfun

:command -nargs=? AR :call AppendRegContents(<q-args>)

:fun SetReg(...)

    call call('setreg', a:000)[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 233 lines, 6010 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun AppendRegContents(reg)
[?25l

:[?2004h  [?25h  call AppendRegParts(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:[?2004h  [?25h:endfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hfun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)
[?25l

:[?2004h  [?25h  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:re


g, a:type, a:cont, a:strcont, a:cont1, a:strcont1))


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hcommand -nargs=? AR :call AppendRegContents(<q-args>)
[?25l[?25h[?25l:[?2004h[?25hfun SetReg(...)
[?25l

:[?2004h  [?25h    call call('setreg', a:000)


[?25l:[?2004h  [?25h    call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))


[?25l:[?2004h  [?25h    call AppendRegContents(a:1)


[?25l:[?2004h  [?25h    if a:1 isnot# '='


[?25l:[?2004h    [?25h        execute "silent normal! Go==\n==\e\"".a:1."P"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun ErrExe(str)
[?25l

:[?2004h  [?25h    call append('$', 'Executing '.a:str)


[?25l:[?2004h  [?25h    try


[?25l:[?2004h    [?25h        execute a:str


[?25l:[?2004h    [?25h    catch


[?25l:[?2004h    [?25h        $put =v:exception


[?25l:[?2004h    [?25h    endtry


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h$put ='{{{1 let tests'


[?25l:[?2004h  [?25hlet @" = 'abc'


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\n"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\<C-m>"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @= = '"abc"'


[?25l:[?2004h  [?25hAR =


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Basic setreg tests'


[?25l:[?2004h  [?25hcall SetReg('a', 'abcA', 'c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcB', 'v')


[?25l:[?2004h  [?25hcall SetReg('c', 'abcC', 'l')


[?25l:[?2004h  [?25hcall SetReg('d', 'abcD', 'V')


[?25l:[?2004h  [?25hcall SetReg('e', 'abcE', 'b')


[?25l:[?2004h  [?25hcall SetReg('f', 'abcF', "\<C-v>")


[?25l:[?2004h  [?25hcall SetReg('g', 'abcG', 'b10')


[?25l:[?2004h  [?25hcall SetReg('h', 'abcH', "\<C-v>10")


[?25l:[?2004h  [?25hcall SetReg('I', 'abcI')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending single lines with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc', 'c')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAl', 'l')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc2','c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc', 'ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb', 'ba')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc2','ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb2','b50a')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCl', 'l')


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCc', 'c')


[?25l:[?2004h  [?25hcall SetReg('D', 'abcDb', 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEb', 'b')


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEl', 'l')


[?25l:[?2004h  [?25hcall SetReg('F', 'abcFc', 'c')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending NL with setreg()'


[?25l:[?2004h  [?25hcall setreg('a', 'abcA2', 'c')


[?25l:[?2004h  [?25hcall setreg('b', 'abcB2', 'v')


[?25l:[?2004h  [?25hcall setreg('c', 'abcC2', 'l')


[?25l:[?2004h  [?25hcall setreg('d', 'abcD2', 'V')


[?25l:[?2004h  [?25hcall setreg('e', 'abcE2', 'b')


[?25l:[?2004h  [?25hcall setreg('f', 'abcF2', "\<C-v>")


[?25l:[?2004h  [?25hcall setreg('g', 'abcG2', 'b10')


[?25l:[?2004h  [?25hcall setreg('h', 'abcH2', "\<C-v>10")


[?25l:[?2004h  [?25hcall setreg('I', 'abcI2')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', "\n")


[?25l:[?2004h  [?25hcall SetReg('B', "\n", 'c')


[?25l:[?2004h  [?25hcall SetReg('C', "\n")


[?25l:[?2004h  [?25hcall SetReg('D', "\n", 'l')


[?25l:[?2004h  [?25hcall SetReg('E', "\n")


[?25l:[?2004h  [?25hcall SetReg('F', "\n", 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA3'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3'], 'l')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC3'], 'b')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD3'])


[?25l:[?2004h  [?25hcall SetReg('e', [1, 2, 'abc', 3])


[?25l:[?2004h  [?25hcall SetReg('f', [1, 2, 3])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3l'], 'la')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3b'], 'lb')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD32'])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA32'])


[?25l:[?2004h  [?25hcall SetReg('B', ['abcB3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3l'], 'l')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD3b'], 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with NL with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ["\n", 'abcA3l2'], 'l')


[?25l:[?2004h  [?25hcall SetReg('B', ["\n", 'abcB3c2'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ["\n", 'abcC3b2'], 'b')


[?25l:[?2004h  [?25hcall SetReg('D', ["\n", 'abcD3b50'],'b50')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with NLs with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA4-0', "\n", "abcA4-2\n", "\nabcA4-3", "abcA4-4\nabcA4


-4-2"])


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB4c-0', "\n", "abcB4c-2\n", "\nabcB4c-3", "abcB4c-4\na


bcB4c-4-2"], 'c')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC4l-0', "\n", "abcC4l-2\n", "\nabcC4l-3", "abcC4l-4\na


bcC4l-4-2"], 'l')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD4b-0', "\n", "abcD4b-2\n", "\nabcD4b-3", "abcD4b-4\na


bcD4b-4-2"], 'b')


[?25l:[?2004h  [?25hcall SetReg('e', ['abcE4b10-0', "\n", "abcE4b10-2\n", "\nabcE4b10-3", "abcE4


b10-4\nabcE4b10-4-2"], 'b10')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Search and expressions'


[?25l:[?2004h  [?25hcall SetReg('/', ['abc/'])


[?25l:[?2004h  [?25hcall SetReg('/', ["abc/\n"])


[?25l:[?2004h  [?25hcall SetReg('=', ['"abc/"'])


[?25l:[?2004h  [?25hcall SetReg('=', ["\"abc/\n\""])


[?25l:[?2004h  [?25h$put ='{{{1 System clipboard'


[?25l:[?2004h  [?25hif has('clipboard')


[?25l:[?2004h    [?25h" Save and restore system clipboard.


[?25l:[?2004h    [?25h" If no connection to X-Server is possible, test should succeed.


[?25l:[?2004h    [?25hlet _clipreg = ['*', getreg('*'), getregtype('*')]


[?25l:[?2004h    [?25hlet _clipopt = &cb


[?25l:[?2004h    [?25hlet &cb='unnamed'


[?25l:[?2004h    [?25h5y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25htabdo :windo :echo "hi"


[?25l:[?2004h    [?25h6y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25hlet &cb=_clipopt


[?25l:[?2004h    [?25hcall call('setreg', _clipreg)


[?25l:[?2004h    [?25helse


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "clipboard contents\n", "['clipboard conte


nts']", "clipboard contents\n", "['clipboard contents']")


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "something else\n", "['something else']", 


"something else\n", "['something else']")


[?25l:[?2004h    [?25hendif


[?25l:[?2004h  [?25h$put ='{{{1 Errors'


[?25l:[?2004h  [?25hcall ErrExe('call setreg()')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, 3, 4)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg([], 2)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, {})')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, [])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("/", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("=", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, ["", "", [], ""])')


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test()
[?25l[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004hhi*: type V; value: something else^@ (['something else']), expr: something else^@  (['something else'])

{{{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
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hdelfunction SetReg
[?25l[?25h[?25l:[?2004h[?25hdelfunction AppendRegContents
[?25l[?25h[?25l:[?2004h[?25hdelfunction ErrExe
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hdelcommand AR
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name not starting with capital
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! g:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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)8: Too many arguments for function: setreg[], 2)730: using List as a String1, {}1Dictionary as a String2, [])0List as a String"/", ["1", "2"])883: search pattern and expression register may not contain two or moore linesExecuting 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

Vim(function):E128: Function name must start with a capital or "s:": g:test()

~                                                                               [?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name includes a colon
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! b:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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(function):E128: Function name must start with a capital or "s:": b:test()[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name folowed by #
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! test2() "#


[?25l:[?2004h  [?25h:echo "test2"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name starting with/without "g:", buffer-local funcref.
[?25l[?25h[?25l:[?2004h[?25hfunction! g:Foo(n)
[?25l

:[?2004h  [?25h:  $put ='called Foo(' . a:n . ')'


[?25l:[?2004h  [?25h:endfunction
[?25lExecuting call setreg()

Vim(call):E119: Not enough arguments for function: setreg[?25h[?25l

:[?2004h[?25hlet b:my_func = function('Foo')
[?25l[?25h[?25l:[?2004h[?25hcall b:my_func(1)
[?25l

called Foo(1)[?25h[?25l

:[?2004h[?25hecho g:Foo(2)
[?25l0

called Foo(2)[?25h[?25l

:[?2004h[?25hecho Foo(3)
[?25l0

called Foo(3)[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" script-local function used in Funcref must exist.
[?25l[?25h[?25l:[?2004h[?25hso test_eval_func.vim
[?25ls:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Using $ instead of '$' must give an error
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h: call append($, 'foobar')


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#

called Foo(123

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1func Bar exists: 1

Vim(call):E116: Invalid arguments for function append[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='{{{1 getcurpos/setpos'
[?25l

{{{1 getcurpos/setpos[?25h[?25l

/[?2004h[?25h^012345678
[?25lsearch hit BOTTOM, continuing at TOP:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:

{{{1 let tests

": type v; value: abc (['abc']), expr: abc (['abc'])

": type V; value: abc^@ (['abc']), expr: abc^@ (['abc'])

": type V; value: abc^M^@ (['abc^M']), expr: abc^M^@ (['abc^M'])

=: type v; value: abc (['abc']), expr: "abc" (['"abc"'])

{{{1 Basic setreg tests

{{{2 setreg('a', 'abcA', 'c')

a: type v; value: abcA (['abcA']), expr: abcA (['abcA'])

search hit BOTTOM, continuing at TOP[?25h012345[?25l:[?2004h[?25hlet sp = getcurpos()
[?25l[?25h
[?25l:[?2004h[?25hcall setpos('.', sp)
[?25l[?25h[?25l:[?2004h[?25h$put
[?25lExecuting 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 lines

Executing call setreg(1, ["", "", [], ""])

Vim(call):E730: using List as a String

Vim(function):E128: Function name must start with a capital or "s:": g:test()

Vim(function):E128: Function name must start with a capital or "s:": b:test()

Vim(function):E128: Function name must start with a capital or "s:": test2() "#

called Foo(1)

called Foo(2)

called Foo(3)

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1

Vim(call):E116: Invalid arguments for function append

{{{1 getcurpos/setpos

6[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" substring and variable name
[?25l[?25h[?25l:[?2004h[?25hlet str = 'abcdef'
[?25l[?25h[?25l:[?2004h[?25hlet n = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[n:]
[?25l

def[?25h[?25l

:[?2004h[?25h$put =str[:n]
[?25l

abcd[?25h[?25l

:[?2004h[?25h$put =str[n:n]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet n
[?25l[?25h[?25l:[?2004h[?25hlet nn = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[nn:]
[?25ldef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:nn]
[?25labcd[?25h[?25l:[?2004h[?25h$put =str[nn:nn]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet nn
[?25l[?25h[?25l:[?2004h[?25hlet b:nn = 4
[?25l[?25h[?25l:[?2004h[?25h$put =str[b:nn:]
[?25lef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:b:nn]
[?25labcde[?25h[?25l:[?2004h[?25h$put =str[b:nn:b:nn]
[?25l

e[?25h[?25l

:[?2004h[?25hunlet b:nn
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 362 lines, 11279 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_eval = test61; then \
#	  if diff test.out test_eval.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_eval.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_fixeol.failed test.ok test.out X* viminfo
cp test_fixeol.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fixeol.in" 40 lines, 780 charactersTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol

:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol

:w! XXTestNoEol

:bwipe XXEol XXNoEol XXTestEol XXTestNoEol

:set fixeol[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'fixeol'vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 698 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:"

:" Append "END" to each file so that we can see what the last written char was.

ggdGaEND^[:w >>XXEol

:w >>XXNoEol

:w >>XXTestEol

:w >>XXTestNoEol

:"

:" Concatenate the results

:e! test.out

a0^[:$r XXEol

:$r XXNoEol

Go1^[:$r XXTestEol

:$r XXTestNoEol

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25l[?25h[?25l:[?2004h[?25h" use Unix fileformat for consistency
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lwith eol[?25h[?25l:[?2004h[?25hw! XXEol
[?25l"XXEol" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25henew!
[?25l[?25h[?25l:[?2004h[?25hset noeol nofixeol
[?25l[?25h[?2004l[?2004h[?25lwithout eol[?25h[?25l:[?2004h[?25hw! XXNoEol
[?25l"XXNoEol" [New File][Incomplete last line] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hset eol fixeol
[?25l[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


2 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h" try editing files with 'fixeol' disabled
[?25l[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" 1 line, 9 characterswith eol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l

stays eol[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestEol
[?25l"XXTestEol" [New File] 2 lines, 19 characters written[?25h[?25l:[?2004h[?25he! XXNoEol
[?25l"XXNoEol" [Incomplete last line] 1 line, 11 charactersout eol

~                                                                               [?25h[?2004l[?2004h[?25l

stays without[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestNoEol
[?25l"XXTestNoEol" [New File][Incomplete last line] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol XXTestEol XXTestNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fixeol
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25lTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXEol
[?25l"XXEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXNoEol
[?25l"XXNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestEol
[?25l"XXTestEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestNoEol
[?25l"XXTestNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File][?25h[?2004l[?2004h[?25l0[?25h[?25l:[?2004h[?25h$r XXEol
[?25l"XXEol" 2 lines, 13 characterswith eolEND[?25h[?25l:[?2004h[?25h$r XXNoEol
[?25l"XXNoEol" 1 line, 15 characterswithout eolEND[?25h[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXTestEol
[?25l"XXTestEol" 3 lines, 23 characterswith eolstays eolEND[?25h[?25l:[?2004h[?25h$r XXTestNoEol
[?25l"XXTestNoEol" 2 lines, 29 characterswithout eolstays withoutEND[?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 10 lines, 84 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_fixeol = test61; then \
#	  if diff test.out test_fixeol.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_fixeol.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_insertcount.failed test.ok test.out X* viminfo
cp test_insertcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_insertcount.in" 14 lines, 204 charactersTests for repeating insert and replace.



STARTTEST

:so small.vim

:/Second

4gro

:/^First/,$wq! test.out

:" get here when failed and in Insert mode

^[:.wq! test.out

ENDTEST



First line

Second line

Last line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 repeating insert and replace.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 111 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/Second
[?25l[?25h[?2004l[?2004h[?25looooecond line
ooo[?25h

Las[?25l:[?2004h[?25h/^First/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 3 lines, 36 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_insertcount = test61; then \
#	  if diff test.out test_insertcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_insertcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_listchars.failed test.ok test.out X* viminfo
cp test_listchars.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.
gcc -c -I. -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_tcl.o if_tcl.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listchars.in" 54 lines, 705 charactersTests for 'listchars' display with 'list' and :list



STARTTEST

:so small.vim

:set ff=unix

:let g:lines = []

:function GetScreenCharsForLine(lnum)

:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val))')), '')

:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"

:set listchars+=tab:>-,space:.,trail:<

:set list

:

/^start:/

:normal! jzt

GG

GG

GG

GG

GGH:

:set listchars-=trail:<[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'listchars' display with 'list' and :list[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 25 lines, 431 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTGG

GG

GG

GG

GG:

:put =g:lines

:'[,']w! test.out

ENDTEST[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hlet g:lines = []
[?25l[?25h[?25l:[?2004h[?25hfunction GetScreenCharsForLine(lnum)
[?25l

:[?2004h  [?25h:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val


))'), '')


[?25l:[?2004h  [?25h:endfunction
[?25l:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"[?25h[?25l

:[?2004h[?25hnnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))


\<CR>"
[?25l:endfunction[?25h[?25l

:[?2004h[?25hset listchars+=tab:>-,space:.,trail:<
[?25l[?25h[?25l:[?2004h[?25hset list
[?25l$.<expr>.GG.":call..\\<CR>"$

:set.$

:set.list$

:$$.jzt$

GG$

GG$

GG$

GG$

GGH:$

:set.$

GG$

GG$

GG$

GG$

GG:$

:put.$.$$

$[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:$[?25h[?25l

:[?2004h[?25hnormal! jzt
[?25l>-------aa>-----$

..bb>---<<$

...cccc><$

dd........ee<<>-$

<$

$

$

STARTTEST$

:set.listchars+=trail:<$

:set.nolist$

:$

/^start:/$

:redir!.>>.test.out$

:+1,$list$

:redir.END$

:q!$

ENDTEST$

$

start:$

..fff>--<<$

>-------gg>-----$

.....h>-$

iii<<<<><<$[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset listchars-=trail:<
[?25l.....

.......>..[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hput =g:lines
[?25l10 more >-------aa>-----$$

..bb>---<<$$

...cccc><$$

dd........ee<<>-$$

<$$

>-------aa>-----$$

..bb>---..$$

...cccc>.$$

dd........ee..>-$$

.$$10 more lines[?25h[?25l:[?2004h[?25h'[,']w! test.out
[?25l"test.out" [New File] 10 lines, 124 characters written[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 93 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:+1,$list$

:redir.END$

:q!$

ENDTEST$[?25h[?25l

$[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset listchars+=trail:<
[?25l[?25h[?25l:[?2004h[?25hset nolist
[?25l   >>  [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:[?25h[?25l

:[?2004h[?25hredir! >> test.out
[?25l[?25h[?25l:[?2004h[?25h+1,$list
[?25l..fff>--<<$


>-------gg>-----$


.....h>-$


iii<<<<><<$


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l>-------aa>-----$

..bb>---..$

...cccc>.$

dd........ee..>-$

.$STARTTEST:set listchars+=trail:<

:set nolist

:

/^start:/

:redir! >> test.out+1,$listredir END

:q!ENDTESTstart:  fff

        ggh

iii   [?25h[?25l

:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_listchars = test61; then \
#	  if diff test.out test_listchars.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_listchars.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_search_mbyte.failed test.ok test.out X* viminfo
cp test_search_mbyte.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search_mbyte.in" 15 lines, 226 charactersTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 search('multi-byte char', 'bce')[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hsource small.vim
[?25l[?25h[?25l:[?2004h[?25hsource mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h/^Test bce:/+1
[?25l[?25h[?25l:[?2004h[?25h$put =search('A', 'bce', line('.'))
[?25l15[?25h[?25l:[?2004h[?25h1;/^Results:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 5 lines, 27 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_search_mbyte = test61; then \
#	  if diff test.out test_search_mbyte.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_search_mbyte.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_wordcount.failed test.ok test.out X* viminfo
cp test_wordcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_wordcount.in" 126 lines, 2815 charactersTest for wordcount() function



STARTTEST

:so small.vim

:so mbyte.vim

:set enc=utf8

:set selection=inclusive fileformat=unix fileformats=unix

:new

:fu DoRecordWin(...)

:wincmd k

:if exists("a:1")

:call cursor(a:1)

:endif

:let result=[]

:call add(result, g:test)

:call add(result, getline(1, '$'))

:call add(result, wordcount())

:wincmd j

:return result

:endfu

:fu PutInWindow(args)

:wincmd k

:%d _[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 wordcount() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 121 lines, 2753 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"


:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"

:call PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])

:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:
[?25h[?25l

:[?2004h[?25hset selection=inclusive fileformat=unix fileformats=unix
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])[2]=g:visual_statcall Log()"/^RESULT test/,$w! test.out

:qa!ENDTEST

RESULT test:

test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hfu DoRecordWin(...)
[?25l

:[?2004h  [?25h:^Iwincmd k


[?25l:[?2004h  [?25h:       if exists("a:1")


[?25l:[?2004h    [?25h:           call cursor(a:1)


[?25l:[?2004h    [?25h:       endif


[?25l:[?2004h  [?25h:       let result=[]


[?25l:[?2004h  [?25h:       call add(result, g:test)


[?25l:[?2004h  [?25h:       call add(result, getline(1, '$'))


[?25l:[?2004h  [?25h:       call add(result, wordcount())


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:       return result


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu PutInWindow(args)
[?25l

:[?2004h  [?25h:       wincmd k


[?25l:[?2004h  [?25h:       %d _


[?25l:[?2004h  [?25h:       call append(1, a:args)


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu Log()
[?25l

:[?2004h  [?25h:   $put ='----'


[?25l:[?2004h  [?25h:   $put =remove(g:log,0)


[?25l:[?2004h  [?25h:   $put =string(g:log)


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu! STL()
[?25l

:[?2004h  [?25h:    if mode() =~? 'V'


[?25l:[?2004h    [?25h:       let g:visual_stat=wordcount()


[?25l:[?2004h    [?25h:    endif


[?25l:[?2004h  [?25h:    return string(wordcount())


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet g:test="Test 1: empty window"
[?25l[?25h[?25l:[?2004h[?25hlet log=DoRecordWin()
[?25l[No Name]                                                                        test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 1: empty window

[[''], {'chars': 0, 'cursor_chars': 0, 'words': 0, 'cursor_words': 0, 'bytes': 00, 'cursor_bytes': 0}][+][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 2: some words, cursor at start"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25lone two three[+][?25h[?25l:[?2004h[?25hlet log=DoRecordWin([1,1,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 2: some words, cursor at start

[['', 'one two three'], {'chars': 15, 'cursor_chars': 1, 'words': 3, 'cursor_worrds': 0, 'bytes': 15, 'cursor_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 3: some words, cursor at end"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 3: some words, cursor at end

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 4: some words, cursor at end, ve=all"
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 4: some words, cursor at end, ve=all

[['', 'one two three'], {'chars': 15, 'cursor_chars': 15, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 15}][?25h[?25l





:[?2004h[?25hset ve=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 5: several lines with words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['one two three', 'one two three', 'one two three'])
[?25lone two threeone two three--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([4,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 5: several lines with words

[['', 'one two three', 'one two three', 'one two three'], {'chars': 43, 'cursor__chars': 42, 'words': 9, 'cursor_words': 9, 'bytes': 43, 'cursor_bytes': 42}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 6: one line with BOM set"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25l[No Name] [+]                                                                   test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset bomb
[?25l[?25h[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 2 lines, 18 characters writtenXtesta         [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 6: one line with BOM set

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 18, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25hwincmd k
[?25lXtest                                                                           test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset nobomb
[?25l[+][?25h[?25l:[?2004h[?25hw!
[?25l"Xtest" 2 lines, 15 characters written    [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 7: one line with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh'])
[?25lÄne M¤ne Müh[+]--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 7: one line with multibyte words

[['', 'Äne M¤ne Müh'], {'chars': 14, 'cursor_chars': 13, 'words': 3, 'cursor_worrds': 3, 'bytes': 17, 'cursor_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 8: several lines with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25lund raus bist dü!--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 8: several lines with multibyte words

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'cursor_chars': 31, 'wwords': 7, 'cursor_words': 7, 'bytes': 36, 'cursor_bytes': 35}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 9: visual mode, complete buffer"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 3985, 'words': 579, 'cursor_words': 560, 'bytes': 4153, 'cursor_bytes': 4007}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l 

Äne M¤ne Müh 

und raus bist dü! ds': 7, 'bytes': 36, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}[?25h[?25lÄne M¤ne Mühnd raus bist dü!3 lines yankedursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 9: visual mode, complete buffer

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 10: visual mode (empty)"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4170, 'words': 606, 'cursor_words': 587, 'bytes': 4342, 'cursor_bytes': 4196}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l[?25h[?25lursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 10: visual mode (empty)

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 1, 'visual_words': 0, 'visual_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 11: visual mode, single line"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4347, 'words': 632, 'cursor_words': 613, 'bytes': 4521, 'cursor_bytes': 4377}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h2
[?25l2,1,3}[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 1, 'visual_2}[?25h[?25lÄne M¤ne Mühds': 7, 'bytes': 36, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}[?25h[?25l
Äne M¤ne Mühursor_chars': 2, 'words': 7, 'cursor_words': 1, 'bytes': 36, 'cursor_bytes': 3}[?25hsor_chars': 15, 'words': 7, 'cursor_words': 4, 'bytes': 36, 'cursor_bytes': 18}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]s                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 11: visual mode, single line

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^RESULT test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 34 lines, 1905 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_wordcount = test61; then \
#	  if diff test.out test_wordcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_wordcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test11.in" 84 lines, 3366 charactersTests 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 48 lines, 2298 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" drop out when there is no gzip program
[?25l[?25h[?25l:[?2004h[?25hif !executable("gzip")
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l: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/[?25h[?25l:[?2004h[?25hlet $GZIP = ""
[?25l[?25h[?25l:[?2004h[?25hau FileChangedShell * echo "caught FileChangedShell"
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hau FileWritePre    *.gz   '[,']!gzip
[?25l[?25h[?25l:[?2004h[?25hau FileWritePost   *.gz   undo
[?25l[?25h[?25l:[?2004h[?25h/^start of testfile/,/^end of testfile/w! Xtestfile.gz
[?25l[?25h[?2004l[?2004h[?25l11 lines filtered

"Xtestfile.gz"gcc -c -I. -I/usr/include/ruby-2.3.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.3.0 -DRUBY_VERSION=23 -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_ruby.o if_ruby.c
 [New File][Incomplete last line] 1 line, 111 characters written


10 more lines; before #1  0 seconds ago


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileReadPost    *.gz   '[,']!gzip -d
[?25l: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 autocommandse" Edit test.out againset nobin ff&   " use the default fileformat for writing

:wqa!ENDTESTstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx45678910

end of testfile[?25h[?25l

:[?2004h[?25h$r Xtestfile.gz                " Read and decompress the testfile
[?25l"Xtestfile.gz" [Incomplete last line] 1 line, 111 characters
[?25h[?2004l[?2004h[?25lstart of test.c

/*

 * Here is a new .c file

 */

end of test.c

start of testfile[?25h[?25l

:[?2004h[?25h?startstart?,$w! test.out      " Write contents of this file
[?25l"test.out" [New File] 29 lines, 788 characters written[?25h[?25l:[?2004h[?25hau BufNewFile      *.c    read Xtest.c
[?25l[?25h[?25l:[?2004h[?25h/^start of test.c/+1,/^end of test.c/-1w! Xtest.c
[?25lsearch hit BOTTOM, continuing at TOP"Xtest.c" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25he! foo.c                       " Will load Xtest.c
[?25l"foo.c" [New File]

"Xtest.c" 3 lines, 32 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileAppendPre   *.out  '[,']s/new/NEW/
[?25l/*

 * Here is a new .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FileAppendPost  *.out  !cat Xtest.c >>test.out
[?25l[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 4 lines, 33 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?25hau! FileAppendPre
[?25l/*

 * Here is a NEW .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" setup autocommands to decompress before reading and re-compress afterwards
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   call rename(expand("<afile>"), expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   exe '!gzip ' . shellescape(expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile.gz                " Edit compressed file
[?25l:!gzip -d 'Xtestfile.gz'


[?25h[?2004l[?2004h[?25l"Xtestfile.gz""Xtestfile.gz" 11 lines, 357 characters:!gzip 'Xtestfile'


[?25h[?2004l[?2004h[?25lcaught FileChangedShell


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 11 lines, 357 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  call rename(expand("<afile>"), expand("<afile>") . "


.t")
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !sed s/e/E/ ' . shellescape(expand("<afi


le>")) . ".t >" . shellescape(expand("<afile>"))
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !rm ' . shellescape(expand("<afile>")) .


'.t'
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPost  *.out  '[,']s/x/X/g
[?25l[?25h[?25l:[?2004h[?25he! test.out                    " Edit the output file
[?25l"test.out" 50 lines, 1242 charactersstarstart 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[?25h[?25l:[?2004h[?25h23,$!cat
[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25l218 substitutions on 15 lines


28 lines filtered


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h23,$s/\r$//                 " remove CR for when sed adds them
[?25lE486: Pattern not found: \r$

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! FileReadPre    *.gz   exe 'silent !gzip -d ' . shellescape(expand("<afile>


"))
[?25lstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxE 5  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[?25h[?25l

:[?2004h[?25hau  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau! FileReadPost   *.gz   '[,']s/l/L/
[?25l[?25h[?25l:[?2004h[?25h$r Xtestfile.gz             " Read compressed file
[?25l[?25h[?2004l[?2004h[?25l"Xtestfile.gz" 11 lines, 357 characters


11 substitutions on 11 lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw                           " write it, after filtering
[?25l"test.out"61 lines, 1599 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau!             " remove all autocommands
[?25lE216: No such group or event: " remove all autocommands


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he               " Edit test.out again
[?25l"test.out"61 lines, 1599 charactersstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"test.out" 61 lines, 1599 characters[?25h[?25l:[?2004h[?25hset nobin ff&   " use the default fileformat for writing
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 61 lines, 1599 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test11 = test61; then \
#	  if diff test.out test11.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test11.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test52.failed test.ok test.out X* viminfo
cp test52.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test52.in" 65 lines, 1645 charactersTests for reading and writing files with conversion for Win32.



STARTTEST

:so mbyte.vim

:" make this a dummy test for non-Win32 systems

:if !has("win32") | e! test.ok | wq! test.out | endif

:"

:" write tests:

:" combine three values for 'encoding' with three values for 'fileencoding'

:" also write files for read tests

/^1

:set encoding=utf-8

:.w! ++enc=utf-8 test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=utf-8 Xutf8

/^2

:set encoding=cp1251

:.w ++enc=utf-8 >>test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=cp1251 Xcp1251

/^3[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 reading and writing files with conversion for Win32.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1333 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:e Xcp1251

:.w ++enc=cp1251 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp1251 >>test.out

:"

:" read three 'fileencoding's with cp866 'encoding'

:set encoding=cp866 fencs=utf-8,cp1251

:e Xutf8

:.w ++enc=cp866 >>test.out

:e Xcp1251

:.w ++enc=cp866 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp866 >>test.out

:"

:qa!

ENDTEST






[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" make this a dummy test for non-Win32 systems
[?25l[?25h[?25l:[?2004h[?25hif !has("win32") | e! test.ok | wq! test.out | endif
[?25l"test.ok" 18 lines, 1374 characters[?2004l


"test.out" [New File] 18 lines, 1374 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test52 = test61; then \
#	  if diff test.out test52.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test52.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test85.failed test.ok test.out X* viminfo
cp test85.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test85.in" 86 lines, 1885 charactersTest for Lua interface and luaeval() function



STARTTEST

:so small.vim

:set belloff=all

:so lua.vim

:set nocompatible viminfo+=nviminfo

:lua l = vim.list():add"item0":add"dictionary with list OK":add"item2"

:lua h = vim.dict(); h.list = l

:call garbagecollect()

/^1

:" change buffer contents

:lua curbuf = vim.buffer()

:lua curline = vim.eval"line('.')"

:lua curbuf[curline] = "1 changed line 1"

:" scalar test

:let tmp_string = luaeval('"string"')

:let tmp_1000 = luaeval('1000')

:if printf("%s%.0f", tmp_string, tmp_1000) == "string1000"

:let scalar_res = "OK"

:else

:let scalar_res = "FAILED"

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Lua interface and luaeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1792 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")

:lua d[4] = d[0]

:lua d[5] = d[1]

:lua d[6] = d[2]

:lua d[7] = d[3]

:lua d[3] = nil

:lua d[2] = nil

:lua d[1] = nil

:lua d[0] = nil

:lua d = nil

:$put =string(d)



:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso lua.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hua l = vim.list():add"item0":add"dictionary with list OK":add"item2"
[?25l[?25h[?25l:[?2004h[?25hlua h = vim.dict(); h.list = l
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect()
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l:[?2004h[?25h" change buffer contents
[?25l[?25h[?25l:[?2004h[?25hlua curbuf = vim.buffer()
[?25l[?25h[?25l:[?2004h[?25hlua curline = vim.eval"line('.')"
[?25l[?25h[?25l:[?2004h[?25hlua curbuf[curline] = "1 changed line 1"
[?25lchanged line 1
[?25h[?25l:[?2004h[?25h" scalar test
[?25l[?25h[?25l:[?2004h[?25hlet tmp_string = luaeval('"string"')
[?25l[?25h[?25l:[?2004h[?25hlet tmp_1000 = luaeval('1000')
[?25l[?25h[?25l:[?2004h[?25hif printf("%s%.0f", tmp_string, tmp_1000) == "string1000"
[?25l

:[?2004h  [?25h:let scalar_res = "OK"


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:let scalar_res = "FAILED"


[?25l:[?2004h  [?25h:endif
[?25l:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")[?25h[?25l





:[?2004h[?25hcall append(search("^1"), "scalar test " . scalar_res)
[?25lscalar test OK

2 line 2[?25h[?25l:[?2004h[?25h" dictionary containing a list
[?25l[?25h[?25l:[?2004h[?25hlet tmp = luaeval("h").list[1]
[?25l[?25h[?25l:[?2004h[?25h/^2/put =tmp
[?25l

dictionary with list OK[?25h[?25l

:[?2004h[?25h" circular list (at the same time test lists containing lists)
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = l
[?25l[?25h[?25l:[?2004h[?25hlet l2 = luaeval("h").list
[?25l[?25h[?25l:[?2004h[?25hif l2[2] == l2
[?25l

:[?2004h  [?25h:let res = "OK"


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:let res = "FAILED"


[?25l:[?2004h  [?25h:endif
[?25l:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")[?25h[?25l

:[?2004h[?25hcall setline(search("^3"), "circular test " . res)
[?25l

circular test OK[?25h[?25l

:[?2004h[?25hlet l = []
[?25l[?25h[?25l:[?2004h[?25hlua l = vim.eval("l")
[?25l[?25h[?25l:[?2004h[?25hlua l:add(123)
[?25l[?25h[?25l:[?2004h[?25hlua l:add("abc")
[?25l[?25h[?25l:[?2004h[?25hlua l:add(vim.eval("[1, 2, 3]"))
[?25l[?25h[?25l:[?2004h[?25hlua l:add(vim.eval("{'a':1, 'b':2, 'c':3}"))
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(123)
[?25l[?25h[?25l:[?2004h[?25hlua l:insert("abc")
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(vim.eval("[1, 2, 3]"))
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(vim.eval("{'a':1, 'b':2, 'c':3}"))
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = l[0]
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = l[1]
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = l[2]
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = l[3]
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = 123
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = "abc"
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = vim.eval("[1, 2, 3]")
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l = nil
[?25l[?25h[?25l:[?2004h[?25h$put =string(l)
[?25l

[123.0, 'abc', [1, 2, 3], {'a': 1, 'b': 2, 'c': 3}][?25h[?25l

:[?2004h[?25hlet d = {}
[?25l[?25h[?25l:[?2004h[?25hlua d = vim.eval("d")
[?25l[?25h[?25l:[?2004h[?25hlua d[0] = 123
[?25l[?25h[?25l:[?2004h[?25hlua d[1] = "abc"
[?25l[?25h[?25l:[?2004h[?25hlua d[2] = vim.eval("[1, 2, 3]")
[?25l[?25h[?25l:[?2004h[?25hlua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
[?25l[?25h[?25l:[?2004h[?25hlua d[4] = d[0]
[?25l[?25h[?25l:[?2004h[?25hlua d[5] = d[1]
[?25l[?25h[?25l:[?2004h[?25hlua d[6] = d[2]
[?25l[?25h[?25l:[?2004h[?25hlua d[7] = d[3]
[?25l[?25h[?25l:[?2004h[?25hlua d[3] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[2] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[1] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[0] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d = nil
[?25l[?25h[?25l:[?2004h[?25h$put =string(d)
[?25l

{'4': 123.0, '5': 'abc', '6': [1, 2, 3], '7': {'a': 1, 'b': 2, 'c': 3}}[?25h[?25l

:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 7L, 206C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test85 = test61; then \
#	  if diff test.out test85.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test85.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test86.failed test.ok test.out X* viminfo
cp test86.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.
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/netbeans.o netbeans.c
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test86.in" 1711 lines, 48481 charactersTests for various python features.     vim: set ft=vim :



NOTE: This will cause errors when run under valgrind.

This would require recompiling Python with:

  ./configure --without-pymalloc

See http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:if !has('python') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py import vim

:py cb = vim.current.buffer

:let l = []

:py l=vim.bindeval('l')

:py f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py l.extend([1, "as'd", [1, 2, f, {'a': 1}]])

:$put =string(l)

:$put =string(l[-1])[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1700 lines, 48188 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python') | e! test.ok | wq! test.out | endif
[?25l"test.ok" 1445 lines, 67439 characters[?2004l


"test.out" [New File] 1445 lines, 67439 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test86 = test61; then \
#	  if diff test.out test86.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test86.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test87.failed test.ok test.out X* viminfo
cp test87.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test87.in" 1720 lines, 50002 charactersTests for various python features.     vim: set ft=vim :



STARTTEST

:so small.vim

:set noswapfile

:if !has('python3') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py3 import vim

:py3 cb = vim.current.buffer

:let l = []

:py3 l=vim.bindeval('l')

:py3 f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]

:$put =string(l)

:$put =string(l[-1])

:try

:  $put =string(l[-4])

:catch

:  $put =v:exception[:13]

:endtry

:" List assignment[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1714 lines, 49918 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python3') | e! test.ok | wq! test.out | endif
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h:py3 import vim


[?25l:[?2004h  [?25h:py3 cb = vim.current.buffer


[?25l:[?2004h  [?25h:let l = []


[?25l:[?2004h  [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h  [?25h:py3 f=vim.bindeval('function("strlen")')


[?25l:[?2004h  [?25h:" Extending List directly with different types


[?25l:[?2004h  [?25h:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-4])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:13]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List assignment


[?25l:[?2004h  [?25h:py3 l[0]=0


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:py3 l[-2]=f


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Extending Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:fun d.f()


[?25l:[?2004h    [?25h:  return 1


[?25l:[?2004h    [?25h:endfun


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25hd=vim.bindeval('d')


[?25l:[?2004h    [?25hd['1']='asd'


[?25l:[?2004h    [?25hd.update()  # Must not do anything, including throwing errors


[?25l:[?2004h    [?25hd.update(b=[1, 2, f])


[?25l:[?2004h    [?25hd.update((('-1', {'a': 1}),))


[?25l:[?2004h    [?25hd.update({'0': -1})


[?25l:[?2004h    [?25hdk = d.keys()


[?25l:[?2004h    [?25hdv = d.values()


[?25l:[?2004h    [?25hdi = d.items()


[?25l:[?2004h    [?25hdk.sort(key=repr)


[?25l:[?2004h    [?25hdv.sort(key=repr)


[?25l:[?2004h    [?25hdi.sort(key=repr)


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:$put =py3eval('d[''f''](self={})')


[?25l:[?2004h    [?25h:$put =py3eval('repr(dk)')


[?25l:[?2004h    [?25h:$put =substitute(py3eval('repr(dv)'),'0x\x\+','','g')


[?25l:[?2004h    [?25h:$put =substitute(py3eval('repr(di)'),'0x\x\+','','g')


[?25l:[?2004h    [?25h:for [key, Val] in sort(items(d))


[?25l:[?2004h      [?25h:  $put =string(key) . ' : ' . string(Val)


[?25l:[?2004h      [?25h:  unlet key Val


[?25l:[?2004h      [?25h:endfor


[?25l:[?2004h    [?25h:py3 del dk


[?25l:[?2004h    [?25h:py3 del di


[?25l:[?2004h    [?25h:py3 del dv


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" removing items with del


[?25l:[?2004h    [?25h:py3 del l[2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:try


[?25l:[?2004h      [?25h:   py3 del l[:3]


[?25l:[?2004h      [?25h:   py3 del l[1:]


[?25l:[?2004h      [?25h:catch


[?25l:[?2004h      [?25h:   $put =v:exception


[?25l:[?2004h      [?25h:endtry


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:py3 del d['-1']


[?25l:[?2004h    [?25h:py3 del d['f']


[?25l:[?2004h    [?25h:$put =string(py3eval('d.get(''b'', 1)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''b'')'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.get(''b'', 1)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''1'', 2)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''1'', 2)'))


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.has_key(''0''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.has_key(''1''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(''0'' in d)')


[?25l:[?2004h    [?25h:$put =py3eval('repr(''1'' in d)')


[?25l:[?2004h    [?25h:$put =py3eval('repr(list(iter(d)))')


[?25l:[?2004h    [?25h:$put =string(d)


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.popitem())')


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.get(''0''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(list(iter(d)))')


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:" The following two ranges delete nothing as they match empty list:


[?25l:[?2004h    [?25h:py3 del l[2:1]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[2:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[2:3]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:4]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:5]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:6]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:" The following two ranges delete nothing as they match empty list:


[?25l:[?2004h    [?25h:py3 del l[-1:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[-2:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[-3:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-4:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-5:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-6:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[::2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[3:0:-2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:4:-2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Slice assignment to a list


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[0:0]=['a']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[1:2]=['b']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:4]=['c']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[4:4]=['d']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[-1:2]=['e']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[-10:2]=['f']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:-10]=['g']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = []


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[0:0]=['h']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:6:2] = [10, 20]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2:-2] = [10, 20]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2:1] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:2:1] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Locked variables


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:lockvar! l


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25hdef emsg(ei):


[?25l:[?2004h    [?25h    return ei[0].__name__ + ':' + repr(ei[1].args)


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25htry:


[?25l:[?2004h    [?25h    l[2]='i'


[?25l:[?2004h    [?25hexcept vim.error:


[?25l:[?2004h    [?25h    cb.append('l[2] threw vim.error: ' + emsg(sys.exc_info()))


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:unlockvar! l


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Function calls


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25himport sys


[?25l:[?2004h    [?25himport re


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25hpy33_type_error_pattern = re.compile('^__call__\(\) takes (\d+) positional


argument but (\d+) were given$')


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25hdef ee(expr, g=globals(), l=locals()):


[?25l:[?2004h    [?25h    cb = vim.current.buffer


[?25l:[?2004h    [?25h    try:


[?25l:[?2004h    [?25h        try:


[?25l:[?2004h    [?25h            exec(expr, g, l)


[?25l:[?2004h    [?25h        except Exception as e:


[?25l:[?2004h    [?25h            if sys.version_info >= (3, 3) and e.__class__ is AttributeErro


r and str(e).find('has no attribute')>=0 and not str(e).startswith("'vim."):


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((e.__class__, AttributeError(s


tr(e)[str(e).rfind(" '") + 2:-1]))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 3) and e.__class__ is ImportError


and str(e).find('No module named \'') >= 0:


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((e.__class__, ImportError(str(


e).replace("'", '')))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 6) and e.__class__ is ModuleNotFo


undError:


[?25l:[?2004h    [?25h                # Python 3.6 gives ModuleNotFoundError, change it to an Im


portError


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((ImportError, ImportError(str(


e).replace("'", '')))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 3) and e.__class__ is TypeError:


[?25l:[?2004h    [?25h                m = py33_type_error_pattern.search(str(e))


[?25l:[?2004h    [?25h                if m:


[?25l:[?2004h    [?25h                    msg = '__call__() takes exactly {0} positional argumen


t ({1} given)'.format(m.group(1), m.group(2))


[?25l:[?2004h    [?25h                    cb.append(expr + ':' + repr((e.__class__, TypeError(ms


g))))


[?25l:[?2004h    [?25h                else:


[?25l:[?2004h    [?25h                    msg = repr((e.__class__, e))


[?25l:[?2004h    [?25h                    # Messages changed with Python 3.6, change new to old.


[?25l:[?2004h    [?25h                    newmsg1 = """'argument must be str, bytes or bytearray


, not None'"""


[?25l:[?2004h    [?25h                    oldmsg1 = '''"Can't convert 'NoneType' object to str i


mplicitly"'''


[?25l:[?2004h    [?25h                    if msg.find(newmsg1) > -1:


[?25l:[?2004h    [?25h                        msg = msg.replace(newmsg1, oldmsg1)


[?25l:[?2004h    [?25h                    newmsg2 = """'argument must be str, bytes or bytearray


, not int'"""


[?25l:[?2004h    [?25h                    oldmsg2 = '''"Can't convert 'int' object to str implic


itly"'''


[?25l:[?2004h    [?25h                    if msg.find(newmsg2) > -1:


[?25l:[?2004h    [?25h                        msg = msg.replace(newmsg2, oldmsg2)


[?25l:[?2004h    [?25h                    cb.append(expr + ':' + msg)


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 5) and e.__class__ is ValueError 


and str(e) == 'embedded null byte':


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((TypeError, TypeError('expecte


d bytes with no null'))))


[?25l:[?2004h    [?25h            else:


[?25l:[?2004h    [?25h                msg = repr((e.__class__, e))


[?25l:[?2004h    [?25h                # Some Python versions say can't, others cannot.


[?25l:[?2004h    [?25h                if msg.find('can\'t') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace('can\'t', 'cannot')


[?25l:[?2004h    [?25h                # Some Python versions use single quote, some double quote


[?25l:[?2004h    [?25h                if msg.find('"cannot ') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace('"cannot ', '\'cannot ')


[?25l:[?2004h    [?25h                if msg.find(' attributes"') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace(' attributes"', ' attributes\'')


[?25l:[?2004h    [?25h                cb.append(expr + ':' + msg)


[?25l:[?2004h    [?25h        else:


[?25l:[?2004h    [?25h            cb.append(expr + ':NOT FAILED')


[?25l:[?2004h    [?25h    except Exception as e:


[?25l:[?2004h    [?25h        cb.append(expr + '::' + repr((e.__class__, e)))


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:fun New(...)


[?25l:[?2004h      [?25h:   return ['NewStart']+a:000+['NewEnd']


[?25l:[?2004h      [?25h:endfun


[?25l:[?2004h      [?25h:fun DictNew(...) dict


[?25l:[?2004h[?25h:   return ['DictNewStart']+a:000+['DictNewEnd', self]


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:let l=[function('New'), function('DictNew')]


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25h:py3 l.extend(list(l[0](1, 2, 3)))


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 l.extend(list(l[1](1, 2, 3, self={'a': 'b'})))


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 l+=[l[0].name]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 ee('l[1](1, 2, 3)')


[?25l:[?2004h[?25h:py3 f=l[0]


[?25l:[?2004h[?25h:delfunction New


[?25l:[?2004h[?25h:py3 ee('f(1, 2, 3)')


[?25l:[?2004h[?25h:if has('float')


[?25l:[?2004h[?25h:   let l=[0.0]


[?25l:[?2004h[?25h:   py3 l=vim.bindeval('l')


[?25l:[?2004h[?25h:   py3 l.extend([0.0])


[?25l:[?2004h[?25h:   $put =string(l)


[?25l:[?2004h[?25h:else


[?25l:[?2004h[?25h:   $put ='[0.0, 0.0]'


[?25l:[?2004h[?25h:endif


[?25l:[?2004h[?25h:let messages=[]


[?25l:[?2004h[?25h:delfunction DictNew


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport sys


[?25l:[?2004h[?25hd=vim.bindeval('{}')


[?25l:[?2004h[?25hm=vim.bindeval('messages')


[?25l:[?2004h[?25hdef em(expr, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(expr, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        if sys.version_info >= (3, 5) and e.__class__ is ValueError an


d str(e) == 'embedded null byte':


[?25l:[?2004h[?25h            m.extend([TypeError.__name__])


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            m.extend([e.__class__.__name__])


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hem('d["abc1"]')


[?25l:[?2004h[?25hem('d["abc1"]="\\0"')


[?25l:[?2004h[?25hem('d["abc1"]=vim')


[?25l:[?2004h[?25hem('d[""]=1')


[?25l:[?2004h[?25hem('d["a\\0b"]=1')


[?25l:[?2004h[?25hem('d[b"a\\0b"]=1')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hem('d.pop("abc1")')


[?25l:[?2004h[?25hem('d.popitem()')


[?25l:[?2004h[?25hdel em


[?25l:[?2004h[?25hdel m


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put =messages


[?25l:[?2004h[?25h:unlet messages


[?25l:[?2004h[?25h:" locked and scope attributes


[?25l:[?2004h[?25h:let d={} | let dl={} | lockvar dl


[?25l:[?2004h[?25h:for s in split("d dl v: g:")


[?25l:[?2004h[?25h:    let name=tr(s, ':', 's')


[?25l:[?2004h[?25h:    execute 'py3 '.name.'=vim.bindeval("'.s.'")'


[?25l:[?2004h[?25h:    let toput=s.' : '.join(map(['locked', 'scope'], 'v:val.":".py3e


val(name.".".v:val)'), ';')


[?25l:[?2004h[?25h:    $put =toput


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:silent! let d.abc2=1


[?25l:[?2004h[?25h:silent! let dl.abc3=1


[?25l:[?2004h[?25h:py3 d.locked=True


[?25l:[?2004h[?25h:py3 dl.locked=False


[?25l:[?2004h[?25h:silent! let d.def=1


[?25l:[?2004h[?25h:silent! let dl.def=1


[?25l:[?2004h[?25h:put ='d:'.string(d)


[?25l:[?2004h[?25h:put ='dl:'.string(dl)


[?25l:[?2004h[?25h:unlet d dl


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:let l=[] | let ll=[] | lockvar ll


[?25l:[?2004h[?25h:for s in split("l ll")


[?25l:[?2004h[?25h:    let name=tr(s, ':', 's')


[?25l:[?2004h[?25h:    execute 'py3 '.name.'=vim.bindeval("'.s.'")'


[?25l:[?2004h[?25h:    let toput=s.' : locked:'.py3eval(name.'.locked')


[?25l:[?2004h[?25h:    $put =toput


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:silent! call extend(l, [0])


[?25l:[?2004h[?25h:silent! call extend(ll, [0])


[?25l:[?2004h[?25h:py3 l.locked=True


[?25l:[?2004h[?25h:py3 ll.locked=False


[?25l:[?2004h[?25h:silent! call extend(l, [1])


[?25l:[?2004h[?25h:silent! call extend(ll, [1])


[?25l:[?2004h[?25h:put ='l:'.string(l)


[?25l:[?2004h[?25h:put ='ll:'.string(ll)


[?25l:[?2004h[?25h:unlet l ll


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" py3eval()


[?25l:[?2004h[?25h:let l=py3eval('[0, 1, 2]')


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let d=py3eval('{"a": "b", "c": 1, "d": ["e"]}')


[?25l:[?2004h[?25h:$put =sort(items(d))


[?25l:[?2004h[?25h:let v:errmsg = ''


[?25l:[?2004h[?25h:$put ='py3eval(\"None\") = ' . py3eval('None') . v:errmsg


[?25l:[?2004h[?25h:if has('float')


[?25l:[?2004h[?25h:   let f=py3eval('0.0')


[?25l:[?2004h[?25h:   $put =string(f)


[?25l:[?2004h[?25h:else


[?25l:[?2004h[?25h:   $put ='0.0'


[?25l:[?2004h[?25h:endif


[?25l:[?2004h[?25h:" Invalid values:


[?25l:[?2004h[?25h:for e in ['"\0"', '{"\0": 1}', 'undefined_name', 'vim']


[?25l:[?2004h[?25h:   try


[?25l:[?2004h[?25h:      let v=py3eval(e)


[?25l:[?2004h[?25h:   catch


[?25l:[?2004h[?25h:      let toput=e.":\t".v:exception[:13]


[?25l:[?2004h[?25h:      $put =toput


[?25l:[?2004h[?25h:   endtry


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" threading


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport threading


[?25l:[?2004h[?25himport time


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass T(threading.Thread):


[?25l:[?2004h[?25h    def __init__(self):


[?25l:[?2004h[?25h        threading.Thread.__init__(self)


[?25l:[?2004h[?25h        self.t = 0


[?25l:[?2004h[?25h        self.running = True


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def run(self):


[?25l:[?2004h[?25h        while self.running:


[?25l:[?2004h[?25h            self.t += 1


[?25l:[?2004h[?25h            time.sleep(0.1)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25ht = T()


[?25l:[?2004h[?25hdel T


[?25l:[?2004h[?25ht.start()


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:sleep 1


[?25l:[?2004h[?25h:py3 t.running = False


[?25l:[?2004h[?25h:py3 t.join()


[?25l:[?2004h[?25h:" Check if the background thread is working.  Count should be 10, but


on a


[?25l:[?2004h[?25h:" busy system (AppVeyor) it can be much lower.


[?25l:[?2004h[?25h:py3 l[0] = t.t > 4


[?25l:[?2004h[?25h:py3 del time


[?25l:[?2004h[?25h:py3 del threading


[?25l:[?2004h[?25h:py3 del t


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" settrace


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport sys


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef traceit(frame, event, arg):


[?25l:[?2004h[?25h    global l


[?25l:[?2004h[?25h    if event == "line":


[?25l:[?2004h[?25h        l += [frame.f_lineno]


[?25l:[?2004h[?25h    return traceit


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef trace_main():


[?25l:[?2004h[?25h    for i in range(5):


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:py3 sys.settrace(traceit)


[?25l:[?2004h[?25h:py3 trace_main()


[?25l:[?2004h[?25h:py3 sys.settrace(None)


[?25l:[?2004h[?25h:py3 del traceit


[?25l:[?2004h[?25h:py3 del trace_main


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Slice


[?25l:[?2004h[?25h:py3 ll = vim.bindeval('[0, 1, 2, 3, 4, 5]')


[?25l:[?2004h[?25h:py3 l = ll[:4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[2:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[:-4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-2:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[2:4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-4:-2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-2:-4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[0:6]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-10:10]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2:-1]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[::2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2:1]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 del l


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Vars


[?25l:[?2004h[?25h:let g:foo = 'bac'


[?25l:[?2004h[?25h:let w:abc3 = 'def'


[?25l:[?2004h[?25h:let b:baz = 'bar'


[?25l:[?2004h[?25h:let t:bar = 'jkl'


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  throw "Abc"


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  put =py3eval('vim.vvars[''exception'']')


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:put =py3eval('vim.vars[''foo'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.window.vars[''abc3'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.buffer.vars[''baz'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.tabpage.vars[''bar'']')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Options


[?25l:[?2004h[?25h:" paste:          boolean, global


[?25l:[?2004h[?25h:" previewheight   number,  global


[?25l:[?2004h[?25h:" operatorfunc:   string,  global


[?25l:[?2004h[?25h:" number:         boolean, window-local


[?25l:[?2004h[?25h:" numberwidth:    number,  window-local


[?25l:[?2004h[?25h:" colorcolumn:    string,  window-local


[?25l:[?2004h[?25h:" statusline:     string,  window-local/global


[?25l:[?2004h[?25h:" autoindent:     boolean, buffer-local


[?25l:[?2004h[?25h:" shiftwidth:     number,  buffer-local


[?25l:[?2004h[?25h:" omnifunc:       string,  buffer-local


[?25l:[?2004h[?25h:" preserveindent: boolean, buffer-local/global


[?25l:[?2004h[?25h:" path:           string,  buffer-local/global


[?25l:[?2004h[?25h:let g:bufs=[bufnr('%')]


[?25l:[?2004h[?25h:new


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:wincmd j


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:wincmd l


[?25l:[?2004h[?25h:fun RecVars(opt)


[?25l:[?2004h[?25h:  let gval =string(eval('&g:'.a:opt))


[?25l:[?2004h[?25h:  let wvals=join(map(range(1, 4),  'v:val.":".string(getwinvar(v:va


l, "&".a:opt))'))


[?25l:[?2004h[?25h:  let bvals=join(map(copy(g:bufs), 'v:val.":".string(getbufvar(v:va


l, "&".a:opt))'))


[?25l:[?2004h[?25h:  put ='  G: '.gval


[?25l:[?2004h[?25h:  put ='  W: '.wvals


[?25l:[?2004h[?25h:  put ='  B: '.wvals


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef e(s, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(s, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        vim.command('return ' + repr(e.__class__.__name__))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef ev(s, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        return eval(s, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        vim.command('let exc=' + repr(e.__class__.__name__))


[?25l:[?2004h[?25h        return 0


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:fun E(s)


[?25l:[?2004h[?25h:   python3 e(vim.eval('a:s'))


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:fun Ev(s)


[?25l:[?2004h[?25h:   let r=py3eval('ev(vim.eval("a:s"))')


[?25l:[?2004h[?25h:   if exists('exc')


[?25l:[?2004h[?25h:       throw exc


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   return r


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:py3 gopts1=vim.options


[?25l:[?2004h[?25h:py3 wopts1=vim.windows[2].options


[?25l:[?2004h[?25h:py3 wopts2=vim.windows[0].options


[?25l:[?2004h[?25h:py3 wopts3=vim.windows[1].options


[?25l:[?2004h[?25h:py3 bopts1=vim.buffers[vim.bindeval("g:bufs")[2]].options


[?25l:[?2004h[?25h:py3 bopts2=vim.buffers[vim.bindeval("g:bufs")[1]].options


[?25l:[?2004h[?25h:py3 bopts3=vim.buffers[vim.bindeval("g:bufs")[0]].options


[?25l:[?2004h[?25h:$put ='wopts iters equal: '.py3eval('list(wopts1) == list(wopts


2)')


[?25l:[?2004h[?25h:$put ='bopts iters equal: '.py3eval('list(bopts1) == list(bopts


2)')


[?25l:[?2004h[?25h:py3 gset=set(iter(gopts1))


[?25l:[?2004h[?25h:py3 wset=set(iter(wopts1))


[?25l:[?2004h[?25h:py3 bset=set(iter(bopts1))


[?25l:[?2004h[?25h:set path=.,..,,


[?25l:[?2004h[?25h:let lst=[]


[?25l:[?2004h[?25h:let lst+=[['paste',          1,     0,     1,     2,      1,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['previewheight',  5,     1,     6,     'a',    0,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['operatorfunc',   'A',   'B',   'C',   2,      0,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['number',         0,     1,     1,     0,      1,   


0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['numberwidth',    2,     3,     5,     -100,   0,   


0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['colorcolumn',    '+1',  '+2',  '+3',  'abc4',  0,  


 0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['statusline',     '1',   '2',   '4',   0,      0,   


1,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['autoindent',     0,     1,     1,     2,      1,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['shiftwidth',     0,     2,     1,     3,      0,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['omnifunc',       'A',   'B',   'C',   1,      0,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['preserveindent', 0,     1,     1,     2,      1,   


1,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['path',           '.,,', ',,',  '.',   0,      0,   


1,      2    ]]


[?25l:[?2004h[?25h:for       [oname,            oval1, oval2, oval3, invval, bool,


global, local] in lst


[?25l:[?2004h[?25h:   py3 oname=vim.eval('oname')


[?25l:[?2004h[?25h:   py3 oval1=vim.bindeval('oval1')


[?25l:[?2004h[?25h:   py3 oval2=vim.bindeval('oval2')


[?25l:[?2004h[?25h:   py3 oval3=vim.bindeval('oval3')


[?25l:[?2004h[?25h:   if invval is 0 || invval is 1


[?25l:[?2004h[?25h:       py3 invval=bool(vim.bindeval('invval'))


[?25l:[?2004h[?25h:   else


[?25l:[?2004h[?25h:       py3 invval=vim.bindeval('invval')


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   if bool


[?25l:[?2004h[?25h:       py3 oval1=bool(oval1)


[?25l:[?2004h[?25h:       py3 oval2=bool(oval2)


[?25l:[?2004h[?25h:       py3 oval3=bool(oval3)


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   put ='>>> '.oname


[?25l:[?2004h[?25h:   $put ='  g/w/b:'.py3eval('oname in gset').'/'.py3eval('ona


me in wset').'/'.py3eval('oname in bset')


[?25l:[?2004h[?25h:   $put ='  g/w/b (in):'.py3eval('oname in gopts1').'/'.py3ev


al('oname in wopts1').'/'.py3eval('oname in bopts1')


[?25l:[?2004h[?25h:   for v in ['gopts1', 'wopts1', 'bopts1']


[?25l:[?2004h[?25h:       try


[?25l:[?2004h[?25h:           put ='  p/'.v.': '.Ev('repr('.v.'['''.oname.''


'])')


[?25l:[?2004h[?25h:       catch


[?25l:[?2004h[?25h:           put ='  p/'.v.'! '.v:exception


[?25l:[?2004h[?25h:       endtry


[?25l:[?2004h[?25h:       let r=E(v.'['''.oname.''']=invval')


[?25l:[?2004h[?25h:       if r isnot 0


[?25l:[?2004h[?25h:           put ='  inv: '.string(invval).'! '.r


[?25l:[?2004h[?25h:       endif


[?25l:[?2004h[?25h:       for vv in (v is# 'gopts1' ? [v] : [v, v[:-2].'2', v[


:-2].'3'])


[?25l:[?2004h[?25h:           let val=substitute(vv, '^.opts', 'oval', '')


[?25l:[?2004h[?25h:           let r=E(vv.'['''.oname.''']='.val)


[?25l:[?2004h[?25h:           if r isnot 0


[?25l:[?2004h[?25h:               put ='  '.vv.'! '.r


[?25l:[?2004h[?25h:           endif


[?25l:[?2004h[?25h:       endfor


[?25l:[?2004h[?25h:   endfor


[?25l:[?2004h[?25h:   call RecVars(oname)


[?25l:[?2004h[?25h:   for v in ['wopts3', 'bopts3']


[?25l:[?2004h[?25h:       let r=E('del '.v.'["'.oname.'"]')


[?25l:[?2004h[?25h:       if r isnot 0


[?25l:[?2004h[?25h:           put ='  del '.v.'! '.r


[?25l:[?2004h[?25h:       endif


[?25l:[?2004h[?25h:   endfor


[?25l:[?2004h[?25h:   call RecVars(oname)


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:delfunction RecVars


[?25l:[?2004h[?25h:delfunction E


[?25l:[?2004h[?25h:delfunction Ev


[?25l:[?2004h[?25h:py3 del ev


[?25l:[?2004h[?25h:py3 del e


[?25l:[?2004h[?25h:only


[?25l:[?2004h[?25h:for buf in g:bufs[1:]


[?25l:[?2004h[?25h:   execute 'bwipeout!' buf


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:py3 del gopts1


[?25l:[?2004h[?25h:py3 del wopts1


[?25l:[?2004h[?25h:py3 del wopts2


[?25l:[?2004h[?25h:py3 del wopts3


[?25l:[?2004h[?25h:py3 del bopts1


[?25l:[?2004h[?25h:py3 del bopts2


[?25l:[?2004h[?25h:py3 del bopts3


[?25l:[?2004h[?25h:py3 del oval1


[?25l:[?2004h[?25h:py3 del oval2


[?25l:[?2004h[?25h:py3 del oval3


[?25l:[?2004h[?25h:py3 del oname


[?25l:[?2004h[?25h:py3 del invval


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test buffer object


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:put ='First line'


[?25l:[?2004h[?25h:put ='Second line'


[?25l:[?2004h[?25h:put ='Third line'


[?25l:[?2004h[?25h:1 delete _


[?25l:[?2004h[?25h:py3 b=vim.current.buffer


[?25l:[?2004h[?25h:wincmd w


[?25l:[?2004h[?25h:mark a


[?25l:[?2004h[?25h:augroup BUFS


[?25l:[?2004h[?25h:   autocmd BufFilePost * python3 cb.append(vim.eval('expand("<a


buf>")') + ':BufFilePost:' + vim.eval('bufnr("%")'))


[?25l:[?2004h[?25h:   autocmd BufFilePre * python3 cb.append(vim.eval('expand("<ab


uf>")') + ':BufFilePre:' + vim.eval('bufnr("%")'))


[?25l:[?2004h[?25h:augroup END


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25h# Tests BufferAppend and BufferItem


[?25l:[?2004h[?25hcb.append(b[0])


[?25l:[?2004h[?25h# Tests BufferSlice and BufferAssSlice


[?25l:[?2004h[?25hcb.append('abc5') # Will be overwritten


[?25l:[?2004h[?25hcb[-1:] = b[:-2]


[?25l:[?2004h[?25h# Test BufferLength and BufferAssSlice


[?25l:[?2004h[?25hcb.append('def') # Will not be overwritten


[?25l:[?2004h[?25hcb[len(cb):] = b[:]


[?25l:[?2004h[?25h# Test BufferAssItem and BufferMark


[?25l:[?2004h[?25hcb.append('ghi') # Will be overwritten


[?25l:[?2004h[?25hcb[-1] = repr((len(cb) - cb.mark('a')[0], cb.mark('a')[1]))


[?25l:[?2004h[?25h# Test BufferRepr


[?25l:[?2004h[?25hcb.append(repr(cb) + repr(b))


[?25l:[?2004h[?25h# Modify foreign buffer


[?25l:[?2004h[?25hb.append('foo')


[?25l:[?2004h[?25hb[0]='bar'


[?25l:[?2004h[?25hb[0:0]=['baz']


[?25l:[?2004h[?25hvim.command('call append("$", getbufline(%i, 1, "$"))' % b.numbe


r)

[?25l:[?2004h[?25h# Test assigning to name property


[?25l:[?2004h[?25himport os


[?25l:[?2004h[?25hold_name = cb.name


[?25l:[?2004h[?25hcb.name = 'foo'


[?25l:[?2004h[?25hcb.append(cb.name[-11:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hb.name = 'bar'


[?25l:[?2004h[?25hcb.append(b.name[-11:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hcb.name = old_name


[?25l:[?2004h[?25hcb.append(cb.name[-17:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hdel old_name


[?25l:[?2004h[?25h# Test CheckBuffer


[?25l:[?2004h[?25hfor _b in vim.buffers:


[?25l:[?2004h[?25h    if _b is not cb:


[?25l:[?2004h[?25h        vim.command('bwipeout! ' + str(_b.number))


[?25l:[?2004h[?25hdel _b


[?25l:[?2004h[?25hcb.append('valid: b:%s, cb:%s' % (repr(b.valid), repr(cb.valid))


)

[?25l:[?2004h[?25hfor expr in ('b[1]','b[:] = ["A", "B"]','b[:]','b.append("abc6")


'):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(expr)


[?25l:[?2004h[?25h    except vim.error:


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        # Usually a SEGV here


[?25l:[?2004h[?25h        # Should not happen in any case


[?25l:[?2004h[?25h        cb.append('No exception for ' + expr)


[?25l:[?2004h[?25hvim.command('cd .')


[?25l:[?2004h[?25hdel b


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.buffers object


[?25l:[?2004h[?25h:set hidden


[?25l:[?2004h[?25h:edit a


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25h:edit b


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25h:edit c


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25h# Check GCing iterator that was not fully exhausted


[?25l:[?2004h[?25hi = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i:' + str(next(i)))


[?25l:[?2004h[?25h# and also check creating more than one iterator at a time


[?25l:[?2004h[?25hi2 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i2:' + str(next(i2)))


[?25l:[?2004h[?25hcb.append('i:' + str(next(i)))


[?25l:[?2004h[?25h# The following should trigger GC and not cause any problems


[?25l:[?2004h[?25hdel i


[?25l:[?2004h[?25hdel i2


[?25l:[?2004h[?25hi3 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i3:' + str(next(i3)))


[?25l:[?2004h[?25hdel i3


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hprevnum = 0


[?25l:[?2004h[?25hfor b in vim.buffers:


[?25l:[?2004h[?25h    # Check buffer order


[?25l:[?2004h[?25h    if prevnum >= b.number:


[?25l:[?2004h[?25h        cb.append('!!! Buffer numbers not in strictly ascending 


order')


[?25l:[?2004h[?25h    # Check indexing: vim.buffers[number].number == number


[?25l:[?2004h[?25h    cb.append(str(b.number) + ':' + repr(vim.buffers[b.number]) 


+ '=' + repr(b))


[?25l:[?2004h[?25h    prevnum = b.number


[?25l:[?2004h[?25hdel prevnum


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append(str(len(vim.buffers)))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hbnums = list(map(lambda b: b.number, vim.buffers))[1:]


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h# Test wiping out buffer with existing iterator


[?25l:[?2004h[?25hi4 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i4:' + str(next(i4)))


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(0)))


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    next(i4)


[?25l:[?2004h[?25hexcept vim.error:


[?25l:[?2004h[?25h    pass


[?25l:[?2004h[?25helse:


[?25l:[?2004h[?25h    cb.append('!!!! No vim.error')


[?25l:[?2004h[?25hi4 = iter(vim.buffers)


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(-1)))


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(-1)))


[?25l:[?2004h[?25hcb.append('i4:' + str(next(i4)))


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    next(i4)


[?25l:[?2004h[?25hexcept StopIteration:


[?25l:[?2004h[?25h    cb.append('StopIteration')


[?25l:[?2004h[?25hdel i4


[?25l:[?2004h[?25hdel bnums


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.{tabpage,window}list and vim.{tabpage,window} object


s

[?25l:[?2004h[?25h:tabnew 0


[?25l:[?2004h[?25h:tabnew 1


[?25l:[?2004h[?25h:vnew a.1


[?25l:[?2004h[?25h:tabnew 2


[?25l:[?2004h[?25h:vnew a.2


[?25l:[?2004h[?25h:vnew b.2


[?25l:[?2004h[?25h:vnew c.2


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hcb.append('Number of tabs: ' + str(len(vim.tabpages)))


[?25l:[?2004h[?25hcb.append('Current tab pages:')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef W(w):


[?25l:[?2004h[?25h    if '(unknown)' in repr(w):


[?25l:[?2004h[?25h        return '<window object (unknown)>'


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return repr(w)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef Cursor(w, start=len(cb)):


[?25l:[?2004h[?25h    if w.buffer is cb:


[?25l:[?2004h[?25h        return repr((start - w.cursor[0], w.cursor[1]))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return repr(w.cursor)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hfor t in vim.tabpages:


[?25l:[?2004h[?25h    cb.append('  ' + repr(t) + '(' + str(t.number) + ')' + ': ' 


+ str(len(t.windows)) + ' windows, current is ' + W(t.window))


[?25l:[?2004h[?25h    cb.append('  Windows:')


[?25l:[?2004h[?25h    for w in t.windows:


[?25l:[?2004h[?25h        cb.append('    ' + W(w) + '(' + str(w.number) + ')' + ':


displays buffer ' + repr(w.buffer) + '; cursor is at ' + Cursor(w))


[?25l:[?2004h[?25h        # Other values depend on the size of the terminal, so th


ey are checked partly:


[?25l:[?2004h[?25h        for attr in ('height', 'row', 'width', 'col'):


[?25l:[?2004h[?25h            try:


[?25l:[?2004h[?25h                aval = getattr(w, attr)


[?25l:[?2004h[?25h                if type(aval) is not int:


[?25l:[?2004h[?25h                    raise TypeError


[?25l:[?2004h[?25h                if aval < 0:


[?25l:[?2004h[?25h                    raise ValueError


[?25l:[?2004h[?25h            except Exception as e:


[?25l:[?2004h[?25h                cb.append('!!!!!! Error while getting attribute 


' + attr + ': ' + e.__class__.__name__)


[?25l:[?2004h[?25h        del aval


[?25l:[?2004h[?25h        del attr


[?25l:[?2004h[?25h        w.cursor = (len(w.buffer), 0)


[?25l:[?2004h[?25hdel W


[?25l:[?2004h[?25hdel Cursor


[?25l:[?2004h[?25hcb.append('Number of windows in current tab page: ' + str(len(vi


m.windows)))


[?25l:[?2004h[?25hif list(vim.windows) != list(vim.current.tabpage.windows):


[?25l:[?2004h[?25h    cb.append('!!!!!! Windows differ')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.current


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef H(o):


[?25l:[?2004h[?25h    return repr(o)


[?25l:[?2004h[?25hcb.append('Current tab page: ' + repr(vim.current.tabpage))


[?25l:[?2004h[?25hcb.append('Current window: ' + repr(vim.current.window) + ': ' +


H(vim.current.window) + ' is ' + H(vim.current.tabpage.window))


[?25l:[?2004h[?25hcb.append('Current buffer: ' + repr(vim.current.buffer) + ': ' +


H(vim.current.buffer) + ' is ' + H(vim.current.window.buffer)+ ' is ' + H(vim.c


urrent.tabpage.window.buffer))


[?25l:[?2004h[?25hdel H


[?25l:[?2004h[?25h# Assigning: fails


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    vim.current.window = vim.tabpages[0].window


[?25l:[?2004h[?25hexcept ValueError:


[?25l:[?2004h[?25h    cb.append('ValueError at assigning foreign tab window')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hfor attr in ('window', 'tabpage', 'buffer'):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        setattr(vim.current, attr, None)


[?25l:[?2004h[?25h    except TypeError:


[?25l:[?2004h[?25h        cb.append('Type error at assigning None to vim.current.'


+ attr)


[?25l:[?2004h[?25hdel attr


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h# Assigning: success


[?25l:[?2004h[?25hvim.current.tabpage = vim.tabpages[-2]


[?25l:[?2004h[?25hvim.current.buffer = cb


[?25l:[?2004h[?25hvim.current.window = vim.windows[0]


[?25l:[?2004h[?25hvim.current.window.cursor = (len(vim.current.buffer), 0)


[?25l:[?2004h[?25hcb.append('Current tab page: ' + repr(vim.current.tabpage))


[?25l:[?2004h[?25hcb.append('Current window: ' + repr(vim.current.window))


[?25l:[?2004h[?25hcb.append('Current buffer: ' + repr(vim.current.buffer))


[?25l:[?2004h[?25hcb.append('Current line: ' + repr(vim.current.line))


[?25l:[?2004h[?25hws = list(vim.windows)


[?25l:[?2004h[?25hts = list(vim.tabpages)


[?25l:[?2004h[?25hfor b in vim.buffers:


[?25l:[?2004h[?25h    if b is not cb:


[?25l:[?2004h[?25h        vim.command('bwipeout! ' + str(b.number))


[?25l:[?2004h[?25hdel b


[?25l:[?2004h[?25hcb.append('w.valid: ' + repr([w.valid for w in ws]))


[?25l:[?2004h[?25hcb.append('t.valid: ' + repr([t.valid for t in ts]))


[?25l:[?2004h[?25hdel w


[?25l:[?2004h[?25hdel t


[?25l:[?2004h[?25hdel ts


[?25l:[?2004h[?25hdel ws


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:tabonly!


[?25l:[?2004h[?25h:only!


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test types


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hfor expr, attr in (


[?25l:[?2004h[?25h    ('vim.vars',                         'Dictionary'),


[?25l:[?2004h[?25h    ('vim.options',                      'Options'),


[?25l:[?2004h[?25h    ('vim.bindeval("{}")',               'Dictionary'),


[?25l:[?2004h[?25h    ('vim.bindeval("[]")',               'List'),


[?25l:[?2004h[?25h    ('vim.bindeval("function(\'tr\')")', 'Function'),


[?25l:[?2004h[?25h    ('vim.current.buffer',               'Buffer'),


[?25l:[?2004h[?25h    ('vim.current.range',                'Range'),


[?25l:[?2004h[?25h    ('vim.current.window',               'Window'),


[?25l:[?2004h[?25h    ('vim.current.tabpage',              'TabPage'),


[?25l:[?2004h[?25h):


[?25l:[?2004h[?25h    cb.append(expr + ':' + attr + ':' + repr(type(eval(expr)) is


getattr(vim, attr)))


[?25l:[?2004h[?25hdel expr


[?25l:[?2004h[?25hdel attr


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test __dir__() method


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hfor name, o in (


[?25l:[?2004h[?25h        ('current',    vim.current),


[?25l:[?2004h[?25h        ('buffer',     vim.current.buffer),


[?25l:[?2004h[?25h        ('window',     vim.current.window),


[?25l:[?2004h[?25h        ('tabpage',    vim.current.tabpage),


[?25l:[?2004h[?25h        ('range',      vim.current.range),


[?25l:[?2004h[?25h        ('dictionary', vim.bindeval('{}')),


[?25l:[?2004h[?25h        ('list',       vim.bindeval('[]')),


[?25l:[?2004h[?25h        ('function',   vim.bindeval('function("tr")')),


[?25l:[?2004h[?25h        ('output',     sys.stdout),


[?25l:[?2004h[?25h    ):


[?25l:[?2004h[?25h    cb.append(name + ':' + ','.join(dir(o)))


[?25l:[?2004h[?25hdel name


[?25l:[?2004h[?25hdel o


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.*.__new__


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary({})'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary(a=1)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary(((''a'', 1),))'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.List()'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.List(iter(''abc7''))'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'')'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4])'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[])'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', self={})'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], se


lf={})'))


[?25l:[?2004h[?25h:$put ='auto_rebind'


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', auto_rebind=False)')


)

[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], au


to_rebind=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[], auto_rebind


=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', self={}, auto_rebind


=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], se


lf={}, auto_rebind=False)'))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.Function


[?25l:[?2004h[?25h:function Args(...)


[?25l:[?2004h[?25h:   return a:000


[?25l:[?2004h[?25h:endfunction


[?25l:[?2004h[?25h:function SelfArgs(...) dict


[?25l:[?2004h[?25h:   return [a:000, self]


[?25l:[?2004h[?25h:endfunction


[?25l:[?2004h[?25h:" The following four lines should not crash


[?25l:[?2004h[?25h:let Pt = function('tr', [[]], {'l': []})


[?25l:[?2004h[?25h:py3 Pt = vim.bindeval('Pt')


[?25l:[?2004h[?25h:unlet Pt


[?25l:[?2004h[?25h:py3 del Pt


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef ecall(out_prefix, func, *args, **kwargs):


[?25l:[?2004h[?25h    line = out_prefix + ': '


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        ret = func(*args, **kwargs)


[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        line += '!exception: ' + emsg(sys.exc_info())


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        line += '!result: ' + str(vim.Function('string')(ret


), 'utf-8')


[?25l:[?2004h[?25h    cb.append(line)


[?25l:[?2004h[?25ha = vim.Function('Args')


[?25l:[?2004h[?25hpa1 = vim.Function('Args', args=['abcArgsPA1'])


[?25l:[?2004h[?25hpa2 = vim.Function('Args', args=[])


[?25l:[?2004h[?25hpa3 = vim.Function('Args', args=['abcArgsPA3'], self={'abcSe


lfPA3': 'abcSelfPA3Val'})


[?25l:[?2004h[?25hpa4 = vim.Function('Args', self={'abcSelfPA4': 'abcSelfPA4Va


l'})


[?25l:[?2004h[?25hcb.append('a: ' + repr(a))


[?25l:[?2004h[?25hcb.append('pa1: ' + repr(pa1))


[?25l:[?2004h[?25hcb.append('pa2: ' + repr(pa2))


[?25l:[?2004h[?25hcb.append('pa3: ' + repr(pa3))


[?25l:[?2004h[?25hcb.append('pa4: ' + repr(pa4))


[?25l:[?2004h[?25hsa = vim.Function('SelfArgs')


[?25l:[?2004h[?25hpsa1 = vim.Function('SelfArgs', args=['abcArgsPSA1'])


[?25l:[?2004h[?25hpsa2 = vim.Function('SelfArgs', args=[])


[?25l:[?2004h[?25hpsa3 = vim.Function('SelfArgs', args=['abcArgsPSA3'], self={


'abcSelfPSA3': 'abcSelfPSA3Val'})


[?25l:[?2004h[?25hpsa4 = vim.Function('SelfArgs', self={'abcSelfPSA4': 'abcSel


fPSA4Val'})


[?25l:[?2004h[?25hpsa5 = vim.Function('SelfArgs', self={'abcSelfPSA5': 'abcSel


fPSA5Val'}, auto_rebind=0)


[?25l:[?2004h[?25hpsa6 = vim.Function('SelfArgs', args=['abcArgsPSA6'], self={


'abcSelfPSA6': 'abcSelfPSA6Val'}, auto_rebind=())


[?25l:[?2004h[?25hpsa7 = vim.Function('SelfArgs', args=['abcArgsPSA7'], auto_r


ebind=[])


[?25l:[?2004h[?25hpsa8 = vim.Function('SelfArgs', auto_rebind=False)


[?25l:[?2004h[?25hpsa9 = vim.Function('SelfArgs', self={'abcSelfPSA9': 'abcSel


fPSA9Val'}, auto_rebind=True)


[?25l:[?2004h[?25hpsaA = vim.Function('SelfArgs', args=['abcArgsPSAA'], self={


'abcSelfPSAA': 'abcSelfPSAAVal'}, auto_rebind=1)


[?25l:[?2004h[?25hpsaB = vim.Function('SelfArgs', args=['abcArgsPSAB'], auto_r


ebind={'abcARPSAB': 'abcARPSABVal'})


[?25l:[?2004h[?25hpsaC = vim.Function('SelfArgs', auto_rebind=['abcARPSAC'])


[?25l:[?2004h[?25hcb.append('sa: ' + repr(sa))


[?25l:[?2004h[?25hcb.append('psa1: ' + repr(psa1))


[?25l:[?2004h[?25hcb.append('psa2: ' + repr(psa2))


[?25l:[?2004h[?25hcb.append('psa3: ' + repr(psa3))


[?25l:[?2004h[?25hcb.append('psa4: ' + repr(psa4))


[?25l:[?2004h[?25hcb.append('psa5: ' + repr(psa5))


[?25l:[?2004h[?25hcb.append('psa6: ' + repr(psa6))


[?25l:[?2004h[?25hcb.append('psa7: ' + repr(psa7))


[?25l:[?2004h[?25hcb.append('psa8: ' + repr(psa8))


[?25l:[?2004h[?25hcb.append('psa9: ' + repr(psa9))


[?25l:[?2004h[?25hcb.append('psaA: ' + repr(psaA))


[?25l:[?2004h[?25hcb.append('psaB: ' + repr(psaB))


[?25l:[?2004h[?25hcb.append('psaC: ' + repr(psaC))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hpsar = vim.Function('SelfArgs', args=[{'abcArgsPSAr': 'abcAr


gsPSArVal'}], self={'abcSelfPSAr': 'abcSelfPSArVal'})


[?25l:[?2004h[?25hpsar.args[0]['abcArgsPSAr2'] = [psar.self, psar.args[0]]


[?25l:[?2004h[?25hpsar.self['rec'] = psar


[?25l:[?2004h[?25hpsar.self['self'] = psar.self


[?25l:[?2004h[?25hpsar.self['args'] = psar.args


[?25l:[?2004h[?25h


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    cb.append('psar: ' + repr(psar))


[?25l:[?2004h[?25hexcept Exception:


[?25l:[?2004h[?25h    cb.append('!!!!!!!! Caught exception: ' + emsg(sys.exc_i


nfo()))


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put ='s(a): '.string(py3eval('a'))


[?25l:[?2004h[?25h:$put ='s(pa1): '.string(py3eval('pa1'))


[?25l:[?2004h[?25h:$put ='s(pa2): '.string(py3eval('pa2'))


[?25l:[?2004h[?25h:$put ='s(pa3): '.string(py3eval('pa3'))


[?25l:[?2004h[?25h:$put ='s(pa4): '.string(py3eval('pa4'))


[?25l:[?2004h[?25h:$put ='s(sa): '.string(py3eval('sa'))


[?25l:[?2004h[?25h:$put ='s(psa1): '.string(py3eval('psa1'))


[?25l:[?2004h[?25h:$put ='s(psa2): '.string(py3eval('psa2'))


[?25l:[?2004h[?25h:$put ='s(psa3): '.string(py3eval('psa3'))


[?25l:[?2004h[?25h:$put ='s(psa4): '.string(py3eval('psa4'))


[?25l:[?2004h[?25h:$put ='s(psa5): '.string(py3eval('psa5'))


[?25l:[?2004h[?25h:$put ='s(psa6): '.string(py3eval('psa6'))


[?25l:[?2004h[?25h:$put ='s(psa7): '.string(py3eval('psa7'))


[?25l:[?2004h[?25h:$put ='s(psa8): '.string(py3eval('psa8'))


[?25l:[?2004h[?25h:$put ='s(psa9): '.string(py3eval('psa9'))


[?25l:[?2004h[?25h:$put ='s(psaA): '.string(py3eval('psaA'))


[?25l:[?2004h[?25h:$put ='s(psaB): '.string(py3eval('psaB'))


[?25l:[?2004h[?25h:$put ='s(psaC): '.string(py3eval('psaC'))


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:for v in ['sa', 'psa1', 'psa2', 'psa3', 'psa4', 'psa5', 'ps


a6', 'psa7', 'psa8', 'psa9', 'psaA', 'psaB', 'psaC']


[?25l:[?2004h[?25h:   let d = {'f': py3eval(v)}


[?25l:[?2004h[?25h:   $put ='d.'.v.'(): '.string(d.f())


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a()', a, )


[?25l:[?2004h[?25h:py3 ecall('pa1()', pa1, )


[?25l:[?2004h[?25h:py3 ecall('pa2()', pa2, )


[?25l:[?2004h[?25h:py3 ecall('pa3()', pa3, )


[?25l:[?2004h[?25h:py3 ecall('pa4()', pa4, )


[?25l:[?2004h[?25h:py3 ecall('sa()', sa, )


[?25l:[?2004h[?25h:py3 ecall('psa1()', psa1, )


[?25l:[?2004h[?25h:py3 ecall('psa2()', psa2, )


[?25l:[?2004h[?25h:py3 ecall('psa3()', psa3, )


[?25l:[?2004h[?25h:py3 ecall('psa4()', psa4, )


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(42, 43)', a, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa1(42, 43)', pa1, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa2(42, 43)', pa2, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa3(42, 43)', pa3, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa4(42, 43)', pa4, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('sa(42, 43)', sa, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa1(42, 43)', psa1, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa2(42, 43)', psa2, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa3(42, 43)', psa3, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa4(42, 43)', psa4, 42, 43)


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(42, self={"20": 1})', a, 42, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa1(42, self={"20": 1})', pa1, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa2(42, self={"20": 1})', pa2, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa3(42, self={"20": 1})', pa3, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa4(42, self={"20": 1})', pa4, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('sa(42, self={"20": 1})', sa, 42, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa1(42, self={"20": 1})', psa1, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa2(42, self={"20": 1})', psa2, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa3(42, self={"20": 1})', psa3, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa4(42, self={"20": 1})', psa4, 42, self={'20':


1})


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(self={"20": 1})', a, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa1(self={"20": 1})', pa1, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa2(self={"20": 1})', pa2, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa3(self={"20": 1})', pa3, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa4(self={"20": 1})', pa4, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('sa(self={"20": 1})', sa, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa1(self={"20": 1})', psa1, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa2(self={"20": 1})', psa2, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa3(self={"20": 1})', psa3, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa4(self={"20": 1})', psa4, self={'20': 1})


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef s(v):


[?25l:[?2004h[?25h    if v is None:


[?25l:[?2004h[?25h        return repr(v)


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return str(vim.Function('string')(v), 'utf-8')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.args: ' + s(a.args))


[?25l:[?2004h[?25hcb.append('pa1.args: ' + s(pa1.args))


[?25l:[?2004h[?25hcb.append('pa2.args: ' + s(pa2.args))


[?25l:[?2004h[?25hcb.append('pa3.args: ' + s(pa3.args))


[?25l:[?2004h[?25hcb.append('pa4.args: ' + s(pa4.args))


[?25l:[?2004h[?25hcb.append('sa.args: ' + s(sa.args))


[?25l:[?2004h[?25hcb.append('psa1.args: ' + s(psa1.args))


[?25l:[?2004h[?25hcb.append('psa2.args: ' + s(psa2.args))


[?25l:[?2004h[?25hcb.append('psa3.args: ' + s(psa3.args))


[?25l:[?2004h[?25hcb.append('psa4.args: ' + s(psa4.args))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.self: ' + s(a.self))


[?25l:[?2004h[?25hcb.append('pa1.self: ' + s(pa1.self))


[?25l:[?2004h[?25hcb.append('pa2.self: ' + s(pa2.self))


[?25l:[?2004h[?25hcb.append('pa3.self: ' + s(pa3.self))


[?25l:[?2004h[?25hcb.append('pa4.self: ' + s(pa4.self))


[?25l:[?2004h[?25hcb.append('sa.self: ' + s(sa.self))


[?25l:[?2004h[?25hcb.append('psa1.self: ' + s(psa1.self))


[?25l:[?2004h[?25hcb.append('psa2.self: ' + s(psa2.self))


[?25l:[?2004h[?25hcb.append('psa3.self: ' + s(psa3.self))


[?25l:[?2004h[?25hcb.append('psa4.self: ' + s(psa4.self))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.name: ' + s(a.name))


[?25l:[?2004h[?25hcb.append('pa1.name: ' + s(pa1.name))


[?25l:[?2004h[?25hcb.append('pa2.name: ' + s(pa2.name))


[?25l:[?2004h[?25hcb.append('pa3.name: ' + s(pa3.name))


[?25l:[?2004h[?25hcb.append('pa4.name: ' + s(pa4.name))


[?25l:[?2004h[?25hcb.append('sa.name: ' + s(sa.name))


[?25l:[?2004h[?25hcb.append('psa1.name: ' + s(psa1.name))


[?25l:[?2004h[?25hcb.append('psa2.name: ' + s(psa2.name))


[?25l:[?2004h[?25hcb.append('psa3.name: ' + s(psa3.name))


[?25l:[?2004h[?25hcb.append('psa4.name: ' + s(psa4.name))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.auto_rebind: ' + s(a.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa1.auto_rebind: ' + s(pa1.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa2.auto_rebind: ' + s(pa2.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa3.auto_rebind: ' + s(pa3.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa4.auto_rebind: ' + s(pa4.auto_rebind))


[?25l:[?2004h[?25hcb.append('sa.auto_rebind: ' + s(sa.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa1.auto_rebind: ' + s(psa1.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa2.auto_rebind: ' + s(psa2.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa3.auto_rebind: ' + s(psa3.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa4.auto_rebind: ' + s(psa4.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa5.auto_rebind: ' + s(psa5.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa6.auto_rebind: ' + s(psa6.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa7.auto_rebind: ' + s(psa7.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa8.auto_rebind: ' + s(psa8.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa9.auto_rebind: ' + s(psa9.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaA.auto_rebind: ' + s(psaA.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaB.auto_rebind: ' + s(psaB.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaC.auto_rebind: ' + s(psaC.auto_rebind))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel s


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel a


[?25l:[?2004h[?25hdel pa1


[?25l:[?2004h[?25hdel pa2


[?25l:[?2004h[?25hdel pa3


[?25l:[?2004h[?25hdel pa4


[?25l:[?2004h[?25hdel sa


[?25l:[?2004h[?25hdel psa1


[?25l:[?2004h[?25hdel psa2


[?25l:[?2004h[?25hdel psa3


[?25l:[?2004h[?25hdel psa4


[?25l:[?2004h[?25hdel psa5


[?25l:[?2004h[?25hdel psa6


[?25l:[?2004h[?25hdel psa7


[?25l:[?2004h[?25hdel psa8


[?25l:[?2004h[?25hdel psa9


[?25l:[?2004h[?25hdel psaA


[?25l:[?2004h[?25hdel psaB


[?25l:[?2004h[?25hdel psaC


[?25l:[?2004h[?25hdel psar


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel ecall


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test stdout/stderr


[?25l:[?2004h[?25h:redir => messages


[?25l:[?2004h[?25h:py3 sys.stdout.write('abc8') ; sys.stdout.write('def')


[?25l:[?2004h[?25h:py3 sys.stderr.write('abc9') ; sys.stderr.write('def')


[?25l:[?2004h[?25h:py3 sys.stdout.writelines(iter('abcA'))


[?25l:[?2004h[?25h:py3 sys.stderr.writelines(iter('abcB'))


[?25l:[?2004h[?25h:redir END


[?25l:[?2004h[?25h:$put =string(substitute(messages, '\d\+', '', 'g'))


[?25l:[?2004h[?25h:" Test subclassing


[?25l:[?2004h[?25h:fun Put(...)


[?25l:[?2004h[?25h:   $put =string(a:000)


[?25l:[?2004h[?25h:   return a:000


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hclass DupDict(vim.Dictionary):


[?25l:[?2004h[?25h    def __setitem__(self, key, value):


[?25l:[?2004h[?25h        super(DupDict, self).__setitem__(key, value)


[?25l:[?2004h[?25h        super(DupDict, self).__setitem__('dup_' + key, val


ue)


[?25l:[?2004h[?25hdd = DupDict()


[?25l:[?2004h[?25hdd['a'] = 'b'


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass DupList(vim.List):


[?25l:[?2004h[?25h    def __getitem__(self, idx):


[?25l:[?2004h[?25h        return [super(DupList, self).__getitem__(idx)] * 2


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdl = DupList()


[?25l:[?2004h[?25hdl2 = DupList(iter('abcC'))


[?25l:[?2004h[?25hdl.extend(dl2[0])


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass DupFun(vim.Function):


[?25l:[?2004h[?25h    def __call__(self, arg):


[?25l:[?2004h[?25h        return super(DupFun, self).__call__(arg, arg)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdf = DupFun('Put')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put =string(sort(keys(py3eval('dd'))))


[?25l:[?2004h[?25h:$put =string(py3eval('dl'))


[?25l:[?2004h[?25h:$put =string(py3eval('dl2'))


[?25l:[?2004h[?25h:$put =string(py3eval('df(2)'))


[?25l:[?2004h[?25h:$put =string(py3eval('dl') is# py3eval('dl'))


[?25l:[?2004h[?25h:$put =string(py3eval('dd') is# py3eval('dd'))


[?25l:[?2004h[?25h:$put =string(py3eval('df'))


[?25l:[?2004h[?25h:delfunction Put


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdel DupDict


[?25l:[?2004h[?25hdel DupList


[?25l:[?2004h[?25hdel DupFun


[?25l:[?2004h[?25hdel dd


[?25l:[?2004h[?25hdel dl


[?25l:[?2004h[?25hdel dl2


[?25l:[?2004h[?25hdel df


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test chdir


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25himport os


[?25l:[?2004h[?25hfnamemodify = vim.Function('fnamemodify')


[?25l:[?2004h[?25hcb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25hcb.append(vim.eval('@%'))


[?25l:[?2004h[?25hos.chdir('..')


[?25l:[?2004h[?25hpath = fnamemodify('.', ':p:h:t')


[?25l:[?2004h[?25hif path != b'src':


[?25l:[?2004h[?25h  # Running tests from a shadow directory, so move up anot


her level


[?25l:[?2004h[?25h  # This will result in @% looking like shadow/testdir/tes


t87.in, hence the


[?25l:[?2004h[?25h  # slicing to remove the leading path and path separator


[?25l:[?2004h[?25h  os.chdir('..')


[?25l:[?2004h[?25h  cb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25h  cb.append(vim.eval('@%')[len(path)+1:].replace(os.path.s


ep, '/'))


[?25l:[?2004h[?25h  os.chdir(path)


[?25l:[?2004h[?25helse:


[?25l:[?2004h[?25h  cb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25h  cb.append(vim.eval('@%').replace(os.path.sep, '/'))


[?25l:[?2004h[?25hdel path


[?25l:[?2004h[?25hos.chdir('testdir')


[?25l:[?2004h[?25hcb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25hcb.append(vim.eval('@%'))


[?25l:[?2004h[?25hdel fnamemodify


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test errors


[?25l:[?2004h[?25h:fun F() dict


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:fun D()


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hd = vim.Dictionary()


[?25l:[?2004h[?25hned = vim.Dictionary(foo='bar', baz='abcD')


[?25l:[?2004h[?25hdl = vim.Dictionary(a=1)


[?25l:[?2004h[?25hdl.locked = True


[?25l:[?2004h[?25hl = vim.List()


[?25l:[?2004h[?25hll = vim.List('abcE')


[?25l:[?2004h[?25hll.locked = True


[?25l:[?2004h[?25hnel = vim.List('abcO')


[?25l:[?2004h[?25hf = vim.Function('string')


[?25l:[?2004h[?25hfd = vim.Function('F')


[?25l:[?2004h[?25hfdel = vim.Function('D')


[?25l:[?2004h[?25hvim.command('delfunction D')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef subexpr_test(expr, name, subexprs):


[?25l:[?2004h[?25h    cb.append('>>> Testing %s using %s' % (name, expr)


)

[?25l:[?2004h[?25h    for subexpr in subexprs:


[?25l:[?2004h[?25h        ee(expr % subexpr)


[?25l:[?2004h[?25h    cb.append('<<< Finished')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef stringtochars_test(expr):


[?25l:[?2004h[?25h    return subexpr_test(expr, 'StringToChars', (


[?25l:[?2004h[?25h        '1',       # Fail type checks


[?25l:[?2004h[?25h        'b"\\0"',  # Fail PyString_AsStringAndSize(obj


ect, , NULL) check


[?25l:[?2004h[?25h        '"\\0"',   # Fail PyString_AsStringAndSize(byt


es, , NULL) check


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass Mapping(object):


[?25l:[?2004h[?25h    def __init__(self, d):


[?25l:[?2004h[?25h        self.d = d


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __getitem__(self, key):


[?25l:[?2004h[?25h        return self.d[key]


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        return self.d.keys()


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def items(self):


[?25l:[?2004h[?25h        return self.d.items()


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef convertfrompyobject_test(expr, recurse=True):


[?25l:[?2004h[?25h    # pydict_to_tv


[?25l:[?2004h[?25h    stringtochars_test(expr % '{%s : 1}')


[?25l:[?2004h[?25h    if recurse:


[?25l:[?2004h[?25h        convertfrompyobject_test(expr % '{"abcF" : %s}


', False)


[?25l:[?2004h[?25h    # pymap_to_tv


[?25l:[?2004h[?25h    stringtochars_test(expr % 'Mapping({%s : 1})')


[?25l:[?2004h[?25h    if recurse:


[?25l:[?2004h[?25h        convertfrompyobject_test(expr % 'Mapping({"abc


G" : %s})', False)


[?25l:[?2004h[?25h    # pyseq_to_tv


[?25l:[?2004h[?25h    iter_test(expr)


[?25l:[?2004h[?25h    return subexpr_test(expr, 'ConvertFromPyObject', (


[?25l:[?2004h[?25h        'None',                 # Not conversible


[?25l:[?2004h[?25h        '{b"": 1}',             # Empty key not allowe


d

[?25l:[?2004h[?25h        '{"": 1}',              # Same, but with unico


de object


[?25l:[?2004h[?25h        'FailingMapping()',     #


[?25l:[?2004h[?25h        'FailingMappingKey()',  #


[?25l:[?2004h[?25h        'FailingNumber()',      #


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef convertfrompymapping_test(expr):


[?25l:[?2004h[?25h    convertfrompyobject_test(expr)


[?25l:[?2004h[?25h    return subexpr_test(expr, 'ConvertFromPyMapping', 


(

[?25l:[?2004h[?25h        '[]',


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef iter_test(expr):


[?25l:[?2004h[?25h    return subexpr_test(expr, '*Iter*', (


[?25l:[?2004h[?25h        'FailingIter()',


[?25l:[?2004h[?25h        'FailingIterNext()',


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef number_test(expr, natural=False, unsigned=False):


[?25l:[?2004h[?25h    if natural:


[?25l:[?2004h[?25h        unsigned = True


[?25l:[?2004h[?25h    return subexpr_test(expr, 'NumberToLong', (


[?25l:[?2004h[?25h        '[]',


[?25l:[?2004h[?25h        'None',


[?25l:[?2004h[?25h    ) + (('-1',) if unsigned else ())


[?25l:[?2004h[?25h    + (('0',) if natural else ()))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingTrue(object):


[?25l:[?2004h[?25h    def __bool__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('bool')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIter(object):


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('iter')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIterNext(object):


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        return self


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __next__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('next')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIterNextN(object):


[?25l:[?2004h[?25h    def __init__(self, n):


[?25l:[?2004h[?25h        self.n = n


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        return self


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __next__(self):


[?25l:[?2004h[?25h        if self.n:


[?25l:[?2004h[?25h            self.n -= 1


[?25l:[?2004h[?25h            return 1


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            raise NotImplementedError('next N')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingMappingKey(object):


[?25l:[?2004h[?25h    def __getitem__(self, item):


[?25l:[?2004h[?25h        raise NotImplementedError('getitem:mappingkey'


)

[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        return list("abcH")


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingMapping(object):


[?25l:[?2004h[?25h    def __getitem__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('getitem:mapping')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        raise NotImplementedError('keys')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingList(list):


[?25l:[?2004h[?25h    def __getitem__(self, idx):


[?25l:[?2004h[?25h        if i == 2:


[?25l:[?2004h[?25h            raise NotImplementedError('getitem:list')


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            return super(FailingList, self).__getitem_


_(idx)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass NoArgsCall(object):


[?25l:[?2004h[?25h    def __call__(self):


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingCall(object):


[?25l:[?2004h[?25h    def __call__(self, path):


[?25l:[?2004h[?25h        raise NotImplementedError('call')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingNumber(object):


[?25l:[?2004h[?25h    def __int__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('int')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append("> Output")


[?25l:[?2004h[?25hcb.append(">> OutputSetattr")


[?25l:[?2004h[?25hee('del sys.stdout.softspace')


[?25l:[?2004h[?25hnumber_test('sys.stdout.softspace = %s', unsigned=True


)

[?25l:[?2004h[?25hnumber_test('sys.stderr.softspace = %s', unsigned=True


)

[?25l:[?2004h[?25hee('assert sys.stdout.isatty()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.seekable()==False')


[?25l:[?2004h[?25hee('sys.stdout.close()')


[?25l:[?2004h[?25hee('sys.stdout.flush()')


[?25l:[?2004h[?25hee('assert sys.stderr.isatty()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.seekable()==False')


[?25l:[?2004h[?25hee('sys.stderr.close()')


[?25l:[?2004h[?25hee('sys.stderr.flush()')


[?25l:[?2004h[?25hee('sys.stdout.attr = None')


[?25l:[?2004h[?25hcb.append(">> OutputWrite")


[?25l:[?2004h[?25hee('assert sys.stdout.writable()==True')


[?25l:[?2004h[?25hee('assert sys.stdout.readable()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.writable()==True')


[?25l:[?2004h[?25hee('assert sys.stderr.readable()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.closed()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.closed()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.errors=="strict"')


[?25l:[?2004h[?25hee('assert sys.stderr.errors=="strict"')


[?25l:[?2004h[?25hee('assert sys.stdout.encoding==sys.stderr.encoding')


[?25l:[?2004h[?25hee('sys.stdout.write(None)')


[?25l:[?2004h[?25hcb.append(">> OutputWriteLines")


[?25l:[?2004h[?25hee('sys.stdout.writelines(None)')


[?25l:[?2004h[?25hee('sys.stdout.writelines([1])')


[?25l:[?2004h[?25hiter_test('sys.stdout.writelines(%s)')


[?25l:[?2004h[?25hcb.append("> VimCommand")


[?25l:[?2004h[?25hstringtochars_test('vim.command(%s)')


[?25l:[?2004h[?25hee('vim.command("", 2)')


[?25l:[?2004h[?25h#! Not checked: vim->python exceptions translating: ch


ecked later


[?25l:[?2004h[?25hcb.append("> VimToPython")


[?25l:[?2004h[?25h#! Not checked: everything: needs errors in internal p


ython functions


[?25l:[?2004h[?25hcb.append("> VimEval")


[?25l:[?2004h[?25hstringtochars_test('vim.eval(%s)')


[?25l:[?2004h[?25hee('vim.eval("", FailingTrue())')


[?25l:[?2004h[?25h#! Not checked: everything: needs errors in internal p


ython functions


[?25l:[?2004h[?25hcb.append("> VimEvalPy")


[?25l:[?2004h[?25hstringtochars_test('vim.bindeval(%s)')


[?25l:[?2004h[?25hee('vim.eval("", 2)')


[?25l:[?2004h[?25h#! Not checked: vim->python exceptions translating: ch


ecked later


[?25l:[?2004h[?25hcb.append("> VimStrwidth")


[?25l:[?2004h[?25hstringtochars_test('vim.strwidth(%s)')


[?25l:[?2004h[?25hcb.append("> VimForeachRTP")


[?25l:[?2004h[?25hee('vim.foreach_rtp(None)')


[?25l:[?2004h[?25hee('vim.foreach_rtp(NoArgsCall())')


[?25l:[?2004h[?25hee('vim.foreach_rtp(FailingCall())')


[?25l:[?2004h[?25hee('vim.foreach_rtp(int, 2)')


[?25l:[?2004h[?25hcb.append('> import')


[?25l:[?2004h[?25hold_rtp = vim.options['rtp']


[?25l:[?2004h[?25hvim.options['rtp'] = os.getcwd().replace('\\', '\\\\')


.replace(',', '\\,')


[?25l:[?2004h[?25hee('import xxx_no_such_module_xxx')


[?25l:[?2004h[?25hee('import failing_import')


[?25l:[?2004h[?25hee('import failing')


[?25l:[?2004h[?25hvim.options['rtp'] = old_rtp


[?25l:[?2004h[?25hdel old_rtp


[?25l:[?2004h[?25hcb.append("> Options")


[?25l:[?2004h[?25hcb.append(">> OptionsItem")


[?25l:[?2004h[?25hee('vim.options["abcQ"]')


[?25l:[?2004h[?25hee('vim.options[""]')


[?25l:[?2004h[?25hstringtochars_test('vim.options[%s]')


[?25l:[?2004h[?25hcb.append(">> OptionsContains")


[?25l:[?2004h[?25hstringtochars_test('%s in vim.options')


[?25l:[?2004h[?25hcb.append("> Dictionary")


[?25l:[?2004h[?25hcb.append(">> DictionaryConstructor")


[?25l:[?2004h[?25hee('vim.Dictionary("abcI")')


[?25l:[?2004h[?25h##! Not checked: py_dict_alloc failure


[?25l:[?2004h[?25hcb.append(">> DictionarySetattr")


[?25l:[?2004h[?25hee('del d.locked')


[?25l:[?2004h[?25hee('d.locked = FailingTrue()')


[?25l:[?2004h[?25hee('vim.vvars.locked = False')


[?25l:[?2004h[?25hee('d.scope = True')


[?25l:[?2004h[?25hee('d.xxx = True')


[?25l:[?2004h[?25hcb.append(">> _DictionaryItem")


[?25l:[?2004h[?25hee('d.get("a", 2, 3)')


[?25l:[?2004h[?25hstringtochars_test('d.get(%s)')


[?25l:[?2004h[?25hee('d.pop("a")')


[?25l:[?2004h[?25hee('dl.pop("a")')


[?25l:[?2004h[?25hcb.append(">> DictionaryContains")


[?25l:[?2004h[?25hee('"" in d')


[?25l:[?2004h[?25hee('0 in d')


[?25l:[?2004h[?25hcb.append(">> DictionaryIterNext")


[?25l:[?2004h[?25hee('for i in ned: ned["a"] = 1')


[?25l:[?2004h[?25hdel i


[?25l:[?2004h[?25hcb.append(">> DictionaryAssItem")


[?25l:[?2004h[?25hee('dl["b"] = 1')


[?25l:[?2004h[?25hstringtochars_test('d[%s] = 1')


[?25l:[?2004h[?25hconvertfrompyobject_test('d["a"] = %s')


[?25l:[?2004h[?25hcb.append(">> DictionaryUpdate")


[?25l:[?2004h[?25hcb.append(">>> kwargs")


[?25l:[?2004h[?25hcb.append(">>> iter")


[?25l:[?2004h[?25hee('d.update(FailingMapping())')


[?25l:[?2004h[?25hee('d.update([FailingIterNext()])')


[?25l:[?2004h[?25hee('d.update([FailingIterNextN(1)])')


[?25l:[?2004h[?25hiter_test('d.update(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('d.update(%s)')


[?25l:[?2004h[?25hstringtochars_test('d.update(((%s, 0),))')


[?25l:[?2004h[?25hconvertfrompyobject_test('d.update((("a", %s),))')


[?25l:[?2004h[?25hcb.append(">> DictionaryPopItem")


[?25l:[?2004h[?25hee('d.popitem(1, 2)')


[?25l:[?2004h[?25hcb.append(">> DictionaryHasKey")


[?25l:[?2004h[?25hee('d.has_key()')


[?25l:[?2004h[?25hcb.append("> List")


[?25l:[?2004h[?25hcb.append(">> ListConstructor")


[?25l:[?2004h[?25hee('vim.List(1, 2)')


[?25l:[?2004h[?25hee('vim.List(a=1)')


[?25l:[?2004h[?25hiter_test('vim.List(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('vim.List([%s])')


[?25l:[?2004h[?25hcb.append(">> ListItem")


[?25l:[?2004h[?25hee('l[1000]')


[?25l:[?2004h[?25hcb.append(">> ListAssItem")


[?25l:[?2004h[?25hee('ll[1] = 2')


[?25l:[?2004h[?25hee('l[1000] = 3')


[?25l:[?2004h[?25hcb.append(">> ListAssSlice")


[?25l:[?2004h[?25hee('ll[1:100] = "abcJ"')


[?25l:[?2004h[?25hiter_test('l[:] = %s')


[?25l:[?2004h[?25hee('nel[1:10:2]  = "abcK"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[1:10:2]  = "a"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[1:1:-1]  = "a"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[:] = FailingIterNextN(2)')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hconvertfrompyobject_test('l[:] = [%s]')


[?25l:[?2004h[?25hcb.append(">> ListConcatInPlace")


[?25l:[?2004h[?25hiter_test('l.extend(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('l.extend([%s])')


[?25l:[?2004h[?25hcb.append(">> ListSetattr")


[?25l:[?2004h[?25hee('del l.locked')


[?25l:[?2004h[?25hee('l.locked = FailingTrue()')


[?25l:[?2004h[?25hee('l.xxx = True')


[?25l:[?2004h[?25hcb.append("> Function")


[?25l:[?2004h[?25hcb.append(">> FunctionConstructor")


[?25l:[?2004h[?25hcb.append(">>> FunctionConstructor")


[?25l:[?2004h[?25hee('vim.Function("123")')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx")')


[?25l:[?2004h[?25hee('vim.Function("xxx#non#existent#function#xxx")')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx2", arg


s=[])')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx3", sel


f={})')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx4", arg


s=[], self={})')


[?25l:[?2004h[?25hcb.append(">>> FunctionNew")


[?25l:[?2004h[?25hee('vim.Function("tr", self="abcFuncSelf")')


[?25l:[?2004h[?25hee('vim.Function("tr", args=427423)')


[?25l:[?2004h[?25hee('vim.Function("tr", self="abcFuncSelf2", args="abcF


uncArgs2")')


[?25l:[?2004h[?25hee('vim.Function(self="abcFuncSelf2", args="abcFuncArg


s2")')


[?25l:[?2004h[?25hee('vim.Function("tr", "", self="abcFuncSelf2", args="


abcFuncArgs2")')


[?25l:[?2004h[?25hee('vim.Function("tr", "")')


[?25l:[?2004h[?25hcb.append(">> FunctionCall")


[?25l:[?2004h[?25hconvertfrompyobject_test('f(%s)')


[?25l:[?2004h[?25hconvertfrompymapping_test('fd(self=%s)')


[?25l:[?2004h[?25hcb.append("> TabPage")


[?25l:[?2004h[?25hcb.append(">> TabPageAttr")


[?25l:[?2004h[?25hee('vim.current.tabpage.xxx')


[?25l:[?2004h[?25hcb.append("> TabList")


[?25l:[?2004h[?25hcb.append(">> TabListItem")


[?25l:[?2004h[?25hee('vim.tabpages[1000]')


[?25l:[?2004h[?25hcb.append("> Window")


[?25l:[?2004h[?25hcb.append(">> WindowAttr")


[?25l:[?2004h[?25hee('vim.current.window.xxx')


[?25l:[?2004h[?25hcb.append(">> WindowSetattr")


[?25l:[?2004h[?25hee('vim.current.window.buffer = 0')


[?25l:[?2004h[?25hee('vim.current.window.cursor = (100000000, 100000000)


')

[?25l:[?2004h[?25hee('vim.current.window.cursor = True')


[?25l:[?2004h[?25hnumber_test('vim.current.window.height = %s', unsigned


=True)


[?25l:[?2004h[?25hnumber_test('vim.current.window.width = %s', unsigned=


True)


[?25l:[?2004h[?25hee('vim.current.window.xxxxxx = True')


[?25l:[?2004h[?25hcb.append("> WinList")


[?25l:[?2004h[?25hcb.append(">> WinListItem")


[?25l:[?2004h[?25hee('vim.windows[1000]')


[?25l:[?2004h[?25hcb.append("> Buffer")


[?25l:[?2004h[?25hcb.append(">> StringToLine (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[0] = "\\na"')


[?25l:[?2004h[?25hee('vim.current.buffer[0] = b"\\na"')


[?25l:[?2004h[?25hcb.append(">> SetBufferLine (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[0] = True')


[?25l:[?2004h[?25hcb.append(">> SetBufferLineList (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[:] = True')


[?25l:[?2004h[?25hee('vim.current.buffer[:] = ["\\na", "bc"]')


[?25l:[?2004h[?25hcb.append(">> InsertBufferLines (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer.append(None)')


[?25l:[?2004h[?25hee('vim.current.buffer.append(["\\na", "bc"])')


[?25l:[?2004h[?25hee('vim.current.buffer.append("\\nbc")')


[?25l:[?2004h[?25hcb.append(">> RBItem")


[?25l:[?2004h[?25hee('vim.current.buffer[100000000]')


[?25l:[?2004h[?25hcb.append(">> RBAsItem")


[?25l:[?2004h[?25hee('vim.current.buffer[100000000] = ""')


[?25l:[?2004h[?25hcb.append(">> BufferAttr")


[?25l:[?2004h[?25hee('vim.current.buffer.xxx')


[?25l:[?2004h[?25hcb.append(">> BufferSetattr")


[?25l:[?2004h[?25hee('vim.current.buffer.name = True')


[?25l:[?2004h[?25hee('vim.current.buffer.xxx = True')


[?25l:[?2004h[?25hcb.append(">> BufferMark")


[?25l:[?2004h[?25hee('vim.current.buffer.mark(0)')


[?25l:[?2004h[?25hee('vim.current.buffer.mark("abcM")')


[?25l:[?2004h[?25hee('vim.current.buffer.mark("!")')


[?25l:[?2004h[?25hcb.append(">> BufferRange")


[?25l:[?2004h[?25hee('vim.current.buffer.range(1, 2, 3)')


[?25l:[?2004h[?25hcb.append("> BufMap")


[?25l:[?2004h[?25hcb.append(">> BufMapItem")


[?25l:[?2004h[?25hee('vim.buffers[100000000]')


[?25l:[?2004h[?25hnumber_test('vim.buffers[%s]', natural=True)


[?25l:[?2004h[?25hcb.append("> Current")


[?25l:[?2004h[?25hcb.append(">> CurrentGetattr")


[?25l:[?2004h[?25hee('vim.current.xxx')


[?25l:[?2004h[?25hcb.append(">> CurrentSetattr")


[?25l:[?2004h[?25hee('vim.current.line = True')


[?25l:[?2004h[?25hee('vim.current.buffer = True')


[?25l:[?2004h[?25hee('vim.current.window = True')


[?25l:[?2004h[?25hee('vim.current.tabpage = True')


[?25l:[?2004h[?25hee('vim.current.xxx = True')


[?25l:[?2004h[?25hdel d


[?25l:[?2004h[?25hdel ned


[?25l:[?2004h[?25hdel dl


[?25l:[?2004h[?25hdel l


[?25l:[?2004h[?25hdel ll


[?25l:[?2004h[?25hdel nel


[?25l:[?2004h[?25hdel f


[?25l:[?2004h[?25hdel fd


[?25l:[?2004h[?25hdel fdel


[?25l:[?2004h[?25hdel subexpr_test


[?25l:[?2004h[?25hdel stringtochars_test


[?25l:[?2004h[?25hdel Mapping


[?25l:[?2004h[?25hdel convertfrompyobject_test


[?25l:[?2004h[?25hdel convertfrompymapping_test


[?25l:[?2004h[?25hdel iter_test


[?25l:[?2004h[?25hdel number_test


[?25l:[?2004h[?25hdel FailingTrue


[?25l:[?2004h[?25hdel FailingIter


[?25l:[?2004h[?25hdel FailingIterNext


[?25l:[?2004h[?25hdel FailingIterNextN


[?25l:[?2004h[?25hdel FailingMapping


[?25l:[?2004h[?25hdel FailingMappingKey


[?25l:[?2004h[?25hdel FailingList


[?25l:[?2004h[?25hdel NoArgsCall


[?25l:[?2004h[?25hdel FailingCall


[?25l:[?2004h[?25hdel FailingNumber


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:delfunction F


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test import


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hsys.path.insert(0, os.path.join(os.getcwd(), 'python_b


efore'))


[?25l:[?2004h[?25hsys.path.append(os.path.join(os.getcwd(), 'python_afte


r'))


[?25l:[?2004h[?25hvim.options['rtp'] = os.getcwd().replace(',', '\\,').r


eplace('\\', '\\\\')


[?25l:[?2004h[?25hl = []


[?25l:[?2004h[?25hdef callback(path):


[?25l:[?2004h[?25h    l.append(os.path.relpath(path))


[?25l:[?2004h[?25hvim.foreach_rtp(callback)


[?25l:[?2004h[?25hcb.append(repr(l))


[?25l:[?2004h[?25hdel l


[?25l:[?2004h[?25hdef callback(path):


[?25l:[?2004h[?25h    return os.path.relpath(path)


[?25l:[?2004h[?25hcb.append(repr(vim.foreach_rtp(callback)))


[?25l:[?2004h[?25hdel callback


[?25l:[?2004h[?25hfrom module import dir as d


[?25l:[?2004h[?25hfrom modulex import ddir


[?25l:[?2004h[?25hcb.append(d + ',' + ddir)


[?25l:[?2004h[?25himport before


[?25l:[?2004h[?25hcb.append(before.dir)


[?25l:[?2004h[?25himport after


[?25l:[?2004h[?25hcb.append(after.dir)


[?25l:[?2004h[?25himport topmodule as tm


[?25l:[?2004h[?25himport topmodule.submodule as tms


[?25l:[?2004h[?25himport topmodule.submodule.subsubmodule.subsubsubmodul


e as tmsss


[?25l:[?2004h[?25hcb.append(tm.__file__.replace(os.path.sep, '/')[-len('


modulex/topmodule/__init__.py'):])


[?25l:[?2004h[?25hcb.append(tms.__file__.replace(os.path.sep, '/')[-len(


'modulex/topmodule/submodule/__init__.py'):])


[?25l:[?2004h[?25hcb.append(tmsss.__file__.replace(os.path.sep, '/')[-le


n('modulex/topmodule/submodule/subsubmodule/subsubsubmodule.py'):])


[?25l:[?2004h[?25hdel before


[?25l:[?2004h[?25hdel after


[?25l:[?2004h[?25hdel d


[?25l:[?2004h[?25hdel ddir


[?25l:[?2004h[?25hdel tm


[?25l:[?2004h[?25hdel tms


[?25l:[?2004h[?25hdel tmsss


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test exceptions


[?25l:[?2004h[?25h:fun Exe(e)


[?25l:[?2004h[?25h:   execute a:e


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hExe = vim.bindeval('function("Exe")')


[?25l:[?2004h[?25hee('vim.command("throw \'abcN\'")')


[?25l:[?2004h[?25hee('Exe("throw \'def\'")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'throw \'\'ghi\'\'\')")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'echoerr \'\'jkl\'\'\')")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'xxx_non_existent_command_xxx\')"


)')


[?25l:[?2004h[?25hee('vim.eval("xxx_unknown_function_xxx()")')


[?25l:[?2004h[?25hee('vim.bindeval("Exe(\'xxx_non_existent_command_xxx


\')")')


[?25l:[?2004h[?25hdel Exe


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:delfunction Exe


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Regression: interrupting vim.command propagates t


o next vim.command


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef test_keyboard_interrupt():


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        vim.command('while 1 | endwhile')


[?25l:[?2004h[?25h    except KeyboardInterrupt:


[?25l:[?2004h[?25h        cb.append('Caught KeyboardInterrupt')


[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught exception: ' + em


sg(sys.exc_info()))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! No exception')


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        vim.command('$ put =\'Running :put\'')


[?25l:[?2004h[?25h    except KeyboardInterrupt:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught KeyboardInterrupt


')

[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught exception: ' + em


sg(sys.exc_info()))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        cb.append('No exception')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:debuggreedy


[?25l:[?2004h[?25h:call inputsave()


[?25l:[?2004h[?25h:call feedkeys("s\ns\ns\ns\nq\n")


[?25l:[?2004h[?25h:redir => output


[?25l:[?2004h[?25h:debug silent! py3 test_keyboard_interrupt()


[?25l:[?2004h[?25h:redir END


[?25l:[?2004h[?25h:0 debuggreedy


[?25l:[?2004h[?25h:call inputrestore()


[?25l:[?2004h[?25h:silent $put =output


[?25l:[?2004h[?25h:unlet output


[?25l:[?2004h[?25h:py3 del test_keyboard_interrupt


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Cleanup


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdel cb


[?25l:[?2004h[?25hdel ee


[?25l:[?2004h[?25hdel emsg


[?25l:[?2004h[?25hdel sys


[?25l:[?2004h[?25hdel os


[?25l:[?2004h[?25hdel vim


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:endfun
[?25l:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfun RunTest()
[?25l

:[?2004h  [?25h:let checkrefs = !empty($PYTHONDUMPREFS)


[?25l:[?2004h  [?25h:let start = getline(1, '$')


[?25l:[?2004h  [?25h:for i in range(checkrefs ? 10 : 1)


[?25l:[?2004h    [?25h:   if i != 0


[?25l:[?2004h      [?25h:       %d _


[?25l:[?2004h      [?25h:       call setline(1, start)


[?25l:[?2004h      [?25h:   endif


[?25l:[?2004h    [?25h:   call Test()


[?25l:[?2004h    [?25h:   if i == 0


[?25l:[?2004h      [?25h:       let result = getline(1, '$')


[?25l:[?2004h      [?25h:   endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:if checkrefs


[?25l:[?2004h    [?25h:   %d _


[?25l:[?2004h    [?25h:   call setline(1, result)


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h:endfun
[?25l:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall RunTest()
[?25l8 more lin

3 more lines[?25h[?2004l[?2004h


[?25l"a" [New File]


"b" [New File]


"c" [New File]


"0" [New File]


"1" [New File]


"a.1" [New File]


"2" [New File]


"a.2" [New File]


"b.2" [New File]


"c.2" [New File]


Already only one window


abc8def


Error detected while processing function RunTest[8]..Test:


line 1119:


abc9def


abcA


line 1121:


abcB


8 more lines[?2004h


Entering Debug mode.  Type "cont" to continue.


function RunTest[8]..Test


line 1663: py3 test_keyboard_interrupt()


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: while 1 | endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: while 1 | endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: endwhile


>[?2004hq
[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/channel.o channel.c
[?2004h['.']

'.'

3,xx

before

after

pythonx/topmodule/__init__.py

pythonx/topmodule/submodule/__init__.py

pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py

vim.command("throw 'abcN'"):(<class 'vim.error'>, error('abcN',))

Exe("throw 'def'"):(<class 'vim.error'>, error('def',))

vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',))

vim.eval("Exe('echoerr ''jkl''')"):(<class 'vim.error'>, error('Vim(echoerr):jkll',))

vim.eval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vimm:E492: Not an editor command: xxx_non_existent_command_xxx',))

vim.eval("xxx_unknown_function_xxx()"):(<class 'vim.error'>, error('Vim:E117: Unnknown function: xxx_unknown_function_xxx',))

vim.bindeval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error(('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',))

Caught KeyboardInterrupt

Running :put

No exception



"test87.in" [Modified][Not edited] line 3164 of 3164 --100%-- col 1[?25h[?25l:[?2004h[?25hdelfunction RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1445 lines, 77744 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test87 = test61; then \
#	  if diff test.out test87.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test87.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test12.in" 52 lines, 1199 charactersTests 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 nocompatible viminfo+=nviminfo

: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/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 40 lines, 965 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:!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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het dir=.,~
[?25l[?25h[?25l:[?2004h[?25h/start of testfile/,/end of testfile/w! Xtest1
[?25l"Xtest1" [New] 4L, 70C written[?25h[?25l:[?2004h[?25h" do an ls of the current dir to find the swap file (should not be there)
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:  !ls .X*.swp >test.out


[?25l:!ls .X*.swp >test.out[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access '.X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25helse


[?25l:[?2004h  [?25h:  r !ls X*.swp >test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25h!echo first line >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70Cstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:" Do an ls of the current dir to find the swap file, remove the leading dot


[?25l:[?2004h  [?25h:" to make the result the same for all systems.


[?25l:[?2004h  [?25h:  r!ls .X*.swp
[?2004l[?2004h

[?25l:[?2004h  :[?25h  s/\.*X/X/


[?25l:[?2004h  [?25h:  .w >>test.out
[?25l"test.out" 1L, 11C appended


:[?2004h  [?25h:  undo


[?25l1 line less; before #1  0 seconds ago


:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:  !ls X*.swp >>test.out


[?25l:[?2004h  [?25h:endif
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest2
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hset dir=./Xtest2,.,~
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25h!ls X*.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access 'X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under under >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest.je
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hset dir=Xtest.je,~
[?25l[?25h[?25l:[?2004h[?25he Xtest2/Xtest3
[?25l"Xtest2/Xtest3" 4L, 70C[?25h[?25l:[?2004h[?25hswap
[?25lXtest.je/Xtest3.swp[?25h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest.je >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test12 = test61; then \
#	  if diff test.out test12.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test12.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test25.failed test.ok test.out X* viminfo
cp test25.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test25.in" 31 lines, 840 charactersTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 jumping to a tag with 'hidden' set, with symbolic link in path of tag.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 540 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" Create a link from test25.dir to the current directory.
[?25l[?25h[?25l:[?2004h[?25h!rm -f test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ln -s . test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h" Create tags.text, with the current directory name inserted.
[?25lTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST

[?25h[?25l

/[?2004h[?25htags line
[?25l

tags line:[?25h[?25l

:[?2004h[?25hr !pwd
[?25l[?25h[?2004l[?2004h[?25lSTARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST



tags line:

/<<PKGBUILDDIR>>/src/vim-gtk3/testdir
[?25h[?25l[?25h[?25l

/[?2004h[?25htest
[?25l

SECTION_OFF     /test25.dir/test25.in   /^#define  SECTION_OFF  3$/[?25h[?25l/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test25.dir/t@                                                                               

SECTION_OFF     /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test25.dir/ttest25.in/^#define  SECTION_OFF  3$/[?25h[?25l



:[?2004h[?25h.w! tags.test
[?25l"tags.test" [New File] 1 line, 113 characters written[?25h[?25l:[?2004h[?25h" Try jumping to a tag in the current file, but with a path that contains a
[?25l[?25h[?25l:[?2004h[?25h" symbolic link.  When wrong, this will give the ATTENTION message.  The next
[?25l[?25h[?25l:[?2004h[?25h" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
[?25l[?25h[?25l:[?2004h[?25hset tags=tags.test
[?25l[?25h[?25l/*tx.c*/

#define  SECTION_OFF  3

#define  NUM_SECTIONS 3



SECTION_OFF[?25h#[?25lefine  SECTION_OFF  3[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 23 characters written[?25h[?25l:[?2004h[?25h!rm -f test25.dir tags.test
[?25l[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test25 = test61; then \
#	  if diff test.out test25.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test25.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test49.in" 32 lines, 705 charactersThis 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 nocp nomore viminfo+=nviminfo

:lang mess C

:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 23 lines, 475 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endfor

:for v in keys(g:)

:  silent! exe "unlet " . v

:endfor

:unlet v

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp nomore viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hang mess C
[?25l[?25h[?25l:[?2004h[?25hso test49.vim
[?25lError detected while processing function F:


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 /<<PKGBUILDDIR>>/src/vim-gtk3/tes


tdir/test49.vim:


line  784:


E171: Missing :endif: endwhile 


*** Test  17: OK (285127993)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"/tmp/vb22VTd/0" [New] 53L, 1582C written14L, 358C appended26L, 824C appended34L, 986C appended


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/1" 16L, 304C appended17L, 326C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/2[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/2"' -c 'breakad


dfile 8 /tmp/vb22VTd/1' -S /tmp/vb22VTd/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/2" 3L, 6C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/3" 6L, 127C appended7L, 149C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/4[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/4"' -c 'breakad


dfile 4 /tmp/vb22VTd/3' -S /tmp/vb22VTd/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/4" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/5" 21L, 486C appended22L, 508C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/6[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/charset.o charset.c


[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/6"' -c 'breakad


dfunc 7 F' -S /tmp/vb22VTd/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/6" 3L, 18C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/7" 13L, 364C appended14L, 386C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/8[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/8"' -c 'breakad


dfunc 3 G' -S /tmp/vb22VTd/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/8" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  18: OK (67224583)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/9" 12L, 201C appended13L, 223C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/10[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/10"' -S /tmp/vb22V


Td/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/10" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/11" 12L, 205C appended13L, 227C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/12[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/12"' -S /tmp/vb22V


Td/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/12" 2L, 7C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/13" 6L, 122C appended7L, 144C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/14[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/14"' -S /tmp/vb22V


Td/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/14" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/15" 8L, 176C appended9L, 198C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/16[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/16"' -S /tmp/vb22V


Td/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/16" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/17" 10L, 215C appended11L, 237C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json.o json.c

<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/18[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/18"' -S /tmp/vb22V


Td/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/18" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/19" 7L, 149C appended8L, 171C8L, 170C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/20[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/20"' -S /tmp/vb22V


Td/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/20" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  19: OK (69275973)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/21" 9L, 135C appended10L, 157C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/22[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/22"' -S /tmp/vb22V


Td/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/22" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/23" gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/main.o main.c
10L, 155C appended11L, 177C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/24[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/24"' -S /tmp/vb22V


Td/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/24" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/25" 12L, 204C appended13L, 226C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/26[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/26"' -S /tmp/vb22V


Td/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/26" 4L, 18C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/27" 12L, 214C appended13L, 236C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/28[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/28"' -S /tmp/vb22V


Td/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/28" 4L, 22C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/29" 12L, 211C appended13L, 233C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/30[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/30"' -S /tmp/vb22V


Td/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/30" 3L, 22C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/31" 14L, 263C appended15L, 285C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/32[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/32"' -S /tmp/vb22V


Td/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/32" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/33" 14L, 277C appended15L, 299C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/34[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile.o memfile.c


[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/34"' -S /tmp/vb22V


Td/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/34" 4L, 40C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  20: OK (1874575085)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/35" 58L, 1022C appended59L, 1044C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/36[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/36"' -S /tmp/vb22V


Td/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/36" 9L, 56C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  21: OK (147932225)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/37" 23L, 418C appended24L, 440C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/38[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/38"' -S /tmp/vb22V


Td/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/38" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/39" 23L, 437C appended24L, 459C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/40[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/40"' -c 'breaka


dd func 2 Interrupt' -S /tmp/vb22VTd/39[?2004l[?1l>[?25h[?1049l

[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message.o message.c
[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/40" 1L, 3C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/41" 21L, 386C appended22L, 408C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/42[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/42"' -S /tmp/vb22V


Td/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/42" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  22: OK (4161)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/43" 25L, 432C appended26L, 454C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/44[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/44"' -S /tmp/vb22V


Td/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/44" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  23: OK (49)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/45" 16L, 392C appended17L, 414C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/46[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/46"' -S /tmp/vb22V


Td/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/46" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/vb22VTd/47"[noeol] 17L, 552C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/vb22VTd/47" 14L, 502C written
"test49.in" 32L, 705C

   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/vb22VTd/48"[noeol] 13L, 406C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/vb22VTd/48" 10L, 378C written
"test49.in" 32L, 705C

   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/vb22VTd/49"[noeol] 13L, 409C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/vb22VTd/49" 10L, 381C written
"test49.in" 32L, 705C

*** Test  28: OK (1996459)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/50" 39L, 721C appended40L, 743C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/vb22VTd/51[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/51"' -S /tmp/vb22VTd/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/51" 6L, 21C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885Ctest49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/52" 23L, 509C appended24L, 531C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/53[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/53"' -S /tmp/vb22V


Td/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/53" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  29: OK (170428555)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/54" 60L, 1101C appended61L, 1123C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/55[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nv


iminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/55"' -


c'breakadd func 3 F' -c 'breakadd file 19 /tmp/vb22VTd/54' -c 'breakadd file 31


/tmp/vb22VTd/54' -S /tmp/vb22VTd/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/55" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  30: OK (190905173)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/56" 60L, 1122C appended61L, 1144C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/57[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/57"' -S /tmp/vb22V


Td/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/57" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  31: OK (190905173)


*** Test  32: OK (354833067)


*** Test  33: OK (1216907538)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/58" 63L, 1288C appended64L, 1310C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/59[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22V


Td/59"' -c 'breakadd func 16 C' -S /tmp/vb22VTd/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/59" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  34: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/60" 63L, 1285C appended64L, 1307C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/61[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22V


Td/61"' -c 'breakadd func 16 B' -S /tmp/vb22VTd/60[?2004l[?1l>[?25h[?1049l

[?2004lcd xxd; CC="gcc" CFLAGS="-Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" \
	/usr/bin/make -f Makefile
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox/xxd'
gcc -Wdate-time -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX -o xxd xxd.c
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/61" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  35: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/62" 66L, 1430C appended67L, 1452C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/63[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/


63"' -c 'breakadd func 16 R' -S /tmp/vb22VTd/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/63" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  36: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/64" 73L, 1488C appended74L, 1510C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/65[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hmake[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox/xxd'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po


[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/65"' -c 'breakadd


func 16 F' -S /tmp/vb22VTd/64[?2004l[?1l>[?25h[?1049l

[?2004l1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1938 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
182 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/65" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  37: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po

<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/66[?2004l[?1l>[?25h[?1049l

[?2004l1733 translated messages.
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
"/tmp/vb22VTd/66" 1902 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po

<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/67[?2004l[?1l>[?25h[?1049l

[?2004l1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h1928 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po


[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22V


Td/67"' -c 'breakadd func 16 E' -S /tmp/vb22VTd/66[?2004l[?1l>[?25h[?1049l

[?2004l1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1818 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/67" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  38: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po

<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/68" 1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
83L, 1538C appended84L, 1560C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po

<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/69[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po


[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -


c'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVi


mResult = "/tmp/vb22VTd/69"' -c 'breakadd func 16 I' -c 'breakadd func 22 I' -S


/tmp/vb22VTd/68[?2004l[?1l>[?25h[?1049l

[?2004l1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/69" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C1422 translated messages.

"test49.in" 32L, 705COLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po



*** Test  39: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"1283 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po

<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/70" 1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po

<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/71[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h1882 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po


[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22V


Td/71"' -c 'breakadd func 16 T' -S /tmp/vb22VTd/70[?2004l[?1l>[?25h[?1049l

[?2004l1931 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1634 translated messages, 3 fuzzy translations.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
make[2]: Nothing to be done for 'converted'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/71" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/vb22VTd/72"[noeol] 11L, 334C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vb22VTd/72" 8L, 295C written
"test49.in" 32L, 705C

   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/vb22VTd/73"[noeol] 12L, 364C

9 substitutions on 9 lines

Pattern not found: ^\s*$
"/tmp/vb22VTd/73" 9L, 323C written
"test49.in" 32L, 705C

   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/vb22VTd/74"[noeol] 11L, 332C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vb22VTd/74" 8L, 305C written
"test49.in" 32L, 705C

*** Test  50: OK (363550045)

*** Test  51: OK (40744667)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/76" 2L, 41C appended3L, 63C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/buffer.o buffer.c
 [readonly] 9009L, 206885C

:!>/tmp/vb22VTd/77[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/77"' -S /tmp/vb22VTd/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/77" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/75" 8L, 182C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/78" 7L, 115C appended8L, 137C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/79[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/79"' -S /tmp/vb22VTd/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/79" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/75" 8L, 181C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/80" 12L, 180C appended13L, 202C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/81[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/81"' -S /tmp/vb22VTd/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/81" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/75" 10L, 209C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/82" 8L, 139C appended9L, 161C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/83[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/83"' -S /tmp/vb22VTd/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/83" 2L, 11C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/75" 10L, 217C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/84" 5L, 87C appended6L, 109C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/85[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir!


>/tmp/vb22VTd/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin =


1' -c 'let ExtraVimResult = "/tmp/vb22VTd/85"' -c 'breakadd file 4 /tmp/vb22VTd


/84' -S /tmp/vb22VTd/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/85" 1L, 7C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/75" [noeol] 9L, 202C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/86" 7L, 189C appended8L, 211C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/87[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/87"' -S /tmp/vb22VTd/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/87" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/75" 9L, 252C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/88" 7L, 199C appended8L, 221C8L, 220C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/89[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/89"' -S /tmp/vb22VTd/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/89" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/75" 9L, 214C
"test49.in" 32L, 705C


*** Test  52: OK (1247112011)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/91" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/92[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/92"' -S /tmp/vb22VTd/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/92" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/93" 3L, 39C appended4L, 61C


3 substitutions on 3 lines
"/tmp/vb22VTd/93" 4L, 58C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/94[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/94"' -S /tmp/vb22VTd/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/94" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/95" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/vb22VTd/95" 5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/96[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/96"' -S /tmp/vb22VTd/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/96" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/97" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vb22VTd/97" 4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/98[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/98"' -S /tmp/vb22VTd/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/98" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/99" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/vb22VTd/99" 6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/100[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/blowfish.o blowfish.c


[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/100"' -S /tmp/vb22VTd/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/100" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/101" 1L, 9C appended2L, 31C2L, 30C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/102[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/102"' -S /tmp/vb22VTd/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/102" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 153C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/103" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/vb22VTd/103"gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt.o crypt.c
4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/104[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/104"' -S /tmp/vb22VTd/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/104" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/105" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/vb22VTd/105"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/106[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/106"' -S /tmp/vb22VTd/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/106" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/crypt_zip.o crypt_zip.c



:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/107" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/vb22VTd/107"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/108[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/108"' -S /tmp/vb22VTd/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/108" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/dict.o dict.c



:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/109" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vb22VTd/109"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/110[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/110"' -S /tmp/vb22VTd/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/110" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/111" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/112[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/112"' -S /tmp/vb22VTd/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/112" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885Cgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/diff.o diff.c



:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/113" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/vb22VTd/113"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/114[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/114"' -S /tmp/vb22VTd/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/114" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/115" 4L, 46C appended5L, 68C


4 substitutions on 4 lines
"/tmp/vb22VTd/115"5L, 64C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/116[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/116"' -S /tmp/vb22VTd/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/116" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/117" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/vb22VTd/117"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/118[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/118"' -S /tmp/vb22VTd/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/118" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/119" 5L, 66C appended6L, 88C


5 substitutions on 5 lines
"/tmp/vb22VTd/119"6L, 83C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/120[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/120"' -S /tmp/vb22VTd/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/120" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/121" 4L, 37C appended5L, 59C


4 substitutions on 4 lines
"/tmp/vb22VTd/121"5L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/122[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/122"' -S /tmp/vb22VTd/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/122" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 150C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/123" 4L, 41C appended5L, 63C


4 substitutions on 4 lines
"/tmp/vb22VTd/123"5L, 59C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/digraph.o digraph.c

<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/124[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vb22VTd/124"' -S /tmp/vb22VTd/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/124" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/90" 6L, 159C
"test49.in" 32L, 705C


*** Test  53: OK (131071)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/126" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/127[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/127"' -S /tmp/vb22VTd/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/127" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 164C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/128" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vb22VTd/128"gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/edit.o edit.c
4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/129[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/129"' -S /tmp/vb22VTd/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/129" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/130" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/vb22VTd/130"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/131[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/131"' -S /tmp/vb22VTd/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/131" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/132" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/vb22VTd/132"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/133[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/133"' -S /tmp/vb22VTd/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/133" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/134" 4L, 53C appended5L, 75C


4 substitutions on 4 lines
"/tmp/vb22VTd/134"5L, 71C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/135[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/135"' -S /tmp/vb22VTd/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/135" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/136" 5L, 62C appended6L, 84C


5 substitutions on 5 lines
"/tmp/vb22VTd/136"6L, 79C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/137[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/137"' -S /tmp/vb22VTd/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/137" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/138" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vb22VTd/138"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/139[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/139"' -S /tmp/vb22VTd/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/139" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/140" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vb22VTd/140"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/141[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/141"' -S /tmp/vb22VTd/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/141" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/142" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/vb22VTd/142"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/143[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/143"' -S /tmp/vb22VTd/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/143" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 167C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/144" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/vb22VTd/144"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/145[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/145"' -S /tmp/vb22VTd/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/145" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/146" 7L, 95C appended8L, 117C


7 substitutions on 7 lines
"/tmp/vb22VTd/146"8L, 110C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/147[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/147"' -S /tmp/vb22VTd/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/147" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/125" 6L, 167C
"test49.in" 32L, 705C


*** Test  54: OK (2047)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/149" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/150[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/150"' -S /tmp/vb22VTd/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/150" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 172C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/151" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vb22VTd/151"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/152[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/152"' -S /tmp/vb22VTd/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/152" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/153" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/vb22VTd/153"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/154[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/154"' -S /tmp/vb22VTd/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/154" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/155" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vb22VTd/155"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/156[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/156"' -S /tmp/vb22VTd/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/156" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/157" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/vb22VTd/157"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/158[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/158"' -S /tmp/vb22VTd/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/158" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/159" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/160[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/160"' -S /tmp/vb22VTd/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/160" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 166C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/161" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vb22VTd/161"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/162[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/162"' -S /tmp/vb22VTd/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/162" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/163" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/vb22VTd/163"5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/164[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/eval.o eval.c


[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/164"' -S /tmp/vb22VTd/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/164" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/165" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vb22VTd/165"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/166[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/166"' -S /tmp/vb22VTd/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/166" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/167" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/vb22VTd/167"6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/168[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/168"' -S /tmp/vb22VTd/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/168" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/148" 6L, 170C
"test49.in" 32L, 705C


*** Test  55: OK (1023)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/170" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/171[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/171"' -S /tmp/vb22VTd/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/171" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/172" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/vb22VTd/172"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/173[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/173"' -S /tmp/vb22VTd/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/173" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/174" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/vb22VTd/174"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/175[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/175"' -S /tmp/vb22VTd/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/175" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/176" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/vb22VTd/176"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/177[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/177"' -S /tmp/vb22VTd/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/177" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/178" 3L, 35C appended4L, 57C


3 substitutions on 3 lines
"/tmp/vb22VTd/178"4L, 54C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/179[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/179"' -S /tmp/vb22VTd/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/179" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/180" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/vb22VTd/180"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/181[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/181"' -S /tmp/vb22VTd/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/181" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/182" 4L, 47C appended5L, 69C


4 substitutions on 4 lines
"/tmp/vb22VTd/182"5L, 65C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/183[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/183"' -S /tmp/vb22VTd/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/183" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/184" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vb22VTd/184"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/185[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/185"' -S /tmp/vb22VTd/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/185" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/186" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/vb22VTd/186"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/187[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vb22VTd/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vb22VTd/187"' -S /tmp/vb22VTd/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/187" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vb22VTd/169" 6L, 155C
"test49.in" 32L, 705C


*** Test  56: OK (511)


   function FuncException()


1      let g:exception = v:exception


   endfunction"/tmp/vb22VTd/188" [noeol] 4L, 80C

Pattern not found: ^\s*$
"/tmp/vb22VTd/188"1L, 36C written
"test49.in" 32L, 705C

   function FuncThrowpoint()


1      let g:throwpoint = v:throwpoint


   endfunction"/tmp/vb22VTd/189" [noeol] 4L, 83C

Pattern not found: ^\s*$
"/tmp/vb22VTd/189"1L, 38C written
"test49.in" 32L, 705C

   function T(arg, line)


1      if a:line == 2


2throw a:arg" in line 2


3      elseif a:line == 4


4throw a:arg" in line 4


5      elseif a:line == 6


6throw a:arg" in line 6


7      elseif a:line == 8


8throw a:arg" in line 8


9      endif


   endfunction"/tmp/vb22VTd/190"[noeol] 12L, 341C

9 substitutions on 9 lines

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vb22VTd/190"9L, 292C written
"test49.in" 32L, 705C

   function G(arg, line)

1      call T(a:arg, a:line)

   endfunction"/tmp/vb22VTd/191"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/vb22VTd/191"1L, 30C written
"test49.in" 32L, 705C

   function F(arg, line)

1      call G(a:arg, a:line)

   endfunction"/tmp/vb22VTd/192"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/vb22VTd/192"1L, 30C written
"test49.in" 32L, 705C

*** Test  57: OK (2147450880)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/193" 87L, 1700C appended88L, 1722C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/194[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/194"' -c 'break


add func 4 T' -S /tmp/vb22VTd/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/194" 8L, 36C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  58: OK (624945)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/195" 293L, 5789C appended294L, 5811C


3 substitutions on 3 lines
"/tmp/vb22VTd/195"294L, 5808C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/196[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/196"' -c 'br


eakadd file 115 /tmp/vb22VTd/195' -c 'breakadd file 225 /tmp/vb22VTd/195' -S /tm


p/vb22VTd/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/196" 28L, 162C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  59: OK (2038431743)
"/n/o/n/w/r/i/t/a/b/l/e/_/f/i/l/e"
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/197" 33L, 765C appended34L, 787C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/198[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/evalfunc.o evalfunc.c


[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/198"' -c 'break


add file 7 /tmp/vb22VTd/197' -S /tmp/vb22VTd/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/198" 3L, 27C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  60: OK (311511339)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/199" 115L, 2272C appended116L, 2294C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/200[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/


200"' -c 'breakadd file 8 /tmp/vb22VTd/199' -c 'breakadd file 36 /tmp/vb22VTd/19


9' -c 'breakadd file 40 /tmp/vb22VTd/199' -c 'breakadd file 69 /tmp/vb22VTd/199'


-c 'breakadd file 95 /tmp/vb22VTd/199' -c 'breakadd file 97 /tmp/vb22VTd/199' -


S/tmp/vb22VTd/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"200" 14L, 81C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  61: OK (374889517)


   function F()


1      while 1


2      " Missing :endwhile


   endfunction"/tmp/vb22VTd/201"[noeol] 5L, 73C

Pattern not found: ^\s*$
"/tmp/vb22VTd/201"2L, 40C written
"test49.in" 32L, 705C

*** Test  62: OK (286331153)
"/i/m/p/o/s/s/i/b/l/e" Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk3/tes


tdir/test49.vim:


line 5500:


"/i/m/p/o/s/s/i/b/l/e" E212: Can't open file for writing


*** Test  63: OK (236978127)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/202" 149L, 2828C appended150L, 2850C


6 substitutions on 6 lines
"/tmp/vb22VTd/202"150L, 2844C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/203[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/203"' -c 'break


add file 63 /tmp/vb22VTd/202' -S /tmp/vb22VTd/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/203" 16L, 97C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  64: OK (1499645335)


*** Test  65: OK (70187)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/204" 78L, 1520C appended79L, 1542C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/205[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/205"' -c 'break


add func 8 F' -S /tmp/vb22VTd/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/205" 6L, 22C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  66: OK (5464)


*** Test  67: OK (212514423)


*** Test  68: OK (212514423)


*** Test  69: OK (8995471)


*** Test  70: OK (69544277)


*** Test  71: OK (34886997)


*** Test  72: OK (1789569365)


   function F0()


   endfunction


   function F1()


   endfunction


*** Test  73: OK (9032615)
"/tmp/vb22VTd/206" [New File]
"test49.in" 32L, 705C
"/tmp/vb22VTd/207" [New File]
"test49.in" 32L, 705C


*** Test  74: OK (224907669)


*** Test  75: OK (2000403408)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/208" 253L, 6369C appended254L, 6391C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/209[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|


set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp


/vb22VTd/209"' -c 'breakadd func 2 INT' -S /tmp/vb22VTd/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/209" 28L, 167C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  76: OK (1610087935)


Error detected while processing function ERR:


line    2:


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


*** Test  77: OK (1388671)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/210" 161L, 4543C appended162L, 4565C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/211[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/211"' -S /tmp/vb22


VTd/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/211" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  78: OK (134217728)


Error detected while processing function NEXT:


line    1:


E121: Undefined variable: novar


E15: Invalid expression: novar | Xloop 1


E121: Undefined variable: novar


E488: Trailing characters


E108: No such variable: "novar"


E488: Trailing characters


E121: Undefined variable: novar


E15: Invalid expression: novar


E475: Invalid argument: {novar} | Xloop 1


E121: Undefined variable: novar


E15: Invalid expression:  novar


E475: Invalid argument: { novar} | Xloop 1


*** Test  79: OK (70288929)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk3/tes


tdir/test49.vim:


line 7985:


E584: :elseif after :else: elseif 1 ||| 2


line 7995:


E584: :elseif after :else: elseif 1 ||| 2


line 8003:


E582: :elseif without :if: elseif 1 ||| 2


line 8011:


E582: :elseif without :if:     elseif 1 ||| 2


*** Test  80: OK (17895765)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/212" 15L, 272C appended16L, 294C16L, 293C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/213[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/213"' -S /tmp/vb22


VTd/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/213" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/214" 12L, 227C appended13L, 249C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/215[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/215"' -c 'break


add file 8 /tmp/vb22VTd/214' -S /tmp/vb22VTd/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/215" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  81: OK (387)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/216" 20L, 417C appended21L, 439C21L, 438C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/217[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/217"' -S /tmp/vb22


VTd/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/217" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/218" 24L, 480C appended25L, 502C25L, 501C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/219[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/219"' -S /tmp/vb22


VTd/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/219" 1L, 4C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/220" 17L, 390C appended18L, 412C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/221[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/221"' -c 'break


add file 7 /tmp/vb22VTd/220' -S /tmp/vb22VTd/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/221" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/222" 21L, 444C appended22L, 466C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/223[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/223"' -c 'break


add func 6 I' -S /tmp/vb22VTd/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/223" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  82: OK (8454401)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/224" 17L, 307C appended18L, 329C18L, 328C written
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/225[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/225"' -S /tmp/vb22


VTd/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/225" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/226" 14L, 266C appended15L, 288C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/227[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/227"' -c 'break


add file 8 /tmp/vb22VTd/226' -S /tmp/vb22VTd/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/227" 3L, 13C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  83: OK (2835)
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/228" gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds.o ex_cmds.c
154L, 3580C appended155L, 3602C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/229[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/229"' -c 'br


eakadd func 1 INT' -S /tmp/vb22VTd/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/229" 18L, 118C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  84: OK (934782101)


TMP
"/tmp/vb22VTd/230" [noeol] 2L, 6C/[?2004h  
"test49.in" 32L, 705C
"/n/o/n/e/x/i/s/t/e/n/t"


"/tmp/vb22VTd/232" 1L, 1C
"test49.in" 32L, 705C


:!echo XYZ >/tmp/vb22VTd/233[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/234" [New File]
"test49.in" 32L, 705C


*** Test  85: OK (198689)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk3/tes


tdir/test49.vim:


line 8769:


E123: Undefined function: F


Make_all.mak[?2004l[?2004h
"Make_all.mak" line 1 of 216 --0%-- col 1


line 8772:


E926: Current location list was changed


line 8773:


E193: :endfunction not inside a function


Error detected while processing function ExecAsScript[2]..MakeScript:


line    3:


E123: Undefined function: F[?2004l[?2004h
"/tmp/vb22VTd/235" c[noeol] 4L, 109C


search hit BOTTOM, continuing at TOP
line   10:

E486: Pattern not found: .*F(.*)


search hit BOTTOM, continuing at TOP
line   11:

E486: Pattern not found: ^\d*\s*endfunction\>


4 substitutions on 4 lines[?2004l[?2004h
"/tmp/vb22VTd/235"3L, 109C written
"Make_all.mak" 216L, 4391C


Error detected while processing /tmp/vb22VTd/235:


line    1:


E492: Not an editor command: Error detected while processing function ExecAsScr


ipt[2]..MakeScript:


line    2:


E492: Not an editor command: line    3:


line    3:


E492: Not an editor command: E123: Undefined function: F


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk3/tes


tdir/test49.vim:


line 8779:


E130: Unknown function: F


*** Test  86: OK (0)


5

*** Test  87: OK (0)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vb22VTd/0' >/tmp/vb22VTd/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vb22VTd/236" 151L, 3929C appended152L, 3951C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vb22VTd/237[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nvimi


nfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vb22VTd/237"' -c


'breakadd func 5 ThrowOnInterrupt' -S /tmp/vb22VTd/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vb22VTd/237" 16L, 281C
"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/test49.vim"
<FU59NL/vim-8.0.1144/src/vim-gtk3/testdir/test49.vim" [readonly] 9009L, 206885C
"Make_all.mak" 216L, 4391C


*** Test  88: OK (50443995)


Press ENTER or type command to continue:[?2004h[?25h" Go back to this file and append the results from register r.
[?25l#

# Common Makefile, defines the list of tests to run.

#



# Options for protecting the tests against undesirable interaction with the

# environment

NO_PLUGINS = --noplugin --not-a-term

NO_INITS = -U NONE $(NO_PLUGINS)



# The first script creates small.vim.

SCRIPTS_FIRST = \test1.out



# Tests that run on all systems.

SCRIPTS_ALL = \test3.out \test4.out \test5.out \test7.out \test8.out \test14.out \test15.out \test19.out \[?25h[?25l:[?2004h[?25hbuf test49.in
[?25l"test49.in" 32L, 705C:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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:):  silent! exe "unlet " . v

:endfor:unlet v:qa!ENDTESTResults of test49.vim:[?25h

[?25l

83 more lines

*** Test  16: OK (8722)83 more lines[?25h[?25l:[?2004h[?25h/^Results/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 84L, 2484C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" make valgrind happy
[?25l[?25h[?25l:[?2004h[?25hredir => funclist
[?25l[?25h[?25l:[?2004h[?25hsilent func
[?25l[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hfor line in split(funclist, "\n")
[?25l

:[?2004h  [?25h:  let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')


[?25l:[?2004h  [?25h:  if name != ''


[?25l:[?2004h    [?25h:    exe "delfunc " . name


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$w! test.out

:"

:" make valgrind happy[?25h[?25l

:[?2004h[?25hfor v in keys(g:)
[?25l

:[?2004h  [?25h:  silent! exe "unlet " . v


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in[?25h[?25l

:[?2004h[?25hunlet v
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test49 = test61; then \
#	  if diff test.out test49.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test49.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test54.failed test.ok test.out X* viminfo
cp test54.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test54.in" 22 lines, 658 charactersSome tests for buffer-local autocommands



STARTTEST

:so small.vim

:e xx

:if has("vms")

: !del test.out.*

: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.oout

:else

: !rm -f test.out

: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out

:endif

:e somefile" here, autocommand for xx shall write test.out

:" but autocommand shall not apply to buffer named <buffer>:bwipe xx" here, autocommand shall be auto-deleted

:e xx" nothing shall be written

:e somefile" nothing shall be written

:qa!

ENDTEST



start of test file xx

end of test file xx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSome tests for buffer-local autocommands[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 15 lines, 555 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25he xx
[?25l"xx" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !del test.out.*


[?25l:[?2004h  [?25h: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > te


st.out


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !rm -f test.out


[?25l:!rm -f test.out[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25he somefile           " here, autocommand for xx shall write test.out 
[?25l:!echo buffer-local autommand in xx>> test.out


[?25h[?2004l[?2004h[?25l"somefile" [New File]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h                     " but autocommand shall not apply to buffer named <buffer


>[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe xx             " here, autocommand shall be auto-deleted
[?25l[?25h[?25l:[?2004h[?25he xx                 " nothing shall be written
[?25l"xx" [New File][?25h[?25l:[?2004h[?25he somefile           " nothing shall be written
[?25l"somefile" [New File][?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test54 = test61; then \
#	  if diff test.out test54.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test54.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test17.in" 135 lines, 2431 charactersTests for:

- "gf" on ${VAR},

- ":checkpath!" with various 'include' settings.



STARTTEST

:so small.vim

:if has("ebcdic")

: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}

:else

: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}

:endif

:"

:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/TDIR

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 27 lines, 564 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" 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.out

gf

:set ff=unix

:w! test.out

:brewind

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:endif
[?25l:"

:if has("unix")

:let $CDIR = "."

/CDIR[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:let $CDIR = "."


[?25l:[?2004h  [?25h/CDIR


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:if has("amiga")


[?25l:[?2004h    [?25h:let $TDIR = "/testdir"


[?25l:[?2004h    [?25h:else


[?25l:[?2004h    [?25h:let $TDIR = "."


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h/TDIR


[?25l:[?2004h  [?25h:endif
[?25l:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/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[?25h[?25l

:[?2004h[?25h" Dummy writing for making that sure gf doesn't fail even if the current
[?25l[?25h[?25l:[?2004h[?25h" file is modified. It can be occurred when executing the following command
[?25l[?25h[?25l:[?2004h[?25h" directly on Windows without fixing the 'fileformat':
[?25l[?25h[?25l:[?2004h[?25h"  > nmake -f Make_dos.mak test17.out
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 135 lines, 2431 characters written[?25h[?25l

"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/./test17a.in" 3 lines, 88


characters


Press ENTER or type command to continue[?25h[?25lThis file is just to test "gf" in test 17.

The contents is not important.

Just testing!

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 3 lines, 88 characters written[?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters:" 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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":e! Xdir1/dir2/foo.ai#include   "bar.a"^[:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 23 lines, 396 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!mkdir Xdir1

:!mkdir "Xdir1/dir2"

:let &include='^\s*%inc\s*/\zs[^/]\+\ze'

:function! DotsToSlashes()

:  return substitute(v:fname, '\.', '/', 'g') . '.b'

:endfunction[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' without \zs or \ze
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.a")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he! Xdir1/dir2/foo.a
[?25l"Xdir1/dir2/foo.a" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l#include   "bar.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.a" [New File] 1 line, 19 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.a
[?25l"Xdir1/dir2/bar.a" [New File][?25h[?2004l[?2004h[?25l#include      "baz.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.a" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.a
[?25l"Xdir1/dir2/baz.a" [New File][?25h[?2004l[?2004h[?25l#include"foo.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.a" [New File] 1 line, 28 characters written[?25h[?25l:[?2004h[?25he Xbase.a
[?25l"Xbase.a" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l#include    <foo.a>[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.a" [New File] 1 line, 20 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l#include    <foo.a>

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi#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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*/\zs[^/]\+\ze':function! DotsToSlashes():  return substitute(v:fname, '\.', '/', 'g') . '.b':endfunction:let &includeexpr='DotsToSlashes()'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 27 lines, 532 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!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][?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.b")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hlet &include='^\s*%inc\s*/\zs[^/]\+\ze'
[?25l: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 delete("Xdir1", "rf")

:!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][?25h[?25l:[?2004h[?25hfunction! DotsToSlashes()
[?25l

:[?2004h  [?25h:  return substitute(v:fname, '\.', '/', 'g') . '.b'


[?25l:[?2004h  [?25h:endfunction
[?25l:e Xdir1/dir2/baz.b

i%inc/foo/^[:[?25h[?25l:[?2004h[?25hlet &includeexpr='DotsToSlashes()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.b
[?25l"Xdir1/dir2/foo.b" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   /bar/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.b" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.b
[?25l"Xdir1/dir2/bar.b" [New File][?25h[?2004l[?2004h[?25l%inc      /baz/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.b" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.b
[?25l"Xdir1/dir2/baz.b" [New File][?25h[?2004l[?2004h[?25l%inc/foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.b" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.b
[?25l"Xbase.b" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    /foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.b" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    /foo/

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi%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 delete("Xdir1", "rf"):!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]:  endif[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 39 lines, 745 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and no \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.c")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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

[?25h[?25l

:[?2004h[?25hfunction! StripNewlineChar()
[?25l

:[?2004h  [?25h:  if v:fname =~ '\n$'


[?25l:[?2004h    [?25h:    return v:fname[:-2]


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  return v:fname


[?25l:[?2004h  [?25h:endfunction
[?25l:w

:e Xdir1/dir2/baz.c

i%incfoo.c^[:

:w

:e Xdir1/dir2/FALSE.c[?25h[?25l

:[?2004h[?25hlet &includeexpr='StripNewlineChar()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.c
[?25l"Xdir1/dir2/foo.c" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   bar.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.c" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.c
[?25l"Xdir1/dir2/bar.c" [New File][?25h[?2004l[?2004h[?25l%inc      baz.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.c" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.c
[?25l"Xdir1/dir2/baz.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/FALSE.c
[?25l"Xdir1/dir2/FALSE.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/FALSE.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.c
[?25l"Xbase.c" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    FALSE.c foo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    FALSE.c foo.c

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters: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[?25h[?25l:[?2004h[?25h" change "\" to "/" for Windows and fix 'fileformat'
[?25l[?25h[?25l:[?2004h[?25he test.out
[?25l"test.out" 33 lines, 655 charactersThis 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)[?25h[?25l:[?2004h[?25h%s#\\#/#g
[?25lE486: Pattern not found: \\[?25h[?25l:[?2004h[?25hset ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 33 lines, 655 characters written[?25h[?25l:[?2004h[?25hq
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test17 = test61; then \
#	  if diff test.out test17.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test17.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available.



STARTTEST

:so small.vim

:set belloff=all

:" first write three test files, one in each format

:set fileformat=unix

:set fileformats=

:/^unix/;/eof/-1w! XXUnix

:/^dos/;/eof/-1w! XXDos

:set bin noeol

:$w! XXMac

Gonoeol^[

:$w! XXEol

:set nobin eol

:enew!

:bwipe XXUnix XXDos XXMac

:" create mixed format files

:if has("vms")

: !copy XXUnix,XXDos XXUxDs.

: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 222 lines, 3609 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72

Go8^[:$r XXtt81

:$r XXtt82

Go9^[:$r XXtt91

:$r XXtt92

:$r XXtt93

Go10^[:$r XXUnix

:set nobinary ff&

:w

:qa!

ENDTEST



unix

unix

eof



dos^M

dos^M

eof



mac^Mmac^M[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" first write three test files, one in each format
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25hset fileformats=
[?25l[?25h[?25l:[?2004h[?25h/^unix/;/eof/-1w! XXUnix
[?25l"XXUnix" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25h/^dos/;/eof/-1w! XXDos
[?25l"XXDos" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25hset bin noeol
[?25l[?25h[?25l:[?2004h[?25h$w! XXMac
[?25l"XXMac" [New File][Incomplete last line] 1 line, 8 characters written[?25h[?2004l[?2004h[?25l

noeol[?25h[?25l

:[?2004h[?25h$w! XXEol
[?25l"XXEol" [New File][Incomplete last line] 1 line, 5 characters written[?25h[?25l:[?2004h[?25hset nobin eol
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l3 buffers wiped out[?25h[?25l:[?2004h[?25h" create mixed format files
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !copy XXUnix,XXDos XXUxDs.


[?25l:[?2004h  [?25h: !copy XXUnix,XXMac XXUxMac.


[?25l:[?2004h  [?25h: !copy XXDos,XXMac  XXDosMac.


[?25l:[?2004h  [?25h: !copy XXMac,XXEol  XXMacEol.


[?25l:[?2004h  [?25h: !copy XXUnix,XXDos,XXMac XXUxDsMc.


[?25l:[?2004h  [?25h:elseif has("win32")


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos XXUxDs


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXMac XXUxMac


[?25l:[?2004h  [?25h: !copy /b XXDos+XXMac XXDosMac


[?25l:[?2004h  [?25h: !copy /b XXMac+XXEol XXMacEol


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos+XXMac XXUxDsMc


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !cat XXUnix XXDos >XXUxDs


[?25l:!cat XXUnix XXDos >XXUxDs[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXMac >XXUxMac


[?25l:!cat XXUnix XXMac >XXUxMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXDos XXMac >XXDosMac


[?25l:!cat XXDos XXMac >XXDosMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXMac XXEol >XXMacEol


[?25l:!cat XXMac XXEol >XXMacEol[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXDos XXMac >XXUxDsMc


[?25l:!cat XXUnix XXDos XXMac >XXUxDsMc[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25hendif
[?25l:[?2004h[?25h"
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' empty
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUnix
[?25l"XXUnix" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" 2 lines, 10 charactersdos^M

dos^M[?25h[?25l:[?2004h[?25hw! XXtt01
[?25l"XXtt01" gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_cmds2.o ex_cmds2.c
[New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line] 1 line, 8 charactersmacmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt02
[?25l"XXtt02" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=dos
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdos^Mdos^Meofmac^Mmac^M[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [CR missing][dos format] 2 lines, 10 charactersunixunix~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt11
[?25l"XXtt11" [New File][dos format] 2 lines, 12 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [dos format] 2 lines, 10 charactersdosdos[?25h[?25l:[?2004h[?25hw! XXtt12
[?25l"XXtt12" [New File][dos format] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line][dos format] 1 line, 8 charactersmac^Mmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt13
[?25l"XXtt13" [New File][dos format] 1 line, 10 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=mac
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdosdoseofmac^Jmac[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [Incomplete last line][mac format] 1 line, 10 charactersunix^Junix^J

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt21
[?25l"XXtt21" [New File][mac format] 1 line, 11 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [Incomplete last line][mac format] 3 lines, 10 charactersdos^Jdos^J[?25h[?25l:[?2004h[?25hw! XXtt22
[?25l"XXtt22" [New File][mac format] 3 lines, 11 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [mac format] 2 lines, 8 charactersmac

mac~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt23
[?25l"XXtt23" [New File][mac format] 2 lines, 8 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l^Jdos

^Jeof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to one format
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt31
[?25l"XXtt31" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt32
[?25l"XXtt32" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [mac format] 4 lines, 28 charactersunix^Junix^Jdos^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt33
[?25l"XXtt33" [New File][mac format] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters^Jdoseof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to two formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt41
[?25l"XXtt41" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt42
[?25l"XXtt42" [New File] 3 lines, 19 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [Incomplete last line][dos format] 3 lines, 18 charactersdodos

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt43
[?25l"XXtt43" [New File][dos format] 3 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=unix,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" 4 lines, 20 charactersunixunix

dos^Mdos^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt51
[?25l"XXtt51" [New File] 4 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt52
[?25l"XXtt52" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [mac format] 4 lines, 18 charactersdo^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt53
[?25l"XXtt53" [New File][mac format] 4 lines, 18 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt54
[?25l"XXtt54" [New File] 2 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" [CR missing][dos format] 4 lines, 20 charactersunixunix

dosdos

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt61
[?25l"XXtt61" [New File][dos format] 4 lines, 22 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line][CR missing][dos format] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:dos[?25h[?25l:[?2004h[?25hw! XXtt62
[?25l"XXtt62" [New File][dos format] 4 lines, 35 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt63
[?25l"XXtt63" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25he! XXMacEol
[?25l"XXMacEol" [Incomplete last line][mac format] 3 lines, 13 charactersmacmac

noeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:mac[?25h[?25l:[?2004h[?25hw! XXtt64
[?25l"XXtt64" [New File][mac format] 4 lines, 26 characters written[?25h[?25l:[?2004h[?25hbwipe XXMacEol
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to three formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt71
[?25l"XXtt71" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,dos,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt72
[?25l"XXtt72" [New File] 2 lines, 24 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac,dos,unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt81
[?25l"XXtt81" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line][mac format] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lmac,dos,unix:mac[?25h[?25l:[?2004h[?25hw! XXtt82
[?25l"XXtt82" [New File][mac format] 2 lines, 23 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h" try with 'binary' set
[?25l[?25h[?25l:[?2004h[?25hset fileformats=mac,unix,dos
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt91
[?25l"XXtt91" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt92
[?25l"XXtt92" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt93
[?25l"XXtt93" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix nobin
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXtt01
[?25l"XXtt01" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt02
[?25l"XXtt02" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt11
[?25l"XXtt11" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt12
[?25l"XXtt12" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt13
[?25l"XXtt13" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt21
[?25l"XXtt21" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt22
[?25l"XXtt22" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt23
[?25l"XXtt23" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt31
[?25l"XXtt31" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt32
[?25l"XXtt32" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt33
[?25l"XXtt33" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt41
[?25l"XXtt41" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt42
[?25l"XXtt42" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt43
[?25l"XXtt43" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt51
[?25l"XXtt51" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt52
[?25l"XXtt52" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt53
[?25l"XXtt53" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt54
[?25l"XXtt54" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt61
[?25l"XXtt61" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt62
[?25l"XXtt62" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt63
[?25l"XXtt63" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt64
[?25l"XXtt64" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt71
[?25l"XXtt71" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt72
[?25l"XXtt72" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt81
[?25l"XXtt81" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt82
[?25l"XXtt82" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt91
[?25l"XXtt91" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt92
[?25l"XXtt92" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt93
[?25l"XXtt93" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results.
[?25l[?25h[?25l:[?2004h[?25h" Make fileformat of test.out the native fileformat.
[?25l[?25h[?25l:[?2004h[?25h" Add a newline at the end.
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25h$r XXtt01
[?25l"XXtt01" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt02
[?25l"XXtt02" 2 lines, 13 charactersmac^Mmac^MEND[?25h

[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXtt11
[?25l"XXtt11" 3 lines, 16 charactersunix^Munix^MEND[?25h[?25l:[?2004h[?25h$r XXtt12
[?25l"XXtt12" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt13
[?25l"XXtt13" 2 lines, 14 charactersmac^Mmac^M^MEND[?25h

[?2004l[?2004h[?25l

2[?25h[?25l:[?2004h[?25h$r XXtt21
[?25l"XXtt21" 3 lines, 15 charactersunixunix^MEND[?25h[?25l:[?2004h[?25h$r XXtt22
[?25l"XXtt22" 3 lines, 15 charactersdos^Mdos^M^MEND[?25h[?25l:[?2004h[?25h$r XXtt23
[?25l"XXtt23" 1 line, 12 characters

mac^Mmac^MEND[?25h[?2004l[?2004h[?25l

3[?25h[?25l

:[?2004h[?25h$r XXtt31
[?25l"XXtt31" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt32
[?25l"XXtt32" 6 lines, 36 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt33
[?25l"XXtt33" 5 lines, 32 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

4[?25h[?25l

:[?2004h[?25h$r XXtt41
[?25l"XXtt41" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt42
[?25l"XXtt42" 4 lines, 23 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt43
[?25l"XXtt43" 4 lines, 24 charactersunix

mac^Mmac^M

END

dos^M[?25h[?25ldos^M

mac^Mmac^M^M

END
[?25h[?2004l[?2004h[?25l

5[?25h[?25l

:[?2004h[?25h$r XXtt51
[?25l"XXtt51" 5 lines, 24 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt52
[?25l"XXtt52" 6 lines, 33 charactersunix

dos^M

dos^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt53
[?25l"XXtt53" 3 lines, 22 charactersunix

dos^M

dos^M

mac^Mmac^M

END

dos^M[?25h[?25l

:[?2004h[?25h$r XXtt54
[?25l"XXtt54" 3 lines, 24 charactersdos^M

mac^Mmac^MEND

unix,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

6[?25h[?25l

:[?2004h[?25h$r XXtt61
[?25l"XXtt61" 5 lines, 26 characters

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt62
[?25l"XXtt62" 5 lines, 39 charactersunix^M

dos^M

dos^M

END

dos,mac:dos^M[?25h[?25l

:[?2004h[?25h$r XXtt63
[?25l"XXtt63" 6 lines, 36 charactersunix^M

unix^M

mac^Mmac^M^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt64
[?25l"XXtt64" 1 line, 30 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

dos,mac:mac^Mmac^Mmac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

7[?25h[?25l

:[?2004h[?25h$r XXtt71
[?25l"XXtt71" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt72
[?25l"XXtt72" 3 lines, 28 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix,dos,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

8[?25h[?25l

:[?2004h[?25h$r XXtt81
[?25l"XXtt81" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt82
[?25l"XXtt82" 1 line, 27 charactersunix

dos^M

dos^M

mac^Mmac^M

END

mac,dos,unix:mac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

9[?25h[?25l

:[?2004h[?25h$r XXtt91
[?25l"XXtt91" 5 lines, 32 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt92
[?25l"XXtt92" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25l

:[?2004h[?25h$r XXtt93
[?25l"XXtt93" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

10[?25h[?25l

:[?2004h[?25h$r XXUnix
[?25l"XXUnix" 2 lines, 10 characters

unix[?25h[?25l

:[?2004h[?25hset nobinary ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 130 lines, 786 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test30 = test61; then \
#	  if diff test.out test30.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test30.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test32.in" 61 lines, 1408 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h[?25l

:so small.vim[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 28 lines, 550 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTO^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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
[?25l"Xtestfile" [New] 3L, 57C written[?25h[?25l:[?2004h[>cs[?25het belloff=all
[?25l[?25h[?25l:[?2004h[?25hse cot=
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       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

ENDTESTstart of testfile

run1run2test32.in                                                                       [?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[+][?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h[?25l3[?25h

[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) match 1 of 117-- 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[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h

[?25l:[?2004h[?25hse cpt=.,w,i
[?25l[?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 58INSERT --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 58Addinge 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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=kXtestfile
[?25l[?25h[?25l:[?2004h[?25hw Xtest11.one
[?25l"Xtest11.one" [New] 9L, 104C writtenXtest11.one+   [?25h[?25l:[?2004h[?25hw Xtest11.two
[?25l"Xtest11.two" [New] 9L, 104C written[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning dictionary: Xtestfile-match in file Xtestfile-- Keyword completion (^N^P) match 1 of 9test11[+]I[?25h [?25l-- Keyword completion (^N^P) match 1 of 9-- INSERT --[?25h[?25l-- INSERT --Xtest11
[?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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25h" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
[?25l[?25h[?25l:[?2004h[?25h" CTRL-X CTRL-F again to verify this doesn't cause trouble.
[?25l[?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 5.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 423.
Make_all.mak

run1 run2d[?25h [?25l-- INSERT --[?25h[?25l
run1 run2~                                                                               [?25h

[?25l:[?2004h[?25hse cpt=w
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=u nohid
[?25l[?25h[?25l



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h

ru[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New] 15L, 175C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test32 = test61; then \
#	  if diff test.out test32.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test32.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test59.failed test.ok test.out X* viminfo
cp test59.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 106 lines, 2520 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1










[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Don't want to depend on the locale from the environment.  The .aff and .dic
[?25l[?25h[?25l:[?2004h[?25h" text is in latin1, the test text is utf-8.
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1









[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :STARTTESTso small.vimso mbyte.vimDon't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.enc=latin1e!

:set enc=utf-8:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=$put =''

  $put ='test '. a:aff . '-' . a:dic  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest  " use that spell file[?25h[?25l:[?2004h[?25hset enc=utf-8
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset fenc=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Function to test .aff/.dic with list of good and bad words.
[?25l[?25h[?25l:[?2004h[?25hfunc TestOne(aff, dic)
[?25l

:[?2004h  [?25h  set spellfile=


[?25l:[?2004h  [?25h  $put =''


[?25l:[?2004h  [?25h  $put ='test '. a:aff . '-' . a:dic


[?25l:[?2004h  [?25h  " Generate a .spl file from a .dic and .aff file.


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'


[?25l:[?2004h  [?25h  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'


[?25l:[?2004h  [?25h  mkspell! Xtest Xtest


[?25l:[?2004h  [?25h  " use that spell file


[?25l:[?2004h  [?25h  set spl=Xtest.utf-8.spl spell


[?25l:[?2004h  [?25h  " list all valid words


[?25l:[?2004h  [?25h  spelldump


[?25l:[?2004h  [?25h  %yank


[?25l:[?2004h  [?25h  quit


[?25l:[?2004h  [?25h  $put


[?25l:[?2004h  [?25h  $put ='-------'


[?25l:[?2004h  [?25h  " find all bad words and suggestions for them


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'good:'


[?25l:[?2004h  [?25h  normal 0f:]s


[?25l:[?2004h  [?25h  let prevbad = ''


[?25l:[?2004h  [?25h  while 1


[?25l:[?2004h    [?25h    let [bad, a] = spellbadword()


[?25l:[?2004h    [?25h    if bad == '' || bad == prevbad || bad == 'badend'


[?25l:[?2004h      [?25h      break


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let prevbad = bad


[?25l:[?2004h    [?25h    let lst = spellsuggest(bad, 3)


[?25l:[?2004h    [?25h    normal mm


[?25l:[?2004h    [?25h    $put =bad


[?25l:[?2004h    [?25h    $put =string(lst)


[?25l:[?2004h    [?25h    normal `m]s


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('1', '1')
[?25l"Xtest.aff" [New File] 48 lines, 768 characters written


"Xtest.dic" [New File] 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25lthe end

uk

wrong

-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']the['put', 'uk', 'test']gebletegek[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kepereneven[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

everles gesvets etele[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l"Xtest.aff" 153 lines, 3426 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest Xtest
[?25lReading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 241 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25l-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end['put', 'uk', 'test']

the['put', 'uk', 'test']gebletegekkepereneveneverles gesvet etelekbltykk[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kprnfn[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

*fls kswts tl[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" also use an addition file
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^addstart/+1,/^addend/-1w! Xtest.utf-8.add
[?25l"Xtest.utf-8.add" [New File] 3 lines, 38 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest.utf-8.add.spl Xtest.utf-8.add
[?25lReading word file Xtest.utf-8.add ...

Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.utf-8.add.spl ...


Done!


Estimated runtime memory use: 145 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset spellfile=Xtest.utf-8.add
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"[?25h[?25l/[?2004h[?25h^test2:
[?25ltomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !![?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25linputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_us.utf-8.spl
[?25l[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lcomment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hset spl=Xtest_gb.utf-8.spl
[?25lelequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_nz.utf-8.spl
[?25lelequint

elekwint

elekwint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lOk

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_ca.utf-8.spl
[?25lelequint

elekwint

elekwint



elequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25ltest

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hunlet str a
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Postponed prefixes
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('2', '1')
[?25l"Xtest.aff" 46 lines, 461 characters written


"Xtest.dic" 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 102 nodes; 92 (90%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 525 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25laddstart

/regions=usgbnz

elequint/2

elekwint/3

addend



1good: wrong OK puts. Test the end

bad:  inputs comment ok Ok. test déôl end the

badend



2good: puts

bad: inputs comment ok Ok end the. test déôl

badendTest rules for compounding.3affstart

SET ISO8859-1COMPOUNDMIN 3

COMPOUNDRULE m*

NEEDCOMPOUND x

3affend[?25h[?25l:[?2004h[?25h" Compound words
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('3', '3')
[?25l"Xtest.aff" 5 lines, 60 characters written


"Xtest.dic" 5 lines, 29 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 31 nodes; 25 (80%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 125 bytes


3 lines yanked


3 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('4', '4')
[?25l"Xtest.aff" 45 lines, 559 characters written


"Xtest.dic" 8 lines, 59 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


12 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('5', '5')
[?25l"Xtest.aff" 25 lines, 237 characters written


"Xtest.dic" 6 lines, 57 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 107 nodes; 88 (82%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('6', '6')
[?25l"Xtest.aff" 23 lines, 211 characters written


"Xtest.dic" 6 lines, 53 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('7', '7')
[?25l"Xtest.aff" 26 lines, 338 characters written


"Xtest.dic" 6 lines, 67 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 91 nodes; 72 (79%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaébar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h" clean up for valgrind
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestOne
[?25l[?25h[?25l:[?2004h[?25hset spl= enc=latin1
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaé bar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^test output:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 270 lines, 3685 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test59 = test61; then \
#	  if diff test.out test59.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test59.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test72.failed test.ok test.out X* viminfo
cp test72.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test72.in" 146 lines, 2107 charactersTests for undo file.

Since this script is sourced we need to explicitly break changes up in

undo-able pieces.  Do that by setting 'undolevels'.



STARTTEST

:so small.vim

:set belloff=all

:"

:" Test 'undofile': first a simple one-line change.

:set nocompatible viminfo+=nviminfo visualbell

:set ul=100 undofile nomore

:e! Xtestfile

ggdGithis is one line^[:set ul=100

:s/one/ONE/

:set ul=100

:w

:bwipe!

:e Xtestfile

u:.w! test.out

:"

:" Test 'undofile', change in original file fails check

:set noundofile

:e! Xtestfile[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 undo file.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 135 lines, 1910 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar

:.w >>test.out

u:.w >>test.out

u:.w >>test.out

u:.w >>test.out

:"

:" Rename the undo file so that it gets cleaned up.

:if has("vms")

: call rename("_un_Xtestfile", "Xtestundo")

:else

: call rename(".Xtestfile.un~", "Xtestundo")

:endif

:qa!

ENDTEST



1111 -----

2222 -----



123456789[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile': first a simple one-line change.
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo visualbell
[?25l[?25h[?25l:[?2004h[>cs[?25het ul=100 undofile nomore
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l-- INSERT --this is one line[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hs/one/ONE/
[?25lONE
[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" [New] 1L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 change; before #2  0 seconds agoone
[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New] 1L, 17C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', change in original file fails check
[?25l[?25h[?25l:[?2004h[?25hset noundofile
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 1L, 17CONE
[?25h[?25l:[?2004h[?25hs/line/Line/
[?25lL
[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 1L, 17C written[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE Line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25lAlready at oldest change[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 17C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', add 10 lines, delete 6 lines, undo 3
[?25l[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --one

twothreefourfivesixseveneightnineten[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 4L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 4L, 17Conetwonineten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 7L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that reading the undofiles when setting undofile works
[?25l[?25h[?25l:[?2004h[?25hset noundofile ul=0
[?25l[?25h[?25l-- INSERT --six
u[?25hs[?25l[?25h[?25l1 line less; before #8  0 seconds ago

~                                                                               [?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cnine

ten~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile ul=100
[?25l[?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l1 more line; before #4  0 seconds agofive[?25h[?25l1 more line; before #3  0 seconds agofour[?25h[?25l1 more line; before #2  0 seconds agothree[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 10L, 49C appended[?25h[?25l:[?2004h[?25h" And now with encryption, cryptmethod=zip
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cninten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile cm=zip
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l-- INSERT --monday

tuesdaywednesdaythursdayfriday[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25lmonday

friday

~                                                                               [?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [crypted] 2L, 14C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [crypted] 2L, 14Cmonday

friday

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [crypted] 2L, 14C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l1 more line; before #11  0 seconds agothursday[?25h[?25l1 more line; before #10  0 seconds agowednesday[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 4L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][crypted] 1L, 14C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25ljan

feb

bar apr[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_docmd.o ex_docmd.c


[?25l"Xtestfile" [blowfish] 4L, 20Cjan

feb

bar apr

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #15  0 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #14  0 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #13  0 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish2
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][blowfish] 1L, 20C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish2 ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lEnter encryption key:[?2004h [?25h*******


[?25lEnter same key again:[?2004h [?25h*******


[?25ljan

feb[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish2] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Enter encryption key:[?2004h [?25h*******


[?25l"Xtestfile" [blowfish2] 4L, 20Cjan

feb

bar ap

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish2] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #19  0 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #18  0 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #17  0 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Rename the undo file so that it gets cleaned up.
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: call rename("_un_Xtestfile", "Xtestundo")


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: call rename(".Xtestfile.un~", "Xtestundo")


[?25l:[?2004h  [?25h:endif
[?25ljan

feb

mar

apr[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test72 = test61; then \
#	  if diff test.out test72.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test72.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test78.failed test.ok test.out X* viminfo
cp test78.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test78.in" 46 lines, 1476 charactersInserts 10000 lines with text to fill the swap file with two levels of pointer

blocks.  Then recovers from the swap file and checks all text is restored.



We need about 10000 lines of 100 characters to get two levels of pointer

blocks.



STARTTEST

:so small.vim

:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all

:e! Xtest

ggdG

:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01223456789abcdefghijklmnoparstuvwxyz0123456789"

:let i = 1

:let linecount = 10000

:while i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile

:preserve

:" get the name of the swap file

:redir => swapname

:swapname

:redir END

:let swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][::cntrl:]]*$', '\1', '')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lInserts 10000 lines with text to fill the swap file with two levels of pointer[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1220 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:set nobin

:new

:only!

:bwipe! Xtest

:call rename('Xswap', swapname)

:recover Xtest

:call delete(swapname)

:new

:call append(0, 'recovery start')

:wincmd w

:let linedollar = line('$')

:if linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected "" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let linnecount = linedollar | endif

:let i = 1

:while i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appendd(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile

:q!

:call append(line('$'), 'recovery end')

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all
[?25l[?25h[?25l:[?2004h[>ce[?25h! Xtest
[?25l"Xtest" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01


23456789abcdefghijklmnoparstuvwxyz0123456789"
[?25l[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hlet linecount = 10000
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899991    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899992    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899993    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899994    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899995    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899996    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899997    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899998    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789[?25h[?25l:[?2004h[?25hpreserve
[?25lFile preserved[?25h[?25l:[?2004h[?25h" get the name of the swap file
[?25l[?25h[?25l:[?2004h[?25hredir => swapname
[?25l[?25h[?25l:[?2004h[?25hswapname
[?25l.Xtest.swp[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hlet swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][


:cntrl:]]*$', '\1', '')
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899a[?25h[?25l

:[?2004h[?25h" make a copy of the swap file in Xswap
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hexe 'sp ' . swapname

999899a

999999a

1000099a~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hw! Xswap
[?25l"Xswap" [New][noeol] 611L, 1224704C written[?25h[?25l:[?2004h[?25hecho swapname
[?25l.Xtest.sw[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25hnew

10000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789



~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe! Xtest
[?25l[?25h[?25l:[?2004h[?25hcall rename('Xswap', swapname)
[?25l[?25h[?25l:[?2004h[?25hrecover Xtest
[?25lUsing swap file ".Xtest.swp"


Original file "/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xtest"


"/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xtest" [New File]Recovery completed. You should check if everything is OK.


(You might want to write out this file under another name


and run diff with the original file to check for changes)


You may want to delete the .swp file now.






Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall delete(swapname)
[?25l1abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

2abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

3abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

4abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

5       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567896       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567897       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567898       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678911      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678912      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@                                                                               [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       199a

299a

399a

4 99a

5 99a

Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hcall append(0, 'recovery start')
[?25lrecovery start[+][?25h[?25l:[?2004h[?25hwincmd w
[?25l[No Name] [+]                                                                    Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hlet linedollar = line('$')
[?25l[?25h[?25l:[?2004h[?25hif linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected 


" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let li


necount = linedollar | endif
[?25lrecovery start[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appen


d(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
[?25lrecovery start[?25h[?25l:[?2004h[?25hq!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hcall append(line('$'), 'recovery end')
[?25lrecovery end[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New] 3L, 29C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test78 = test61; then \
#	  if diff test.out test78.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test78.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test83.failed test.ok test.out X* viminfo
cp test83.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test83.in" 76 lines, 1273 charactersTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 tag search with !_TAG_FILE_ENCODING.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 58 lines, 1021 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h[?25l:[?2004h[?25hif !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
[?25l"Xtags1.txt" [New File] 2 lines, 35 characters written[?25h[?25l:[?2004h[?25h/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
[?25l"Xtags2.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
[?25l"Xtags3.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^tags1$/+1,/^tags1-end$/-1w! Xtags1
[?25l"Xtags1" [New File] 2 lines, 81 characters written[?25h[?25l:[?2004h[?25h[?25l[?25h[?25lTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hcall setline('.', 'Results of test83')
[?25lResults of test83
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case1:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l[No Name]                                                                       Results of test83test83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=Xtags1
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abcdefghijklmnopqrs
[?25l"Xtags1.txt" 2 lines, 35 characterstext for tags1

abcdefghijklmnopqrsXtags1.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'abcdefghijklmnopqrs'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case2:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               [No Name]                                                                       Results of test83case1: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags2
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag /.BC
[?25l"Xtags2.txt" 2 lines, 25 characterstext for tags2

ABCXtags2.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case3:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               [No Name]                                                                       case1: okcase2: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags3
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abc50
[?25l"Xtags3.txt" 2 lines, 25 characterstext for tags3

ABCXtags3.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

case3: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 4 lines, 48 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test83 = test61; then \
#	  if diff test.out test83.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test83.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arabic.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arabic.vim" 613 lines, 18247 characters


Executing Test_arabic_input()!ﻡﻼﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 !مالس                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_arabic_toggle()


Executing Test_arabic_toggle_keymap()٢١21٢١                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_delcombine()ﻞﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_final()ﻶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_isolated()ﻵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final()ﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺾﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final_to_medial()ﺐﺊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺔ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺬ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺐ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺶ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺺ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺾ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻂ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻒ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_initial()ﻎﺋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺿ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_iso_to_medial()ﻍﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻀﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_isolated()ﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺽ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 "test_arabic.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [New File][New] 15L, 422C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arglist.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arglist.vim" 358 lines, 7814 characters


Executing Test_arg_all_expand()
"notexist" [New File]

Executing Test_argadd()
"a" [New File]bababababdsome file" [New File]


Executing Test_argc()
"a" [New File]

Executing Test_argdelete()
"a" [New File]a" [New File]
"bb


Executing Test_argedit()
"a" [New File]baCcx


"x" [New File]


Executing Test_argidx()
"a" [New File]c


"a" [New File]
"bc


Executing Test_arglist_autocmd()
"Xxx1" 1L, 15C
"Xxx21L, 15C1L, 15C
"Xxx1" line 1 of 1 --100%-- col 1 ((3) of 2)
"Xxx21 of 2)

3 buffers wiped out


Executing Test_arglistid()
"a" [New File]

Executing Test_argpos()
"a" [New File]d


"c" [New File]
"ba


"d" [New File]
"a


Executing Test_argument()
"d" [New File]cbafile] --No lines in buffer-- (1 of 4)
"c3


a b [c] d
"c" [New File]


"x" [New File]
"z


Executing Test_argv()
"a" [New file] --No lines in buffer--


Executing Test_zero_argadd()
"b" [New file] --No lines in buffer-- (2 of 4)
"aFbedited" [New File]
"a" [New File]file with spaces" [New File]
"test_arglist.r[New] 0L, 0C written


Executed 12 tests
"messages" 15L, 422C30L, 779C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_assert.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_assert.vim" 147 lines, 3536 characters


Executing Test_assert_equal()


Executing Test_assert_exception()


Executing Test_assert_fail_fails()


Executing Test_assert_false()


Executing Test_assert_inrange()


Executing Test_assert_notequal()


Executing Test_assert_report()


Executing Test_assert_true()


Executing Test_assert_with_msg()


Executing Test_compare_fail()


Executing Test_match()


Executing Test_notmatch()


Executing Test_override()


Executing Test_user_is_happy()




oooo$$$$$$$$$$$$oooo


oo$$$$$$$$$$$$$$$$$$$$$$$$o


oo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$oo$   $$ o$


     o $ ooo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o$$ $$ $$o$


  oo $ $ "$      o$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$o$$$o$$o$


  "$$$$$$o$     o$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$o    $$$$$$$$


    $$$$$$$    $$$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$$$$$$$$$$$$$$


    $$$$$$$$$$$$$$$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$$$$$$  """$$$


     "$$$""""$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$


      $$$   o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$o


     o$$"   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o


     $$$    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$ooooo$$$$o


    o$$$oooo$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$   o$$$$$$$$$$$$$$$$$


    $$$$$$$$"$$$$   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     $$$$""""""""


   """"$$$$    "$$$$$$$$$$$$$$$$$$$$$$$$$$$$"      o$$$


"$$$o     """$$$$$$$$$$$$$$$$$$"$$"$$$


$$$o"$$""$$$$$$""""o$$$


$$$$oo$$$"


"$$$$o      o$$$$$$o"$$$$oo$$$$


"$$$$$oo     ""$$$$o$$$$$o   o$$$$""


""$$$$$oooo  "$$$o$$$$$$$$$"""


""$$$$$$$oo $$$$$$$$$$


""""$$$$$$$$$$$


$$$$$$$$$$$$


$$$$$$$$$$"


"$$$""""


[?25h[?2004l[?2004h[?25lExecuting Test_wrong_error_type()
"test_assert.res" [New File][New] 0L, 0C written


Executed 15 tests
"messages" 30L, 779C48L, 1277C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autochdir.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autochdir.vim" 17 lines, 332 characters


Executing Test_set_filename()
"samples/Xtest" [New] 0L, 0C written
"test_autochdir.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"48L, 1277C52L, 1349C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autocmd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_BufEnter()
"NewFile" [New File]Xdir" is a directory


Executing Test_BufleaveWithDelete()
"Xfile1" [New File]

Executing Test_OptionSet()


Executing Test_OptionSet_diffmode()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_OptionSet_diffmode_close()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_augroup_deleted()


W19: Deleting augroup that is still in use
Executing Test_augroup_warning()

W19: Deleting augroup that is still in useentering


Executing Test_autocmd_bufunload_avoiding_SEGV_01()


"aa.txt" [New File]


"bb.txt" [New File]


Executing Test_autocmd_bufunload_avoiding_SEGV_02()[?2004l[?2004h


"a.txt" [New File]


"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_autocmd_bufunload_with_tabnext()


Executing Test_autocmd_bufwinleave_with_tabfirst()


"a.txt" [New File]


Executing Test_autocmd_bufwipe_in_SessLoadPost()[?2004l[?2004h


Executing Test_autocmd_bufwipe_in_SessLoadPost2()[?2004l[?2004h


Executing Test_bufunload()


Executing Test_cursorhold_insert()[?2004l[?25h[?2004h[?25l_ctrl_x()[?2004l[?25h[?2004h[?25learly_bar()

Executing Test_empty_doau()


No matching autocommands


Executing Test_three_windows()


"Xtestje1" [New File]


"Xtestje1" [New File] 1 line, 8 characters written


"Xtestje2" [New File]


"Xtestje2" [New File] 1 line, 8 characters written


"Xtestje3" [New File]


"Xtestje3" [New File] 1 line, 8 characters written


"Xtestje1" 1 line, 8 characters


"Xtestje3" 1 line, 8 characters


"Xtestje2" 1 line, 8 characters


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


Already only one window
"help.txt" [readonly] 225 lines, 8437 characters


Executing Test_vim_did_enter()


Executing Test_win_tab_autocmd()


"somefile" [New File]


"test_autocmd.res" [New File][?2004l


"test_autocmd.res" [New File] 0 lines, 0 characters written


Executed 21 tests


"messages" 52 lines, 1349 characters


"messages" 76 lines, 2180 characters written


[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_backspace_opt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_backspace_opt.vim" 59 lines, 1673 characters


Executing Test_backspace_option()
"test_backspace_opt.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"76L, 2180C80L, 2260C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_breakindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_breakindent.vim" 298 lines, 7493 characters


Executing Test_breakindent01()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    qrstuvwxyzABCDEF|

    GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent02()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    >>qrstuvwxyzABCD|

    >>EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent03()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

++  qrstuvwxyzABCDEF|

++  GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent04()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

  qrstuvwxyzABCDEFGH|

  IJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent05()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|qrstuvwxyzABCD|EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent06()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

   qrstuvwxyzABCDEFG|

   HIJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

?mnopqrstuvw|

?xyzABCDEFGH|

?IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

    ?    mnopqrstuvw|

    ?    xyzABCDEFGH|

    ?    IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

    #  opqrstuvwxyzA|

    #  BCDEFGHIJKLMN|

    #  OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent09()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

       #opqrstuvwxyz|

       #ABCDEFGHIJKL|

       #MNOP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent10()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2 abcdefgh|

~ijklmnop|

~qrstuvwx|

~yzABCDEF|

~GHIJKLMN|

~OP      ||||~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent11()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent12()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                             1 |

 2 >--->--->--->--->|

   ---{      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        {~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent13()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent14()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

e|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  e~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent15()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |1234567890|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  1234567890~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent16()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            ~                   

~                   

~                   

~                   

~                   

                    7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

"test_breakindent.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 80L, 2260C101L, 2866C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_bufwintabinfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_bufwintabinfo.vim" 116 lines, 3459 characters


Executing Test_get_buf_options()


Executing Test_get_win_options()


Executing Test_getbufwintabinfo()
"Xtestfile1" [New File]212


Already only one window
"test_bufwintabinfo.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"101L, 2866C107L, 3013C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cdo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cdo.vim" 205 lines, 5116 characters


Executing Test_cdo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2


Executing Test_ldo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2
"test_cdo.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"107L, 3013C112L, 3092C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_channel.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_channel.vim" 1761 lines, 51515 characters
"test_channel.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"112L, 3092C115L, 3132C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_charsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_charsearch.vim" 62 lines, 1475 characters


Executing Test_charsearch()


Executing Test_search_cmds()
"test_charsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"115L, 3132C120L, 3233C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cindent.vim" 105 lines, 2962 characters


Executing Test_cindent_expr()rawstring()o_extern_c()6 lines to indent... 7indented 6to indent...
7indented Executing Test_cino_hash()
"test_cindent.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"120L, 3233C127L, 3397C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_clientserver.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_clientserver.vim" 108 lines, 3648 characters


Executing Test_client_server()
"test_clientserver.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"127L, 3397C133L, 3535C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cmdline.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cmdline.vim" 434 lines, 12686 characters


Executing Test_cmdline_complete_user_cmd():[?2004hFoo ...blue
:"Foo blue
:"
:[?2004hFoo b...lue
:"Foo blue
:"


Executing Test_cmdline_complete_wildoptions()
"help.txt" [readonly] 225L, 8437C:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V


IMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ')


'. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeym


ap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape


''ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave


''autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backu


pcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloo


nexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh'


'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakind


ent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' '


bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit'


'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys'


'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheigh


t' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'comm


entstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor'


'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpopti


ons' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cs


coperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf'


'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorlin


e' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionar


y' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy'


'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'em"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $VIMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ') '. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeymap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape' 'ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave' 'autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backupcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloonexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh' 'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakindent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' 'bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit' 'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys' 'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheight' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'commentstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor' 'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpoptions' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cscoperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf' 'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorline' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionary' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy' 'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'e
:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V
:"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $
:"


Executing Test_cmdline_search_range()


search hit BOTTOM, continuing at TOP
Executing Test_complete_list():[?2004he test


test1.intest_bufline.vim


test1.oktest_bufwintabinfo.res


test1.outtest_bufwintabinfo.vim


test108.intest_cd.vim


test108.oktest_cdo.res


test108.outtest_cdo.vim


test11.intest_changedtick.vim


test11.oktest_changelist.in


test11.outtest_changelist.ok


test12.intest_changelist.out


test12.oktest_channel.py


test12.outtest_channel.res


test14.intest_channel.vim


test14.oktest_channel_pipe.py


test14.outtest_channel_write.py


test15.intest_charsearch.res


test15.oktest_charsearch.vim


test15.outtest_charsearch_utf8.vim


test17.intest_cindent.res


test17.oktest_cindent.vim


test17.outtest_clientserver.res


test17a.intest_clientserver.vim


test19.intest_close_count.in


test19.oktest_close_count.ok


test19.outtest_close_count.out


test20.intest_cmdline.vim


test20.oktest_command_count.vim


test20.outtest_comparators.vim


test25.intest_crypt.vim


test25.oktest_cscope.vim


test25.outtest_cursor_func.vim


test28.intest_curswant.vim


test28.oktest_delete.vim


test28.outtest_diffmode.vim


test29.intest_digraph.vim


test29.oktest_display.vim


test29.outtest_edit.vim


test3.intest_erasebackword.in


test3.oktest_erasebackword.ok


test3.outtest_erasebackword.out


test30.intest_escaped_glob.vim


test30.oktest_eval.in


test30.outtest_eval.ok


test31.intest_eval.out


test31.oktest_eval_func.vim


test31.outtest_ex_undo.vim


test32.intest_ex_z.vim


test32.oktest_exec_while_if.vim


test32.outtest_execute_func.vim


test33.intest_exists_autocmd.vim


test33.oktest_expand.vim


test33.outtest_expand_dllpath.vim


test34.intest_expr.vim


test34.oktest_expr_utf8.vim


test34.outtest_farsi.vim


test36.intest_feedkeys.vim


test36.oktest_file_perm.vim


test36.outtest_file_size.vim


test37.intest_fileformat.vim


test37.oktest_filetype.vim


test37.outtest_filter_cmd.vim


test38.intest_filter_map.vim


test38.oktest_findfile.vim


test38.outtest_fixeol.in


test39.intest_fixeol.ok


test39.oktest_fixeol.out


test39.outtest_float_func.vim


test4.intest_fnameescape.vim


test4.oktest_fnamemodify.vim


test4.outtest_fold.vim


test40.intest_functions.vim


test40.oktest_ga.vim


test40.outtest_getcwd.vim


test41.intest_getvar.vim


test41.oktest_gf.vim


test41.outtest_glob2regpat.vim


test42.intest_global.vim


test42.oktest_gn.vim


test42.outtest_goto.vim


test43.intest_gui.vim


test43.oktest_gui_init.vim


test43.outtest_hardcopy.vim


test44.intest_help.vim


test44.oktest_help_tagjump.vim


test44.outtest_hide.vim


test45.intest_highlight.vim


test45.oktest_history.vim


test45.outtest_hlsearch.vim


test48.intest_increment.vim


test48.oktest_increment_dbcs.vim


test48.outtest_insertcount.in


test49.intest_insertcount.ok


test49.oktest_insertcount.out


test49.outtest_job_fails.vim


test49.vimtest_join.vim


test5.intest_json.vim


test5.oktest_jumps.vim


test5.outtest_lambda.vim


test50.intest_langmap.vim


test50.oktest_largefile.vim


test52.intest_let.vim


test52.oktest_lineending.vim


test52.outtest_lispwords.vim


test53.intest_listchars.in


test53.oktest_listchars.ok


test53.outtest_listchars.out


test54.intest_listlbr.vim


test54.oktest_listlbr_utf8.vim


test54.outtest_lua.vim


test55.intest_makeencoding.py


test55.oktest_makeencoding.vim


test55.outtest_man.vim


test59.intest_maparg.vim


test59.oktest_mapping.vim


test59.outtest_marks.vim


test60.intest_match.vim


test60.oktest_matchadd_conceal.vim


test60.outtest_matchadd_conceal_utf8.vim


test60.vimtest_menu.vim


test64.intest_messages.vim


test64.oktest_mksession.vim


test64.outtest_mksession_utf8.vim


test66.intest_nested_function.vim


test66.oktest_netbeans.py


test66.outtest_netbeans.vim


test68.intest_normal.vim


test68.oktest_number.vim


test68.outtest_options.vim


test69.intest_packadd.vim


test69.oktest_partial.vim


test69.outtest_paste.vim


test7.intest_perl.vim


test7.oktest_plus_arg_edit.vim


test7.outtest_popup.vim


test70.intest_preview.vim


test70.oktest_profile.vim


test70.outtest_put.vim


test72.intest_python2.vim


test72.oktest_python3.vim


test72.outtest_pyx2.vim


test73.intest_pyx3.vim


test73.oktest_quickfix.vim


test73.outtest_quotestar.vim


test77a.intest_recover.vim


test77a.oktest_regex_char_classes.vim


test78.intest_regexp_latin.vim


test78.oktest_regexp_utf8.vim


test78.outtest_registers.vim


test79.intest_reltime.vim


test79.oktest_retab.vim


test79.outtest_ruby.vim


test8.intest_scrollbind.vim


test8.oktest_search.vim


test8.outtest_search_mbyte.in


test83-tags2test_search_mbyte.ok


test83-tags3test_search_mbyte.out


test83.intest_searchpos.vim


test83.oktest_set.vim


test83.outtest_sha256.vim


test85.intest_short_sleep.py


test85.oktest_signs.vim


test85.outtest_smartindent.vim


test86.intest_sort.vim


test86.oktest_source_utf8.vim


test86.outtest_spell.vim


test87.intest_startup.vim


test87.oktest_startup_utf8.vim


test87.outtest_stat.vim


test88.intest_statusline.vim


test88.oktest_substitute.vim


test88.outtest_syn_attr.vim


test94.intest_syntax.vim


test94.oktest_system.vim


test94.outtest_tabline.vim


test95.intest_tabpage.vim


test95.oktest_tagcase.vim


test95.outtest_tagjump.vim


test99.intest_taglist.vim


test99.oktest_tcl.vim


test99.outtest_terminal.vim


test_alot.vimtest_terminal_fail.vim


test_alot_latin.vimtest_textobjects.vim


test_alot_utf8.vimtest_timers.vim


test_arabic.restest_true_false.vim


test_arabic.vimtest_undo.vim


test_arglist.restest_unlet.vim


test_arglist.vimtest_usercommands.vim


test_assert.restest_utf8.vim


test_assert.vimtest_utf8_comparisons.vim


test_assign.vimtest_viminfo.vim


test_autochdir.restest_vimscript.vim


test_autochdir.vimtest_virtualedit.vim


test_autocmd.restest_visual.vim


test_autocmd.vimtest_winbar.vim


test_autoformat_join.intest_window_cmd.vim


test_autoformat_join.oktest_window_id.vim


test_autoformat_join.outtest_windows_home.vim


test_backspace_opt.restest_wordcount.in


test_backspace_opt.vimtest_wordcount.ok


test_breakindent.restest_wordcount.out


test_breakindent.vimtest_writefile.vim


:e test
"test" [New File]


Executing Test_complete_tab():[?2004he Xtest...file
"Xtestfile" 1L, 9C


Executing Test_complete_wildmenu():[?2004he Xtest...file1...


Xtestfile1  Xtestfile2                                                          :e Xtest...Xtestfile1 file1...Xtestfile1Xtestfile2 2:te Xtestfile2"Xtestfile2" 1L, 10C

Executing Test_expand_star_star():[?2004hfind **/fileXname...a/b/fileXname
"a/b/fileXname" 1L, 9C
"Xtestfile2" [New File]


Executing Test_expr_completion():[?2004hlet a =  getl...ine(
:"let a =  getline(
:"
:[?2004hif getl...ine(
:"if getline(
:"
:[?2004helseif getl...ine(
:"elseif getline(
:"
:[?2004hwhile getl...ine(
:"while getline(
:"
:[?2004hfor getl...ine(
:"for getline(
:"
:[?2004hecho getl...ine(
:"echo getline(
:"
:[?2004hechon getl...ine(
:"echon getline(
:"
:[?2004hexecute getl...ine(
:"execute getline(
:"
:[?2004hechomsg getl...ine(
:"echomsg getline(
:"
:[?2004hechoerr getl...ine(
:"echoerr getline(
:"
:[?2004hcall getl...ine(
:"call getline(
:"
:[?2004hreturn getl...ine(
:"return getline(
:"
:[?2004hcexpr getl...ine(
:"cexpr getline(
:"
:[?2004hcaddexpr getl...ine(
:"caddexpr getline(
:"
:[?2004hcgetexpr getl...ine(
:"cgetexpr getline(
:"
:[?2004hlexpr getl...ine(
:"lexpr getline(
:"
:[?2004hladdexpr getl...ine(
:"laddexpr getline(
:"
:[?2004hlgetexpr getl...ine(
:"lgetexpr getline(
:"


Executing Test_getcmdtype():[?2004hMyCmd a"=[?2004hCheck_cmdline(':')
:MyCmd a:[?2004hdebug echo 'test'
[?2004hEntering Debug mode.  Type "cont" to continue.
function RunTheTest[24]..Test_getcmdtypeline 7: echo 'test'

>[?2004hlet cmdtype = "=[?2004hstring(getcmdtype())
>let cmdtype = '>'


>[?2004hcont
test/[?2004hMyCmd a"=[?2004hCheck_cmdline('/')
/MyCmd a?[?2004hMyCmd a"=[?2004hCheck_cmdline('?')
?MyCmd a:[?2004hcall input('Answer?')
Answer?[?2004hMyCmd a"=[?2004hCheck_cmdline('@')
Answer?MyCmd a:[?2004hinsert


[?2004hMyCmd a"=[?2004hCheck_cmdline('-')
MyCmd a=[?2004hMyCmd aExecuting Test_getcompletion():[?2004hcscope find 


a  c  d  e  f  g  i  s  t


:cscope find :[?2004hsign list 


Testing


:sign list [?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_highlight_completion():[?2004hhi ...Aardig
:"hi Aardig
:"
:[?2004hhi default ...Aardig
:"hi default Aardig
:"
:[?2004hhi clear Aa...rdig
:"hi clear Aardig
:"
:[?2004hhi li...LineNr...
:hi l...nk
:"hi link
:"
:[?2004hhi d...DiffAdd...
:hi d...efault
:"hi default
:"
:[?2004hhi c...ColorColumn...
:hi c...lear
:"hi clear
:"


Executing Test_illegal_address1()


Executing Test_illegal_address2()
"Xtest.vim" 5L, 14C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_map_completion():[?2004hmap <unique> <si...lent>
:"map <unique> <silent>
:"
:[?2004hmap <script> <un...ique>
:"map <script> <unique>
:"
:[?2004hmap <expr> <sc...ript>
:"map <expr> <script>
:"
:[?2004hmap <buffer> <e...xpr>
:"map <buffer> <expr>
:"
:[?2004hmap <nowait> <b...uffer>
:"map <nowait> <buffer>
:"
:[?2004hmap <special> <no...wait>
:"map <special> <nowait>
:"
:[?2004hmap <silent> <sp...ecial>
:"map <silent> <special>
:"


Executing Test_match_completion():[?2004hmatch ...Aardig
:"match Aardig
:"
:[?2004hmatch ...Aardig......none
:"match none
:"


Executing Test_paste_in_cmdline():[?2004habc "def ghi
:"abc def ghi
:"
:[?2004haaa "asdf bbb
:"aaa asdf bbb
:"
:[?2004haaa "/tmp/some bbb
:"aaa /tmp/some bbb
:"
:[?2004haaa veryl"ongword bbb
:"aaa verylongword bbb
:"
:[?2004haaa "a;b-c*d bbb
:"aaa a;b-c*d bbb
:"
:[?2004h=[?2004htoupper(getline(1))
:ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D 
:"ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D
:"


Executing Test_remove_char_in_cmdline():[?2004habc defef
:"abc ef
:"
:[?2004habc defdef
:"abcdef
:"
:[?2004habc def ghighi
:"abc ghi
:"
:[?2004habc def
:def"def


Executing Test_verbosefile()


foo


bar
"test_cmdline.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 133L, 3535C154L, 4201C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_command_count.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_command_count.vim" 191 lines, 4742 characters


Executing Test_command_count_0()
"DoesNotExistEver" [New File]

Executing Test_command_count_1()


"a" [New File]


loading buffers


"b" [New File]


loading buffers


"c" [New File]


loading buffers


"d" [New File]


loading buffers


"e" [New File]


loading buffers
"c" [New File]beb


Executing Test_command_count_2()


"d" [New File]
"a


Already only one window
"x" [New File]

Already only one window


Executing Test_command_count_3()
"aaa" [New File]bbb
"ccc
"test_command_count.vim" 191L, 4742C


2 buffers deleted


Executing Test_command_count_4()
"cc" [New File]

"dd" [New File]


"ee" [New File]
"aa


"bb" [New File]


"cc" [New File]


"dd" [New File]


"ee" [New File]
"cc


"ee" [New File]


"ff" [New File]
"test_command_count.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"154L, 4201C162L, 4413C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_crypt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_crypt.vim" 83 lines, 2590 characters


Executing Test_crypt_blowfish()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 3L, 98C


Executing Test_crypt_blowfish2()
"Xtest.txt" [New File]:[?2004hX
Enter encryption key:[?2004h ******
Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish2] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish2] 3L, 98C


Executing Test_crypt_zip()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][crypted] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [crypted] 3L, 98C


Executing Test_head_only_2()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_head_only_3()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_uncrypt_blowfish()
"Xtest.txt" [New File][converted][New][noeol] 1L, 80C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 2L, 27C


Executing Test_uncrypt_blowfish2()
"Xtest.txt" [New File][converted][New][noeol] 1L, 103C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h *******


"Xtest.txt" [blowfish2] 2L, 44C


Executing Test_uncrypt_zip()
"Xtest.txt" [New File][converted][New][noeol] 1L, 45C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [converted][crypted] 2L, 26C"test_crypt.res" [New File][converted][New] 0L, 0C written

Executed 8 tests
"messages"162L, 4413C173L, 4700C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cscope.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cscope.vim" 279 lines, 10587 characters
"test_cscope.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"173L, 4700C176L, 4739C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_curswant.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_curswant.vim" 23 lines, 563 characters


Executing Test_curswant()
"test_curswant.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"176L, 4739C180L, 4806C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_diffmode.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_diffmode.vim" 568 lines, 12076 characters


Executing Test_diff_fold_sync()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_diff_lastline()


Already only one window[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h
Executing Test_diff_move_to()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


5 buffers wiped out


Executing Test_diff_nomodifiable()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


3 buffers wiped out


Executing Test_diff_too_many_buffers()
"Xtest1" [New File]2[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h4[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h5[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h8[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h9


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_eval.o ex_eval.c
[?2004l[?2004h[?2004l[?2004h[?2004h10 buffers wiped out


Executing Test_diffexpr()one

two

three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l||

three                                  ||||||||||||||||||||

[No Name] [+]                           onetwothree.                                  ~~~~~~~~~~~~~~~~~~~[No Name] [+]                           2 buffers wiped out


Executing Test_diffget_diffput()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3 buffers wiped out


Executing Test_diffoff()Two

Three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h  -------------------------------------|

  -------------------------------------|

  Two                                  |

  Three                                |||||||||||||||||||  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  ~~~~~~~~~~~~~~~~~~

[No Name] [+]                             One                                                                             Two  Three                                    ~~~~~~~~~~~~~~~~~~[No Name] [+]                           Two                                    

Three                                  

~                                      

~                                      

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   OneTwoThree~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   



Executing Test_diffoff_hidden()
"one" [New File]                                                                                                                                        

~                                                                               two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                    |

Three                                  |||||||||||||||||||||

one [+]                                 One                                     Four                                    ~~~~~~~~~~~~~~~~~~~~two [+]                                                                                                        

~                                                                               TwoThree[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                                                             Three                                                                           ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               TwoThreeExecuting Test_diffopt_context()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


2 buffers wiped out


Executing Test_diffopt_horizontal()


Executing Test_diffopt_icase()
"one" [New File]One

Two

Three

FourFi#ve"two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h||

Three                                  ||

Fi#ve                                  ||||||||||||||||||

one [+]                                 oneTWOThree                                   FourfI=VE                                   ~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_iwhite()
"one" [New File]OneThree~                                                                                                                                  

~                                                                               "two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h|||

Four                                   |||||||||||||||||||

one [+]                                 OneTwoThree Four                                   ~~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_vertical()


Executing Test_diffpatch()
"Xpatch" [New] 10L, 71C written[?2004lpatching file /tmp/v4jfa9s/85 (read from /tmp/v4jfa9s/84)
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/v4jfa9s/85.rej
[?2004h


[?2004lpatching file /tmp/v4jfa9s/87 (read from /tmp/v4jfa9s/86)
[?2004h"/tmp/v4jfa9s/87" 4L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/v4jfa9s/92 (read from /tmp/v4jfa9s/91)
[?2004h924L, 9C[?2004l[?2004h[?2004l[?2004h[?2004hgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ex_getln.o ex_getln.c
[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/v4jfa9s/98 (read from /tmp/v4jfa9s/97)
[?2004h84L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_dp_do_buffer()
"one" [New File]two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


"not_in_diff_mode" [New File]


4 buffers wiped out


Executing Test_filler_lines()


7 more lines


10 more lines[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_setting_cursor()
"Xtest1" [New File]

90 more lines
"Xtest1" [New] 91L, 262C written2" [New File]

100 more lines
"Xtest2"[New] 101L, 293C written101L, 293C191L, 262C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_vert_split()
"Xtest" [New] 5L, 25C written2" [New] 6L, 29C written


"Nop" [Modified][Not edited] line 4 of 6 --66%-- col 3
"Xtest" 5L, 25C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h2" 6L, 29C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h1" [New File]
"test_diffmode.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 180L, 4806C202L, 5445C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_digraph.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_digraph.vim" 462 lines, 14944 characters


Executing Test_digraph_cmndline()
[?2004hExecuting T


Executing Test_digraphs()


Executing Test_digraphs_option()


Executing Test_digraphs_output()


Executing Test_loadkeymap()
"test_digraph.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"202L, 5445C210L, 5640C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_display.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_display.vim" 69 lines, 1694 characters[?2004l[?1l>[?25h[?1049lExecuting Test_display_foldcolumn()e more noise blah blah<82|

> more stuff here||||||||||~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                  e more noise blah blah<|

  82> more stuff here    ||||||||||  

  

  

  

  

  

  

  

  ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                Executing Test_display_foldtext_mbyte()||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name]                                ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name]                              " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1│+ +-- 12 lines: 2───────────────────────│  14│  15│  16│  17│  18│  19│  20│  │[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1|

+ +-- 12 lines: 2-----------------------|

  14|

  15|

  16|

  17|

  18|

  19|

  20|

  |

[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                "test_display.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"210L, 5640C215L, 5757C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_edit.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_edit.vim" 1365 lines, 41657 characters


Executing Test_edit_00a_CTRL_A()b():[?2004hset im
:[?2004hset noim


Executing Test_edit_01()23:[?2004hs/$/efg/


Executing Test_edit_04():[?2004hstopinsert
Executing Test_edit_05()6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7=[?2004hListMonths()
match 1 of 12January

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for edit functions

"

if exists("+t_kD")

  let &t_kD="^[[3;*~"

endif

set belloff=



" Needed for testing basic rightleft: Test_edit_rightleft

source view_util.vim



test_edit.vim                                                                   January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12

January        2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           

June           

July     7u

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJune           

July           June           

July           

July           

=[?2004hListMonths()
match 1 of 12
January

~              

~              [No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        =[?2004hListMonths()
match 1 of 12
January

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

" Test for editJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12an

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJanuary        
January        

Executing Test_edit_08():[?2004hset im
=[?2004hsetbufvar(1,'&im', 0)
Executing Test_edit_09():[?2004hset im
Executing Test_edit_10()1


Executing Test_edit_12()3CR
"Xqflist.txt" 10L, 21Cline 1 of 10 --10%-- col 1
Executing Test_edit_CTRL_()EY()G()I
The only matchScanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt match in file Xinclude.txtmatch 1 of 3Scanning included file: Xinclude.txt
match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3#include Xinclude.txt

one



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 



three Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Back at original





three Xinclude.txt Executing Test_edit_CTRL_K()
Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3
AA~                                                                               ~                                                                               ~                    

~                  AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 



AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt match in file Xdictionary.txt
match 1 of 3

AA   Xdictionary.txt Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3'dictionary' option is emptyA Edxiecctuitoinnagr yT'e stp_teidoint _CsT RLm_pLt(y) 

match 1Back at originalBack at originalone

twothreet[No Name] [+]                                                                   [Location List]                                                                 two            

three          Back at originaltwo            

three          match 1 of 2wo

two            Back at originaltwo            

three          match 1 of 2wo

two            2
three

two            

three          two            

three          match 2Back at originaltwo            

three          two            two            Back at originaltwo            

three          two            match 1 of 2
three



three          Executing Test_edit_CTRL_N()

Pattern not foundPattern not foundmatch 1match 1

Executing Test_edit_CTRL_O():[?2004hset nu
:[?2004hlet g:a=getpos('.')
:[?2004hlet g:a=getpos('.')


Executing Test_edit_CTRL_R()=[?2004h10*500
=[?2004hgetreg('=', 1)


Executing Test_edit_CTRL_S()
Pattern not foundVim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim              

Sim             

Tim             

Vic             

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              

Deem            

match 1 of 100match 1 of 1002
Vim

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             I   

DeemVim            

Aim            Back at original
v

~               

~               

~               

~               

~               

~               

~               

~               

~               

[No Name] [+]   

Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               

[Location List] Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic              

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              Pattern not foundExecuting Test_edit_CTRL_T()
Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurusmatch 1 of 4Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 



furious Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 





enraged Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus match in file Xthesaurus
match 1 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus mad     Xthesaurus Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurus
Back at original
mad~                  

~                  

~                  

~                  [No Name] [+]   [Location List] mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 'thesaurus' option is empty

Executing Test_edit_CTRL_U()
Pattern not found Jan Month      

 Feb Month      

 Mar Month      

 Apr Month      

  May Month      

  Jun Month      

  Jul Month      

  Aug Month      

  Sep Month      

 NOct Month      

 Nov Month      

  Dec Month      match 1 of 12Mar Month  

May Month  match 1 of 2Mar Month      

May Month      match 2 of 2
May

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               Mar Month      

May Month      Mar Month      

May Month      Mar Month      

May Month      match 2 of 2

~              

~              Mar Month      

May Month      Back at original~              

~              Mar Month      

May Month      
May Month      Pattern not foundExecuting Test_edit_CTRL_V()Executing Test_edit_CTRL_Z()DROP()F1():[?2004hset im


"help.txt" [readonly] 225L, 8437C
Executing Test_edit_F21()HOME_END()INS()LEFT_RIGHT()MOUSE()[?1000h[?1000lPAGEUP_PAGEDOWN()complete_very_long_name()[?25h[?25l"Xfile" [New File]
Scanning: [Location List]/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddTotum /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa match in file /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
Scanning tags.match in file /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
match 1 of 2
Totum

~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Xqflist.txt|10|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Totum /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [?25h[?25lExecuting Test_edit_forbidden()





Pattern not found

Executing Test_edit_rightleft()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cba|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        abcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cb|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        bcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 ca|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        acdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 "test_edit.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 215L, 5757C259L, 6955C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_farsi.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_farsi.vim" 133 lines, 5364 characters




:"




:"



Executing Test_input_farsi()
"test_farsi.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 259L, 6955C[converted] 266L, 7116C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_file_size.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_file_size.vim" 30 lines, 871 charactersgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/farsi.o farsi.c



Executing Test_File_Size()
"Xtest" [New] 2000000L, 14888896C written[?2004l[?2004h
"test_file_size.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"266L, 7116C270L, 7185C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fnameescape.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fnameescape.vim" 21 lines, 467 characters


Executing Test_fnameescape()
"Xspa ce"[New] 21L, 467C written
"Xemark![New] 21L, 467C written
"test_fnameescape.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"270L, 7185C274L, 7258C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fold.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fold.vim" 462 lines, 13611 characters


Executing Test_address_fold()


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


8 lines yanked


10 lines yanked


4 lines yanked


Executing Test_combining_folds_indent()


3 fewer lines


Executing Test_combining_folds_marker()


3 fewer lines


Executing Test_fold_error()


Executing Test_folddoopen_folddoclosed()


3 substitutions on 3 lines


6 substitutions on 6 lines


3 substitutions on 3 lines


Executing Test_folds_marker_in_comment()


Executing Test_foldtext_recursive()--------------------------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   Executing Test_indent_fold()


Executing Test_indent_fold2()


Executing Test_indent_fold_with_read()
"Xfile" 3L, 6C


Executing Test_manual_fold_with_filter()
[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines

Executing Test_move_folds_around_indent()


6 lines moved


5 lines moved


6 lines moved


5 lines moved


Executing Test_move_folds_around_manual()a

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moved


5 lines moveda

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moveda

+--  4 lines: b-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   5 lines moved


Executing Test_update_folds_expr_read()
"Xfile" 8L, 16C
"test_fold.res" [New File][New] 0L, 0C written


Executed 14 tests
"messages" 274L, 7258C291L, 7816C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_getvar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_getvar.vim" 88 lines, 2988 characters


Executing Test_var()
"test_getvar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"291L, 7816C295L, 7876C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gf.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gf.vim" 56 lines, 1578 characters


Executing Test_gF()
"Xfile" [New] 4L, 16C written2" [New] 3L, 18C written" 4L, 16C


Executing Test_gf_url()
"test_gf.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"295L, 7876Cgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fileio.o fileio.c
300L, 7956C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gn.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gn.vim" 118 lines, 3078 characters


Executing Test_gn_command()/[?2004h[u]niquepattern/s
/a:0\@!\zs\d\+/[?2004hbar/e
"test_gn.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"300L, 7956C304L, 8019C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u NONE -U NONE --noplugin --not-a-term -S runtest.vim test_gui.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui.vim" 696 lines, 19832 characters
"test_gui.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"304L, 8019C307L, 8055C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u gui_preinit.vim -U gui_init.vim --noplugin --not-a-term -S runtest.vim test_gui_init.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui_init.vim" 61 lines, 1190 characters
"test_gui_init.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"307L, 8055C310L, 8096C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hardcopy.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hardcopy.vim" 73 lines, 2260 characters


Executing Test_fname_with_spaces()
"t e s t.txt" [New File]Printing page 1 (0%)Printed: t e s t.txt


Executing Test_printheader_parsing()


Executing Test_printmbfont_parsing()


Executing Test_printoptions_parsing()


Executing Test_with_syntax()Printing page 1 (0%)Printing page 2 (99%)Printed: test_hardcopy.vim
"test_hardcopy.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"310L, 8096C318L, 8314C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_help.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_help.vim" 32 lines, 551 characters


Executing Test_help_errors()


Executing Test_help_keyword()
"visual.txt" [readonly] 541L, 21843C


Executing Test_help_restore_snapshot()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1
"x" [New File]test_help.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"318L, 8314C324L, 8450C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hide.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hide.vim" 97 lines, 2443 characters


Executing Test_hide()
"Xf1" [New File]

"Xf1" [New File]
"Xf212121


one|two
"Xf1" [New File]
"Xf212
"test_hide.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"324L, 8450C328L, 8509C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_highlight.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_highlight.vim" 36 lines, 1417 characters


Executing Test_highlight()


SpecialKey     xxx term=bold ctermfg=4 guifg=Blue


EndOfBuffer    xxx links to NonText


NonTextxxx term=bold cterm=bold ctermfg=4 gui=bold guifg=Blue


Directory      xxx term=bold ctermfg=4 guifg=Blue


ErrorMsgxxx term=standout cterm=bold ctermfg=7 ctermbg=1 guifg=White


guibg=Red


IncSearch      xxx term=reverse cterm=reverse gui=reverse


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


MoreMsgxxx term=bold ctermfg=2 gui=bold guifg=SeaGreen


ModeMsgxxx term=bold cterm=bold gui=bold


LineNrxxx term=underline ctermfg=3 guifg=Brown


CursorLineNr   xxx term=bold ctermfg=3 gui=bold guifg=Brown


Questionxxx term=standout ctermfg=2 gui=bold guifg=SeaGreen


StatusLine     xxx term=bold,reverse cterm=bold,reverse gui=bold,reverse


StatusLineNC   xxx term=reverse cterm=reverse gui=reverse


VertSplit      xxx term=reverse cterm=reverse gui=reverse


Titlexxx term=bold ctermfg=5 gui=bold guifg=Magenta


Visualxxx term=reverse cterm=reverse guibg=LightGrey


VisualNOS      xxx term=bold,underline cterm=bold,underline gui=bold,underline


WarningMsg     xxx term=standout ctermfg=1 guifg=Red


WildMenuxxx term=standout ctermfg=0 ctermbg=3 guifg=Black guibg=Yellow


Foldedxxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue


guibg=LightGrey


FoldColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


DiffAddxxx term=bold ctermbg=4 guibg=LightBlue


DiffChange     xxx term=bold ctermbg=5 guibg=LightMagenta


DiffDelete     xxx term=bold cterm=bold ctermfg=4 ctermbg=6 gui=bold guifg=Blue


guibg=LightCyan


DiffTextxxx term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red


SignColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


Concealxxx ctermfg=7 ctermbg=0 guifg=LightGrey guibg=DarkGrey


SpellBadxxx term=reverse ctermbg=1 gui=undercurl guisp=Red


SpellCapxxx term=reverse ctermbg=4 gui=undercurl guisp=Blue


SpellRare      xxx term=reverse ctermbg=5 gui=undercurl guisp=Magenta


SpellLocal     xxx term=underline ctermbg=6 gui=undercurl guisp=DarkCyan


Pmenuxxx ctermfg=0 ctermbg=5 guibg=LightMagenta


PmenuSelxxx ctermfg=0 ctermbg=7 guibg=Grey


PmenuSbar      xxx ctermbg=7 guibg=Grey


PmenuThumb     xxx ctermbg=0 guibg=Black


TabLinexxx term=underline cterm=underline ctermfg=0 ctermbg=7


gui=underline guibg=LightGrey


TabLineSel     xxx term=bold cterm=bold gui=bold


TabLineFill    xxx term=reverse cterm=reverse gui=reverse


CursorColumn   xxx term=reverse ctermbg=7 guibg=Grey90


CursorLine     xxx term=underline cterm=underline guibg=Grey90


ColorColumn    xxx term=reverse ctermbg=1 guibg=LightRed


QuickFixLine   xxx links to Search


StatusLineTerm xxx term=bold,reverse cterm=bold ctermfg=7 ctermbg=2 gui=bold


guifg=bg guibg=DarkGreen


StatusLineTermNC xxx term=reverse cterm=bold ctermfg=7 ctermbg=2 guifg=bg


guibg=DarkGreen


Cursorxxx guifg=bg guibg=fg


lCursorxxx guifg=bg guibg=fg


MatchParen     xxx term=reverse ctermbg=6 guibg=Cyan


Normalxxx cleared


ToolbarLine    xxx term=underline ctermbg=7 guibg=LightGrey


ToolbarButton  xxx cterm=bold ctermfg=7 ctermbg=0 gui=bold guifg=White


guibg=Grey40


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


"test_highlight.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"328L, 8509C332L, 8578C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_history.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_history.vim" 106 lines, 3567 characters


Executing Test_History()


Executing Test_Search_history_window()/[?2004ha
/[?2004hb
/[?2004ha

b

a

b

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Tests for the history functions



test_history.vim                                                                /a

/b

/

/

/

/

/~                                                                              ~                                                                              ~                                                                              ~                                                                              [Command Line]                                                                  [?25h[?25l/a
"test_history.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"332L, 8578C337L, 8683C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hlsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hlsearch.vim" 53 lines, 1490 characters


Executing Test_hlsearch()/[?2004haaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

~                                                                               [No Name] [+]                                                                   " Test for v:hlsearch



function! Test_hlsearch()

  new

  call setline(1, repeat(['aaa'], 10))

  set hlsearch nolazyredraw

  let r=[]

  " redraw is needed to make hlsearch highlight the matches

  exe "normal! /aaa\<CR>" | redraw

  let r1 = screenattr(1, 1)

test_hlsearch.vim                                                               aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





Executing Test_hlsearch_hangs()bc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               "test_hlsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"337L, 8683C342L, 8783C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment.vim" 760 lines, 19011 characters


Executing Test_normal_increment_01()
"dummy" [New File]

Executing Test_normal_increment_02()
"dummy" [New File]

Executing Test_normal_increment_03()
"dummy" [New File]

Executing Test_visual_increment_01()
"dummy" [New File]

Executing Test_visual_increment_02()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_03()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_04()
"dummy" [New File]

Executing Test_visual_increment_05()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_06()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_07()
"dummy" [New File]5 lines changed

Executing Test_visual_increment_08()
"dummy" [New File]

Executing Test_visual_increment_09()
"dummy" [New File]

Executing Test_visual_increment_10()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_11()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_12()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_13()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_14()
"dummy" [New File]

Executing Test_visual_increment_15()
"dummy" [New File]

Executing Test_visual_increment_16()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_17()
"dummy" [New File]

Executing Test_visual_increment_18()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_19()
"dummy" [New File]

Executing Test_visual_increment_20()
"dummy" [New File]

Executing Test_visual_increment_21()
"dummy" [New File]

Executing Test_visual_increment_22()
"dummy" [New File]

Executing Test_visual_increment_23()
"dummy" [New File]

Executing Test_visual_increment_24()
"dummy" [New File]

Executing Test_visual_increment_25()
"dummy" [New File]

Executing Test_visual_increment_26()
"dummy" [New File]

Executing Test_visual_increment_27()
"dummy" [New File]

Executing Test_visual_increment_28()
"dummy" [New File]

Executing Test_visual_increment_29()
"dummy" [New File]

Executing Test_visual_increment_30()
"dummy" [New File]

Executing Test_visual_increment_31()
"dummy" [New File]

Executing Test_visual_increment_32()
"dummy" [New File]_31" [New File]


Executing Test_visual_increment_33()
"dummy" [New File]

Executing Test_visual_increment_34()
"dummy" [New File]

Executing Test_visual_increment_35()
"dummy" [New File]

Executing Test_visual_increment_36()
"dummy" [New File]

Executing Test_visual_increment_37()
"dummy" [New File]

Executing Test_visual_increment_38()
"dummy" [New File]test_increment.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 342L, 8783C386L, 10344C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment_dbcs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment_dbcs.vim" 30 lines, 604 characters


Executing Test_increment_dbcs_1()
"test_increment_dbcs.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"[converted] 386L, 10344C[converted] 390L, 10425C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_job_fails.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_job_fails.vim" 19 lines, 598 characters


Executing Test_job_start_fails()[?25h[?2004l[?2004h[?25l
"test_job_fails.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"390L, 10425C394L, 10500C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_json.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_json.vim" 292 lines, 10880 characters


Executing Test_js_decode()


Executing Test_js_encode()


Executing Test_json_decode()


Executing Test_json_encode()


"test_json.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"394L, 10500C401L, 10650C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_langmap.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_langmap.vim" 28 lines, 628 characters


Executing Test_langmap()
"test_langmap.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"401L, 10650C405L, 10715C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_let.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_let.vim" 27 lines, 806 characters


Executing Test_let()
"test_let.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"405L, 10715C409L, 10772C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lineending.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lineending.vim" 19 lines, 429 characters


Executing Test_lineending()
"Xfile1" [New] 4L, 78C written
"test_lineending.vim" 19L, 429C
"Xfile1" 4L, 78C
"test_lineending.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"409L, 10772C413L, 10843C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr.vim" 235 lines, 6445 characters


Executing Test_block_replace_after_wrapping()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaa0aaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|@                   

@                   

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_conceal()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                Sabbbbbb bla||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        _S_      bla~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ^Iabcdef hijklmn^I  |

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                a_|

aaaaaaaaaaaaaaaaaaaa|

aa>-----a-$||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        a aaaaaaaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_tab_and_skipping_first_chars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ---------------aaaaa|

---------------aaaaa|

---------------aaaaa|

iiiiiiiii>-----aaaaa|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        iiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii      aaaaaaaaaaaaaaaaaa~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_norm_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdpgrs||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdpgrs~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_set_linebreak()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_should_break()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1|

+aaaaaaaaaaaaaaaaaa |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1aaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_undo_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                3 lines changedAaA|

AaA|

A||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        AaAAaAA~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                /[?2004h^REMOVE:this not|

aaaaaaaaaaaaa|

REMOVE:|

REMOVE:|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        this notaaaaaaaaaaaaaREMOVE:REMOVE:~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block_and_vbA()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar TARGETx at   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobarfoobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_char_and_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1111-2222-1111-11-  |

1111-2222-1111      |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1111-2222-1111-11-1111-2222-1111~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

"test_listlbr.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" [converted] 413L, 10843C[converted] 429L, 11393C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr_utf8.vim" 271 lines, 7788 characters


Executing Test_chinese_char_on_wrap_column()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

                    中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_colorcolumn_priority()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /[?2004hxxyy
search hit BOTTOM, continuing at TOPxxyy|

    |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        xxyy~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_illegal_byte_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_fancy_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing1()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing2()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_sign_and_colorcolumn()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_wrap_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_nolinebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_screenattr_for_comment()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /*▕———▕—————— and  |

+some more */¶|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        /*            and some more */~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_visual_block_and_selection_exclusive()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           +foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar TARGETÃx'   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobar+ foobar foobar foobar foobar foobar foobar foobar foobar f+oobar foobar foobar foobar foobar foobar foobar foobar foo+bar foobar foobar foobar foobar foobar foobar foobar fooba+r foobar foobar foobar foobar foobar foobar foobar foobar+TARGETÃx' at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

"test_listlbr_utf8.res" [New File][New] 0L, 0C written


Executed 12 tests
"messages" 429L, 11393C444L, 11953C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lua.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lua.vim" 22 lines, 438 characters


Executing Test_luado()
"test_lua.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"444L, 11953C448L, 12012C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_makeencoding.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_makeencoding.vim" 106 lines, 2413 characters
"test_makeencoding.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"448L, 12012C451L, 12057C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_man.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_man.vim" 60 lines, 1358 characters[?2004l[?2004h


Executing Test_g_ft_man_open_mode()[?2004l[?2004h




Cannot find a 'vim'.


Executing Test_nomodifiable()[?2004l[?2004h




Cannot find a 'vim'.
"test_man.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"451L, 12057C456L, 12160C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_marks.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_marks.vim" 70 lines, 2047 characters


Executing Test_Incr_Marks()


Executing Test_Restore_DelMark()1 more line; before #2  0 seconds ago
1 line less; after #2  0 seconds agomore line; before #2  0 seconds ago


Executing Test_setpos()
"one" [New File]twoest_marks.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"456L, 12160C462L, 12284C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_matchadd_conceal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_matchadd_conceal.vim" 289 lines, 9276 characters[?2004l[?1l>[?25h[?1049lExecuting Test_clearmatches()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_default_conceal_char()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #+This+is+a+Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_conceallevel_3()#ThisisaTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #Thisisa Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_syn_conceal()Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_repeat_conceal_with_syntax_off()TARGET_TARGETTARGET
t_ttsimple_matchadd()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_simple_matchadd_and_conceal()#XThisXisXaXTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_syn_and_match_conceal()#ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #*This*is*a*Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_using_matchaddpos()#Pis a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       "test_matchadd_conceal.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"462L, 12284C474L, 12698C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession.vim" 155 lines, 3363 characters


Executing Test_mksession()
"Xtemp" [New] 9L, 203C written


search hit BOTTOM, continuing at TOP
Executing Test_mksession_arglist()"file1" [New File]

Executing Test_mksession_one_buffer_two_windows()
"Xtest1" [New File]2


Executing Test_mksession_winheight()
"Xtest1" [New File]test_mksession.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 474L, 12698C[converted] 481L, 12890C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession_utf8.vim" 104 lines, 2328 characters


Executing Test_mksession_utf8()
"/tmp/v0mW8Zh/0" [New] 9L, 215C written


search hit BOTTOM, continuing at TOP
"test_mksession_utf8.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"481L, 12890C485L, 12969C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_nested_function.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_nested_function.vim" 67 lines, 1305 characters


Executing Test_max_nesting()


Executing Test_nested_argument()


[]


Executing Test_nested_functions()
"test_nested_function.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"485L, 12969C491L, 13114C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_netbeans.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_netbeans.vim" 80 lines, 2145 characters
"test_netbeans.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"491L, 13114C494L, 13155C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_normal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_normal.vim" 2392 lines, 61363 characters


Executing Test_delete_until_paragraph()


Executing Test_normal00_optrans()


Executing Test_normal01_keymodel()
4 lines yankedExecuting Test_normal02_selectmode()
10 fewer lines

Executing Test_normal02_selectmode2():[?2004hset im
:[?2004hset noim


Executing Test_normal03_join()


Executing Test_normal04_filter():[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?2004l[?1l>[?1049l[?2004lone
[?2004h[?1049h[?1h=[?2004h[?25l:[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?25l:[?2004h.!
:[?2004h!echo one
[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lone
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h.!!
[?25h[?2004l[?2004h

[?25lExecuting Test_normal05_formatexpr()


Executing Test_normal05_formatexpr_newbuf()
"another" [New File]

Executing Test_normal05_formatexpr_setopt()


Executing Test_normal06_formatprg()[?2004l[?2004h:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered

Executing Test_normal07_internalfmt()
7 fewer lin

Executing Test_normal08_fold()


Executing Test_normal09_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h[?2004h[?2004h[?2004h


Executing Test_normal09a_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h


Executing Test_normal10_expand()


Executing Test_normal11_showcmd()


Executing Test_normal12_nv_error()


Executing Test_normal13_help()
"help.txt" [readonly] 225L, 8437C


Executing Test_normal14_page()


Executing Test_normal14_page_eol()


Executing Test_normal15_z_scroll_vert()


Executing Test_normal16_z_scroll_hor()


Executing Test_normal17_z_scroll_hor2()


Executing Test_normal18_z_fold()


Executing Test_normal19_z_spell()
Word 'goood' added to ./Xspellfile.add
search hit BOTTOM, continuing at TOPWord 'goood' added to ./Xspellfile.add2 goood' added to ./Xspellfile.add/tmp/vvLgGgW/11removed from /tmp/vvLgGgW/11goood' added to /tmp/vvLgGgW/11removed from /tmp/vvLgGgW/11added to ./Xspellfile.addremoved from ./Xspellfile.add2 goood' added to ./Xspellfile.addremoved from ./Xspellfile.addgoood' added to ./Xspellfile2.add

Executing Test_normal20_exmode()[?2004l[?2004h


Executing Test_normal21_nv_hat()
"Xfoobar" [New File]ile2" [New File]

Executing Test_normal22_zet()[?2004l[?2004h[?2004l[?2004h


Executing Test_normal23_K()
"version8.txt" [readonly] 18040L, 684251Cline 1 of 18040 --0%-- col 1
"man" [New File]aa%bb" [New File]
"cc|dd
:! man --pager=cat 'man'[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lstdin not open for reading!
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25lExecuting Test_normal24_rot13()


Executing Test_normal25_tag()
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"insert.txt" [readonly] 2004L, 82939Cline 49 of 2004 --2%-- col 7-49


Executing Test_normal26_put()


Executing Test_normal27_bracket()


21 substitutions on 21 lines


Executing Test_normal28_parenthesis()


Executing Test_normal29_brace()
17 fewer lines4 fewer lines3

Executing Test_normal30_changecase()


Executing Test_normal31_r_cmd()


Executing Test_normal32_g_cmd1()
/x_foo?abc

Executing Test_normal33_g_cmd2()/[?2004h[1-8]
search hit BOTTOM, continuing at TOP
9 substitutions on 9 linesblock of 3 lines yanked5


Executing Test_normal34_g_cmd3()


Executing Test_normal35_g_cmd4()


Executing Test_normal36_g_cmd5()


Executing Test_normal37_g_cmd6()
"1.txt" [New File]23


Executing Test_normal38_nvhome()


Executing Test_normal39_cw()


Executing Test_normal40_ctrl_bsl()


Executing Test_normal41_insert_reg()=[?2004ha
=[?2004ha
=[?2004ha


Executing Test_normal42_halfpage()


Executing Test_normal43_textobject1()


Executing Test_normal44_textobjects2()


Executing Test_normal45_drop()


Executing Test_normal46_ignore()


Executing Test_normal47_autocmd()


Executing Test_normal47_visual_buf_wipe()


Executing Test_normal48_wincmd()


Executing Test_normal49_counts()


Executing Test_normal50_commandline()q:  :[?2004hxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :set im

:set noim

:.!sed -e 's/^/|    /'

:.!

:!echo one

:.!!

:

[Command Line]                                                                  [?25h[?25l[?25h[?25l:^M   



Executing Test_normal51_FileChangedRO()
"Xreadonly.log" 1L, 4C
Error detected while processing ...24]..Test_normal51_FileChangedRO:
line   10:W10: Warning: Changing a readonly file


Executing Test_normal52_rl()3_digraph()


Executing Test_normal54_Ctrl_bsl()


Executing Test_normal_8g8()


Executing Test_normal_large_count()
"test_normal.res" [New File][New] 0L, 0C written


Executed 64 tests
"messages" 494L, 13155C567L, 15700C written
[?2004l[?2004l[?1l>[?25h[?1049l

VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_number.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_number.vim" 254 lines, 5032 characters


Executing Test_number()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   1 abcdefghij      |

  2 klmnopqrst      |

  3 uvwxyzABCD      |

  4 EFGHIJKLMN      |

  5 OPQRSTUVWX      |

  6 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_linewrap1()|||~                   

~                   

[No Name]            ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 --1 aaaaaaaaaaaaaaaa|

    aaaaaaaaaaaaaaaa|

    aaaaaaaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   3 abcdefghij      |

  2 klmnopqrst      |

  1 uvwxyzABCD      |

4   EFGHIJKLMN      |

  1 OPQRSTUVWX      |

  2 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 1     aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     0 aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth_adjusted()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                  9991 aaaa|

 9992 aaaa|

 9993 aaaa|

 9994 aaaa|

 9995 aaaa|

 9996 aaaa|

 9997 aaaa|

 9998 aaaa|

 9999 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     9 aaaa|

    8 aaaa|

    7 aaaa|

    6 aaaa|

    5 aaaa|

    4 aaaa|

    3 aaaa|

    2 aaaa|

    1 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   9 aaaa|

  8 aaaa|

  7 aaaa|

  6 aaaa|

  5 aaaa|

  4 aaaa|

  3 aaaa|

  2 aaaa|

  1 aaaa|

  0 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   2 abcdefghij      |

  1 klmnopqrst      |

  0 uvwxyzABCD      |

  1 EFGHIJKLMN      |

  2 OPQRSTUVWX      |

  3 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_set_global_and_local()


Executing Test_set_options()1   ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            1   ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

test_number.vim                                                                 1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

 11 

 12 func! s:test_windows(h, w) abort

 13   call NewWindow(a:h, a:w)

 14 endfunc

 15 

 16 func! s:close_windows() abort

 17   call CloseWindow()

 18 endfunc

 19 

 20 func! s:validate_cursor() abort

 21   " update skipcol.

 22   " wincol():

"test_number.res" [New File][New] 0L, 0C written


Executed 8 tests
"messages"567L, 15700C578L, 16013C written
[?2004l

[?2004l[?1l>[?25h[?1049l../vim -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"../option.c" 12669 lines, 331004 characters
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_options.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_options.vim" 334 lines, 10325 characters


Executing Test_cinkeys()


Executing Test_complete()
Pattern not found

Executing Test_dictionary()


Executing Test_filetype_valid()


Executing Test_isfname()[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_keymap_valid()


Executing Test_options()
"option-window" [New File]


Executing Test_path_keep_commas()


Executing Test_set_all()


Executing Test_set_completion():[?2004hset di...ctionary diff diffexpr diffopt digraph directory display
:"set dictionary diff diffexpr diffopt digraph directory display
:"
:[?2004hset nodi...ff digraph
:"set nodiff digraph
:"
:[?2004hset invdi...ff digraph
:"set invdiff digraph
:"
:[?2004hset ts...abstop thesaurus ttyscroll
:"set tabstop thesaurus ttyscroll
:"
:[?2004hset fileencodings=...ucs-bom,utf-8,default,latin1
:"set fileencodings=ucs-bom,utf-8,default,latin1
:"
:[?2004hset fileencodings:...ucs-bom,utf-8,default,latin1
:"set fileencodings:ucs-bom,utf-8,default,latin1
:"
:[?2004hset <H...elp> <Home>
:"set <Help> <Home>
:"
:[?2004hset t_A...B t_AF t_AL
:"set t_AB t_AF t_AL
:"
:[?2004hset cdpath=./...XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/


./pythonx/ ./pyxfile/ ./samples/ ./sautest/"set cdpath=./XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./samples/ ./sautest/
:[?2004hset tags=./...Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./ben


ch_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim .


/gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.


vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_afte


r/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./


setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1


.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.ou


t./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./te


st15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.


in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./t


est25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.


in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test


30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok "set tags=./Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./bench_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim ./gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.out ./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./test15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./test25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok
:[?2004hset tags=./\\ dif...f diffexpr diffopt
:"set tags=./\\ diff diffexpr diffopt
:"


Executing Test_set_errors()


  tabstop=8


Executing Test_set_indentexpr()ttytype()[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h

E558: Terminal entry not found in terminfo

'' not known. Available builtin terminals are:

    builtin_gui

    builtin_amiga

    builtin_beos-ansi

    builtin_ansi

    builtin_pcansi

    builtin_win32

    builtin_vt320

    builtin_vt52

    builtin_xterm

    builtin_iris-ansi

    builtin_debug

    builtin_dumb



E558: Terminal entry not found in terminfo

'xxx' not known. Available builtin terminals are:

    builtin_gui

    builtin_amiga

    builtin_beos-ansi

    builtin_ansi

    builtin_pcansi

    builtin_win32

    builtin_vt320

    builtin_vt52

    builtin_xterm

    builtin_iris-ansi

    builtin_debug

    builtin_dumb

[?2004l[?1l>[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_set_values()


[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?1000h[?1000lline 3206: set vbs=9999


line 3207: if exists('+verbose')


line 3208: endif


line 3209: set verbose&


[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_signcolumn()


Executing Test_syntax_valid()


Executing Test_thesaurus()


Executing Test_whichwrap()


Executing Test_wildchar()


"test_options.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 578L, 16013C600L, 16592C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_packadd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_packadd.vim" 275 lines, 9157 characters


Executing Test_colorscheme()


Executing Test_colorscheme_completion():[?2004hcolorscheme ...one')
:ccolorscheme one')
:cacolorscheme one')
:calcolorscheme one')
:callcolorscheme one')
:call colorscheme one')acolorscheme one')dcolorscheme one')dcolorscheme one')(colorscheme one')lcolorscheme one')icolorscheme one'),colorscheme one') colorscheme one')'colorscheme one')
:[?2004hcolorscheme ...one...three')
:ccolorscheme three')
:cacolorscheme three')
:calcolorscheme three')
:callcolorscheme three')
:call colorscheme three')acolorscheme three')dcolorscheme three')dcolorscheme three')(colorscheme three')lcolorscheme three')icolorscheme three'),colorscheme three') colorscheme three')'colorscheme three')
:[?2004hcolorscheme ...one...three...wo')
:ccolorscheme two')
:cacolorscheme two')
:calcolorscheme two')
:callcolorscheme two')
:call colorscheme two')acolorscheme two')dcolorscheme two')dcolorscheme two')(colorscheme two')lcolorscheme two')icolorscheme two'),colorscheme two') colorscheme two')'colorscheme two')
:[?2004hcolorscheme ...one...three...wo...')
:ccolorscheme ')
:cacolorscheme ')
:calcolorscheme ')
:callcolorscheme ')
:call colorscheme ')acolorscheme ')dcolorscheme ')dcolorscheme ')(colorscheme ')lcolorscheme ')icolorscheme '),colorscheme ') colorscheme ')'colorscheme ')
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/fold.o fold.c


Executing Test_helptags()


Executing Test_packadd()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C writtenalso/loaded.vim" [New File][New] 1L, 29C writtenftdetect/test.vim" [New File[New] 1L, 26C written


Executing Test_packadd_completion():[?2004hpackadd ...pluginA')
:cpackadd pluginA')
:capackadd pluginA')
:calpackadd pluginA')
:callpackadd pluginA')
:call packadd pluginA')apackadd pluginA')dpackadd pluginA')dpackadd pluginA')(packadd pluginA')lpackadd pluginA')ipackadd pluginA'),packadd pluginA') packadd pluginA')'packadd pluginA')
:[?2004hpackadd ...pluginA...B')
:cpackadd pluginB')
:capackadd pluginB')
:calpackadd pluginB')
:callpackadd pluginB')
:call packadd pluginB')apackadd pluginB')dpackadd pluginB')dpackadd pluginB')(packadd pluginB')lpackadd pluginB')ipackadd pluginB'),packadd pluginB') packadd pluginB')'packadd pluginB')
:[?2004hpackadd ...pluginA...B...C')
:cpackadd pluginC')
:capackadd pluginC')
:calpackadd pluginC')
:callpackadd pluginC')
:call packadd pluginC')apackadd pluginC')dpackadd pluginC')dpackadd pluginC')(packadd pluginC')lpackadd pluginC')ipackadd pluginC'),packadd pluginC') packadd pluginC')'packadd pluginC')
:[?2004hpackadd ...pluginA...B...C...')
:cpackadd ')
:capackadd ')
:calpackadd ')
:callpackadd ')
:call packadd ')apackadd ')dpackadd ')dpackadd ')(packadd ')lpackadd ')ipackadd '),packadd ') packadd ')'packadd ')


Executing Test_packadd_noload()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written


Executing Test_packadd_symlink_dir()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"./Xdir/Xdir2/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_packloadall()


Executing Test_runtime()
"test_packadd.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"600L, 16592C612L, 16912C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_paste.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_paste.vim" 99 lines, 2938 characters[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_paste_cmdline():[?2004hafoo^Mbarb
:"afoo^Mbarb
:"


Executing Test_paste_insert_mode()normalvisu
"test_paste.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"612L, 16912C619L, 17087C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_perl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_perl.vim" 238 lines, 5919 characters


Executing Test_SvREFCNT()
"t" [New File]

Executing Test_VIM_Buffers()
"Xbar" [New File]

Executing Test_VIM_Windows()


Executing Test_VIM_package()


Executing Test_buffer_Append()


Executing Test_buffer_Count()


Executing Test_buffer_Delete()


Executing Test_buffer_Get()


Executing Test_buffer_Name()
"Xfoo" [New File]

Executing Test_buffer_Number()


Executing Test_buffer_Set()


Executing Test_change_buffer()/[?2004h^1


Executing Test_evaluate_list()/[?2004h^2
search hit BOTTOM, continuing at TOP


Executing Test_perldo()
"__TEST__" [New File]test_perl.vim"238L, 5919C


Executing Test_perleval()


Executing Test_stdio()


&VIM::Msg


STDOUT


STDERR


Executing Test_window_Cursor()


Executing Test_window_SetHeight()
"test_perl.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 619L, 17087C640L, 17647C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_preview.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_preview.vim" 13 lines, 248 characters


Executing Test_Psearch()
"help.txt" [readonly] 225L, 8437C


"[No Name]" [Not edited][readonly] line 1 of 225 --0%-- col 1
"test_preview.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"640L, 17647C644L, 17712C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_profile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_profile.vim" 147 lines, 6308 characters


Executing Test_profile_completion():[?2004hprofile ...continue file func pause start
:"profile continue file func pause start
:"
:[?2004hprofile start test_prof...ile.vim
:"profile start test_profile.vim
:"


Executing Test_profile_errors()


Executing Test_profile_file()[?2004l[?2004h


Executing Test_profile_func()[?2004l[?2004h
"test_profile.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"644L, 17712C651L, 17881C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python2.vim" 24 lines, 523 characters
"test_python2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"651L, 17881C654L, 17921C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python3.vim" 24 lines, 534 characters


Executing Test_py3do()
"test_python3.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"654L, 17921C658L, 17984C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx2.vim" 74 lines, 1409 characters
"test_pyx2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"658L, 17984C661L, 18021C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx3.vim" 74 lines, 1409 characters


Executing Test_has_pythonx()


Executing Test_pyx()


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


Executing Test_pyxdo()


Executing Test_pyxeval()


Executing Test_pyxfile()


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]
"test_pyx3.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"661L, 18021C669L, 18182C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quickfix.vim" 2639 lines, 77130 characters


Executing Test_Autocmd()
"F1" [New File]

(1 of 1): Line 10
"F2" [New File]

(1 of 2): Line 10


Executing Test_Autocmd_Exception()


Executing Test_Multi_LL_Help()
"arabic.txt" [readonly] 322L, 11936C


(1 of 4051): o  Viewing and editing files in right-to-left windows.^I File
"arabic.txt" [readonly] line 1 of 322 --0%-- col 1

(1 of 3535): the global settings as they could affect other possible open buffe


rs.


Executing Test_Qf_Size()
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"


Executing Test_add_qf()


Executing Test_adjust_lnum()


Already only one window
"Xqftestfilec" 20L, 131C


9 fewer lines


Already only one window
"Xqftestfilel" 20L, 131C


9 fewer lines


Executing Test_browse()
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


Executing Test_bufoverflow()


Executing Test_caddbuffer_to_empty()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


(2 of 1487):


Executing Test_caddbuffer_wrong()
"Xqftestfile2" [New File]

Executing Test_caddexpr_wrong()


(1 of 1):


(1 of 1):


Executing Test_cage()


error list 3 of 4; 1 errors:cgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:cgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 3 of 4; 1 errors:lgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:lgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


Executing Test_cbottom()


Executing Test_cbuffer()
"Xtestfile7" [New File]

(1 of 2): Line 700


"Xtestfile1" [New File]


"Xtestfile7" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


Executing Test_cclose_from_copen()


Executing Test_cclose_in_autocmd()


Executing Test_cexpr()


Executing Test_cfile()
"Xtestfile1" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


(1 of 2): Line 700


Executing Test_cgetexpr_works()


Executing Test_changedtick()


error list 2 of 3; 0 errors:cexpr ""


error list 1 of 3; 0 errors:cexpr ""


error list 2 of 3; 0 errors:lexpr ""


error list 1 of 3; 0 errors:lexpr ""


Executing Test_clist()


 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one




 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one


Executing Test_cwindow()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 "[Quickfix List]" line 1 of 3 --33%-- col 1


~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 Executing Test_cwindow_jump()
"F1" [New File]2


Executing Test_dirstack_cleanup()


(1 of 1): 0


Executing Test_duplicate_buf()
"DoesNotExist" [New File]2" [New File]


Xgrepthis
"Xgrepthis" line 1 of 2 --50%-- col 1


(1 of 2): this one


Xgrepthis
(1 of 2): this one


Executing Test_efm()


Executing Test_efm1()
"Xtestfile" 21L, 903C


(1 of 20): 1506-045 (S) Undeclared identifier fd_set.


(20 of 20): What is the title of the quickfix window?


Executing Test_efm2()
"Xtestfile" [New File]


 1 Xtestfile:^\VLine search text\$:


(1 of 1): msg2


Executing Test_efm_dirstack()


Executing Test_efm_ignore_continuations()


Executing Test_errortitle()


Executing Test_get_list_from_lines()


Executing Test_grep()


Already only one window[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25l[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25lExecuting Test_helpgrep()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/getchar.o getchar.c
[readonly] 1487L, 61609C


"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C
"index.txt" [readonly] 1660L, 76442C
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


Executing Test_history()


error list 1 of 1; 0 errors:setqflist()


error list 1 of 1; 0 errors:setloclist()


Executing Test_invalid_efm()


Executing Test_locationlist()


No matching autocommands


(1 of 7): file foo.txt


No matching autocommands


No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


W19: Deleting augroup that is still in use
Executing Test_locationlist_cross_tab_jump()
"loclistfoo" 1L, 11Cbar1L, 11C[?2004l[?1l>[?25h[?1049l[?2004lloclistfoo:1:loclistfoo
[?2004h[?1049h[?1h=[?2004h

[?25lAlready only one window


Executing Test_locationlist_curwin_was_closed()


W19: Deleting augroup that is still in use
Executing Test_long_lines()"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


Executing Test_multidirstack()


Executing Test_multifilestack()


Executing Test_nomem()
"/<<PKGBUILDDIR>>/src/vim-gtk3/alloc.h" 21L, 485C


Error detected while processing function RunTheTest[24]..Test_nomem:


line    2:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-gtk3/alloc.h" 21L, 485C


line    5:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-gtk3/alloc.h" 21L, 485C


line    8:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-gtk3/alloc.h" 21L, 485C


line   11:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-gtk3/alloc.h" 21L, 485C


line   14:


E342: Out of memory!  (allocating 1025 bytes)


Executing Test_perbuf_efm()
"File1" [New File]

(1 of 1): Line10


Executing Test_qf_free()


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

Executing Test_qf_id()


error list 2 of 3; 0 errors:cexpr ''


error list 2 of 3; 0 errors:lexpr ''


Executing Test_qf_property()


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


Executing Test_qf_title()


Executing Test_quickfix_set_list_with_act()


Executing Test_quickfix_was_changed_by_autocmd()


error list 1 of 2; 1 errors:setqflist()


W19: Deleting augroup that is still in use
error list 1 of 2; 1 errors       :setloclist()


error list 1 of 2; 1 errors:setloclist()


W19: Deleting augroup that is still in use
Executing Test_resize_from_copen()

Executing Test_setexpr()


Executing Test_setqflist()
"Xtestfile" [New File]

(2 of 2):


(3 of 3):


(2 of 2):


(3 of 3):


Executing Test_setqflist_empty_middle()


test_quickfix.vim
"test_quickfix.vim" 2639L, 77130C


(1 of 1): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1vimgrep empty test_quickfix.vim


error list 1 of 3; 1 errors:-1vimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setqflist()


error list 3 of 3; 2 errors:-1vimgrep matches test_quickfix.vim


test_quickfix.vim
(1 of 66): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1lvimgrep empty test_quickfix.vim


error list 1 of 3; 66 errors      :-1lvimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setloclist()


error list 3 of 3; 2 errors:-1lvimgrep matches test_quickfix.vim


Executing Test_setqflist_empty_older()


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1vimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1vimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1vimgrep three test_quickfix.vim


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1lvimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1lvimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1lvimgrep three test_quickfix.vim


Executing Test_switchbuf()
"Xqftestfile1" 20L, 131C220L, 131C1" line 1 of 20 --5%-- col 1


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" line 1 of 20 --5%-- col 1


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C220L, 131C


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16


Already only one window
"Xqftestfile1" 20L, 131C220L, 131C320L, 131C120L, 131C220L, 131C320L, 131C


Already only one window


Already only one window


Executing Test_two_windows()
"one" [New File]two


Executing Test_vimgrep()


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Executing Test_vimgreptitle()


file
"file" [New File]


Cannot open file "file"
"test_quickfix.res" [New File][New] 0L, 0C written


Executed 59 tests
"messages" 669L, 18182C731L, 19984C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quotestar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quotestar.vim" 158 lines, 4650 characters


Executing Test_quotestar()
"test_quotestar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"731L, 19984C737L, 20131C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_retab.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_retab.vim" 77 lines, 3189 characters


Executing Test_retab()


Executing Test_retab_error()


"test_retab.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"737L, 20131C742L, 20222C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_registers.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_registers.vim" 27 lines, 821 characters


Executing Test_yank_shows_register()
1 line yankedinto "z
2 lines yankedinto "z
block of 1 line yanked into "z2 lines yankedinto "z
"test_registers.vim" 27L, 821Cres" [New File][New] 0L, 0C written


Executed 1 test
"messages"742L, 20222C746L, 20301C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_ruby.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_ruby.vim" 51 lines, 1229 characters


Executing Test_ruby_change_buffer()/[?2004h^1


Executing Test_ruby_evaluate_dict()


{"a"=>"foo", "b"=>123}


Executing Test_ruby_evaluate_list()/[?2004h^2
search hit BOTTOM, continuing at TOP


Executing Test_rubydo()
"test_ruby.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"746L, 20301C753L, 20471C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_scrollbind.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_scrollbind.vim" 32 lines, 807 characters


Executing Test_scrollbind()
"test_scrollbind.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"753L, 20471C757L, 20542C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_search.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search.vim" 358 lines, 10339 characters


Executing Test_search_cmdline()/[?2004hfoobar
/[?2004hthe
search hit BOTTOM, continuing at TOP/[?2004hthes
/foobar
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthei
/[?2004htheis
/[?2004htheiss
/[?2004hthemthe\>
Executing Test_search_cmdline2()/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hfoo
6 their

  7 the

  8 them

  9 these

 10 foobar

[No Name] [+]                                                                   " Test for the search command



set belloff=all

func Test_search_cmdline()

  if !exists('+incsearch')

    return

  endif

  " need to disable char_avail,

  " so that expansion of commandline works

  call test_override("char_avail", 1)

  new

  call setline(1, ['  1', '  2 these', '  3 the', '  4 their', '  5 there', '  66 their', '  7 the', '  8 them', '  9 these', ' 10 foobar'])

  " Test 1

  " CTRL-N / CTRL-P skips through the previous search history

  set noincsearch

test_search.vim                                                                 Executing Test_search_cmdline3()/[?2004hthe\~
Executing Test_search_cmdline4()?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM?[?2004hthe
Executing Test_searchc()


Executing Test_searchpair()


Executing Test_use_sub_pat()
"test_search.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"757L, 20542C767L, 20795C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_signs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_signs.vim" 199 lines, 6383 characters


Executing Test_sign()
"foo" [New File]a  b  c xd                                                                                 ~

[No Name] [+]                                                                   " Test for signs



if !has('signs')

  finish

endif

test_signs.vim                                                                  ~                                                                               ~                                                                               ~                                                                               ~                                                                               foo                                                                               a

  b

x c

  d

[No Name] [+]                                                                     a  bx c  d  ~   "foo" [New file] --No lines in buffer--
"barF

Executing Test_sign_completion():[?2004hsign ...define jump list place undefine unplace
:"sign define jump list place undefine unplace
:"
:[?2004hsign define Sign ...icon= linehl= text= texthl=
:"sign define Sign icon= linehl= text= texthl=
:"
:[?2004hsign define Sign linehl=Spell...Bad SpellCap SpellLocal SpellRare
:"sign define Sign linehl=SpellBad SpellCap SpellLocal SpellRare
:"
:[?2004hsign define Sign icon=Xsig...nOne XsignTwo
:"sign define Sign icon=XsignOne XsignTwo
:"
:[?2004hsign undefine ...Sign1 Sign2
:"sign undefine Sign1 Sign2
:"
:[?2004hsign place 1 ...buffer= file= line= name=
:"sign place 1 buffer= file= line= name=
:"
:[?2004hsign place 1 name=...Sign1 Sign2
:"sign place 1 name=Sign1 Sign2
:"
:[?2004hsign unplace 1 ...buffer= file=
:"sign unplace 1 buffer= file=
:"
:[?2004hsign list ...Sign1 Sign2
:"sign list Sign1 Sign2
:"
:[?2004hsign jump 1 ...buffer= file=
:"sign jump 1 buffer= file=
:"


Executing Test_sign_delete_buffer()


Executing Test_sign_invalid_commands()


Executing Test_sign_undefine_still_placed()
"foobar" [New File]test_signs.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"767L, 20795C775L, 21008C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_smartindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_smartindent.vim" 41 lines, 935 characters


Executing Test_nosmartindent()/[?2004hsome
search hit BOTTOM, continuing at TOP


Executing Test_smartindent_has_no_effect()
"test_smartindent.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"775L, 21008C780L, 21127C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_spell.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_spell.vim" 779 lines, 25186 characters


Executing Test_spellreall()


Executing Test_wrap_search()
search hit BOTTOM, continuing at TOP


Executing Test_z_equal_on_invalid_utf8_word()
Change "ÿ" to:

 1 "I"


 2 "W"


 3 "Y"


 4 "A"


 5 "E"


 6 "O"


 7 "U"


 8 "À"


 9 "B"


10 "C"


11 "D"


12 "F"


13 "G"


14 "H"


15 "J"


16 "K"


17 "L"


18 "M"


19 "N"


20 "P"


21 "Q"


22 "R"


Type number and <Enter> or click with mouse (empty cancels): 


Executing Test_zeq_crash()
Change "asd" to:

 1 "Acid"


 2 "Sad"


 3 "Ads"


 4 "And"


 5 "Ask"


 6 "Asp"


 7 "Add"


 8 "Aid"


 9 "Ass"


10 "Ad"


11 "As"


12 "USD"


13 "Ash"


14 "Asst"


15 "Assad"


16 "SSD"


17 "SD"


18 "AMD"


19 "ASB"


20 "ASL"


21 "BSD"


22 "LSD"


Type number and <Enter> or click with mouse (empty cancels): :[?2004h\"Executing Test_zz_NOSLITSUGS()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 8 of 26 nodes; 18 (69%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 90 bytes


4 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_Numbers()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 2 of 15 nodes; 13 (86%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 65 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_affix()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 105 nodes; 86 (81%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 87 nodes; 68 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_basic()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_compound()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 29 nodes; 23 (79%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 115 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_prefixes()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 98 nodes; 88 (89%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 505 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_sal_and_addition()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 241 bytes


Reading word file Xtest.latin1.add ...


Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.latin1.add.spl ...


Done!


Estimated runtime memory use: 145 bytes/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP
"test_spell.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [converted] 780L, 21127C[converted] 794L, 21503C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup.vim" 265 lines, 7013 characters


Executing Test_after_comes_later()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l1: /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xbefore.vim


  2: /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xhere/plugin/here.vim


  3: /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xanother/plugin/anothe


r.vim


  4: /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xhere/pack/foo/start/f


oobar/plugin/foo.vim


  5: /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xafter/plugin/later.vi


m

  6: /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xafter.vim


here another pack after
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_compatible_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25lError detected while processing /<<PKGBUILDDIR>>/src/vim-gtk3/tes


tdir/Xafter.vim:


line    2:


E528: Must specify a ' value: viminfo+=nviminfo
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_default_term()[?2004l[?2004h


Executing Test_file_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l3 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l2 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l4 files to edit
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_help_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_pack_in_rtp_when_plugins_run()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_progpath()


Executing Test_read_stdin()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 1 line, 10 characters[?2004h[?12h[?12l"Xtestout" [New File] 1 line, 10 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_silent_ex_mode()[?2004l[?2004h


Executing Test_startup_script()[?1000h


Executing Test_startuptime()[?2004l[?1l>[?25h[?1049l[?1000l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?1000h[?2004h[?1049h[?1h=[?2004h[?25l"test_startup.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" 794L, 21503C808L, 21889C written
[?1000l[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup_utf8.vim" 64 lines, 1366 characters


Executing Test_read_fifo_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"/dev/fd/63" [readonly] 2 lines, 24 characters


"Xtestout" [New File] 2 lines, 24 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_read_stdin_utf8()[?2004l[?1l>[?25h[?1049l[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hardcopy.o hardcopy.c
[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 2 lines, 24 characters[?2004h[?12h[?12l"Xtestout" [New File] 2 lines, 24 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h[?25l"test_startup_utf8.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"808L, 21889C813L, 22000C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_stat.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_stat.vim" 92 lines, 2287 characters


Executing Test_checktime()
"Xtest.tmp" 1L, 13C[?25h[?2004l[?2004h[?25l1L, 25C


Executing Test_existent_directory()


Executing Test_existent_file()


Executing Test_nonexistent_file()


Executing Test_win32_symlink_dir()
"test_stat.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"813L, 22000C821L, 22201C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_substitute.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_substitute.vim" 296 lines, 12358 characters


Executing Test_multiline_subst()


search hit BOTTOM, continuing at TOP
3 substitutions on 3 lines

3 substitutions on 2 lines


Executing Test_sub_replace_1()


Executing Test_sub_replace_10()


Executing Test_sub_replace_2()


Executing Test_sub_replace_3()


Executing Test_sub_replace_4()


Executing Test_sub_replace_5()


Executing Test_sub_replace_6()


Executing Test_sub_replace_7()


Executing Test_sub_replace_8():[?2004hs/\(^\|,\)\ze\(,\|Y\)/\1N/gc
N,,NX

,,Y

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       replace with \1N (y/n/a/q/l/^E/^Y)?:[?2004hs/\(^\|,\)\ze\(,\|Z\)/\1N/gc
N,,NY

,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?N,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?Executing Test_sub_replace_9():[?2004hs/x/X/gc
xxx~                                                                               ~                                                                               replace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Executing Test_substitute_repeat()
"Xfile" [New File]Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sc


x

[?25l^[?25hy


[?25lxx


Executing Test_substitute_variants():[?2004hs/Test/test/c
Testing string

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               replace with test (y/n/a/q/l/^E/^Y)?:[?2004hsc
replace with test (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ce
:[?2004hsce
:[?2004hs/t/r/cg
Tesreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscg
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/ci
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsci
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cI
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscI
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cn
1 match on 1 line:[?2004hscn
1 match on 1 line:[?2004hs/t/r/cp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hscp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hs/t/r/cl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hscl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hs/t/r/gc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hsgc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ge
:[?2004hsge
:[?2004hs/t/r/g
:[?2004hsg
:[?2004hs/t/r/gi
3 substitutions on 1 line:[?2004hsgi
3 substitutions on 1 line:[?2004hs/t/r/gI
:[?2004hsgI
:[?2004hs/t/r/gn
2 matches on 1 line:[?2004hsgn
2 matches on 1 line:[?2004hs/t/r/gp
Tesring srring$:[?2004hsgp
Tesring srring$:[?2004hs/t/r/gl
Tesring srring$:[?2004hsgl
Tesring srring$:[?2004hs//r/gr
:[?2004hsgr
:[?2004hs/t/r/ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsic
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ie
:[?2004hsie
:[?2004hs/t/r/i
:[?2004hsi
:[?2004hs/t/r/iI
:[?2004hsiI
:[?2004hs/t/r/in
1 match on 1 line:[?2004hsin
1 match on 1 line:[?2004hs/t/r/ip
resting string$:[?2004hsip
resting string$:[?2004hs//r/ir
:[?2004hsir
:[?2004hs/t/r/Ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsIc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/Ie
:[?2004hsIe
:[?2004hs/t/r/Ig
:[?2004hsIg
:[?2004hs/t/r/Ii
:[?2004hsIi
:[?2004hs/t/r/I
:[?2004hsI
:[?2004hs/t/r/Ip
Tesring string$:[?2004hsIp
Tesring string$:[?2004hs/t/r/Il
Tesring string$:[?2004hsIl
Tesring string$:[?2004hs//r/Ir
:[?2004hsIr
:[?2004hs//r/rc
tingreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsrc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs//r/rg
:[?2004hsrg
:[?2004hs//r/ri
:[?2004hsri
:[?2004hs//r/rI
:[?2004hsrI
:[?2004hs//r/rn
1 match on 1 line:[?2004hsrn
1 match on 1 line:[?2004hs//r/rp
Testr string$:[?2004hsrp
Testr string$:[?2004hs//r/rl
Testr string$:[?2004hsrl
Testr string$:[?2004hs//r/r
:[?2004hsr
"test_substitute.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 821L, 22201C837L, 22662C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_syntax.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_syntax.vim" 522 lines, 14436 characters


Executing Test_bg_detection()


Executing Test_conceal()123456

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X 6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1XY6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 16

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 Executing Test_highlight_invalid_arg()


Executing Test_invalid_name()


Error detected while processing function RunTheTest[24]..Test_invalid_name:


line    4:


W18: Invalid character in group name


Executing Test_ownsyntax()
"Xfoo" [New File]

2 buffers wiped out


Executing Test_ownsyntax_completion():[?2004hownsyntax java... javacc javascript
:"ownsyntax java javacc javascript
:"


Executing Test_syn_clear()


Executing Test_syn_iskeyword()CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


syntax iskeyword @,48-57,_,192-255CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


Executing Test_syn_sync()


Executing Test_synstack_synIDtrans()


Executing Test_syntax_after_reload()
"Xsomefile" [New File][New] 2L, 12C written
"other" [New File]Xsomefile" 2L, 12C


Executing Test_syntax_arg_skipped()


Executing Test_syntax_completion():[?2004hsyn ...case clear cluster conceal enable include iskeyword keyword list manual ma


tch off on region reset spell sync"syn case clear cluster conceal enable include iskeyword keyword list manual match off on region reset spell sync
:[?2004hsyn case ...ignore match
:"syn case ignore match
:"
:[?2004hsyn spell ...default notoplevel toplevel
:"syn spell default notoplevel toplevel
:"
:[?2004hsyn sync ...ccomment clear fromstart linebreaks= linecont lines= match maxlines=


minlines= region"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region
:[?2004hsyn list ...Aap Boolean Character ColorColumn Comment Conceal Conditional Constan


tCursor CursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd Dif


fChange DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float


FoldColumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include K


eyword Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number "syn list Aap Boolean Character ColorColumn Comment Conceal Conditional Constant Cursor CursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd Di

fChange DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float FoldColumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include Keyword Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number
:[?2004hsyn list ...Boolean Character ColorColumn Comment Conceal Conditional Constant Cu
:"syn list Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"
:[?2004hsyn match ...Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"syn match Boolean Character ColorColumn Comment Conceal Conditional Constant 
:"


Executing Test_syntax_hangs()aaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

thereXsomefileaaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

there

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xsomefile                                                                       Executing Test_syntax_invalid_arg()


Executing Test_syntax_list()
"../memfile_test.c" [readonly] 143L, 3142C


--- Syntax items ---




--- Syntax items ---


"Xsomefile" [New File]


Executing Test_syntime()
"../memfile_test.c" [readonly] 143L, 3142C/* vi:set ts=8 sts=4 sw=4 noet:

 *

 * VIM - Vi IMproved    by Bram Moolenaar

 *

 * Do ":help uganda"  in Vim to read copying and usage conditions.

 * Do ":help credits" in Vim to see a list of people who contributed.

 * See README.txt for an overview of the Vim source code. *//* * memfile_test.c: Unittests for memfile.c * Mostly by Ivan Krasilnikov. */#undef NDEBUG#include <assert.h>/* Must include main.c because it contains much more than just main() */#define NO_VIM_MAIN#include "main.c"/* This file has to be included because the tested functions are static */#include "memfile.c""Xsomefile" [New File]
"test_syntax.res" [New File][New] 0L, 0C written


Executed 17 tests
"messages" 837L, 22662C857L, 23241C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_system.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_system.vim" 92 lines, 2923 characters


Executing Test_System()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"Xdummy" [New File][?2004l[?2004h[?2004l[?2004h[?2004l[?2004h

Executing Test_system_exmode()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"test_system.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"857L, 23241C862L, 23336C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_tcl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_tcl.vim" 23 lines, 471 characters


Executing Test_tcldo()
"test_tcl.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"862L, 23336C866L, 23395C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal.vim" 678 lines, 17334 characters


Executing Test_finish_open_close()


This will take five seconds...[?25h[?2004l[?2004h[?2004l[?2004h[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/hashtab.o hashtab.c
[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_cscope.o if_cscope.c
[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_xcmdsrv.o if_xcmdsrv.c
[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/list.o list.c
[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mark.o mark.c
[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25lExecuting Test_terminal_basic()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_curwin()
"dummy" [New File]file] --No lines in buffer--


"dummy" [Modified][New file] line 1 of 1 --100%-- col 1


"dummy" [New File]


Executing Test_terminal_cwd()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_env()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_hide_buffer()
"17buf" [New File][?25h[?2004l[?2004h

[?25lExecuting Test_terminal_list_args()


Executing Test_terminal_make_change()[?25h[?2004l[?2004h


[?25l1 change; before #1  0 seconds ago


Executing Test_terminal_nasty_cb()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_no_cmd()


Executing Test_terminal_noblock()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004lgcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memline.o memline.c
[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_redir_file()[?2004l[?2004h[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_123()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_multibyte()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scroll()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_size()


Executing Test_terminal_special_chars()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_split_quit()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_tmap()]12;[2 q[?25h]12;[?2004l[?2004h]12;[2 q]12;


[?25lExecuting Test_terminal_wipe_buffer()


[?25h[?2004l[?2004h[?25lExecuting Test_terminal_write_stdin()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_wrong_options()


Executing Test_zz_terminal_in_gui()
"test_terminal.res" [New File][New] 0L, 0C written


Executed 23 tests
"messages" 866L, 23395C892L, 24253C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal_fail.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal_fail.vim" 21 lines, 627 characters


Executing Test_terminal_redir_fails()[?2004l[?2004h[?25h[?25l
"test_terminal_fail.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"892L, 24253C896L, 24337C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_textobjects.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_textobjects.vim" 54 lines, 1127 characters


Executing Test_inner_block_with_cpo_M_left_backslash()


Executing Test_inner_block_with_cpo_M_right_backslash()


Executing Test_inner_block_without_cpo_M()


Executing Test_quote_selection_selection_exclusive()
"test_textobjects.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"896L, 24337C903L, 24589C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_undo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_undo.vim" 276 lines, 7228 characters


Executing Test_U_command()global_local_undolevels()
"one" [New File]

6 fewer lines; before #8  0 seconds ago
"two" [New File]

3 fewer lines; before #11  0 seconds ago
"three" [New File]

Executing Test_insert_expr()=[?2004hsetline('.','1234')
1 line less; before #4  0 seconds ago3=[?2004hsetline('.','1234')
1 line less; before #7  0 seconds ago=[?2004hstring(123)
1 line less; before #9  0 seconds ago


Executing Test_undo_del_chars()
1 change; before #3  0 seconds ago21


1 change; before #6  1 seconds ago5
4s; after #3
1; before #21


3 changes; after #6  1 seconds agobefore #7  0 seconds ago


3 changes; before #1  3 seconds ago


3 changes; after #6  3 seconds ago


3 changes; after #9  0 seconds ago


Executing Test_undo_write()
"Xtest" [New File][New] 1L, 12C written3L, 20C written
1 line less; before #4  0 seconds ago


2 fewer lines; before #2  0 seconds ago


1 line less; before #1  0 seconds ago


1 more line; after #1  0 seconds ago


2 more lines; after #3  0 seconds ago


1 more line; after #4  0 seconds ago


Executing Test_undofile_earlier()
"Xfile" [New File][New] 3L, 14C written3L, 14C


Finished reading undo file Xundofile


3 fewer lines; before #1  2017/09/29 18:32:38


Executing Test_undojoin()
1 line less; before #2  0 seconds ago
2 fewer lines; before #3  0 seconds ago


Executing Test_undojoin_redo():[?2004hundojoin | redo
Already at newest change


Executing Test_undolist()
1 change; before #2  0 seconds ago
Executing Test_undotree()

1 change; before #2  0 seconds ago
"Xtest" [New] 1L, 4C written
"test_undo.res" [New File][New] 0L, 0C written


Executed 10 tests
"messages" 903L, 24589C916L, 24928C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_usercommands.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_usercommands.vim" 209 lines, 6183 characters


Executing Test_Ambiguous()


Executing Test_CmdCompletion():[?2004hcom -...addr bang bar buffer complete count nargs range register
:"com -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=0 -...addr bang bar buffer complete count nargs range register
:"com -nargs=0 -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=...* + 0 1 ?
:"com -nargs=* + 0 1 ?
:"
:[?2004hcom -addr=...arguments buffers lines loaded_buffers quickfix tabs windows
:"com -addr=arguments buffers lines loaded_buffers quickfix tabs windows
:"
:[?2004hcom -complete=co...lor command compiler
:"com -complete=color command compiler
:"
:[?2004hcom ...DoCmd1 DoCmd2
:"com DoCmd1 DoCmd2
:"
:[?2004hDoC...md1 DoCmd2
:"DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md1 DoCmd2
:"delcom DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md2
:"delcom DoCmd2
:"
:[?2004hcom DoC...md2
:"com DoCmd2
:"
:[?2004hdelcom DoC...
:"delcom DoC
:"
:[?2004hcom DoC...
:"com DoC
:"
:[?2004hDoCmd ...mswin xterm
:"DoCmd mswin xterm
:"
:[?2004hDoCmd ...January February Mars
:"DoCmd January February Mars
:"
:[?2004hDoCmd ...Monday Tuesday Wednesday
:"DoCmd Monday Tuesday Wednesday
:"
:[?2004hDoCmd 


:DoCmd :[?2004hDoCmd 


:DoCmd Executing Test_CmdErrors()


Executing Test_CmdUndefined()


Executing Test_cmdmods()
"test_usercommands.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"916L, 24928C924L, 25114C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_viminfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_viminfo.vim" 515 lines, 13492 characters


Executing Test_cmdline_history()


Executing Test_cmdline_history_order()


Executing Test_global_vars()


Executing Test_viminfo_bad_syntax()


Executing Test_viminfo_encoding()
"Xviminfo" [converted] 73L, 3437C


Executing Test_viminfo_file_mark_tabclose()
"Xtestfileintab" [New File]viminfo" 83L, 3614C


Executing Test_viminfo_file_mark_zero_time()


Executing Test_viminfo_file_marks()
"ten" [New File]again" [New File]
"thirty" [New File]
"twen
"again" [New File]fourty" [New File]
"Xviminfo" 90L, 3412C


Executing Test_viminfo_jumplist()
"testbuf" [New File]/[?2004h20
/[?2004h30
/[?2004hlast pos
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere


Executing Test_viminfo_marks()
"bufa" [New File]b


Executing Test_viminfo_oldfiles()


Executing Test_viminfo_read_and_write()


Executing Test_viminfo_registers()
"test_viminfo.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 924L, 25114C940L, 25626C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_vimscript.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_vimscript.vim" 1448 lines, 36110 characters


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk3/tes


tdir/test_vimscript.vim:


line  432:


E492: Not an editor command: ^Iasdf


line  444:


E492: Not an editor command: ^Iasdf


line  452:


E492: Not an editor command: asdf


line  455:


E492: Not an editor command: asdf | Xpath 'p'


Error detected while processing function T8_F:


line    5:


E492: Not an editor command: ^I    asdf


line    7:


E492: Not an editor command: ^I    asdf | Xpath 'd'


line   19:


E492: Not an editor command: ^I    asdf


line   21:


E492: Not an editor command: ^I    asdf | Xpath 'l'


line   29:


E121: Undefined variable: novar


E15: Invalid expression: novar^I^I" returns (default return value 0)


Error detected while processing function T8_G:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function T8_H:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function F[2]..G[2]..H[2]..I:


line    2:


E492: Not an editor command:     asdf^I^I" error


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk3/tes


tdir/test_vimscript.vim:


line  663:


E15: Invalid expression: | strlen("\"") | Xpath 'j'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'j'


line  673:


E15: Invalid expression: | strlen("\"") | Xpath 'n'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'n'


line  682:


E15: Invalid expression: | strlen("\"") | Xpath 'r'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'r'


line  717:


E492: Not an editor command:     asdf^I^I" error


1

line  787:


E492: Not an editor command:     asdf^I^I" error


line  794:


E492: Not an editor command:     asdf^I^I" error


line  817:


E121: Undefined variable: asdf


E15: Invalid expression: asdf


line  828:


E121: Undefined variable: asdf


E15: Invalid expression: asdf | Xpath 'f' | endwhile | Xpath 'g'


Error detected while processing function F:


line    8:


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar^I" possibly undefined


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar | Xpath 'd' | else | Xpath 'e' | endif


Executing Test_arg_abort()


Executing Test_bitwise_functions()


Executing Test_braces_skipped()


Executing Test_curlies()


Executing Test_defining_functions()


Executing Test_delfunction_force()


Executing Test_echo_and_string()


foo bar


'foo bar'


-1.2


-1.2


string


function('string')


{'a': {...}}


{'a': {...}}


[[...]]


[[...]]


[{}, {}, {}]


[{}, {}, {}]


{'a': {}, 'b': {}}


{'a': {}, 'b': {}}


[[], [], []]


[[], [], []]


{'a': [], 'b': []}


{'a': [], 'b': []}


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {...}, {...}]


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {'one': 'yes', 'two': 'yes', 'th


ree': 'yes'}, {'one': 'yes', 'two': 'yes', 'three': 'yes'}]


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {...}}


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {'one': 'yes', 'two':


'yes', 'three': 'yes'}}


[[1, 2, 3], [...], [...]]


[[1, 2, 3], [1, 2, 3], [1, 2, 3]]


{'a': [1, 2, 3], 'b': [...]}


{'a': [1, 2, 3], 'b': [1, 2, 3]}


Executing Test_endfunction_trailing()


W22: Text found after :endfunction: garbage
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Executing Test_endwhile_function()


Executing Test_endwhile_script()


   function T1_F()


1      Xpath 'a'


2      let first = 1


3      while 1


4Xpath 'b'


5if first


6Xpath 'c'


7let first = 0


8break


9else


10Xpath 'd'


11return


12endif


13     endwhile


   endfunction"/tmp/v9VrU8K/0" [noeol] 16L, 299C

13 substitutions on 13 lines

Pattern not found: ^\s*$
"/tmp/v9VrU8K/0" 13L, 248C written
"test_vimscript.vim" 1448L, 36110C

   function T1_G()

1      Xpath 'h'

2      let first = 1

3      while 1

4Xpath 'i'

5if first

6Xpath 'j'

7let first = 0

8break

9else

10Xpath 'k'

11return


12endif


13if 1    " unmatched :if


14     endwhile


   endfunction"/tmp/v9VrU8K/1" [noeol] 17L, 334C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/v9VrU8K/1" 14L, 281C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_error_in_function()

Executing Test_error_in_script()

Executing Test_expr_parsing()

Executing Test_finish()

   function T4_F()

1      if 1

2Xpath 'a'

3let loops = 3

4while loops > 0"    3:  2:     1:

5Xpath 'b' . loops

6if (loops == 2)

7Xpath 'c' . loops

8return


9Xpath 'd' . loops


10endif


11Xpath 'e' . loops


12let loops = loops - 1


13endwhile


14Xpath 'f'


15     else


16Xpath 'g'


17     endif


   endfunction"/tmp/v9VrU8K/2" [noeol] 20L, 504C

17 substitutions on 17 lines

Pattern not found: ^\s*$
"/tmp/v9VrU8K/2" 17L, 445C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_func_abort()

Executing Test_if_bar_fail()

Executing Test_if_fail()

Executing Test_if_while()

Executing Test_num64()

Executing Test_return()

Executing Test_script_emty_line_continuation()

Executing Test_script_lines()

Executing Test_script_local_func():[?2004hcall <SNR>5_DoNothing()|call <SNR>5_DoLast()|delfunc <SNR>5_DoNothing|delfunc <SNR>5_DoLast


Executing Test_skip()

Executing Test_type()

Executing Test_user_command_with_bang()

Executing Test_while_fail()
"test_vimscript.res" [New File][New] 0L, 0C written

Executed 27 tests
"messages" 940L, 25626C970L, 26500C written

[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_visual.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_visual.vim" 93 lines, 1991 characters


Executing Test_Visual_ctrl_o():[?2004hset tw=88


Executing Test_Visual_inner_quote()


Executing Test_Visual_vapo()


Executing Test_block_shift_multibyte()


Executing Test_block_shift_overflow()


Executing Test_dotregister_paste()


Executing Test_visual_mode_reset():[?2004h'<,'>call TriggerTheProblem()
"test_visual.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"970L, 26500C980L, 26783C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_winbar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_winbar.vim" 23 lines, 426 characters


Executing Test_add_remove_menu():[?2004hlet g:did_next = 11
:[?2004hlet g:did_cont = 12


"test_winbar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"980L, 26783C984L, 26855C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_window_id.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_window_id.vim" 103 lines, 2714 characters


Executing Test_win_getid()
"one" [New File]twohree" [New File]
"four" [New File]ive


Executing Test_win_getid_curtab()
"X" [New File]test_window_id.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"984L, 26855C989L, 26959C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_windows_home.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_windows_home.vim" 121 lines, 3249 characters
"test_windows_home.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"989L, 26959C992L, 27004C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_writefile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_writefile.vim" 51 lines, 1496 characters


Executing Test_writefile()


Executing Test_writefile_fails_conversion()
"Xfile" 2L, 18C

WARNING: Original file may be lost or damaged


don't quit the editor until the file is successfully written!


Executing Test_writefile_fails_gently()


"test_writefile.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"992L, 27004C998L, 27158C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_latin.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_latin.vim" 7 lines, 280 characters


Executing Test_backref()


Executing Test_eow_with_optional()


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_nested_backrefs()


Executing Test_recursive_substitute()
"test_alot_latin.res" [New File][New] 0L, 0C written


Executed 6 tests
"messages"[converted] 998L, 27158C[converted] 1007L, 27399C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_utf8.vim" 15 lines, 542 characters[?2004l[?1l>[?25h[?1049lExecuting Test_classes_re1()gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/menu.o menu.c



Executing Test_classes_re2()


Executing Test_comparisons()


Executing Test_customlist_completion():Test1 ...
:"Test1
:"
:Test2 ...あた
:"Test2 あた
:"
:Test3 ...N
:"Test3 N
:"
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc1.o misc1.c


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_gap()etvcol()


Executing Test_large_class()


Executing Test_match_using_multibyte_conceal_char()#ˑThisˑisˑaˑTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " A series of tests that can run in one Vim invocation.

" This makes testing go faster, since Vim doesn't need to restart.



" These tests use utf8 'encoding'.  Setting 'encoding' is already done in

" runtest.vim.  Checking for the multi_byte feature is in the individual

" files, so that they can be run by themselves.



set belloff=all

source test_charsearch_utf8.vim

source test_expr_utf8.vim

test_alot_utf8.vim                                                              Executing Test_reversed_range()


Executing Test_search_cmds()


Executing Test_source_latin()
"Xscript"[New] 2L, 44C written
Executing Test_source_utf8()"Xscript"[New] 2L, 42C written:%s/àx/--à1234--/g
:%s/Àx/--À1234--/g


Executing Test_strcharpart()


Executing Test_strchars()


Executing Test_strgetchar()


Executing Test_visual_block_insert()
"test_alot_utf8.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 1007L, 27399C1028L, 28002C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot.vim" 62 lines, 1523 characters


Executing Test_abbr_after_line_join()


Executing Test_abbreviation()s()

Executing Test_acos()


Executing Test_asin()


Executing Test_atan()


Executing Test_atan2()


Executing Test_auto_partial_rebind()


Executing Test_balloon_show()


Executing Test_bind_in_python()


Executing Test_break_undo()ufexists()"Xfoo" [New File]

Executing Test_byte2line_line2byte()


Executing Test_cancel_ptjump()


Already only one window:[?2004hptjump word
  # pri kind tagfile


  1 Fwordfile1


cmd1


  2 Fwordfile2


cmd2


Type number and <Enter> (empty cancels): 
"help.txt" [readonly] 225L, 8437C


Executing Test_caught_error_in_statusline()source test_reltime.vim

source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



                                                                                Executing Test_caught_error_in_tabline()                                                                                source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



test_alot.vim                                                                   Executing Test_cd_large_path()


Executing Test_cd_up_and_down()


Executing Test_ceil()


Executing Test_changedtick_bdel()


Executing Test_changedtick_dict_entry()


Executing Test_changedtick_fixed()


Executing Test_changedtick_increments()


1 line less; before #1  0 seconds ago


Executing Test_changedtick_islocked()


Executing Test_changenr()
"Xchangenr" [New File]

1 change; before #2  0 seconds ago


1 change; after #2  0 seconds ago


Executing Test_close_on_quitpre()
"tab1" [New File]2est_alot.vim" 62L, 1523C


Executing Test_closure_counter()


Executing Test_closure_refcount()


Executing Test_closure_unlet()


Executing Test_col()


Executing Test_color_names()


Executing Test_compare_null_dict()


Executing Test_compare_partials()


Executing Test_compl_vim_cmds_after_register_expr()=[?2004hs:test_func()
 AAAAA_Group             tBufAdd                  BufCreate               BufDelete               BufEnter                BufFilePost             BufFilePre              BufHidden               BufLeave                BufNew                  BufNewFile              BufRead                 BufReadCmd              BufReadPost             BufReadPre              BufUnload               BufWinEnter             BufWinLeave             BufWipeout              BufWrite                BufWriteCmd             BufWritePost           

match 1 of 92

Executing Test_complete_CTRLN_startofbuffer()organize       

cupboard       match 2prioritize     

bureau         Scanning: test_alot.vimab2 tags.
match 2 of 90cupboard.organize(3, 2);

bureauprioritize(bureau, 8, 7);

realize(bannister, 4, 4);

moralize(railing, 3,9);

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

test_alot.vim                                                                   prioritize                          

bureau                              

realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

series              test_alot.vim   

ofo                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   

testing             test_alot.vim   



realize        

bannister      Scanning: test_alot.vimab2 tags.
match 2 of 90.prioritize(8, 7);bannisterrealize(bannister, 4, 4);moralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

seriesm              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   moralize       

railing        Scanning: test_alot.vimab2 tags.
match 2 of 90.realize(4, 4);railingmoralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

bannister                           

realizee                             

series              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   Executing Test_complete_func_mess()Jan~                                                                               ~                                                                               ~                                                                               ~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       match 1 of 3
Oct

Oct            

Nov            

Dec            Oct

~              

~              

~              Oct            

Nov            

Dec            

Executing Test_complete_no_undo()=[?2004hUndoComplete()
match 1 of 12xxx

aaayyy~              January        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       1 change; before #2  0 seconds ago=[?2004hUndoComplete()
match 1 of 12
bbb

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       

January        1 change; before #4  0 seconds ago=[?2004hUndoComplete()
match 1 of 12

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December           
January



~              

~              

~              

~              

~              

~              

~              

~              February       

March          

April          

May            

June           

July           

August         

September      January        1 change; before #5  0 seconds ago


Executing Test_completefunc_opens_new_window_one()


search hit BOTTOM, continuing at TOP
Pattern not found

Executing Test_completefunc_opens_new_window_two()


search hit BOTTOM, continuing at TOPExecuting Test_completefunc_with_scratch_buffer()January        

February  

March   

April    

May      January        

February       match 2 of 5info2-1

2-2

2-3



February

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vimJanuary        

February       

March          

April          

May            



[Scratch]                                                                       test_alot.vim                                                                   [Scratch] [Preview]                                                             [Scratch]                                                                       match 3 of 5
March~              

~              

~              

~              

~              January        

February       

March          

April          

May            3

3

3[Scratch]                                                                        [Scratch]                                                                       February       

March          4
April

~              

~              

~              

~              

~              January        

February       

March          

April          

May            4

4

4[Scratch]                                                                        [Scratch]                                                                       March          

April          

Executing Test_completefunc_works()


search hit BOTTOM, continuing at TOPthreedef       

threeDEF       threedef       

threeDEF       match 2 of 2
threeDEF

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~              

~              

~              

~              

~              threedef       

threeDEF       

Executing Test_completion_can_undo()=[?2004hCompleteUndo()
match 1 of 12~              

~              No Name]January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       

1 line less; before #1  0 seconds ago


Executing Test_completion_clear_candidate_list()
Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~                                                                               ~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tabHello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          match 1 of 2
Hello~              

~              Hello          

World          Hello          

Executing Test_completion_comment_formatting()Executing Test_completion_ctrl_e_without_autowrap()
match 1

Executing Test_completion_respect_bs_option()
Back at originalBack at original

Executing Test_conf_type()
"Xfile" 2L, 28C


Executing Test_cos()


Executing Test_cosh()


Executing Test_count()


Executing Test_cursorline_keep_col()


Executing Test_curswant_with_autocommand()


Executing Test_cycle_partial_job()


Executing Test_cyclic_dict_arg()


Executing Test_cyclic_list_arg()


Executing Test_delete_myself()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_detection()
"something.vim" [New File]


Executing Test_dict()


Executing Test_dir_delete()


Executing Test_duplicate_tagjump()
"Xfile1" [New File][New] 3L, 38C written


tag 2 of 3
tag 3
Executing Test_empty()


Executing Test_empty_buffer()


Executing Test_empty_concatenate()


Executing Test_equal()


Executing Test_equalalways_on_close()


Executing Test_ex_mode()
Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sleep 100m


[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h:vi




[?25lExecuting Test_ex_undo()
"ex-undo" [New File]

1 line less; before #3  0 seconds ago


1 line less; after #1  0 seconds ago


2 fewer lines; before #1  0 seconds ago


Executing Test_execute_list()


Executing Test_execute_string()


this


theend


something


Executing Test_existing()


Executing Test_exp()


Executing Test_expand()


Executing Test_feedkeys_x_with_empty_string()ile_delete()"Xfile" [New File][New] 2L, 4C written


Executing Test_file_perm()


Executing Test_fileformat_after_bw()
"tab2" [New File]ex-undo" [New File]


Executing Test_fileformat_autocommand()
"Xfile" [CR missing][dos] 8L, 39C


Executing Test_filetype_detection()
"file.slt" [New File]uil
"/etc/slp.reg" [New File]
"file.sa" [New File]sbclrc" [New File].sbclrc" [New File]
"file.fal" [New File]drac" [New File]c" [New File]lvs" [New File]pe
".reminders" [New File]
"file.remind" [New File]" [New File]x" [New File]m2" [New File]i
"/etc/dnsmasq.conf" [New File]
"file.feature" [New File]odl" [New File]mof
".gdbinit
".gtkrc" [New File]gtkrc" [New File]file.ave" [New File]st" [New File]cala" [New File]
"/etc/man.conf" [New File]
"man.config" [New File]file.plx" [New File]al" [New File]psgi" [New File]
"gitolite.rc" [New File]
".gitolite.rc" [New File]
"example.gitolite.rc" [New File]
"file.lss" [New File]git-rebase-todo" [New File]
"file.dcd" [New File].inputrc
"inputrc" [New File]file.sci" [New File]edesktop" [New File]
".directory" [New File]/etc/elinks.conf" [New File]
"/.elinks/elinks.conf" [New DIRECTORY]
"texmf.cnf" [New File]file.abc" [New File]strl" [New File]mt" [New File]ith" [New File]lot" [New File]os" [New File]sqlj" [New File]/boot/grub/menu.lst" [New DIRECTORY]grub.conf" [New DIRECTORY]
"/etc/grub.conf" [New File]file.v" [New File]hog" [New File]
"snort.conf" [New File]
"vision.conf" [New File]
"file.sst" [New File]mi-sst" [New File]_sst.meta" [New File]-sst.meta" [New File]_
"/etc/apt/sources.list" [readonly] 2L, 104C.d/file.list" [New File]
"file.page" [New File]ecd" [New File]mchrefimp
"enlightenment/file.cfg" [New DIRECTORY]
"file.qc" [New File]c" [New File]ec" [New File]EClite" [New File]t" [New File]php" [New File]9" [New File]tml" [New File]ctp" [New File].cvsrc" [New File]file.ijs" [New File]
"fdrupstream.log" [New File]
"upstream.log" [New File]UPSTREAM.LOG
"upstream.file.log" [New File]
"UPSTREAM.FILE.LOG
"file.upstream.log
"FILE.UPSTREAM.LOG
"UPSTREAM-file.logFILE.LOG
"file.haml" [New File].screenrc
"screenrc" [New File]file.riboramglrcpmghex32
".mailcap
"mailcap" [New File].pinerc
"pinerc" [New File].pinercex" [New File]
"pinercex" [New File]file.occ
"/etc/a2ps.cfg" [New File]/file.cfg" [New DIRECTORY]
"a2psrc" [New File].a2psrc" [New File]
".procmail" [New File]rc" [New File]
"file.ttl" [New File]anyXmodmap" [New File]
"file.s19" [New File]2837motsrec" [New File]edf" [New File]if" [New File]o" [New File].Xdefaults" [New File]
".Xpdefaults" [New File]
".Xresource
"xdm-config" [New File]file.ad" [New File]squid.conf" [New File]
"file.lid" [New File]pf.conf" [New File]file.awk" [New File]tr" [New File]nroff" [New File]tmacmom" [New File]wrl
"catalog" [New File]file.lhs" [New File]proto" [New File]aml" [New File]kv" [New File]less" [New File]
"namedfile.conf" [New File]
"rndcfile.conf" [New File]file.gretl" [New File]stp" [New File]/etc/initng/any/file.i" [New DIRECTORY]
"file.ii" [New File]bat" [New File]syspsf
"denyhosts.conf" [New File]
"/etc/login.access" [New File]
"mrxvtrc" [New File].mrxvtrc" [New File]
"file.cdlrtfxpmldif" [New File]abl" [New File]p6" [New File]m6" [New File]ltssop" [New File]
"file,v" [New File].ml" [New File]i" [New File]ly
".ocamlinit" [New File]
"file.erl" [New File]hyaws" [New File]pod6
"/log/authDIRECTORY]crondaemon" [New DIRECTORY]ebug" [New DIRECTORY]kern" [New DIRECTORY]lpr" [New DIRECTORY]mail" [New DIRECTORY]essages" [New DIRECTORY]news/news" [New DIRECTORY]syslog" [New DIRECTORY]user" [New DIRECTORY]auth.log" [New DIRECTORY]crondaemon.log" [New DIRECTORY]ebug.log" [New DIRECTORY]kern.log" [New DIRECTORY]lpr.log" [New DIRECTORY]mail.log" [New DIRECTORY]essages.log" [New DIRECTORY]news/news.log" [New DIRECTORY]syslog.log" [New DIRECTORY]user.log" [New DIRECTORY]auth.errcrondaemon.err" [New DIRECTORY]ebug.err" [New DIRECTORY]kern.err" [New DIRECTORY]lpr.err" [New DIRECTORY]mail.err" [New DIRECTORY]essages.err" [New DIRECTORY]news/news.err" [New DIRECTORY]syslog.err" [New DIRECTORY]user.err" [New DIRECTORY]auth.info" [New DIRECTORY]crondaemon.info" [New DIRECTORY]ebug.info" [New DIRECTORY]kern.info" [New DIRECTORY]lpr.info" [New DIRECTORY]mail.info" [New DIRECTORY]essages.info" [New DIRECTORY]news/news.info" [New DIRECTORY]syslog.info" [New DIRECTORY]user.info" [New DIRECTORY]auth.warncrondaemon.warn" [New DIRECTORY]ebug.warn" [New DIRECTORY]kern.warn" [New DIRECTORY]lpr.warn" [New DIRECTORY]mail.warn" [New DIRECTORY]essages.warn" [New DIRECTORY]news/news.warn" [New DIRECTORY]syslog.warn" [New DIRECTORY]user.warn" [New DIRECTORY]auth.critcrondaemon.crit" [New DIRECTORY]ebug.crit" [New DIRECTORY]kern.crit" [New DIRECTORY]lpr.crit" [New DIRECTORY]mail.crit" [New DIRECTORY]essages.crit" [New DIRECTORY]news/news.crit" [New DIRECTORY]syslog.crit" [New DIRECTORY]user.crit" [New DIRECTORY]auth.notice" [New DIRECTORY]crondaemon.notice" [New DIRECTORY]ebug.notice" [New DIRECTORY]kern.notice" [New DIRECTORY]lpr.notice" [New DIRECTORY]mail.notice" [New DIRECTORY]essages.notice" [New DIRECTORY]news/news.notice" [New DIRECTORY]syslog.notice" [New DIRECTORY]user.notice" [New DIRECTORY]file.xsd" [New File]/.gnupg/options" [New DIRECTORY]gpg.conf" [New DIRECTORY]
"/usr/any/gnupg/options.skel" [New DIRECTORY]
"file.bdf" [New File]/etc/services" [New File]
"file.ice" [New File]mu" [New File]fsl" [New File]t.html" [New File]n1ql" [New File]ql" [New File]exports" [New File]file.def" [New File]takchopro" [New File]rd" [New File]hordpro" [New File]hordpro" [New File]mv" [New File]pl" [New File]wssqriadbsagpro" [New File]build.xml" [New File]
"/debian/control" [New DIRECTORY]
"ipf.conf" [New File]6.conf" [New File]
"ipf.rules
".zprofile
"/etc/zprofile" [New File]
".zfbfmarks" [New File]file.zsh" [New File]sig
"ssh_config" [New File]
"/.ssh/config" [New DIRECTORY]
"main.cf" [New File]file.clj" [New File]s" [New File]xc
"/etc/blkid.tab" [New File].old" [New File]
"file.xmi" [New File]csproj" [New File].user" [New File]ts" [New File]uitpm" [New File]
"/etc/xdg/menus/file.menu" [New DIRECTORY]
"fglrxrc" [New File]ile.xlf" [New File]iff" [New File]ul" [New File]upstream.dat" [New File]
"UPSTREAM.DAT
"upstream.file.dat" [New File]
"UPSTREAM.FILE.DAT
"file.upstream.dat
"FILE.UPSTREAM.DAT
"/etc/serial.conf" [New File]file.java" [New File]" [New File]cfengine.conf" [New File]
"/etc/host.conf" [readonly] 1L, 9C
".povrayrc" [New File]smb.conf" [New File]fstab" [New File]mtab" [New File]file.sas" [New File]miby" [New File]ahk" [New File]infINFvc" [New File]evsum" [New File]errsum" [New File]
"anyEterm/file.cfg" [New DIRECTORY]
"/etc/nanorc" [New File]file.scss" [New File]nqc" [New File]CMakeLists.txt" [New File]
"file.cmake" [New File].in" [New File]
"lilo.conf" [New File]named.root" [New File]
"anyesmtprc
"file.sim" [New File]wmlmysql" [New File]text" [New File]README" [New File]file.lsl" [New File]tli
".tidyrc" [New File]tidyrc" [New File]file.con" [New File]rc" [New File]h" [New File]
"configure.in" [New File]ac
"filter-rules
"file.wm" [New File]lftp.conf" [New File]
".lftprc" [New File]anylftp/rc" [New DIRECTORY]
"file.hlp" [New File]ihlp" [New File]smcltpl" [New File]hb" [New File]chs" [New File]scms" [New File]rkt" [New File]ps" [New File]fa" [New File]afmepsf" [New File]iai" [New File]svg" [New File]
"tags" [New File]/.icewm/menu" [New DIRECTORY]
"svn-commitfile.tmp" [New File]
"file.wrm" [New File]exim.conf" [New File]
"file.4gl" [New File]hm4gl" [New File]frt" [New File]bl" [New File]icn" [New File]cxx++hh" [New File]xx" [New File]ppimoctcinltlhcbloblicfghgrc" [New File]
"filehgrc" [New File].sass" [New File]
".arch-inventory" [New File]
".wgetrc" [New File]wgetrc" [New File]file.kix" [New File]sbt
"inittab" [New File].slrnrc
"file.nsi" [New File]h
"bzr_log.any" [New File]
"apt.conf" [New File]/.aptitude/config" [New DIRECTORY]
"file.jsp" [New File]gkrellmrc" [New File]_x" [New File]
"/etc/sensors.conf" [New File]3.conf" [New File]
"file.tsscl" [New File]spec" [New File]atl" [New File]s" [New File]/etc/updatedb.conf" [New File]
"file.dcl" [New File]i
"/etc/pinforc" [New File]
"/.pinforc" [New File]file.isc" [New File]monk" [New File]ssc" [New File]tsd" [New File]ado" [New File]do" [New File]imata" [New File]mata" [New File]/etc/limits" [New File]anylimits.conf" [New File]d/file.conf" [New DIRECTORY]udev/cdsymlinks.conf" [New File]sendmail.cf" [New File]file.mason" [New File]htmlcomp" [New File]tcl" [New File]k" [New File]itcl" [New File]k" [New File]jacl" [New File]spy" [New File]i
".asoundrc" [New File]
"/usr/share/alsa/alsa.conf" [New DIRECTORY]
"/etc/asound.conf" [New File]file.ist" [New File]m
"gitolite.conf" [New File]
"/etc/libao.conf" [New File]
"/.libao" [New File]any/etc/passwd" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/passwd.bak" [New DIRECTORY]shadow
"file.vroom" [New File]scoretexinfo" [New File]" [New File]xi" [New File]latte" [New File]te" [New File]it" [New File]hsml" [New File]rs" [New File]snd.123
".letter.123" [New File]
".followup" [New File]article" [New File].123" [New File]
"pico.123" [New File]mutt-xx-xxx" [New File]
"muttng-xx-xxx" [New File]
"ae123.txt" [New File]file.eml" [New File]sdc
"/etc/modules.conf" [New File]" [readonly] 5L, 195Cconf.modules" [New File]file.pli" [New File]1diff" [New File]rej" [New File]/etc/sysctl.conf" [readonly] 77L, 2683Cd/file.conf" [New File]file.ll" [New File]plp" [New File]msql" [New File]liquid" [New File]gpi" [New File]va" [New File]ms" [New File]ht" [New File].editorconfig" [New File]
"/etc/yum.conf
"file.ini" [New File]jj" [New File]t" [New File]expdothtpp" [New File]lua" [New File]rockspec" [New File]nse" [New File]manpgs
"resolv.conf" [New File]
"file.hs" [New File]-boot" [New File]zut" [New File]tf" [New File].tfrc" [New File]tfrc" [New File]file.obj" [New File]
".viminfo
"_xorg.conf" [New File]-4" [New File]
"robots.txt" [New File]mplayer.conf" [New File]
"/.mplayer/config" [New DIRECTORY]
"file.cyn" [New File]/etc/udev/permissions.d/file.permissions" [New DIRECTORY]
"file.fex" [New File]ocexec" [New File]si" [New File]task" [New File]xom" [New File]in
"trustees.conf" [New File]
"file.crm" [New File]pdbor" [New File]git/config" [New DIRECTORY]
".gitconfig" [New File]modules" [New File]
"file.git/modules//config" [New DIRECTORY]
"/.config/git/config" [New DIRECTORY]file.vr" [New File]i" [New File]hrexorrxojjrexx" [New File]rexxj" [New File]testGroup" [New File]Unit" [New File]jgr" [New File]sdlpr" [New File]svh" [New File]
"help.txt[readonly] 225L, 8437C
"file.hsc" [New Filemxpm2" [New File]hdl" [New File]vhdl" [New File]be" [New File]stmaster" [New File]
"pending.data" [New File]
"completed.data" [New File]
"undo.data" [New File]file.rnc" [New File]gnashrc" [New File].gnashrc" [New File]
"gnashpluginrc" [New File]
".gnashpluginrc" [New File]
"file.rng" [New File]tex/context/any/file.tex" [New DIRECTORY]
"file.mkii" [New File]vvigp" [New File].gprc" [New File]itsendemail.msg.xxxxxx" [New File]
"file.action" [New File]recipetmpl" [New File]xhtml" [New File]" [New File]pc" [New File]slpapp" [New File]xmlsjal" [New File]JALjplrdslzu" [New File]upstreaminstall.log" [New File]
"UPSTREAMINSTALL.LOG
"upstreaminstall.file.log" [New File]
"UPSTREAMINSTALL.FILE.LOG
"file.upstreaminstall.log
"FILE.UPSTREAMINSTALL.LOG
"file.dylan" [New File]/etc/hosts.allow" [New File]deny" [New File]any/etc/sudoersDIRECTORY]
"sudoers.tmp" [New File]file.iba" [New File]icscmk" [New File]ak" [New File]dsptoc
"/etc/slp.conf" [New File]
"file.ncf" [New File]ks" [New File]sed" [New File]cu" [New File]sp" [New File]fdr
"GNUmakefile.am" [New File]
"file.a65" [New File]cssinopderstsin85nb" [New File]wbt" [New File]pdfmush" [New File]
"calendar" [New File]file.mmptwig" [New File]
".dir_colors" [New File]
".dircolors" [New File]/etc/DIR_COLORS" [New File]
"file.properties_xx" [New File]_xx" [New File]
"/etc/slp.spi" [New File]file.yy" [New File]xx" [New File]++bibwsml" [New File]bst" [New File]fs" [New File]tace" [New File]ACE
"Muttngrcrc" [New File]file.dtd" [New File]iss
"/etc/cdrdao.conf" [New File]defaults/cdrdao" [New DIRECTORY]/cdrdao" [New File].cdrdao" [New File]file.sba" [New File]vb" [New File]s" [New File]dsmctlintr" [New File]
"dict.conf
".dictrc" [New File]file.dstpp" [New File]
"anybaseq2/file.cfg" [New DIRECTORY]
"anyid1/file.cfg" [New DIRECTORY]quake3
"file.ti" [New File]dts" [New File]i" [New File]
"tmuxfile.conf" [New File]
".tmuxfile.conf" [New File]
"wvdial.conf" [New File].wvdialrc" [New File]file.ged" [New File]lltxxxxx.txt" [New File]
"file.ld" [New File]gsjavascript" [New File]es" [New File]jsx" [New File]mjs.chasn1" [New File]xq" [New File]l" [New File]muery" [New File]y" [New File]bc" [New File]csdl" [New File]k" [New File]rad" [New File]mat
"/etc/pam.conf"[readonly] 15L, 552C
"file.pod" [New File]cm" [New File]xsl" [New File]t" [New File]mp" [New File]ar" [New File]plsql" [New File]fan" [New File]wt
"/LiteStep/any/file.rc" [New DIRECTORY]
"any/systemd/file.automount" [New DIRECTORY]mount" [New DIRECTORY]path" [New DIRECTORY]service" [New DIRECTORY]ocket" [New DIRECTORY]wap" [New DIRECTORY]target" [New DIRECTORY]imer" [New DIRECTORY]/etc/udev/udev.conf" [readonly] 6L, 153C
".netrc" [New File]file.pov" [New File]scpt" [New File]at" [New File]u3" [New File]siv
".htaccess" [New File]
"/etc/httpd/file.conf" [New DIRECTORY]
"file.pml" [New File]rpjov73ovial" [New File]lgt" [New File]abap" [New File]msc" [New File]ftssgm" [New File]uc" [New File]atg" [New File]pike" [New File]lpc" [New File]ulpc" [New File]pmoderb" [New File]rhtml" [New File]htt" [New File]bsnoptz8a
"any/.cmus/autosave" [New DIRECTORY]rc" [New DIRECTORY]command-history" [New DIRECTORY]file.theme" [New DIRECTORY]cmus/rc" [New DIRECTORY]file.theme" [New DIRECTORY]
"file.html.m4" [New File]yaml" [New File]ml" [New File].irbrc" [New File]irbrc" [New File]file.rb" [New File]w" [New File]gemspec" [New File]ru" [New File]Gemfile
"file.builder" [New File]rxml" [New File]js" [New File]ant" [New File]kemo" [New File]gdmo" [New File]ninja" [New File]
".ratpoisonrc" [New File]
"ratpoisonrc" [New File]file.chai" [New File]mf" [New File]spice" [New File]
"COMMIT_EDITMSG" [New File]
"MERGE_MSG" [New File]TAG_EDITMSG" [New File]
"file.clp" [New File]abal" [New File]fm" [New File]ic
"dictd.conf" [New File]
"file.chf" [New File]Dockerfile" [New File]
"file.Dockerfile" [New File]eni" [New File]tybpcpkbsrunpldcs" [New File]ils" [New File]cdfppdtdf
"/etc/protocols" [New File]xinetd.conf" [New File]
".fetchmailrc" [New File]any/etc/group" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/group.bak" [New DIRECTORY]shadow.bak" [New DIRECTORY]
"auto.master" [New File]/usr/share/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/etc/init/file.conf" [New File]override" [New File]
"/.init/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/.config/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"file.py" [New File]w" [New File]
".pythonstartup" [New File]rc" [New File]file.ptl" [New File]moo
"vgrindefs" [New File]
"file.pas" [New File]dprmel
"lynx.cfg
"file.desc" [New File]jsonp" [New File]webmanifest" [New File]g" [New File]po" [New File]t" [New File]mixal" [New File]
"hg-editor-file.txt" [New File]
"file.speedup" [New File]data" [New File]" [New File]sshd_config" [New File]
".indent.pro
"indentrc" [New File]file.fb" [New File]biasciidoc" [New File]doc" [New File]xs" [New File]/etc/mail/aliases" [New DIRECTORY]aliases" [New File]file.markdown" [New File]down" [New File]kd" [New File]n" [New File]dw" [New File]plm" [New File]36aclex" [New File]xx" [New File]++atex" [New File]sty" [New File]dtxlbblvimba
".exrc" [New File]_Kconfig" [New File].debug" [New File]
"/etc/login.defs" [readonly] 340L, 10477C
"file.pyx" [New File]xdart
"cvs123" [New File]usserver.log" [New File]
"USSERVER.LOG
"usserver.file.log" [New File]
"USSERVER.FILE.LOG
"file.usserver.log
"FILE.USSERVER.LOG
"file.aap" [New File]lout" [New File]gradle" [New File]oovyfactortreetop" [New File]f" [New File]or" [New File]tran" [New File]pp" [New File]tn77905038
"usw2kagt.log" [New File]
"USW2KAGT.LOG
"usw2kagt.file.log" [New File]
"USW2KAGT.FILE.LOG
"file.usw2kagt.log
"FILE.USW2KAGT.LOG
"file.DEF" [New File]MOD


Executing Test_filewritable()
"Xfilewritable" [New File][New] 0L, 0C written


Executing Test_filter()
"Xdoesnotmatch" [New File]
"Xwillmatch" [New File]ex-undo" [New File]

Executing Test_filter_cmd_completion():[?2004hfilter ^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter ^I:[?2004hfilter pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat^I:[?2004hfilter /pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat^I:[?2004hfilter /pat/^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/^I:[?2004hfilter pat pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat print:[?2004hfilter /pat/ pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/ print:[?2004hfilter #pat# pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter #pat# printExecuting Test_filter_fails()


Executing Test_filter_map_dict_expr_funcref()


Executing Test_filter_map_dict_expr_string()


Executing Test_filter_map_list_expr_funcref()


Executing Test_filter_map_list_expr_string()


Executing Test_findfile()


Executing Test_float2nr()


Executing Test_float_misc()


Executing Test_floor()


Executing Test_fmod()


Executing Test_fnamemodify()
"test_alot.vim" 62L, 1523C


Executing Test_func_unref()


Executing Test_funcref()


0

Executing Test_function_in_dict()


Executing Test_function_with_funcref()


Executing Test_gD()


Executing Test_gD_char()


Executing Test_gD_comment()


Executing Test_gD_inline_comment()


Executing Test_gD_string()


Executing Test_gD_string_same_line()


Executing Test_gD_too()


Executing Test_ga_command()


Executing Test_gd()


Executing Test_gd_comment()


Executing Test_gd_comment_in_string()


Executing Test_gd_inline_comment()


Executing Test_gd_inline_comment_body()


Executing Test_gd_inline_comment_only()


Executing Test_gd_kr_style()


Executing Test_gd_local_block()


Executing Test_gd_missing_braces()


Executing Test_gd_not_local()


Executing Test_gd_string()


Executing Test_gd_string_in_comment()


Executing Test_gd_string_only()


Executing Test_gd_trailing_comment()


Executing Test_gd_trailing_multiline_comment()


Executing Test_get_partial_items()


Executing Test_getbufvar()


Executing Test_getpid()[?2004l[?2004h


Executing Test_getreg_empty_list()


Executing Test_global_local_lispwords()


Executing Test_help_complete()


Executing Test_help_respect_current_file_lang()
"testdoc.abx" [readonly] 2L, 25Cja[readonly] 2L, 25Cline 1 of 2 --50%-- col 2-9txt[readonly] 2L, 25C
Executing Test_help_tagjump()"help.txt" [readonly] 225L, 8437C
"motion.txt" [readonly] 1337L, 51313C
"gui.txt" [readonly] 1048L, 44040C
"index.txt" [readonly] 1660L, 76442C
"cmdline.txt" [readonly] 1156L, 47238C
"autocmd[readonly] 1487L, 61609C
"windows[readonly] 1312L, 53080C
"change.txt" [readonly] 1832L, 74819C
"insert[readonly] 2004L, 82939C
"visual[readonly] 541L, 21843C
"options.txt" [readonly] 8980L, 380531Cline 7850 of 8980 --87%-- col 7-49
"eval.txt" [readonly][converted] 11161L, 430353C line 2464 of 11161 --22%-- col 1
"options.txt" [readonly] line 1359 of 8980 --15%-- col 4-25
"cmdline675 of 1156 --58%-- col 2-9index.txt" [readonly] line 1069 of 1660 --64%-- col 172


Executing Test_hlexists()


Executing Test_hostname()[?2004l[?2004h


Executing Test_if()


Executing Test_info()


Executing Test_input_in_timer()[?25h


[?25l?[?2004h[?25h[?25l[?25hhello
[?25l?helloExecuting Test_invalid()


Executing Test_invalid_submatch()


Executing Test_isnan()


Executing Test_join_with_count()


Executing Test_keyword_jump()
"Xtestfile" 9L, 141C


Executing Test_lambda_call_lambda_from_lambda()


Executing Test_lambda_capture_by_reference()


Executing Test_lambda_circular_reference()


Executing Test_lambda_closure_counter()


Executing Test_lambda_combination()


Executing Test_lambda_delfunc()


Executing Test_lambda_do_not_share_local_variable()


Executing Test_lambda_fails()


Executing Test_lambda_feature()


Executing Test_lambda_refer_local_variable_from_other_scope()


Executing Test_lambda_scope()


Executing Test_lambda_share_scope()


Executing Test_lambda_side_effect()


Executing Test_lambda_with_a_var()


Executing Test_lambda_with_filter()


Executing Test_lambda_with_map()


Executing Test_lambda_with_partial()


Executing Test_lambda_with_sort()


Executing Test_lambda_with_timer()[?25h[?2004l[?2004h


[?25l1[?25h[?2004l[?2004h

[?25l2[?25h[?2004l[?2004h

[?25l3[?25h[?2004l[?2004h

[?25l4[?25h[?2004l[?2004h[?2004l[?2004h

[?25l5[?25h[?2004l[?2004h

[?25l6[?25h[?2004l[?2004h

[?25l7[?25h[?2004l[?2004h

[?25l8[?25h[?2004l[?2004h

[?25lExecuting Test_last_buffer_nr()


Executing Test_len()


Executing Test_let_termcap()


Executing Test_load_menu()


Executing Test_log()


Executing Test_log10()


Executing Test_loop_over_null_list()


Executing Test_map_ctrl_c_insert()visual:[?2004h'<,'>$put ='vmap works'


Executing Test_map_cursor()
1 line less; before #8  0 seconds ago


Executing Test_map_feedkeys():[?2004hcall feedkeys(".", "in")
:[?2004hcall feedkeys(".", "in")
Executing Test_map_langmap():[?2004hcall append(line('$'), '+')


Executing Test_map_meta_quotes()timeout()[?25h[?25ltch()

abcdefghijklmnopq

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   abcdΣabcdef

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_match_func()


Executing Test_matchaddpos()12345

NP

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   12345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   012345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchaddpos_using_negative_priority()x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchend()


Executing Test_matchlist()


Executing Test_matchstr()


Executing Test_matchstrpos()


Executing Test_max()


Executing Test_max_min_errors()


Executing Test_messages()


hello0x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)    hello1234567898


hello9xhello9
Executing Test_min()


Executing Test_missing_attr()


Executing Test_mode()=[?2004hSave_mode()
match 1 of 2Blue Ball Black

Brown Band Bowl

Band~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap worksTest1: text with a (here some more text)

Test1: text with a (here some more text)Test2: text wit a (here some more text [und undo])fooc d[No Name]                                                                        Ball           

Band           =[?2004hSave_mode()
1 change; before #2  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #3  0 seconds ago=[?2004hSave_mode()
1 change; before #4  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #5  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #6  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #7  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #8  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #9  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #10  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #11  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #12  0 seconds ago
match 1 of 2
Band~               Ball           

Band           =[?2004hSave_mode()
1 change; before #13  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #14  0 seconds ago=[?2004hSave_mode()
1 change; before #15  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #16  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #17  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #18  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #19  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #20  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #21  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #22  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #23  0 seconds ago:[?2004hecho "=[?2004hSave_mode():echo Entering Ex mode.  Type "visual" to go to Normal mode.


:[?2004hecho "=[?2004hSave_mode()
:echo 


:[?2004hvi


Executing Test_move_cursor()


Executing Test_named_function_closure()


Executing Test_nested_global()




Executing Test_next_split_all()
"x" [New File]Xtestfile" [New File]


Executing Test_nextnonblank_prevnonblank()


Executing Test_no_type_checking()


Executing Test_noinsert_complete()=[?2004hs:complTest1()
match 1 of 2~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtestfile                                                                       source         

soundfold      ndfold=[?2004hs:complTest2()
match 1 of 2

~              

~              source         

soundfold      

Executing Test_non_zero_arg()


Executing Test_not_existing()


Executing Test_not_lamda()


Executing Test_omnifunc_with_check()


search hit BOTTOM, continuing at TOPfour1

~                                                                               ~                                                                               ~                                                                               ~                                                                               [+]four1          

four2          2

~              

~              four1          

four2          four1          

four2          match 2 of 6

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          match 3 of 6

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          four3          

four4          

four5          

four6          match 4 of 64

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          55

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          four4          

four5          

Executing Test_oneshot()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_option_value()


Executing Test_other_type()
"Xfile" 2L, 28C


Executing Test_partial_args()


Executing Test_partial_dict()


Executing Test_partial_exists()


Executing Test_partial_implicit()


Executing Test_partial_string()


Executing Test_paste_end_of_line():[?2004hnormal! "agP


Executing Test_paused()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_peek_and_get_char()[?25h


[?25lExecuting Test_popup_complete()=[?2004hListMonths()
match 1 of 2
June

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   June           

July           match 2 of 2

June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           7June           

July           8July           

August         =[?2004hListMonths()
match 1 of 3

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           =[?2004hListMonths()
match 1 of 12

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 2
June~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 2ne

~              

~              June           

July           Back at original~              

~              June           

July           June           

Julymatch 2 of 2ly

~              

~              July           
July           =[?2004hListMonths()
match 1 of 2ne

~              
June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       =[?2004hListMonths()
match 1 of 3
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           =[?2004hListMonths()
match 1 of 3
January

~              

~              

~              January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           match 1 of 3
January

~              

~              

~              January        

June           

July           January        =[?2004hListMonths()
match 1 of 3

~              

~              

~              January        

June           

July           =[?2004hListMonths()
match 1 of 2
June~              

~              

~              June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       2 of 12



February       December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       match 10 of 12October        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       1
Nov

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       0
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       9 of 12
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        =[?2004hListMonths()
match 1 of 12
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       0October        

November       9 of 12September      

October        =[?2004hListMonths()
The only match=[?2004hListMonths()
The only matchDecember2015

December~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  December       =[?2004hListMonths()
match 1 of 2
March~                                                                               ~              March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2March~              
March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2
March

~                                                                               ~              

~              March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            

Executing Test_popup_complete2()=[?2004hListMonths()
The only match

Executing Test_popup_completion_insertmode()=[?2004hListMonths()
match 1 of 12~                                                                               ~                                                                               ~              

~                  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       match 2 of 12

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       3
March~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        February       

March          4
April

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        March          

April          5
May~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        April          

May            6
June

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        May            

June           7ly

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        June           

July           8
August

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        July           

August         9
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        August         

September      10 of 12
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        1
November

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       2
Dec

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       

Executing Test_pow()


Executing Test_printf_64bit()


Executing Test_printf_errors()


0

0

1

0

0

Executing Test_printf_float()


0.000000


Executing Test_printf_misc()


Executing Test_printf_spec_b()


Executing Test_printf_spec_s()


Executing Test_ptag_with_notagstack()


Executing Test_put_block()char_block()


"Xfile_put" [Modified][Not edited] line 1 of 2 --50%-- col 1


Executing Test_put_char_block2()


Executing Test_put_lines()


Executing Test_read_only()


Executing Test_recover_root_dir()
"Xtest" [New File]

"Xtest" [New File]


Executing Test_recursive_delete()
"Xdir1/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written


Executing Test_redefine_dict_func()


Executing Test_redo_in_nested_functions():[?2004hset opfunc=Operator


Executing Test_ref_job_partial_dict()


Executing Test_reltime()[?25h[?2004l[?2004h


[?25lExecuting Test_repeat_many()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_repeat_three()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_retain_partial()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_round()


Executing Test_script_detection()
"Xtest" 1L, 64C1L, 77C1L, 32C1L, 9C2L, 10C3L, 11C4L, 12C5L, 13C


Executing Test_script_function_in_dict()


Executing Test_script_function_in_dict_arg()


Executing Test_searchpos()
"one" [New File]

Executing Test_set_add()


Executing Test_set_backslash()


Executing Test_set_reg_null_list()


Executing Test_set_tagcase()


Executing Test_setbufline_getbufline()
"Xtest" [New File]

Executing Test_setbufvar_options()
"dummy_preview" [New File]buf1" [New File]2


Executing Test_setline_startup()[?2004l[?2004h


Executing Test_setmatches()


Executing Test_sha256()


Executing Test_shellescape()


Executing Test_simplify()


Executing Test_sin()


Executing Test_sinh()


Executing Test_sort_cmd()


Executing Test_sort_default()


Executing Test_sort_float()


Executing Test_sort_nested()


Executing Test_sort_numbers()


Executing Test_sort_numeric()


Executing Test_sort_strings()


Executing Test_special_char()


Executing Test_sqrt()


Executing Test_static_tagjump()
"Xfile1" [New File][New] 3L, 18C written


Executing Test_statusline()
"Xstatusline" [New File]170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

56,38                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

789,315                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

Xstatusline                                                                     170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

/<<PKGBUILDDIR>>/src/vim-gtk3/testdir/Xstatusline                 170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1175

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[Help],HLP                                                                      170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

<Eo>                                                                            170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

180/200,2                                                                       170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+],+                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+-],+-                                                                         "Xstatusline" [New] 200L, 692C written170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[-],-                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

                                                                                170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

1119                                                                            1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

0,Top                                                                           179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

100,Bot                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

90,Bot                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 (1 of 2): 1179

180

181

182

183

184

185

186

187

188

189

                                                                                || 1                                                                            || 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1179

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[RO],RO                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

Xstatusline                                                                     179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

2,                                                                              179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10,-10                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                "Xstatusline" 200L, 692C179

180

181

182

183

184

185

186

187

                                                                                175

176

177

178

179

180

181

182

183

184

185

186

[Preview],PRV                                                                   gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/misc2.o misc2.c
179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

[vim] VIM                                                                       179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

foo                                                                          bar179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

0038                                                                            179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#  38#                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#38  #                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

<sline                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

a<cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccd179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb>179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimNumber                                                                       179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimLineComment                                                                  179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abde                                                                            179

"180

181

182

183

184

185

186

187

188

189

abde                                                                            ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               abcd[Quickfix List]de                                                           179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abcdef                                                                          179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abc                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10%                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

7                                                                               179|

"180|

181|

182|

183|

184|

185|

186|

187|

188|

189|

190|

191|

192|

193|

194|

195|

196|

197|

198|

199|

200|

x^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^y^179"180181182183184185186187188189190191192193194195196197198199200x=====================================y92 buffers wiped out


Executing Test_statusline_will_be_disabled_with_error()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                                                                                                               

Executing Test_stop_all_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stop_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stopall()


Executing Test_str2float()


Executing Test_str2nr()


Executing Test_strcharpart()


Executing Test_strftime()


Executing Test_strgetchar()


Executing Test_stridx()


Executing Test_strridx()


Executing Test_substitute_expr()


Executing Test_substitute_expr_arg()


Executing Test_symlink_delete()
"Xfile" [New File][New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_dir_delete()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_recursive_delete()
"Xdir3/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written
"Xdir4/Xfile" [New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_tabline_will_be_disabled_with_error()                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_tabnext_on_buf_unload1()


Executing Test_tabnext_on_buf_unload2()


"x" [Not edited] --No lines in buffer--
"y" [New File]

Executing Test_tabpage()
"x" [New File]

2 fewer lines; before #1  0 seconds ago
"test1" [New File]newfile" [New File]
"test1" [New File]file] --No lines in buffer--F

Executing Test_tabpage_with_autocmd()


Executing Test_tabpage_with_tab_modifier()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1


Executing Test_tabpage_with_tabclose()


Already only one tab page
"n0" [New File]1234


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabnext()


Executing Test_tabpage_with_tabonly()


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabprevious()


Executing Test_tagcase()
"Xtext" [New File]

Executing Test_tagjump_switchbuf()


Already only one window
"Xfile1" 3L, 19C3L, 19C3L, 19C


Already only one window


Executing Test_taglist()
"Xtext" [New File]

Executing Test_taglist_ctags_etags()


Executing Test_taglist_native_etags()


Executing Test_tan()


Executing Test_tanh()


Executing Test_timer_catch_error()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_timer_errors()[?25h[?2004l[?2004h


[?25lError detected while processing function RunTheTest[24]..Test_timer_errors[4]..


WaitFor[21]..FuncWithError:


line    5:


E492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_tolower()


Executing Test_tostring()


Executing Test_toupper()


Executing Test_translate_menu()


Executing Test_true_false_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?2004h[?25l"colored" [New File]

Executing Test_trunc()


Executing Test_unlet_fails()


Executing Test_valid()


Executing Test_version()


Executing Test_window_cmd_cmdwin_with_vsp()


Executing Test_window_cmd_ls0_with_split()


Executing Test_window_cmd_wincmd_gf()
"test_gf.txt" 0L, 0C
W19: Deleting augroup that is still in use
Executing Test_window_contents()Already only one window1

2

3

4

5

6

7

8

9

10

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       50

51

52

53

54

55

56

57

58

59

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       59

60

61

62

63

64

65

66

67

68

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_window_exchange()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_height()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_horizontal_split()jump_tag()"help.txt" [readonly] line 1 of 225 --0%-- col 1
"uganda.txt" [readonly] 288L, 14024C
"intro.txt" [readonly] 909L, 39223C
52 buffers wiped outExecuting Test_window_newtab()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_preview()
"Xa" [New File]Executing Test_window_quit()
"Xa" [New File]b
2 buffers wiped out
Executing Test_window_rotate()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_split_edit_alternate()
"Xa" [New File]ba
2 buffers wiped out
Executing Test_window_vertical_split()width()"Xa" [New File]bc
3 buffers wiped out
Executing Test_with_directories()
"Xdir1/file" [New File][New] 2L, 4C written
"Xdir3/Xdir4/file"[New] 2L, 4C written2L, 4C
"Xdir?/*/nofile" [New DIRECTORY]
"foo" [New File]Executing Test_with_partial_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25ltilde()rong_arguments()yank_move_change():[?2004h'<,'>call MoveSelectionDown(v:count1)
Executing Test_yank_put_clipboard()
3 more linesExecuting Test_z()
"Xdir?/*/nofile" [New DIRECTORY]
Executing Test_z_negative_lnum()overflow()"test_alot.res" [New File][New] 0L, 0C written
Executed 328 tests"messages" 1028L, 28002C1359L, 38618C written
[?2004l

[?2004l[?1l>[?25h[?1049l

From test_arabic.vim:
Executing Test_arabic_input()
Executing Test_arabic_toggle()
Executing Test_arabic_toggle_keymap()
Executing Test_delcombine()
Executing Test_shape_combination_final()
Executing Test_shape_combination_isolated()
Executing Test_shape_final()
Executing Test_shape_final_to_medial()
Executing Test_shape_initial()
Executing Test_shape_iso_to_medial()
Executing Test_shape_isolated()
Executed 11 tests

From test_arglist.vim:
Executing Test_arg_all_expand()
Executing Test_argadd()
Executing Test_argc()
Executing Test_argdelete()
Executing Test_argedit()
Executing Test_argidx()
Executing Test_arglist_autocmd()
Executing Test_arglistid()
Executing Test_argpos()
Executing Test_argument()
Executing Test_argv()
Executing Test_zero_argadd()
Executed 12 tests

From test_assert.vim:
Executing Test_assert_equal()
Executing Test_assert_exception()
Executing Test_assert_fail_fails()
Executing Test_assert_false()
Executing Test_assert_inrange()
Executing Test_assert_notequal()
Executing Test_assert_report()
Executing Test_assert_true()
Executing Test_assert_with_msg()
Executing Test_compare_fail()
Executing Test_match()
Executing Test_notmatch()
Executing Test_override()
Executing Test_user_is_happy()
Executing Test_wrong_error_type()
Executed 15 tests

From test_autochdir.vim:
Executing Test_set_filename()
Executed 1 test

From test_autocmd.vim:
Executing Test_BufEnter()
Executing Test_BufleaveWithDelete()
Executing Test_OptionSet()
Executing Test_OptionSet_diffmode()
Executing Test_OptionSet_diffmode_close()
Executing Test_augroup_deleted()
Executing Test_augroup_warning()
Executing Test_autocmd_bufunload_avoiding_SEGV_01()
Executing Test_autocmd_bufunload_avoiding_SEGV_02()
Executing Test_autocmd_bufunload_with_tabnext()
Executing Test_autocmd_bufwinleave_with_tabfirst()
Executing Test_autocmd_bufwipe_in_SessLoadPost()
Executing Test_autocmd_bufwipe_in_SessLoadPost2()
Executing Test_bufunload()
Executing Test_cursorhold_insert()
Executing Test_cursorhold_insert_ctrl_x()
Executing Test_early_bar()
Executing Test_empty_doau()
Executing Test_three_windows()
Executing Test_vim_did_enter()
Executing Test_win_tab_autocmd()
Executed 21 tests

From test_backspace_opt.vim:
Executing Test_backspace_option()
Executed 1 test

From test_breakindent.vim:
Executing Test_breakindent01()
Executing Test_breakindent02()
Executing Test_breakindent03()
Executing Test_breakindent04()
Executing Test_breakindent05()
Executing Test_breakindent06()
Executing Test_breakindent07()
Executing Test_breakindent07a()
Executing Test_breakindent08()
Executing Test_breakindent08a()
Executing Test_breakindent09()
Executing Test_breakindent10()
Executing Test_breakindent11()
Executing Test_breakindent12()
Executing Test_breakindent13()
Executing Test_breakindent14()
Executing Test_breakindent15()
Executing Test_breakindent16()
Executed 18 tests

From test_bufwintabinfo.vim:
Executing Test_get_buf_options()
Executing Test_get_win_options()
Executing Test_getbufwintabinfo()
Executed 3 tests

From test_cdo.vim:
Executing Test_cdo()
Executing Test_ldo()
Executed 2 tests

From test_channel.vim:
Executed 0 test

From test_charsearch.vim:
Executing Test_charsearch()
Executing Test_search_cmds()
Executed 2 tests

From test_cindent.vim:
Executing Test_cindent_expr()
Executing Test_cindent_rawstring()
Executing Test_cino_extern_c()
Executing Test_cino_hash()
Executed 4 tests

From test_clientserver.vim:
Executing Test_client_server()
    Skipped
Executed 1 test
SKIPPED Test_client_server(): $DISPLAY is not set

From test_cmdline.vim:
Executing Test_cmdline_complete_user_cmd()
Executing Test_cmdline_complete_wildoptions()
Executing Test_cmdline_search_range()
Executing Test_complete_list()
Executing Test_complete_tab()
Executing Test_complete_wildmenu()
Executing Test_expand_star_star()
Executing Test_expr_completion()
Executing Test_getcmdtype()
Executing Test_getcompletion()
Executing Test_highlight_completion()
Executing Test_illegal_address1()
Executing Test_illegal_address2()
Executing Test_map_completion()
Executing Test_match_completion()
Executing Test_paste_in_cmdline()
Executing Test_remove_char_in_cmdline()
Executing Test_verbosefile()
Executed 18 tests

From test_command_count.vim:
Executing Test_command_count_0()
Executing Test_command_count_1()
Executing Test_command_count_2()
Executing Test_command_count_3()
Executing Test_command_count_4()
Executed 5 tests

From test_crypt.vim:
Executing Test_crypt_blowfish()
Executing Test_crypt_blowfish2()
Executing Test_crypt_zip()
Executing Test_head_only_2()
Executing Test_head_only_3()
Executing Test_uncrypt_blowfish()
Executing Test_uncrypt_blowfish2()
Executing Test_uncrypt_zip()
Executed 8 tests

From test_cscope.vim:
Executed 0 test

From test_curswant.vim:
Executing Test_curswant()
Executed 1 test

From test_diffmode.vim:
Executing Test_diff_fold_sync()
Executing Test_diff_lastline()
Executing Test_diff_move_to()
Executing Test_diff_nomodifiable()
Executing Test_diff_too_many_buffers()
Executing Test_diffexpr()
Executing Test_diffget_diffput()
Executing Test_diffoff()
Executing Test_diffoff_hidden()
Executing Test_diffopt_context()
Executing Test_diffopt_horizontal()
Executing Test_diffopt_icase()
Executing Test_diffopt_iwhite()
Executing Test_diffopt_vertical()
Executing Test_diffpatch()
Executing Test_dp_do_buffer()
Executing Test_filler_lines()
Executing Test_setting_cursor()
Executing Test_vert_split()
Executed 19 tests

From test_digraph.vim:
Executing Test_digraph_cmndline()
Executing Test_digraphs()
Executing Test_digraphs_option()
Executing Test_digraphs_output()
Executing Test_loadkeymap()
Executed 5 tests

From test_display.vim:
Executing Test_display_foldcolumn()
Executing Test_display_foldtext_mbyte()
Executed 2 tests

From test_edit.vim:
Executing Test_edit_00a_CTRL_A()
Executing Test_edit_00b()
Executing Test_edit_01()
Executing Test_edit_02()
Executing Test_edit_03()
Executing Test_edit_04()
Executing Test_edit_05()
Executing Test_edit_06()
Executing Test_edit_07()
Executing Test_edit_08()
Executing Test_edit_09()
Executing Test_edit_10()
Executing Test_edit_11()
Executing Test_edit_12()
Executing Test_edit_13()
Executing Test_edit_CR()
Executing Test_edit_CTRL_()
Executing Test_edit_CTRL_EY()
Executing Test_edit_CTRL_G()
Executing Test_edit_CTRL_I()
Executing Test_edit_CTRL_K()
Executing Test_edit_CTRL_L()
Executing Test_edit_CTRL_N()
Executing Test_edit_CTRL_O()
Executing Test_edit_CTRL_R()
Executing Test_edit_CTRL_S()
Executing Test_edit_CTRL_T()
Executing Test_edit_CTRL_U()
Executing Test_edit_CTRL_V()
Executing Test_edit_CTRL_Z()
Executing Test_edit_DROP()
Executing Test_edit_F1()
Executing Test_edit_F21()
Executing Test_edit_HOME_END()
Executing Test_edit_INS()
Executing Test_edit_LEFT_RIGHT()
Executing Test_edit_MOUSE()
Executing Test_edit_PAGEUP_PAGEDOWN()
Executing Test_edit_complete_very_long_name()
Executing Test_edit_forbidden()
Executing Test_edit_rightleft()
Executed 41 tests

From test_farsi.vim:
Executing Test_command_line_farsi()
Executing Test_farsi_map()
Executing Test_farsi_toggle()
Executing Test_input_farsi()
Executed 4 tests

From test_file_size.vim:
Executing Test_File_Size()
Executed 1 test

From test_fnameescape.vim:
Executing Test_fnameescape()
Executed 1 test

From test_fold.vim:
Executing Test_address_fold()
Executing Test_combining_folds_indent()
Executing Test_combining_folds_marker()
Executing Test_fold_error()
Executing Test_folddoopen_folddoclosed()
Executing Test_folds_marker_in_comment()
Executing Test_foldtext_recursive()
Executing Test_indent_fold()
Executing Test_indent_fold2()
Executing Test_indent_fold_with_read()
Executing Test_manual_fold_with_filter()
Executing Test_move_folds_around_indent()
Executing Test_move_folds_around_manual()
Executing Test_update_folds_expr_read()
Executed 14 tests

From test_getvar.vim:
Executing Test_var()
Executed 1 test

From test_gf.vim:
Executing Test_gF()
Executing Test_gf_url()
Executed 2 tests

From test_gn.vim:
Executing Test_gn_command()
Executed 1 test

From test_gui.vim:
Executed 0 test

From test_gui_init.vim:
Executed 0 test

From test_hardcopy.vim:
Executing Test_fname_with_spaces()
Executing Test_printheader_parsing()
Executing Test_printmbfont_parsing()
Executing Test_printoptions_parsing()
Executing Test_with_syntax()
Executed 5 tests

From test_help.vim:
Executing Test_help_errors()
Executing Test_help_keyword()
Executing Test_help_restore_snapshot()
Executed 3 tests

From test_hide.vim:
Executing Test_hide()
Executed 1 test

From test_highlight.vim:
Executing Test_highlight()
Executed 1 test

From test_history.vim:
Executing Test_History()
Executing Test_Search_history_window()
Executed 2 tests

From test_hlsearch.vim:
Executing Test_hlsearch()
Executing Test_hlsearch_hangs()
Executed 2 tests

From test_increment.vim:
Executing Test_normal_increment_01()
Executing Test_normal_increment_02()
Executing Test_normal_increment_03()
Executing Test_visual_increment_01()
Executing Test_visual_increment_02()
Executing Test_visual_increment_03()
Executing Test_visual_increment_04()
Executing Test_visual_increment_05()
Executing Test_visual_increment_06()
Executing Test_visual_increment_07()
Executing Test_visual_increment_08()
Executing Test_visual_increment_09()
Executing Test_visual_increment_10()
Executing Test_visual_increment_11()
Executing Test_visual_increment_12()
Executing Test_visual_increment_13()
Executing Test_visual_increment_14()
Executing Test_visual_increment_15()
Executing Test_visual_increment_16()
Executing Test_visual_increment_17()
Executing Test_visual_increment_18()
Executing Test_visual_increment_19()
Executing Test_visual_increment_20()
Executing Test_visual_increment_21()
Executing Test_visual_increment_22()
Executing Test_visual_increment_23()
Executing Test_visual_increment_24()
Executing Test_visual_increment_25()
Executing Test_visual_increment_26()
Executing Test_visual_increment_27()
Executing Test_visual_increment_28()
Executing Test_visual_increment_29()
Executing Test_visual_increment_30()
Executing Test_visual_increment_31()
Executing Test_visual_increment_32()
Executing Test_visual_increment_33()
Executing Test_visual_increment_34()
Executing Test_visual_increment_35()
Executing Test_visual_increment_36()
Executing Test_visual_increment_37()
Executing Test_visual_increment_38()
Executed 41 tests

From test_increment_dbcs.vim:
Executing Test_increment_dbcs_1()
Executed 1 test

From test_job_fails.vim:
Executing Test_job_start_fails()
Executed 1 test

From test_json.vim:
Executing Test_js_decode()
Executing Test_js_encode()
Executing Test_json_decode()
Executing Test_json_encode()
Executed 4 tests

From test_langmap.vim:
Executing Test_langmap()
Executed 1 test

From test_let.vim:
Executing Test_let()
Executed 1 test

From test_lineending.vim:
Executing Test_lineending()
Executed 1 test

From test_listlbr.vim:
Executing Test_block_replace_after_wrapping()
Executing Test_linebreak_with_conceal()
Executing Test_linebreak_with_list()
Executing Test_linebreak_with_nolist()
Executing Test_list_with_listchars()
Executing Test_list_with_tab_and_skipping_first_chars()
Executing Test_norm_after_block_visual()
Executing Test_set_linebreak()
Executing Test_should_break()
Executing Test_undo_after_block_visual()
Executing Test_virtual_block()
Executing Test_virtual_block_and_vbA()
Executing Test_virtual_char_and_block()
Executed 13 tests

From test_listlbr_utf8.vim:
Executing Test_chinese_char_on_wrap_column()
Executing Test_colorcolumn_priority()
Executing Test_illegal_byte_and_breakat()
Executing Test_linebreak_with_fancy_listchars()
Executing Test_linebreak_with_nolist()
Executing Test_list_and_concealing1()
Executing Test_list_and_concealing2()
Executing Test_multibyte_sign_and_colorcolumn()
Executing Test_multibyte_wrap_and_breakat()
Executing Test_nolinebreak_with_list()
Executing Test_screenattr_for_comment()
Executing Test_visual_block_and_selection_exclusive()
Executed 12 tests

From test_lua.vim:
Executing Test_luado()
Executed 1 test

From test_makeencoding.vim:
Executed 0 test

From test_man.vim:
Executing Test_g_ft_man_open_mode()
Executing Test_nomodifiable()
Executed 2 tests

From test_marks.vim:
Executing Test_Incr_Marks()
Executing Test_Restore_DelMark()
Executing Test_setpos()
Executed 3 tests

From test_matchadd_conceal.vim:
Executing Test_clearmatches()
Executing Test_default_conceal_char()
Executing Test_matchadd_and_conceallevel_3()
Executing Test_matchadd_and_syn_conceal()
Executing Test_matchadd_repeat_conceal_with_syntax_off()
Executing Test_simple_matchadd()
Executing Test_simple_matchadd_and_conceal()
Executing Test_syn_and_match_conceal()
Executing Test_using_matchaddpos()
Executed 9 tests

From test_mksession.vim:
Executing Test_mksession()
Executing Test_mksession_arglist()
Executing Test_mksession_one_buffer_two_windows()
Executing Test_mksession_winheight()
Executed 4 tests

From test_mksession_utf8.vim:
Executing Test_mksession_utf8()
Executed 1 test

From test_nested_function.vim:
Executing Test_max_nesting()
Executing Test_nested_argument()
Executing Test_nested_functions()
Executed 3 tests

From test_netbeans.vim:
Executed 0 test

From test_normal.vim:
Executing Test_delete_until_paragraph()
Executing Test_normal00_optrans()
Executing Test_normal01_keymodel()
Executing Test_normal02_selectmode()
Executing Test_normal02_selectmode2()
Executing Test_normal03_join()
Executing Test_normal04_filter()
Executing Test_normal05_formatexpr()
Executing Test_normal05_formatexpr_newbuf()
Executing Test_normal05_formatexpr_setopt()
Executing Test_normal06_formatprg()
Executing Test_normal07_internalfmt()
Executing Test_normal08_fold()
Executing Test_normal09_operatorfunc()
Executing Test_normal09a_operatorfunc()
Executing Test_normal10_expand()
Executing Test_normal11_showcmd()
Executing Test_normal12_nv_error()
Executing Test_normal13_help()
Executing Test_normal14_page()
Executing Test_normal14_page_eol()
Executing Test_normal15_z_scroll_vert()
Executing Test_normal16_z_scroll_hor()
Executing Test_normal17_z_scroll_hor2()
Executing Test_normal18_z_fold()
Executing Test_normal19_z_spell()
Executing Test_normal20_exmode()
Executing Test_normal21_nv_hat()
Executing Test_normal22_zet()
Executing Test_normal23_K()
Executing Test_normal24_rot13()
Executing Test_normal25_tag()
Executing Test_normal26_put()
Executing Test_normal27_bracket()
Executing Test_normal28_parenthesis()
Executing Test_normal29_brace()
Executing Test_normal30_changecase()
    Skipped
Executing Test_normal31_r_cmd()
Executing Test_normal32_g_cmd1()
Executing Test_normal33_g_cmd2()
Executing Test_normal34_g_cmd3()
Executing Test_normal35_g_cmd4()
    Skipped
Executing Test_normal36_g_cmd5()
Executing Test_normal37_g_cmd6()
Executing Test_normal38_nvhome()
Executing Test_normal39_cw()
Executing Test_normal40_ctrl_bsl()
Executing Test_normal41_insert_reg()
Executing Test_normal42_halfpage()
Executing Test_normal43_textobject1()
Executing Test_normal44_textobjects2()
Executing Test_normal45_drop()
Executing Test_normal46_ignore()
Executing Test_normal47_autocmd()
    Skipped
Executing Test_normal47_visual_buf_wipe()
Executing Test_normal48_wincmd()
Executing Test_normal49_counts()
Executing Test_normal50_commandline()
Executing Test_normal51_FileChangedRO()
Executing Test_normal52_rl()
Executing Test_normal53_digraph()
Executing Test_normal54_Ctrl_bsl()
Executing Test_normal_8g8()
Executing Test_normal_large_count()
Executed 64 tests
SKIPPED Test_normal30_changecase(): Turkish locale not available
SKIPPED Test_normal35_g_cmd4(): output of g< can't be tested currently
SKIPPED Test_normal47_autocmd(): not possible to test cursorhold autocmd while waiting for input in normal_cmd

From test_number.vim:
Executing Test_number()
Executing Test_number_with_linewrap1()
Executing Test_number_with_relativenumber()
Executing Test_numberwidth()
Executing Test_numberwidth_adjusted()
Executing Test_relativenumber()
Executing Test_set_global_and_local()
Executing Test_set_options()
Executed 8 tests

From test_options.vim:
Executing Test_cinkeys()
Executing Test_complete()
Executing Test_dictionary()
Executing Test_filetype_valid()
Executing Test_isfname()
Executing Test_keymap_valid()
Executing Test_options()
Executing Test_path_keep_commas()
Executing Test_set_all()
Executing Test_set_completion()
Executing Test_set_errors()
Executing Test_set_indentexpr()
Executing Test_set_ttytype()
Executing Test_set_values()
Executing Test_signcolumn()
Executing Test_syntax_valid()
Executing Test_thesaurus()
Executing Test_whichwrap()
Executing Test_wildchar()
Executed 19 tests

From test_packadd.vim:
Executing Test_colorscheme()
Executing Test_colorscheme_completion()
Executing Test_helptags()
Executing Test_packadd()
Executing Test_packadd_completion()
Executing Test_packadd_noload()
Executing Test_packadd_symlink_dir()
Executing Test_packloadall()
Executing Test_runtime()
Executed 9 tests

From test_paste.vim:
Executing Test_paste_cmdline()
Executing Test_paste_insert_mode()
Executing Test_paste_normal_mode()
Executing Test_paste_visual_mode()
Executed 4 tests

From test_perl.vim:
Executing Test_SvREFCNT()
Executing Test_VIM_Buffers()
Executing Test_VIM_Windows()
Executing Test_VIM_package()
Executing Test_buffer_Append()
Executing Test_buffer_Count()
Executing Test_buffer_Delete()
Executing Test_buffer_Get()
Executing Test_buffer_Name()
Executing Test_buffer_Number()
Executing Test_buffer_Set()
Executing Test_change_buffer()
Executing Test_evaluate_list()
Executing Test_perldo()
Executing Test_perleval()
Executing Test_stdio()
Executing Test_window_Cursor()
Executing Test_window_SetHeight()
Executed 18 tests

From test_preview.vim:
Executing Test_Psearch()
Executed 1 test

From test_profile.vim:
Executing Test_profile_completion()
Executing Test_profile_errors()
Executing Test_profile_file()
Executing Test_profile_func()
Executed 4 tests

From test_python2.vim:
Executed 0 test

From test_python3.vim:
Executing Test_py3do()
Executed 1 test

From test_pyx2.vim:
Executed 0 test

From test_pyx3.vim:
Executing Test_has_pythonx()
Executing Test_pyx()
Executing Test_pyxdo()
Executing Test_pyxeval()
Executing Test_pyxfile()
Executed 5 tests

From test_quickfix.vim:
Executing Test_Autocmd()
Executing Test_Autocmd_Exception()
Executing Test_Multi_LL_Help()
Executing Test_Qf_Size()
Executing Test_add_qf()
Executing Test_adjust_lnum()
Executing Test_browse()
Executing Test_bufoverflow()
Executing Test_caddbuffer_to_empty()
Executing Test_caddbuffer_wrong()
Executing Test_caddexpr_wrong()
Executing Test_cage()
Executing Test_cbottom()
Executing Test_cbuffer()
Executing Test_cclose_from_copen()
Executing Test_cclose_in_autocmd()
Executing Test_cexpr()
Executing Test_cfile()
Executing Test_cgetexpr_works()
Executing Test_changedtick()
Executing Test_clist()
Executing Test_cwindow()
Executing Test_cwindow_jump()
Executing Test_dirstack_cleanup()
Executing Test_duplicate_buf()
Executing Test_efm()
Executing Test_efm1()
Executing Test_efm2()
Executing Test_efm_dirstack()
Executing Test_efm_ignore_continuations()
Executing Test_errortitle()
Executing Test_get_list_from_lines()
Executing Test_grep()
Executing Test_helpgrep()
Executing Test_history()
Executing Test_invalid_efm()
Executing Test_locationlist()
Executing Test_locationlist_cross_tab_jump()
Executing Test_locationlist_curwin_was_closed()
Executing Test_long_lines()
Executing Test_multidirstack()
Executing Test_multifilestack()
Executing Test_nomem()
Executing Test_perbuf_efm()
Executing Test_qf_free()
Executing Test_qf_id()
Executing Test_qf_property()
Executing Test_qf_title()
Executing Test_quickfix_set_list_with_act()
Executing Test_quickfix_was_changed_by_autocmd()
Executing Test_resize_from_copen()
Executing Test_setexpr()
Executing Test_setqflist()
Executing Test_setqflist_empty_middle()
Executing Test_setqflist_empty_older()
Executing Test_switchbuf()
Executing Test_two_windows()
Executing Test_vimgrep()
Executing Test_vimgreptitle()
Executed 59 tests

From test_quotestar.vim:
Executing Test_quotestar()
    Skipped
Executed 1 test
SKIPPED Test_quotestar(): Test can only run when $DISPLAY is set.

From test_retab.vim:
Executing Test_retab()
Executing Test_retab_error()
Executed 2 tests

From test_registers.vim:
Executing Test_yank_shows_register()
Executed 1 test

From test_ruby.vim:
Executing Test_ruby_change_buffer()
Executing Test_ruby_evaluate_dict()
Executing Test_ruby_evaluate_list()
Executing Test_rubydo()
Executed 4 tests

From test_scrollbind.vim:
Executing Test_scrollbind()
Executed 1 test

From test_search.vim:
Executing Test_search_cmdline()
Executing Test_search_cmdline2()
Executing Test_search_cmdline3()
Executing Test_search_cmdline4()
Executing Test_searchc()
Executing Test_searchpair()
Executing Test_use_sub_pat()
Executed 7 tests

From test_signs.vim:
Executing Test_sign()
Executing Test_sign_completion()
Executing Test_sign_delete_buffer()
Executing Test_sign_invalid_commands()
Executing Test_sign_undefine_still_placed()
Executed 5 tests

From test_smartindent.vim:
Executing Test_nosmartindent()
Executing Test_smartindent_has_no_effect()
Executed 2 tests

From test_spell.vim:
Executing Test_spellreall()
Executing Test_wrap_search()
Executing Test_z_equal_on_invalid_utf8_word()
Executing Test_zeq_crash()
Executing Test_zz_NOSLITSUGS()
Executing Test_zz_Numbers()
Executing Test_zz_affix()
Executing Test_zz_basic()
Executing Test_zz_compound()
Executing Test_zz_prefixes()
Executing Test_zz_sal_and_addition()
Executed 11 tests

From test_startup.vim:
Executing Test_after_comes_later()
Executing Test_compatible_args()
Executing Test_default_term()
Executing Test_file_args()
Executing Test_help_arg()
Executing Test_pack_in_rtp_when_plugins_run()
Executing Test_progpath()
Executing Test_read_stdin()
Executing Test_silent_ex_mode()
Executing Test_startup_script()
Executing Test_startuptime()
Executed 11 tests

From test_startup_utf8.vim:
Executing Test_read_fifo_utf8()
Executing Test_read_stdin_utf8()
Executed 2 tests

From test_stat.vim:
Executing Test_checktime()
Executing Test_existent_directory()
Executing Test_existent_file()
Executing Test_nonexistent_file()
Executing Test_win32_symlink_dir()
Executed 5 tests

From test_substitute.vim:
Executing Test_multiline_subst()
Executing Test_sub_replace_1()
Executing Test_sub_replace_10()
Executing Test_sub_replace_2()
Executing Test_sub_replace_3()
Executing Test_sub_replace_4()
Executing Test_sub_replace_5()
Executing Test_sub_replace_6()
Executing Test_sub_replace_7()
Executing Test_sub_replace_8()
Executing Test_sub_replace_9()
Executing Test_substitute_repeat()
Executing Test_substitute_variants()
Executed 13 tests

From test_syntax.vim:
Executing Test_bg_detection()
Executing Test_conceal()
Executing Test_highlight_invalid_arg()
Executing Test_invalid_name()
Executing Test_ownsyntax()
Executing Test_ownsyntax_completion()
Executing Test_syn_clear()
Executing Test_syn_iskeyword()
Executing Test_syn_sync()
Executing Test_synstack_synIDtrans()
Executing Test_syntax_after_reload()
Executing Test_syntax_arg_skipped()
Executing Test_syntax_completion()
Executing Test_syntax_hangs()
Executing Test_syntax_invalid_arg()
Executing Test_syntax_list()
Executing Test_syntime()
Executed 17 tests

From test_system.vim:
Executing Test_System()
Executing Test_system_exmode()
Executed 2 tests

From test_tcl.vim:
Executing Test_tcldo()
Executed 1 test

From test_terminal.vim:
Executing Test_finish_open_close()
Executing Test_terminal_basic()
Executing Test_terminal_curwin()
Executing Test_terminal_cwd()
Executing Test_terminal_env()
Executing Test_terminal_hide_buffer()
Executing Test_terminal_list_args()
Executing Test_terminal_make_change()
Executing Test_terminal_nasty_cb()
Executing Test_terminal_no_cmd()
Executing Test_terminal_noblock()
Executing Test_terminal_redir_file()
Executing Test_terminal_scrape_123()
Executing Test_terminal_scrape_multibyte()
Executing Test_terminal_scroll()
Executing Test_terminal_size()
Executing Test_terminal_special_chars()
Executing Test_terminal_split_quit()
Executing Test_terminal_tmap()
Executing Test_terminal_wipe_buffer()
Executing Test_terminal_write_stdin()
Executing Test_terminal_wrong_options()
Executing Test_zz_terminal_in_gui()
Executed 23 tests

From test_terminal_fail.vim:
Executing Test_terminal_redir_fails()
Executed 1 test

From test_textobjects.vim:
Executing Test_inner_block_with_cpo_M_left_backslash()
Executing Test_inner_block_with_cpo_M_right_backslash()
Executing Test_inner_block_without_cpo_M()
Executing Test_quote_selection_selection_exclusive()
Executed 4 tests

From test_undo.vim:
Executing Test_U_command()
Executing Test_global_local_undolevels()
Executing Test_insert_expr()
Executing Test_undo_del_chars()
Executing Test_undo_write()
Executing Test_undofile_earlier()
Executing Test_undojoin()
Executing Test_undojoin_redo()
Executing Test_undolist()
Executing Test_undotree()
Executed 10 tests

From test_usercommands.vim:
Executing Test_Ambiguous()
Executing Test_CmdCompletion()
Executing Test_CmdErrors()
Executing Test_CmdUndefined()
Executing Test_cmdmods()
Executed 5 tests

From test_viminfo.vim:
Executing Test_cmdline_history()
Executing Test_cmdline_history_order()
Executing Test_global_vars()
Executing Test_viminfo_bad_syntax()
Executing Test_viminfo_encoding()
Executing Test_viminfo_file_mark_tabclose()
Executing Test_viminfo_file_mark_zero_time()
Executing Test_viminfo_file_marks()
Executing Test_viminfo_jumplist()
Executing Test_viminfo_marks()
Executing Test_viminfo_oldfiles()
Executing Test_viminfo_read_and_write()
Executing Test_viminfo_registers()
Executed 13 tests

From test_vimscript.vim:
Executing Test_arg_abort()
Executing Test_bitwise_functions()
Executing Test_braces_skipped()
Executing Test_curlies()
Executing Test_defining_functions()
Executing Test_delfunction_force()
Executing Test_echo_and_string()
Executing Test_endfunction_trailing()
Executing Test_endwhile_function()
Executing Test_endwhile_script()
Executing Test_error_in_function()
Executing Test_error_in_script()
Executing Test_expr_parsing()
Executing Test_finish()
Executing Test_func_abort()
Executing Test_if_bar_fail()
Executing Test_if_fail()
Executing Test_if_while()
Executing Test_num64()
Executing Test_return()
Executing Test_script_emty_line_continuation()
Executing Test_script_lines()
Executing Test_script_local_func()
Executing Test_skip()
Executing Test_type()
Executing Test_user_command_with_bang()
Executing Test_while_fail()
Executed 27 tests

From test_visual.vim:
Executing Test_Visual_ctrl_o()
Executing Test_Visual_inner_quote()
Executing Test_Visual_vapo()
Executing Test_block_shift_multibyte()
Executing Test_block_shift_overflow()
Executing Test_dotregister_paste()
Executing Test_visual_mode_reset()
Executed 7 tests

From test_winbar.vim:
Executing Test_add_remove_menu()
Executed 1 test

From test_window_id.vim:
Executing Test_win_getid()
Executing Test_win_getid_curtab()
Executed 2 tests

From test_windows_home.vim:
Executed 0 test

From test_writefile.vim:
Executing Test_writefile()
Executing Test_writefile_fails_conversion()
Executing Test_writefile_fails_gently()
Executed 3 tests

From test_alot_latin.vim:
Executing Test_backref()
Executing Test_eow_with_optional()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_nested_backrefs()
Executing Test_recursive_substitute()
Executed 6 tests

From test_alot_utf8.vim:
Executing Test_classes_re1()
Executing Test_classes_re2()
Executing Test_comparisons()
Executing Test_customlist_completion()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_gap()
Executing Test_getvcol()
Executing Test_large_class()
Executing Test_match_using_multibyte_conceal_char()
Executing Test_reversed_range()
Executing Test_search_cmds()
Executing Test_source_latin()
Executing Test_source_utf8()
Executing Test_strcharpart()
Executing Test_strchars()
Executing Test_strgetchar()
Executing Test_visual_block_insert()
Executed 18 tests

From test_alot.vim:
Executing Test_abbr_after_line_join()
Executing Test_abbreviation()
Executing Test_abs()
Executing Test_acos()
Executing Test_asin()
Executing Test_atan()
Executing Test_atan2()
Executing Test_auto_partial_rebind()
Executing Test_balloon_show()
Executing Test_bind_in_python()
Executing Test_break_undo()
Executing Test_bufexists()
Executing Test_byte2line_line2byte()
Executing Test_cancel_ptjump()
Executing Test_caught_error_in_statusline()
Executing Test_caught_error_in_tabline()
Executing Test_cd_large_path()
Executing Test_cd_up_and_down()
Executing Test_ceil()
Executing Test_changedtick_bdel()
Executing Test_changedtick_dict_entry()
Executing Test_changedtick_fixed()
Executing Test_changedtick_increments()
Executing Test_changedtick_islocked()
Executing Test_changenr()
Executing Test_close_on_quitpre()
Executing Test_closure_counter()
Executing Test_closure_refcount()
Executing Test_closure_unlet()
Executing Test_col()
Executing Test_color_names()
Executing Test_compare_null_dict()
Executing Test_compare_partials()
Executing Test_compl_vim_cmds_after_register_expr()
Executing Test_complete_CTRLN_startofbuffer()
Executing Test_complete_func_mess()
Executing Test_complete_no_undo()
Executing Test_completefunc_opens_new_window_one()
Executing Test_completefunc_opens_new_window_two()
Executing Test_completefunc_with_scratch_buffer()
Executing Test_completefunc_works()
Executing Test_completion_can_undo()
Executing Test_completion_clear_candidate_list()
Executing Test_completion_comment_formatting()
Executing Test_completion_ctrl_e_without_autowrap()
Executing Test_completion_respect_bs_option()
Executing Test_conf_type()
Executing Test_cos()
Executing Test_cosh()
Executing Test_count()
Executing Test_cursorline_keep_col()
Executing Test_curswant_with_autocommand()
Executing Test_cycle_partial_job()
Executing Test_cyclic_dict_arg()
Executing Test_cyclic_list_arg()
Executing Test_delete_myself()
Executing Test_detection()
Executing Test_dict()
Executing Test_dir_delete()
Executing Test_duplicate_tagjump()
Executing Test_empty()
Executing Test_empty_buffer()
Executing Test_empty_concatenate()
Executing Test_equal()
Executing Test_equalalways_on_close()
Executing Test_ex_mode()
Executing Test_ex_undo()
Executing Test_execute_list()
Executing Test_execute_string()
Executing Test_existing()
Executing Test_exp()
Executing Test_expand()
Executing Test_feedkeys_x_with_empty_string()
Executing Test_file_delete()
Executing Test_file_perm()
Executing Test_fileformat_after_bw()
Executing Test_fileformat_autocommand()
Executing Test_filetype_detection()
Executing Test_filewritable()
Executing Test_filter()
Executing Test_filter_cmd_completion()
Executing Test_filter_fails()
Executing Test_filter_map_dict_expr_funcref()
Executing Test_filter_map_dict_expr_string()
Executing Test_filter_map_list_expr_funcref()
Executing Test_filter_map_list_expr_string()
Executing Test_findfile()
Executing Test_float2nr()
Executing Test_float_misc()
Executing Test_floor()
Executing Test_fmod()
Executing Test_fnamemodify()
Executing Test_func_unref()
Executing Test_funcref()
Executing Test_function_in_dict()
Executing Test_function_with_funcref()
Executing Test_gD()
Executing Test_gD_char()
Executing Test_gD_comment()
Executing Test_gD_inline_comment()
Executing Test_gD_string()
Executing Test_gD_string_same_line()
Executing Test_gD_too()
Executing Test_ga_command()
Executing Test_gd()
Executing Test_gd_comment()
Executing Test_gd_comment_in_string()
Executing Test_gd_inline_comment()
Executing Test_gd_inline_comment_body()
Executing Test_gd_inline_comment_only()
Executing Test_gd_kr_style()
Executing Test_gd_local_block()
Executing Test_gd_missing_braces()
Executing Test_gd_not_local()
Executing Test_gd_string()
Executing Test_gd_string_in_comment()
Executing Test_gd_string_only()
Executing Test_gd_trailing_comment()
Executing Test_gd_trailing_multiline_comment()
Executing Test_get_partial_items()
Executing Test_getbufvar()
Executing Test_getpid()
Executing Test_getreg_empty_list()
Executing Test_global_local_lispwords()
Executing Test_help_complete()
Executing Test_help_respect_current_file_lang()
Executing Test_help_tagjump()
Executing Test_hlexists()
Executing Test_hostname()
Executing Test_if()
Executing Test_info()
Executing Test_input_in_timer()
Executing Test_invalid()
Executing Test_invalid_submatch()
Executing Test_isnan()
Executing Test_join_with_count()
Executing Test_keyword_jump()
Executing Test_lambda_call_lambda_from_lambda()
Executing Test_lambda_capture_by_reference()
Executing Test_lambda_circular_reference()
Executing Test_lambda_closure_counter()
Executing Test_lambda_combination()
Executing Test_lambda_delfunc()
Executing Test_lambda_do_not_share_local_variable()
Executing Test_lambda_fails()
Executing Test_lambda_feature()
Executing Test_lambda_refer_local_variable_from_other_scope()
Executing Test_lambda_scope()
Executing Test_lambda_share_scope()
Executing Test_lambda_side_effect()
Executing Test_lambda_with_a_var()
Executing Test_lambda_with_filter()
Executing Test_lambda_with_map()
Executing Test_lambda_with_partial()
Executing Test_lambda_with_sort()
Executing Test_lambda_with_timer()
Executing Test_last_buffer_nr()
Executing Test_len()
Executing Test_let_termcap()
Executing Test_load_menu()
Executing Test_log()
Executing Test_log10()
Executing Test_loop_over_null_list()
Executing Test_map_ctrl_c_insert()
Executing Test_map_ctrl_c_visual()
Executing Test_map_cursor()
Executing Test_map_feedkeys()
Executing Test_map_langmap()
Executing Test_map_meta_quotes()
Executing Test_map_timeout()
Executing Test_match()
Executing Test_match_func()
Executing Test_matchaddpos()
Executing Test_matchaddpos_using_negative_priority()
Executing Test_matchend()
Executing Test_matchlist()
Executing Test_matchstr()
Executing Test_matchstrpos()
Executing Test_max()
Executing Test_max_min_errors()
Executing Test_messages()
Executing Test_min()
Executing Test_missing_attr()
Executing Test_mode()
Executing Test_move_cursor()
Executing Test_named_function_closure()
Executing Test_nested_global()
Executing Test_next_split_all()
Executing Test_nextnonblank_prevnonblank()
Executing Test_no_type_checking()
Executing Test_noinsert_complete()
Executing Test_non_zero_arg()
Executing Test_not_existing()
Executing Test_not_lamda()
Executing Test_omnifunc_with_check()
Executing Test_oneshot()
Executing Test_option_value()
Executing Test_other_type()
Executing Test_partial_args()
Executing Test_partial_dict()
Executing Test_partial_exists()
Executing Test_partial_implicit()
Executing Test_partial_string()
Executing Test_paste_end_of_line()
Executing Test_paused()
Executing Test_peek_and_get_char()
Executing Test_popup_complete()
Executing Test_popup_complete2()
Executing Test_popup_completion_insertmode()
Executing Test_pow()
Executing Test_printf_64bit()
Executing Test_printf_errors()
Executing Test_printf_float()
Executing Test_printf_misc()
Executing Test_printf_spec_b()
Executing Test_printf_spec_s()
Executing Test_ptag_with_notagstack()
Executing Test_put_block()
Executing Test_put_char_block()
Executing Test_put_char_block2()
Executing Test_put_lines()
Executing Test_read_only()
Executing Test_recover_root_dir()
Executing Test_recursive_delete()
Executing Test_redefine_dict_func()
Executing Test_redo_in_nested_functions()
Executing Test_ref_job_partial_dict()
Executing Test_reltime()
Executing Test_repeat_many()
Executing Test_repeat_three()
Executing Test_retain_partial()
Executing Test_round()
Executing Test_script_detection()
Executing Test_script_function_in_dict()
Executing Test_script_function_in_dict_arg()
Executing Test_searchpos()
Executing Test_set_add()
Executing Test_set_backslash()
Executing Test_set_reg_null_list()
Executing Test_set_tagcase()
Executing Test_setbufline_getbufline()
Executing Test_setbufvar_options()
Executing Test_setline_startup()
Executing Test_setmatches()
Executing Test_sha256()
Executing Test_shellescape()
Executing Test_simplify()
Executing Test_sin()
Executing Test_sinh()
Executing Test_sort_cmd()
Executing Test_sort_default()
Executing Test_sort_float()
Executing Test_sort_nested()
Executing Test_sort_numbers()
Executing Test_sort_numeric()
Executing Test_sort_strings()
Executing Test_special_char()
Executing Test_sqrt()
Executing Test_static_tagjump()
Executing Test_statusline()
Executing Test_statusline_will_be_disabled_with_error()
Executing Test_stop_all_in_callback()
Executing Test_stop_in_callback()
Executing Test_stopall()
Executing Test_str2float()
Executing Test_str2nr()
Executing Test_strcharpart()
Executing Test_strftime()
Executing Test_strgetchar()
Executing Test_stridx()
Executing Test_strridx()
Executing Test_substitute_expr()
Executing Test_substitute_expr_arg()
Executing Test_symlink_delete()
Executing Test_symlink_dir_delete()
Executing Test_symlink_recursive_delete()
Executing Test_tabline_will_be_disabled_with_error()
Executing Test_tabnext_on_buf_unload1()
Executing Test_tabnext_on_buf_unload2()
Executing Test_tabpage()
Executing Test_tabpage_with_autocmd()
Executing Test_tabpage_with_tab_modifier()
Executing Test_tabpage_with_tabclose()
Executing Test_tabpage_with_tabnext()
Executing Test_tabpage_with_tabonly()
Executing Test_tabpage_with_tabprevious()
Executing Test_tagcase()
Executing Test_tagjump_switchbuf()
Executing Test_taglist()
Executing Test_taglist_ctags_etags()
Executing Test_taglist_native_etags()
Executing Test_tan()
Executing Test_tanh()
Executing Test_timer_catch_error()
Executing Test_timer_errors()
Executing Test_tolower()
Executing Test_tostring()
Executing Test_toupper()
Executing Test_translate_menu()
Executing Test_true_false_arg()
Executing Test_trunc()
Executing Test_unlet_fails()
Executing Test_valid()
Executing Test_version()
Executing Test_window_cmd_cmdwin_with_vsp()
Executing Test_window_cmd_ls0_with_split()
Executing Test_window_cmd_wincmd_gf()
Executing Test_window_contents()
Executing Test_window_exchange()
Executing Test_window_height()
Executing Test_window_horizontal_split()
Executing Test_window_jump_tag()
Executing Test_window_newtab()
Executing Test_window_preview()
Executing Test_window_quit()
Executing Test_window_rotate()
Executing Test_window_split_edit_alternate()
Executing Test_window_vertical_split()
Executing Test_window_width()
Executing Test_with_directories()
Executing Test_with_partial_callback()
Executing Test_with_tilde()
Executing Test_wrong_arguments()
Executing Test_yank_move_change()
Executing Test_yank_put_clipboard()
Executing Test_z()
Executing Test_z_negative_lnum()
Executing Test_z_overflow()
Executed 328 tests

Test results:
ALL DONE
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk3/testdir'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json_test.o json_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/move.o move.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/mbyte.o mbyte.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o json_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/memfile.o objects/message.o objects/json_test.o   -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./json_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/kword_test.o kword_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/normal.o normal.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o kword_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/json.o objects/memfile.o objects/message.o objects/kword_test.o   -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./kword_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile_test.o memfile_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/ops.o ops.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o memfile_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/message.o objects/memfile_test.o   -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./memfile_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message_test.o message_test.c
gcc -c -I. -I/usr/include/lua5.2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE   -I/usr/include/python3.5m -DPYTHON3_HOME='L"/usr"' -pthread -fPIE -I/usr/include/ruby-2.3.0 -I/usr/include/arm-linux-gnueabihf/ruby-2.3.0 -DRUBY_VERSION=23 -I/usr/include/tcl8.6  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/option.o option.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o message_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/memfile.o objects/message_test.o   -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./message_test || exit 1; echo  passed;
passed
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk3'
touch build-stamp-vim-gtk3
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/os_unix.o os_unix.c
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk'
/usr/bin/make -f Makefile vim
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk'
make[2]: 'vim' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk'
if test -n "yes" -a -f po/Makefile; then \
	cd po; /usr/bin/make -f Makefile check VIM=../vim; \
fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq af.po
dh_testdir
dh_prep
/usr/bin/make -C src/vim-basic xxd/xxd
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
make[1]: 'xxd/xxd' is up to date.
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
touch build-stamp-xxd
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE  -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_perl.o auto/if_perl.c
touch af.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ca.po
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
touch ca.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.po
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o vim objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox'
# Ensure ERM is set to a sane value for testing
[ yes != "yes" ] || flock debian env TERM=xterm /usr/bin/make -j1 -C src/vim-nox test
touch cs.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq de.po
touch de.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq en_GB.po
touch en_GB.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq eo.po
touch eo.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq es.po
touch es.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fi.po
touch fi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fr.po
touch fr.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ga.po
touch ga.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq it.po
touch it.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.po
touch ja.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.po
touch ko.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.UTF-8.po
touch ko.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nb.po
touch nb.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nl.po
touch nl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq no.po
touch no.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.po
touch pl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pt_BR.po
touch pt_BR.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.po
touch ru.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.po
touch sk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sv.po
touch sv.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.po
touch uk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq vi.po
touch vi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.UTF-8.po
touch zh_CN.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.po
touch zh_CN.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.UTF-8.po
touch zh_TW.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.po
touch zh_TW.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.cp1250.po
touch cs.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.sjis.po
touch ja.sjis.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.euc-jp.po
touch ja.euc-jp.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.cp1250.po
touch pl.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.UTF-8.po
touch pl.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.cp1251.po
touch ru.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.cp1250.po
touch sk.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.cp1251.po
touch uk.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.cp936.po
touch zh_CN.cp936.ck
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk/po'
if test vim != vim -a ! -r vim; then \
	ln -s vim vim; \
fi
cd testdir; /usr/bin/make -f Makefile gui VIMPROG=../vim  SCRIPTSOURCE=../../runtime
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-gtk/testdir'
rm -f test.log messages
rm -rf test1.failed test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out wrongtermsize
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test1.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test1.in" 57 lines, 2069 charactersFirst 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 1133 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l





/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" If columns or lines are too small, create wrongtermsize.
[?25l[?25h[?25l:[?2004h[?25h" (Some tests will fail. When columns and/or lines are small)
[?25l[?25h[?25l:[?2004h[?25hif &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Write a single line to test.out to check if testing works at all.
[?25l[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lthis is a test[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 15 characters written[?25h[?25l:[?2004h[?25h" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?25h
[?25l[?25h[?25l:[?2004h[?25hw! small.vim
[?25l"small.vim" [New File] 1 line, 1 character written[?25h[?25l:[?2004h[?25hw! tiny.vim
[?25l"tiny.vim" [New File] 1 line, 1 character written[?25h[?2004l[?2004h[?25le! test.ok

w! test.outqa![?25h[?25l:[?2004h[?25hw! mbyte.vim
[?25l"mbyte.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! mzscheme.vim
[?25l"mzscheme.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! lua.vim
[?25l"lua.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l"another" [New File]

"mbyte.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +lua feature supported, make lua.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("lua") | sp another | w! lua.vim | q | endif
[?25l"another" [New File]

"lua.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?25h[?25l:[?2004h[?25h" Otherwise write small.vim to skip the test.
[?25l[?25h[?25l:[?2004h[?25hif 1 | q! | endif
[?25l[?2004l[?2004l[?1l>[?25h[?1049lrm -rf X* 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test3.in" 2344 lines, 23156 characters/* vim: set cin ts=4 sw=4 : */



Test for 'cindent'.

For new tests, consider putting them in test_cindent.vim.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo 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;[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 : */[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 125 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo modeline
[?25l[?25h[?25l:[?2004h[>ce[?25hdit                " read modeline
[?25l"test3.in"2344L, 23156CTest for 'cindent'.

For new tests, consider putting them in test_cindent.vim.STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo modeline

:edit                " read modeline/start of AUTO=/end of AUTOENDTEST/* start of AUTO matically checked vim: set ts=4 : */

{    if (test)cmd1;cmd2;}{

    if (test)cmd1;else[?25h[?25l/[?2004h[?25hstart of AUTO
[?25l[?25h[?25l/[?2004h[?25hend of AUTO
[?25l956 lines to indent...
9500
850
750
650
550
450
350
250
150
50 lines to indent... 
957 lines indented [?25h[?25l/[?2004h^STARTTEST
}break;default:baz();baz();break;

    }

}



/* end of AUTO */



STARTTEST

:set tw=0 noai fo=croq

:let &wm = &columns - 20

/serious/e

a about life, the universe, and the rest^[

ENDTEST



{



/* this is

 * a real serious important big

 * comment[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 101C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset tw=0 noai fo=croq
[?25l[?25h[?25l:[?2004h[?25hlet &wm = &columns - 20
[?25l[?25h[?25l/[?2004h[?25hserious/e
[?25l[?25h[?25l



-- INSERT --about life, the

 * universe, and the

 * rest important big[?25h[?25l

* comment[?25h[?25l

/[?2004h^STARTTEST
*/

    /* insert " about life, the universe, and the rest" after "serious" */

}



STARTTEST[?25h[?25l

:set nocin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 6L, 78C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comments

joabout life^[/happens

jothere^[/below

oline^[/this

Ohello^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nocin
[?25l[?25h[?25l/[?2004h[?25hcomments
[?25l{

    /** Testing for comments, without 'cin' set[?25h[?25l

*/[?25h[?25l

-- INSERT --

about life[?25h[?25l

/[?2004h[?25hhappens
[?25l/*

* what happens here?[?25h[?25l

*/[?25h[?25l

-- INSERT --

there[?25h[?25l

/[?2004h[?25hbelow
[?25l/*the end of the comment, try inserting a line below */[?25h[?25l

-- INSERT --

line[?25h[?25l

/[?2004h[?25hthis
[?25l/* how aboutthis one */[?25h[?25l

-- INSERT --hello[?25h[?25l

this one */[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 18C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/vec2

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l/[?2004h[?25hvec2
[?25l{

    var = this + that + vec[0] * vec[0]+ vec[1] * vec[1]+ vec2[2] * vec[2];[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5L, 51C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=}4

/testing1

k2==/testing2

k2==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=}4
[?25l[?25h[?25l/[?2004h[?25htesting1
[?25l{asdf asdflkajds f;

    if (tes & ting) {asdf asdf asdf ;asdfa sdf asdf;}

    testing1;[?25h [?25l



/[?2004h[?25htesting2
[?25lif (tes & ting)

    {asdf asdf asdf ;asdfa sdf asdf;}

    testing2;[?25h [?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=(0,)20

/main

=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=(0,)20
[?25l[?25h[?25l/[?2004h[?25hmain
[?25lmain ( int first_par, /*[?25h[?25l

19 lines to indent...
20indented [?25h[?25l

* Comment for[?25h[?25l

/[?2004h^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();[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=es,n0s
[?25l[?25h[?25l/[?2004h[?25hmain
[?25l[?25h[?25l8 lines to indent...
9indented [?25h

[?25l/[?2004h^STARTTEST
else

    {bar();

    }

}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l{[?25h[?25l

11 lines to indent...
12indented [?25h[?25l

do[?25h[?25l

/[?2004h^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();

    }[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 1L, 6C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h





[?25l8 lines to indent...
9indented [?25h

   [?25l/[?2004h^STARTTEST
n();

}



STARTTEST[?25h[?25l

:set cino={s,e-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,e-s
[?25l[?25h[?25lvoid f()

{[?25h[?25l

7 lines to indent...
8indented     {[?25h[?25l

if ( k() )[?25h[?25l

/[?2004h^STARTTEST
{l();} else { /* Start (two words) end */m();}

    n();    /* should be under the if () */

}



STARTTEST[?25h[?25l

:set cino={s,fs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=/ foo[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,fs
[?25l[?25h[?25lvoid bar(void)

{[?25h[?25l

/[?2004h[?25h foo
[?25l30 lines to indent...
31indented     {[?25h[?25l/[?2004h^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 */[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l/[?2004h[?25hwhile
[?25l[?25h[?25l

-- INSERT --

here[?25h[?25l

if ( a )
    i[?25h[?25l

/[?2004h^STARTTEST
a;

}



STARTTEST[?25h[?25l

:set cino= com=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 109C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comment

olabel2: b();^Mlabel3 /* post */:^M/* pre */ label4:^Mf(/*com*/);^Mif (/*com*/)^^Mcmd();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino= com=
[?25l[?25h[?25l/[?2004h[?25hcomment
[?25la()

{

label1:/* hmm */// comment[?25h[?25l

-- INSERT --label2: b();

label3 /* post */:

/* pre */ label4:f(/*com*/);if (/*com*/)cmd();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set comments& comments^=s:/*,m:**,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 53C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/simple

=5j[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset comments& comments^=s:/*,m:**,ex:*/
[?25l[?25h[?25l/[?2004h[?25hsimple
[?25l/*

  * A simple comment[?25h[?25l

5 lines to indent...
6indented * A simple comment[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
/*

** A different comment

*/



STARTTEST[?25h[?25l

:set cino=c0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 70C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=c0,C1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 73C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0,C1
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********

    A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 17C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s,U1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,U1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(0,w1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,w1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3) && c4;

    if (c1 && c2)foo;

}



STARTTEST[?25h[?25l

:set cino=(s,m1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,m1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3

    ) && c4;

    if (c1 && c2

    )foo;

}



STARTTEST[?25h[?25l

:set cino=b1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=b1
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

9 lines to indent...
10 lines indented [?25h[?25l

switch (x)[?25h[?25l

/[?2004h^STARTTEST
{case 1:a = b;break;default:a = 0;break;

    }

}



STARTTEST[?25h[?25l

:set cino=(0,W5
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W5
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

10 lines to indent...
11indented [?25h[?25l

invokeme([?25h[?25l

/[?2004h^STARTTEST
argu,ment);

    invokeme(argu,ment);

    invokeme(argu,ment);

}



STARTTEST[?25h[?25l

:set cino=/6
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=/6
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

3 lines to indent...
4indented [?25h[?25l

statement;[?25h[?25l

/[?2004h^STARTTEST
// comment 1// comment 2

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 34C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-12kdd]]/comment 1/+1

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l==ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

/[?2004h[?25hcomment 1/+1
[?25lstatement;// comment 1

    // comment 2[?25h[?25l    // comment 2[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino=g0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=g0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass CAbc

{[?25h[?25l

6 lines to indent...
7indented [?25h[?25l

int Test() { return FALSE; }[?25h[?25l

/[?2004h^STARTTEST
public: // comment

    void testfall();

protected:

    void testfall();

};



STARTTEST[?25h[?25l

:set cino=(0,gs,hs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 29C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,gs,hs
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass Foo : public Bar

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

public:[?25h[?25l

/[?2004h^STARTTEST
virtual void method1(void) = 0;virtual void method2(int arg1,int arg2,int arg3) = 0;

};



STARTTEST[?25h[?25l

:set cino=+20
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 24C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=+20
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid

foo()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (a)[?25h[?25l

/[?2004h^STARTTEST
{

    } elseasdf;

}



STARTTEST[?25h[?25l

:set cino=(0,W2s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W2s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25l

{[?25h[?25l

34 lines to indent...
35indented [?25h[?25l

averylongfunctionnamelongfunctionnameaverylongfunctionname()->asd([?25h[?25l

/[?2004h^STARTTEST
dec)->asdfasdfasdf(asdfadsf,asdfasdf,asdfasdf,),func(asdfadf,asdfasdf),asdasdf);

}



STARTTEST

:set cino=M1

2kdd]]=][

ENDTEST



int main ()

{

    if (cond1 &&cond2)foo;

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=M1
[?25l[?25h[?25l

[?25h[?25l4 lines to indent...
5indented [?25h

   [?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set cino=(0,ts
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,ts
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

7 lines to indent...
8indented [?25h[?25l

void func(int a[?25h[?25l

/[?2004h^STARTTEST
#if defined(FOO), int b, int c

#endif)

{

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void[?25h[?25l

/[?2004h^STARTTEST
func(int a

#if defined(FOO), int b, int c

#endif

    )

{

}



STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 22C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=7][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=7][

ENDTEST[?25h



[?25l

69 lines to indent...
50
7indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^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};[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l:[?2004h[?25hset cino+=l1
[?25l[?25h[?25l

[?25h



[?25l22 lines to indent...
23indented [?25h

[?25l/[?2004h^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";

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l

[?25h



[?25l6 lines to indent...
7indented     << "b"

        << ") :"

        << "c";[?25h

[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set com=s1:/*,m:*,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]3jofoo();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset com=s1:/*,m:*,ex:*/
[?25l[?25h[?25lvoid func(void)

{[?25h[?25l/** This is a comment.*/[?25h[?25l

-- INSERT --

foo();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^STARTTEST
{

    for (int i = 0; i < 10; ++i)if (i & 1) {foo(1);} elsefoo(0);

    baz();

}



STARTTEST[?25h[?25l

:set cino=k2s,(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd3j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0
[?25l[?25h[?25l2kdd3j=][ENDTEST[?25h[?25l

void func(void)[?25h[?25l

23 lines to indent...
24indented [?25h[?25l

{[?25h[?25l

/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s
[?25l[?25h[?25l

[?25h





[?25l23 lines to indent...
24indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s,U1
[?25l[?25h[?25l

[?25h





[?25l24 lines to indent...
25indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,W4
[?25l[?25h[?25l

[?25h





[?25l29 lines to indent...
30indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,u2
[?25l[?25h[?25l

[?25h





[?25l18 lines to indent...
19indented         && condition2)

        action();        && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,w1
[?25l[?25h[?25l

[?25h





[?25l27 lines to indent...
28indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2,(s
[?25l[?25h[?25l

[?25h





[?25l14 lines to indent...
15indented [?25h

[?25l/[?2004h^STARTTEST
if (c1 && (c2 ||c3))foo;

    if (c1 &&(c2 || c3))

    {

    }

}



STARTTEST[?25h[?25l

:set cino=N-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 47C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^NAMESPACESTART

=/^NAMESPACEEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=N-s
[?25l[?25h[?25l/[?2004h[?25h^NAMESPACESTART
[?25lNAMESPACESTART[?25h[?25l

/[?2004h[?25h^NAMESPACEEND
[?25l81 lines to indent...
50
82indented [?25h[?25l/[?2004h^STARTTEST
namespace test test2

{

    1111111111111111111;

}

namespace111111111

{

    111111111111111111;

}

NAMESPACEEND





STARTTEST

:set cino=j1,J1

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

var bar = {

foo: {

that: this,

some: ok,

},[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l12 lines to indent...
13indented     foo: {

        that: this,

        some: ok,

    },[?25h[?25l/[?2004h^STARTTEST
"bar":{a : 2,b: "123abc",x: 4,"y": 5

    }

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l5 lines to indent...
6indented [?25h[?25l/[?2004h^STARTTEST
var foo = [

    1,

    2,

    3

];

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l7 lines to indent...
8indented [?25h[?25l/[?2004h^STARTTEST
function bar() {

    var foo = [1,2,3

    ];

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l58 lines to indent...
509indented [?25h[?25l/[?2004h^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: [[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l14 lines to indent...
15indented     $(this).data(class_name+'_public',$.extend({},{

        foo: 'bar',

        bar: 2,

        foobar: [[?25h[?25l/[?2004h^STARTTEST
1,2,3],callback: function(){return true;}

    }, options||{}));

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l16 lines to indent...
17indented [?25h[?25l/[?2004h^STARTTEST
2,3],callback: function(){return true;}}, options||{}));

    }

})(jQuery);

JSEND



STARTTEST

:set cino=j1,J1,+2

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

// Results of JavaScript indent

// 1

(function(){

var a = [

'a',[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1,+2
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l149 lines to indent...
100
50 lines to indent... 
150 lines indented     var a = [

      'a',[?25h[?25l/[?2004h^STARTTEST
var a,

    b,

    c,

    d,

    e,

    f,

    g,

    h,

    i;

JSEND



STARTTEST

:set cin cino&

/start of define

=/end of define

ENDTEST



/* start of define */

{

}

#define AAA \

BBB\

CCC[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 48C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin cino&
[?25l[?25h[?25l/[?2004h[?25hstart of define
[?25l[?25h[?25l/[?2004h[?25hend of define
[?25l11 lines to indent...
12indented     BBB\

    CCC[?25h[?25l/[?2004h^STARTTEST
#define CNT \

    1 + \

    2 + \

    4

/* end of define */



STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 61C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l227 fewer lines    c,

    d,

    e,    f,    g,    h,    i;JSEND/* start of define */

{}#define AAA \

    BBB\

    CCC#define CNT \

    1 + \

    2 + \4

/* end of define */[?25h[?25l:[?2004h[?25h1;/start of AUTO/,$wq! test.out
[?25l[?2004l"test.out" [New] 2096L, 20188C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test3 = test61; then \
#	  if diff test.out test3.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test3.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test4.failed test.ok test.out X* viminfo
cp test4.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test4.in" 34 lines, 960 charactersTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew

/start of

:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx" split to Xxx, autocmd will do :brew

G?this is a

othis should be auto-indented^[

:" Append text with autoindent to this file

:au! BufEnter Xxx

:buf Xxx" go to Xxx, no autocmd anymore

G?this is a

othis should be in column 1^[:wq " append text without autoindent to Xxx

G:r Xxx" include Xxx in the current file

:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is sset

Go# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes current buffer on BufEnter event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 20 lines, 678 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:?startstart?,$w! test.out

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>ca[?25hu BufEnter Xxx brew
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25lstartstart

start of test file Xxx[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx   " write test file Xxx
[?25l"Xxx" [New] 7L, 124C written[?25h[?25l:[?2004h[?25hset ai modeline modelines=3
[?25l[?25h[?25l:[?2004h[?25hsp Xxx             " split to Xxx, autocmd will do :brew
[?25l"Xxx" 7L, 124CTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.STARTTESTo small.vim:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew/start of.,/end of/w!" write test file Xxx

:set ai modeline modelines=3:sp Xxx    " split to Xxx, autocmd will do :brew

test4.in                                                                        :set fo+=rssue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.outqa!ENDTESTstartstart of test file Xxx

test4.in                                                                        test4.in" line 1 of 34 --2%-- col 1[?25h[?25l:qa!ENDTESTstartstart

start of test file Xxx

vim: set noai :        this is a test

        this is a test

        this is a test        this is a testend of test file Xxx[?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --        this should be auto-indented[+][+][?25h[?25l

end of test file Xxx[?25h[?25l:[?2004h[?25h                   " Append text with autoindent to this file
[?25l[?25h[?25l:[?2004h[?25hau! BufEnter Xxx
[?25l[?25h[?25l:[?2004h[?25hbuf Xxx            " go to Xxx, no autocmd anymore
[?25l"Xxx" 7L, 124Cstart of test file Xxx

vim: set noai :

        this is a test

        this is a test

        this is a test



end of test file Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxxt          [?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --this should be in column 1[+][?25h[?25l:[?2004h[?25hwq " append text without autoindent to Xxx
[?25l"Xxx8L, 151C written:au BufEnter Xxx brew/start of:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx             " split to Xxx, autocmd will do :brew

G?this is aothis should be auto-indented^[

:                   " Append text with autoindent to this file

:au! BufEnter Xxx:buf Xxx            " go to Xxx, no autocmd anymoreG?this is aothis should be in column 1^[:wq " append text without autoindent to XxxG:r Xxx   nclude Xxx in the current file:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.out

:qa!ENDTESTstarstart of test file Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a testthis should be auto-indented

end of test file Xxx[?25h[?25l

:[?2004h[?25hr Xxx             " include Xxx in the current file
[?25l"Xxx" 8L, 151C

start of test file Xxx[?25h[?25l

:[?2004h[?25hset fo+=r          " issue #57 do not move cursor on <c-o> when autoindent is 


set
[?25l:au! BufEnter Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

this should be in column 1

end of test file Xxx
[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --

# def[?25h[?25lINSERTt --defo[?25hd[?25l[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --[?25h[?25l

-- INSERTt --def:[?25hd[?25l[?25h[?25l

:[?2004h[?25h[?25l:[?2004h[?25h?startstart?,$w! test.out
[?25l"test.out" [New] 20L, 330C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test4 = test61; then \
#	  if diff test.out test4.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test4.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test5.failed test.ok test.out X* viminfo
cp test5.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test5.in" 29 lines, 949 charactersTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.



STARTTEST

:so small.vim

:au BufLeave Xxx bwipe

/start of

:.,/end of/w! Xxx" write test file Xxx

:sp Xxx" split to Xxx

:bwipe" delete buffer Xxx, now we're back here

G?this is a

othis is some more text^[

:" Append some text to this file

:?start?,$w! test.out" Write current file contents

:bwipe test.out" delete alternate buffer

:au bufleave test5.in bwipe

:bwipe!" delete current buffer, get an empty one

ithis is another test line^[:w >>test.out

:" append an extra line to the output file

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that deletes the current buffer on BufLeave event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 664 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufLeave Xxx bwipe
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25l[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx               " write test file Xxx
[?25l"Xxx" [New File] 7 lines, 124 characters written[?25h[?25l:[?2004h[?25hsp Xxx                         " split to Xxx
[?25l"Xxx" 7 lines, 124 charactersstart of test file Xxxvim: set noai :this is a test

        this is a test

        this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx                                                                             ?start?,$w! test.outWrite current file contentsbwipe test.out      delete alternate bufferau bufleave test5.in bwipebwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out:                               " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx

test5.in                                                                        [?25h[?25l:[?2004h[?25hbwipe                          " delete buffer Xxx, now we're back here
[?25lTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.STARTTEST:so small.vim:au BufLeave Xxx bwipe

/start of:.,/end of/w! Xxx               " write test file Xxx:sp Xxx                         " split to Xxx:bwipe                          " delete buffer Xxx, now we're back hereG?this is aothis is some more text^[                    Append some text to this file

:?start?,$w! test.outWrite current file contents

:bwipe test.out                 " delete alternate buffer

:au bufleave test5.in bwipe:bwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out   " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx"test5.in" line 23 of 29 --79%-- col 1[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

end of test file Xxx[?25h[?25l

?[?2004h[?25hthis is a
[?25l[?25h[?2004l[?2004h[?25l

this is some more text[?25h[?25l

end of test file Xxx[?25h[?25l

:[?2004h[?25h                               " Append some text to this file
[?25l[?25h[?25l:[?2004h[?25h?start?,$w! test.out           " Write current file contents
[?25l"test.out" [New File] 8 lines, 147 characters written[?25h[?25l:[?2004h[?25hbwipe test.out                 " delete alternate buffer
[?25l[?25h[?25l:[?2004h[?25hau bufleave test5.in bwipe
[?25l[?25h[?25l:[?2004h[?25hbwipe!                         " delete current buffer, get an empty one
[?25lError detected while processing BufLeave Auto commands for "test5.in":

E89: No write since last change for buffer 1 (add ! to override)


Press ENTER or type command to continue[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lthis is another test line[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 26 characters appended[?25h[?25l:[?2004h[?25h                               " append an extra line to the output file
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test5 = test61; then \
#	  if diff test.out test5.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test5.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test7.failed test.ok test.out X* viminfo
cp test7.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test7.in" 26 lines, 675 charactersTest for autocommand that changes the buffer list, when doing ":ball".



STARTTEST

:so small.vim

/^start of

A1^[:.,/end of/w! Xxx1   " write test file Xxx1

:sp Xxx1

:close

$r2:.,/end of/w! Xxx2    " write test file Xxx2

:sp Xxx2

:close

$r3:.,/end of/w! Xxx3    " write test file Xxx3

:sp Xxx3

:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes the buffer list, when doing ":ball".[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 508 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx1   " write test file Xxx1
[?25l"Xxx1" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx1
[?25l"Xxx1" 4 lines, 77 charactersstart of test file Xxx1this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2    " write test file Xxx2
[?25l"Xxx2" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx2
[?25l"Xxx2" 4 lines, 77 charactersstart of test file Xxx2this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx2                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2[?25h[?25l3[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx3    " write test file Xxx3
[?25l"Xxx3" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx3
[?25l"Xxx3" 4 lines, 77 charactersstart of test file Xxx3this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx3                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3[?25h[?25l:[?2004h[?25hau BufReadPost Xxx2 bwipe
[?25l[?25h[?25l4[?25h[?25l:[?2004h[?25hball                 " open window for all args, close Xxx2
[?25l"Xxx1"4 lines, 77 characters


"Xxx2" 4 lines, 77 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h.,$w! test.out          " Write contents of this file
[?25l"test.out" [New File] 4 lines, 77 characters written


Press ENTER or type command to continue[?25h[?25l:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx4

test7.in [+]                                                                    start of test file Xxx1this is a testthis is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            [?25h

test7.in [+]                                                                     Xxx1                                                                            [?25l:[?2004h[?25hw >>test.out        " Append contents of second window (Xxx1)
[?25l"test.out" 4 lines, 77 characters appended[?25htest7.in [+]                                                                    Xxx1                                                                             [?25l:[?2004h[?25h/^start of/,$w >>test.out   " Append contents of last window (this file)
[?25lsearch hit BOTTOM, continuing at TOP"test.out" 4 lines, 77 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test7 = test61; then \
#	  if diff test.out test7.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test7.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test8.in" 46 lines, 1236 charactersTest 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('$')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1054 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTif 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,nviminfo

:au BufUnload * call CloseAll()

:au VimLeave * call WriteToOut()

:e small.vim

:sp mbyte.vim

:q

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx1 bunload
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx2 bwipe
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l

start of Xxx[?25h[?2004l[?2004h[?25l1[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx1  " write test file Xxx1
[?25l"Xxx1" [New File] 3 lines, 31 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2   " write test file Xxx2
[?25l"Xxx2" [New File] 3 lines, 31 characters written[?25h[?25l:[?2004h[?25he! Xxx2                " edit Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2

        testend of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbdel test8.in^I^I" delete this file from the buffer list
[?25l[?25h[?25l:[?2004h[?25he Xxx1                 " edit Xxx1
[?25l"Xxx1" 3 lines, 31 characters1
[?25h[?25l:[?2004h[?25hw                      " write it, will unload it and give an error msg
[?25l"Xxx2"3 lines, 31 characters


E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! test.out            " Write contents of this file
[?25l"test.out" [New File] 3 lines, 31 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he! Xxx2                " start editing Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2test

end of Xxx"Xxx2" 3 lines, 31 characters[?25h[?25l:[?2004h[?25hbwipe test.out         " remove test.out from the buffer list
[?25l[?25h[?25l:[?2004h[?25hw                      " write it, will delete the buffer and give an error ms


g[?25l"Xxx1"3 lines, 31 characters

E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out           " Append contents of this file
[?25l"test.out" 3 lines, 31 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! BufWritePre
[?25lstart of Xxx1test

end of Xxx[?25h[?25l:[?2004h[?25hfunc CloseAll()
[?25l

:[?2004h  [?25h  let i = 0


[?25l:[?2004h  [?25h  while i <= bufnr('$')


[?25l:[?2004h    [?25h    if i != bufnr('%') && bufloaded(i)


[?25l:[?2004h      [?25h      exe  i . "bunload"


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let i += 1


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfunc WriteToOut()
[?25l

:[?2004h  [?25h  edit! test.out


[?25l:[?2004h  [?25h  $put ='VimLeave done'


[?25l:[?2004h  [?25h  write


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               [?25h[?25l:[?2004h[?25hset viminfo='100,nviminfo
[?25l[?25h[?25l:[?2004h[?25hau BufUnload * call CloseAll()
[?25l[?25h[?25l:[?2004h[?25hau VimLeave * call WriteToOut()
[?25l[?25h[?25l:[?2004h[?25he small.vim
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"small.vim" 1 line, 1 character


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp mbyte.vim
[?25l"mbyte.vim" 0 lines, 0 characters~                                                                               ~                                                                               ~                                                                               mbyte.vim                                                                       small.vim                                                                       "mbyte.vim" 0 lines, 0 characters[?25h[?25l:[?2004h[?25hq
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"test.out" 6 lines, 62 characters[?2004l


"test.out" 7 lines, 76 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test8 = test61; then \
#	  if diff test.out test8.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test8.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test14.in" 100 lines, 1623 charactersTests 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

:set belloff=all

/Start cursor here

vaBiBD:?Bug?,/Piece/-2w! test.out

/^- Bug

:s/u/~u~/

:s/i/~u~/

:s/o/~~~/

:.w >>test.out

:if has("ebcdic")

: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>"

:else

: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"

:endif

:exe "normal " . tt

:unlet tt[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1158 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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 */{}}}[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25hStart cursor here
[?25l[?25h[?25l[?25h[?25l{ 

                        cmd;    /* <-- Start cursor here */ 

                        { 

                        } 

                [?25h[?25l                cmd; 

                }[?25h[?25l





6 fewer lines        }Piece of Java{        tt m1 {                t1;e1[?25h[?25l:[?2004h[?25h?Bug?,/Piece/-2w! test.out
[?25l"test.out" [New File] 3 lines, 44 characters written[?25h[?25l/[?2004h[?25h^- Bug
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/u/~u~/
[?25l[?25h[?25l:[?2004h[?25hs/i/~u~/
[?25luuun "vPPPP" on this text (Webb):
[?25h[?25l:[?2004h[?25hs/o/~~~/
[?25luuuuuuuuun this text (Webb):
[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 48 characters appended[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>


"

[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"


[?25l:[?2004h  [?25h:endif
[?25l:$put =@/

/^substitute

:keeppatterns s/asdf/xyz/

:$put =@/

/^substitute[?25h[?25l:[?2004h[?25hexe "normal " . tt
[?25l[?2004l[?2004hABC !a^Og^G8[?25h[?25l:[?2004h[?25hunlet tt
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset vb
[?25l[?25h[?25l/[?2004h[?25h^Piece
[?25l[?25h[?2004l[?2004h[?25l{A[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25ltt m2 {[?25h[?2004l[?2004h[?25l{B[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25lt2;} e2tt m3 {[?25h[?2004l[?2004h[?25l{C[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?2004l[?2004h[?25l{DC[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{EA[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{F[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}G e1[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h

[?25lif (x){t3;}} e3[?25h[?2004l[?2004h[?25l}H e3[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?25l

}[?25h[?2004l[?2004h[?25l}I[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}JH e3[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?25h[?2004l[?2004h[?25l}K e2[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?2004l[?2004h[?25l{LF[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^foobar
[?25lfoobar[?25h[?25l

:[?2004h[?25hlet startline = line('.')
[?25l[?25h[?25l:[?2004h[?25hcall search('foobar', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l

[?25h[?25l

:[?2004h[?25hcall search('^$', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l:[?2004h[?25hcall search('^$', 'bc')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l/[?2004h[?25htwo
[?25lsubstitute foo asdf



one two[?25h[?25l

:[?2004h[?25hcall search('.', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), getline('.')[col('.') - 1:])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/foo/bar/
[?25lbar
[?25h[?25l:[?2004h[?25h$put =@/
[?25lsearch()

0

1

1

two

foo[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hkeeppatterns s/asdf/xyz/
[?25lxyz[?25h[?25l:[?2004h[?25h$put =@/
[?25l

^substitute[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l

/[?2004h[?25hbar /e
[?25l[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l



:[?2004h[?25hkeeppatterns /xyz
[?25l[?25h[?25l

/bar /exyz[?25h[?25l:[?2004h[?25h/^search()/,$w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 9 lines, 58 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test14 = test61; then \
#	  if diff test.out test14.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test14.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test15.in" 136 lines, 2246 charactersTests 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

:set nocp viminfo+=nviminfo

:" 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 401 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset tw=65
[?25l[?25h[?25l

test for :left[?25h[?25l

:[?2004h[?25h/^\s*test for :left/,/^\s*test for :center/ left
[?25lsearch hit BOTTOM, continuing at TOPtest for :left[?25h[?25l:[?2004h[?25h/^\s*test for :center/,/^\s*test for :right/ center
[?25l[?25h[?25l:[?2004h[?25h/^\s*test for :right/,/^xxx/-1 right
[?25l[?25h[?25l:[?2004h[?25hset fo+=tcroql tw=72
[?25l[?25h[?25l/[?2004h[?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[?25h
[?25l

 xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xxxx xxxxxxx.

xxxx xxxx.xxxxxxx: xxxx xxxxxxx, xx xxxx xxxxxxx~                                                                               [?25h

[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h undo/redo here to make the next undo only work on the following changes
[?25l[?25h[?25l1 more line; before #1  0 seconds ago0gq6kk

:set nocp viminfo+=nviminfo

:" 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 :centeraafaafd asdf[?25h[?25l1 line less; after #1  0 seconds agotest for :lefta      afa    adfa      asdfaaasdfa           axasdfaa                test for :center  aa  fa        afd asdf[?25h

[?25l:[?2004h[?25hmap gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
[?25l[?25h[?25l/[?2004h[?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[?25h[?25l





:[?2004h.,.+2s/^/x/
3 substitutions on 3 linesxaa aa aa aa

xbb bb bb bb

xcc cc cc cc
[?25h[?25l:[?2004hset tw=3
[?25h[?25l





3 more lines

aaaaaa3 more lines[?25h[?25l

3 fewer lines; before #2  0 seconds agoaa aa aa aa

bb bb bb bb

cc cc cc cc

~                                                                               [?25h

[?25l:[?2004h[?25h?test for :left?,$w! test.out
[?25l"test.out"[New] 111L, 2304C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test15 = test61; then \
#	  if diff test.out test15.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test15.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test19.in" 33 lines, 692 charactersTests 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![?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 447 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset smarttab expandtab ts=8 sw=4
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25lSTARTTEST

: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

[?25h[?25l

/[?2004h[?25hsome
[?25lstart textsome test text[?25h[?2004l[?2004h[?25l    ome test text[?25h[?25l

:[?2004h[?25hset noexpandtab
[?25l[?25h[?25l/[?2004h[?25hother
[?25ltest textother test text[?25h[?2004l[?2004h[?25l    ther test text[?25h[?25l

a cde[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs and then backspacing to undo it
[?25l[?25h
    [?2004l[?2004h[?25l[?25h[?25l

f ghi[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs
[?25l[?25h
    [?2004l[?2004h[?25l     hi[?25h[?25l

test text[?25h[?25l

:[?2004h[?25h" Test that copyindent works with expandtab set
[?25l[?25h[?25l:[?2004h[?25hset expandtab smartindent copyindent ts=8 sw=8 sts=8
[?25l[?25h[?2004l[?2004h[?25l{x[?25h[?25l

:[?2004h[?25hset nosol
[?25l[?25h[?25l/[?2004h[?25hSecond line/
[?25l

Second line beginning with whitespace[?25h[?25l
  with whitespace[?25h[?25l

:[?2004h[?25h?^start?,$w! test.out
[?25l"test.out" [New File] 10 lines, 121 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test19 = test61; then \
#	  if diff test.out test19.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test19.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test20.failed test.ok test.out X* viminfo
cp test20.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test20.in" 28 lines, 398 charactersTests Blockwise Visual when there are TABs before the text.

First test for undo working properly when executing commands from a register.

Also test this in an empty buffer.



STARTTEST

:so tiny.vim

G0"ay$k@au

:new

@auY:quit!

GP

/start here$

"by$^Vjjlld

/456$

^Vjj"bP

:/56$/,$-1w! test.out

:qa!

ENDTEST



123456

234567

345678



test text test tex start here[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests Blockwise Visual when there are TABs before the text.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 107 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso tiny.vim
[?25l[?25h[?25lsome texttest text

test text



Ox^[jAy^[kdd[?25h[?2004l[?2004h[?25lx[?25h

[?2004l[?2004h[?25ly[?25h[?25ly

Ox^[jAy^[kdd[?25h[?25l



2 changes; before #1  0 seconds ago[?25h

[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       123456

234567

345678test text test tex start here

                some texttest

test textOx^[jAy^[kdd

test20.in                                                                       [?25h[?2004l[?2004h[?25lx[+][?25h

[?2004l[?2004h[?25ly[?25h[?25l

~                                                                               [?25h[?25l1 line less; before #1  0 seconds ago    [?25h[?25l:[?2004h[?25hquit!
[?25l:so tiny.vim

G0"ay$k@au:new@auY:quit!GP/start here$"by$^Vjjlld/456$^Vjj"bP:/56$/,$-1w! test.out:qa!ENDTEST123456

234567

345678test text test tex start heresome

         test text

test textOx^[jAy^[kdd[?25h[?25l[?25h[?25l

Ox^[jAy^[kdd[?25h[?25l

/[?2004h[?25hstart here$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25ls[?25h[?25le[?25h[?25lt t[?25h[?25lat [?25h[?25lrt hereextex[?25h[?25l/[?2004h[?25h456$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25l4

234[?25h[?25l5

345[?25h[?25l[?25h[?25lstart here56

234start here67

345start here78[?25h[?25l:[?2004h[?25h/56$/,$-1w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 10 lines, 106 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test20 = test61; then \
#	  if diff test.out test20.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test20.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test28.failed test.ok test.out X* viminfo
cp test28.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test28.in" 23 lines, 364 charactersTest for sourcing a file with CTRL-V's at the end of the line



STARTTEST

:/firstline/+1,/lastline/-1w! Xtestfile

:so Xtestfile

Gmm__1^[^[__2^[__3^[^[__4^[__5^[:'m,$s/^@/0/g

:'m,$w! test.out

:qa!

ENDTEST



firstline

map __1 afirst

map __2 asecond

map __3 athird

map __4 afourth

map __5 afifth

map __1 asd^V

map __2 asd^V^V

map __3 asd^V^V

map __4 asd^V^V^V

map __5 asd^V^V^V

lastline[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 sourcing a file with CTRL-V's at the end of the line[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 114 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h/firstline/+1,/lastline/-1w! Xtestfile
[?25l"Xtestfile" [New File] 10 lines, 148 characters written[?25h[?25l:[?2004h[?25hso Xtestfile
[?25l[?25h[?2004l[?2004h[?25l

sd

map __2 asd^[[?25h[?2004l[?2004h[?25lsecond[?25h[?2004ld  [?2004h[?25lsd^[[?25h[?2004l^[  [?2004h[?25lsd^@map __5 asd^@[?25h[?2004l[?2004h[?25lfifth[?25h[?25l

:[?2004h[?25h'm,$s/^@/0/g
[?25l0map __5 asd0fifth[?25h[?25l:[?2004h[?25h'm,$w! test.out
[?25l"test.out" [New File] 2 lines, 45 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test28 = test61; then \
#	  if diff test.out test28.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test28.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test29.in" 231 lines, 4278 charactersTest 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 nocompatible viminfo+=nviminfo

: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 cpoptions-=j nojoinspaces compatible

j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2

ENDTEST



firstline

asdfasdf.

asdf[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 478 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het nojoinspaces
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j
[?25l[?25h[?25l/[?2004h[?25hfirstline/
[?25l[?25h

[?25l/[?2004h[?25h^STARTTEST/-1
[?25l+-1
37 fewer linesSTARTTEST

/^{/+1[?25h[?25lmore linesasdfasdf.

asdf[?25h[?25lasdf

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop!

ert[?25h
hjkl i[?25l. as dfg? hjkl iop! ert

zx cvn.

as dfg?hjkl iop![?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv
hjkl i[?25l. as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop![?25h
hjkl i[?25l.  as dfg?  hjkl iop!  ert

zx cvn.

as dfg?[?25h  er[?25lt  e[?25h
zx cv[?25len[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv[?25l

hjkl iop![?25h
hjkl i[?25l.  as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions-=j nojoinspaces compatible
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h[?25l.  as dfg? hjkl iop! ert[?25h[?25lt  a[?25h[?25l

zx cvn.[?25h[?25l

/[?2004h[?25hSTARTTEST/-2
[?25l+-2
4 fewer lines[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 12 lines, 147 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset comments=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset nojoinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();
[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:" Test with backspace set to the non-compatible setting
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 18 lines, 364 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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 backspace= visualbell

A vim5^[A^U^U^[

A vim6^[Azwei^Gu^U^[

:inoremap <c-u> <left><c-u>

A vim7^U^U^[

:set compatible novisualbell

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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" Test with backspace set to the non-compatible setting
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25h^\d\+ this
[?25l[?25h[?25l:[?2004h[?25hset cp bs=2
[?25l[?25h[?2004l[?2004h[?25l[?25h[?2004ld    [?25lvim2[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hset cpo-=<
[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25ld3[?25h[?25l:[?2004h[?25hiunmap <c-u>
[?25l[?25h[?2004l[?2004h[?25l[?25h

[?25l:[?2004h[?25h" Test with backspace set to the compatible setting
[?25l[?25h[?25l:[?2004h[?25hset backspace= visualbell
[?25l[?25h[?2004l[?2004h[?25lvim5[?25h[?2004l[?2004h[?2004l[?2004h[?25ld vim6[?25h[?2004l6    [?25lzwei[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25lvim7[?25h

[?25l:[?2004h[?25hset compatible novisualbell
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 21 lines, 356 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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.

 */[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset comments=sO:*\ -,mO:*\ \ ,exO:*/
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:>#,mb:#,ex:#<,:<
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed.  *//* List:

 * - item1

 *   foo bar baz[?25h

[?25l/* Make sure the previous comment leader is not removed.  */*   foo bar baz

 * - item2

 *   foo bar baz[?25h

[?25l:[?2004h[?25h.,+8join
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz *//* List:- item1  foo bar baz

 * - item2[?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?[?25h

[?25l:[?2004h[?25h.,+2join
[?25lShould the next comment leader be left alone?  Yes.





// Yes.[?25h

[?25l// Should the next comment leader be left alone?  Yes.* Here the comment leader should be left intact. */

// And so should this one.[?25h

[?25l





:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.* Here the comment leader should be left intact. */[?25h

[?25l/* Here the comment leader should be left intact. */ // And so should this one.[?25h

[?25l:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;[?25h[?25l

[?25h[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;
[?25h[?25l

[?25h[?25l

:[?2004h[?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.[?25h[?25l

[?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.[?25h[?25l

[?25h[?2004l[?2004h[?25lSome code!

// Make sure backspacing does not remove this comment leader.[?25h
[?2004l[?2004h[?25l// Make sure backspacing does not remove this comment leader.

}[?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 61 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:?firstline?+1,$w! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l75 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.

}[?25h[?25l:[?2004h[?25h?firstline?+1,$w! test.out
[?25l"test.out" [New File] 97 lines, 3018 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test29 = test61; then \
#	  if diff test.out test29.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test29.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test31.in" 95 lines, 1832 charactersTest for commands that close windows and/or buffers:

:quit

:close

:hide

:only

:sall

:all

:ball

:buf

:edit



STARTTEST

:so small.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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 80 lines, 1697 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" test ":q!" and hidden buffer.

:bw! Xtest1 Xtest2 Xtest3 Xtest4

:sp Xtest1

:wincmd w

:bw!

:set modified

:bot sp Xtest2

:set modified

:bot sp Xtest3

:set modified

:wincmd t

:hide

:q!

:w >>test.out

:q!

:w >>test.out

:q!

:call append(line('$'), "Oh, Not finished yet.")

:w >>test.out

:qa!

ENDTEST



testtext[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h

[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h$w! Xtest1
[?25l"Xtest1" [New File] 1 line, 11 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h$w! Xtest2
[?25l"Xtest2" [New File] 1 line, 11 characters written[?25h[?25l3[?25h[?25l:[?2004h[?25h$w! Xtest3
[?25l"Xtest3" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hn! Xtest1 Xtest2
[?25l"Xtest1" 1 line, 11 characterstesttext 1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" test for working :n when hidden set; write "testtext 2"
[?25l[?25h[?25l:[?2004h[?25hn
[?25l"Xtest2" 1 line, 11 characters2[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25h" test for failing :rew when hidden not set; write "testtext 2 2"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hrew
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for working :rew when hidden set; write "testtext 1 1"
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hrew
[?25l"Xtest1" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)1 1
[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for :all keeping a buffer when it's modified; write "testtext 1 1 1"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hsp
[?25lXtest1 [+]                                                                      testtext 1 1 1Xtest1 [+]                                                                      [?25h[?25l:[?2004h[?25hn Xtest2 Xtest3
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)2 22 [?25h[?25l:[?2004h[?25hall
[?25l"Xtest3" 1 line, 11 characterstesttext 1 1 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25h1wincmd w
[?25lXtest1 [+]                                                                      Xtest2 [+]                                                                       [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test abandoning changed buffer, should be unloaded even when 'hidden' set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 2 2" twice
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?2004l[?2004h[?25l1 1[?25h[?25l:[?2004h[?25hq!
[?25ltesttext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25hunhide
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":hide" hides anyway when 'hidden' not set; write "testtext 3"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hhide
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" failing in modified buffer when 'hidden' not set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3"
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25he Xtest1
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" working in modified buffer when 'hidden' set; write "testtext 1


"[?25ltesttext 3 3[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 1 line, 11 characters1[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":close" not hiding when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3 3"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest3
[?25l"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)3 3Xtest3 [+]                                                                      testtext 1Xtest1                                                                          [?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test ":close!" does hide when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 1"
[?25l[?25h[?2004l[?2004h[?25l3 3[?25h[?25l:[?2004h[?25hclose!
[?25l1~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?25l:[?2004h[?25h" test ":all!" hides changed buffer; write "testtext 2 2 2"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest4
[?25l"Xtest4" [New File]Xtest4                                                                          testtext 1Xtest1                                                                          [?25h[?2004l[?2004h[?25l 4[+][?25h[?25l:[?2004h[?25hall!
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)


"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h1wincmd w
[?25ltesttext 2 2 2

~                                                                               Xtest2 [+]                                                                      testtext 3 3 3 3~                                                                               3 [+][?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test ":q!" and hidden buffer.
[?25l[?25h[?25l:[?2004h[?25hbw! Xtest1 Xtest2 Xtest3 Xtest4
[?25l"test31.in"95 lines, 1832 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp Xtest1
[?25l"Xtest1" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               Xtest1                                                                          :w >>test.out:q!:w >>test.out:q!:call append(line('$'), "Oh, Not finished yet."):w >>test.out:qa!ENDTESTtesttexttest31.in "Xtest1" 1 line, 11 characters[?25h[?25l:[?2004h[?25hwincmd w
[?25lXtest1                                                                           test31.in                                                                       [?25h[?25l:[?2004h[?25hbw!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset modified
[?25l[?25h[?25l:[?2004h[?25hbot sp Xtest2
[?25l"Xtest2" 1 line, 11 charactersXtest1 [+]                                                                      testtext 2Xtest2                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hbot sp Xtest3
[?25l"Xtest3" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hwincmd t
[?25lXtest1 [+]                                                                      Xtest3 [+]                                                                       [?25h[?25l:[?2004h[?25hhide
[?25ltesttext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3 [+]                                                                      [?25h[?25l:[?2004h[?25hq!
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hq!
[?25lE37: No write since last change


E162: No write since last change for buffer "Xtest1"[?2004h


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test31 = test61; then \
#	  if diff test.out test31.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test31.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test33.failed test.ok test.out X* viminfo
cp test33.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test33.in" 34 lines, 616 charactersTest for 'lisp'

If the lisp feature is not enabled, this will fail!



STARTTEST

:so small.vim

:set lisp

/^(defun

=G:/^(defun/,$w! test.out

:q!

ENDTEST



(defun html-file (base)

(format nil "~(~A~).html" base))



(defmacro page (name title &rest body)

(let ((ti (gensym)))

`(with-open-file (*standard-output*

(html-file ,name)

:direction :output

:if-exists :supersede)

(let ((,ti ,title))

(as title ,ti)

(with center[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'lisp'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 63 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset lisp
[?25l[?25h[?25l/[?2004h[?25h^(defun
[?25l[?25h[?25l22 lines to indent...
23indented   (format nil "~(~A~).html" base))





  (let ((ti (gensym)))

       `(with-open-file (*standard-output*

                 (html-file ,name)

                  :direction :output

                         :if-exists :supersede)

                        (let ((,ti ,title))

              (as title ,ti)

            (with center[?25h[?25l:[?2004h[?25h/^(defun/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 23 lines, 544 characters written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test33 = test61; then \
#	  if diff test.out test33.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test33.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test34.in" 87 lines, 1833 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1621 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction Table(title, ...)
[?25l

:[?2004h  [?25h:  let ret = a:title


[?25l:[?2004h  [?25h:  let idx = 1


[?25l:[?2004h  [?25h:  while idx <= a:0


[?25l:[?2004h    [?25h:    exe "let ret = ret . a:" . idx


[?25l:[?2004h    [?25h:    let idx = idx + 1


[?25l:[?2004h    [?25h:  endwhile


[?25l:[?2004h  [?25h:  return ret


[?25l:[?2004h  [?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[?25h[?25l



:[?2004h[?25hfunction Compute(n1, n2, divname)
[?25l

:[?2004h  [?25h:  if a:n2 == 0


[?25l:[?2004h    [?25h:    return "fail"


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  exe "let g:" . a:divname . " = ". a:n1 / a:n2


[?25l:[?2004h  [?25h:  return "ok"


[?25l:[?2004h  [?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))[?25h[?25l



:[?2004h[?25hfunc Expr1()
[?25l

:[?2004h  [?25h:  normal! v


[?25l:[?2004h  [?25h:  return "111"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc Expr2()
[?25l

:[?2004h  [?25h:  call search('XX', 'b')


[?25l:[?2004h  [?25h:  return "222"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListItem()
[?25l

:[?2004h  [?25h:  let g:counter += 1


[?25l:[?2004h  [?25h:  return g:counter . '. '


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListReset()
[?25l

:[?2004h  [?25h:  let g:counter = 0


[?25l:[?2004h  [?25h:  return ''


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc FuncWithRef(a)
[?25l

:[?2004h  [?25h:  unlet g:FuncRef


[?25l:[?2004h  [?25h:  return a:a


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hlet g:FuncRef=function("FuncWithRef")
[?25l[?25h[?25l:[?2004h[?25hlet counter = 0
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> ( ListItem()
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> [ ListReset()
[?25l[?25h[?25l:[?2004h[?25himap <expr> + Expr1()
[?25l[?25h[?25l:[?2004h[?25himap <expr> * Expr2()
[?25l[?25h[?25l:[?2004h[?25hlet retval = "nop"
[?25l[?25h[?25l/[?2004h[?25h^here
[?25l[?25h[?25lher$[?2004l=[?2004h[?25hTable("xxx", 4, "asdf")
[?25l=[?2004h[?25hCompute(45, 0, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hCompute(45, 5, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hg:FuncRef(333)


[?25lError detected while processing function Expr1:


line    1:


E523: Not allowed here


Press ENTER or type command to continue[?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[?25h[?2004h[?25l1. one again[?25h[?25l

:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25hcall extend(g:, {'max': function('min')})
[?25lE704: Funcref variable name must start with a capital: max[?25h[?25l:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:    " Regression: the first line below used to throw ?E110: Missing ')'?


[?25l:[?2004h  [?25h:    " Second is here just to prove that this line is correct when not skipp


ing


[?25l:[?2004h  [?25h:    " rhs of &&.


[?25l:[?2004h  [?25h:    $put =(0&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:    $put =(1&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:    $put ='!!! Unexpected exception:'


[?25l:[?2004h  [?25h:    $put =v:exception


[?25l:[?2004h  [?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[?25h[?25l

:[?2004h[?25h$-9,$w! test.out
[?25l"test.out" [New File] 10 lines, 81 characters written[?25h[?25l:[?2004h[?25hdelfunc Table
[?25l[?25h[?25l:[?2004h[?25hdelfunc Compute
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr1
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr2
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListItem
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListReset
[?25l[?25h[?25l:[?2004h[?25hunlet retval counter
[?25l[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test34 = test61; then \
#	  if diff test.out test34.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test34.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test36.in" 114 lines, 2136 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 107 lines, 1961 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTp: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\%210l^\t...//g

p:s/\%#=1\%211l^\t...//g

p:s/\%#=2\%212l^\t...//g

p:s/\%#=0[0-z]//g

p:s/\%#=1[0-z]//g

p:s/\%#=2[0-z]//g

p:s/\%#=0[^0-z]//g

p:s/\%#=1[^0-z]//g

p:s/\%#=2[^0-z]//g

:/^start-here/+1,$wq! test.out

ENDTEST




[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^start-here/+1
[?25l[?25h[?25l:[?2004h[?25hs/\%#=0\d//g



:[?2004h[?25hs/\%#=1\d//g



:[?2004h[?25hs/\%#=2\d//g



:[?2004h[?25hs/\%#=0[0-9]//g



:[?2004h[?25hs/\%#=1[0-9]//g



:[?2004h[?25hs/\%#=2[0-9]//g



:[?2004h[?25hs/\%#=0\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\o//g



:[?2004h[?25hs/\%#=1\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l

[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\x//g




:[?2004h[?25hs/\%#=1\x//g




:[?2004h[?25hs/\%#=2\x//g




:[?2004h[?25hs/\%#=0[0-9A-Fa-f]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-9A-Fa-f]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\w//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\w//g





:[?2004h[?25hs/\%#=1[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=2[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=0\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\h//g




:[?2004h[?25hs/\%#=1\h//g




:[?2004h[?25hs/\%#=2\h//g




:[?2004h[?25hs/\%#=0[A-Za-z_]//g




:[?2004h[?25hs/\%#=1[A-Za-z_]//g




:[?2004h[?25hs/\%#=2[A-Za-z_]//g




:[?2004h[?25hs/\%#=0\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\a//g




:[?2004h[?25hs/\%#=1\a//g




:[?2004h[?25hs/\%#=2\a//g




:[?2004h[?25hs/\%#=0[A-Za-z]//g




:[?2004h[?25hs/\%#=1[A-Za-z]//g




:[?2004h[?25hs/\%#=2[A-Za-z]//g




:[?2004h[?25hs/\%#=0\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\l//g



:[?2004h[?25hs/\%#=1\l//g



:[?2004h[?25hs/\%#=2\l//g



:[?2004h[?25hs/\%#=0[a-z]//g



:[?2004h[?25hs/\%#=1[a-z]//g



:[?2004h[?25hs/\%#=2[a-z]//g



:[?2004h[?25hs/\%#=0\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\u//g



:[?2004h[?25hs/\%#=1\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l

[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\%210l^\t...//g



:[?2004h[?25hs/\%#=1\%211l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\%212l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-z]//g
[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l

[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l:[?2004h[?25h/^start-here/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 105 lines, 4521 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test36 = test61; then \
#	  if diff test.out test36.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test36.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test37.in" 116 lines, 3262 charactersTest 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 --[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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![?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 72 lines, 1498 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTHk^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

. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25hset scrollopt=ver,jump
[?25l[?25h[?25l:[?2004h[?25hset scrolloff=2
[?25l[?25h[?25l:[?2004h[?25hset nowrap
[?25l[?25h[?25l:[?2004h[?25hset noequalalways
[?25l[?25h[?25l:[?2004h[?25hset splitbelow
[?25l[?25h[?25l:[?2004h[?25h" TEST using two windows open to one buffer, one extra empty window
[?25l[?25h[?25l:[?2004h[?25hsplit
[?25l^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

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02test37.in                                                                       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 11122

test37.in                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l:w! test.out             " Write contents of this file

:qa!ENDTESTtest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 8
[?25l:" ***** done with tests *****w! test.out             " Write contents of this file

:qa!ENDTESTstart of window 1

. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01

test37.in                                                                       :" ***** done with tests *****:w! test.out             " Write contents of this fileqa!ENDTESTstart of window 1[?25h[?25l/[?2004h[?25h^start of window 1$/
[?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 7
[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lend of window 1start of window 2

. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03[?25h[?25l

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25htest37.in                                                                        [No Name]                                                                       [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[+][?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l2[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        test37.in                                                                       test37.in                                                                       test37.in                                                                        test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       test37.in                                                                        test37.in                                                                        test37.in                                                                       test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0656789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415UTSRQPONMLKJIHGREDCBA9876543210 09101112131415[?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[?25h[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" ****** tests using two different buffers *****
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hclose
[?25lstart of window 20000000000[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25h/^start of window 2$/,/^end of window 2$/y
[?25l18 lines yanked[?25h[?25l:[?2004h[?25hnew
[?25ltest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        test37.in                                                                        [No Name]                                                                       [?25l4 more lines[+][?25h





[?25l18 more linesstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l/[?2004h[?25h^start of window 1$/
[?25lsearch hit BOTTOM, continuing at TOPENDTESTstart of window 1010102020303[?25h[?25l

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
[?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
[?25h[?25l2[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11

46 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

56 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06UTSRQPONMLKJIHGREDCBA9876543210 07[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415



UTSRQPONMLKJIHGREDCBA9876543210 0910111213141516[?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[?25h[?25l[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" TEST syncbind
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 201010202[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25h[?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25h[?25l



:[?2004h[?25h[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

^Wj:
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" ***** done with tests *****
[?25l[?25h[?25l:[?2004h[?25hw! test.out             " Write contents of this file
[?25l"test.out" [New File] 33 lines, 1329 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test37 = test61; then \
#	  if diff test.out test37.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test37.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test38.in" 35 lines, 455 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 29 lines, 407 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTopq 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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25l^[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

[?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

^Duvwxyz[?25h[?25l

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25l

abcdefghijk      lmn    opq rstuvwxyz[?25h[?25l:[?2004h[?25hset ai
[?25l[?25h[?25l:[?2004h[?25hset bs=2
[?25l[?25h[?2004l[?2004h[?25l 1

 A BCDEFGHIJ    KL        MNOPQR[?25h[?25l:[?2004h[?25hka
[?25l[?25h[?2004l[?2004h[?25labcdefghijk      lmn    opq rstuvwxyz[?25h

[?2004l[?2004h[?25l 1[?25h[?25l:[?2004h[?25h$
[?25l[?25h[?2004l[?2004h[?25lab      cdefghi jkl[?25h
[?2004l[?2004h[?25lAB......CDEFGHI.J[?25h[?2004l[?2004h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?2004l[?2004h[?25labcdefghijklmnopqrst[?25h
[?2004l[?2004h[?25lAB      IJKLMNO QR[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 13 lines, 107 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test38 = test61; then \
#	  if diff test.out test38.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test38.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test39.in" 118 lines, 2435 charactersTest Visual block mode commands

And test "U" in Visual mode, also on German sharp S.



#define BO_ALL      0x0001

#define BO_BS0x0002

#define BO_CRSR     0x0004



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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 2061 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" This only works when 'encoding' is "latin1", don't depend on the environment
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h[?25l/[?2004h[?25h^abcde
[?25lbbbb

cccc

dddd



yaaa


bbb



A23

4567



B23

4567



C23

4567



abcdefghijklm[?25h[?25l

:[?2004h[?25h" Test shift-right of a block
[?25l[?25h[?25l

abcdefghijklm[?25habcd[?25l[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

3 lines >ed 1 time        efghijklm

abcd        efghijklm

abcd        efghijklm[?25h     ef[?25l[?25h[?25lg[?25h[?25lhg[?25h[?25lih[?25h[?25lji[?25h[?25l        ghijklm        ghijklm[?25h[?25l:[?2004h[?25h" Test shift-left of a block
[?25l[?25h[?25l

abcdefghijklm[?25h[?25l[?25h[?25li[?25h[?25l [?25h[?25l





3 lines <ed 1 timeef    efghijklmi[?25h[?25l:[?2004h[?25h" Test block-insert
[?25l[?25h

a[?25l[?25h[?25lb[?25h[?25lb[?25h[?25lb[?25h[?25l

ab

ab

ab[?2004l[?2004hxyzbcdefghijklm

axyzbcd

axyzbcd

axyzbcd[?25h

a[?25l:[?2004h[?25h" Test block-replace
[?25l[?25h





abcd[?25l[?25h[?25le[?25h[?25lb[?25h[?25lb[?25h[?25lbccf[?25h[?25lcddg[?25h[?25ld  h[?25h[?25lqqqq

axyzqqqq

axyzqqqq

abcdqqqq[?25h

axyz[?25l:[?2004h[?25h" Test block-change
[?25l[?25h



[?25l[?25h[?25lj[?25h[?25li[?25h[?25l     ghijkl[?25h[?25lef  gkl[?25h[?2004l[?2004h[?25lmnomnomno[?25h[?25l:[?2004h[?25h$-4,$w! test.out
[?25l"test.out" [New File] 5 lines, 108 characters written[?25h[?25l:[?2004h[?25h" Test block-insert using cursor keys for movement
[?25l[?25h[?25l/[?2004h[?25h^aaaa/
[?25lsearch hit BOTTOM, continuing at TOPaaaaaa

bbbbbb

cccccc

ddddddsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>jjjlllI\<Right>\<Right>  \<Esc>"
[?25l[?2004l[?2004h  aaa

bbb  bbb

ccc  ccc

ddd  ddd[?25h[?25l:[?2004h[?25h/^aa/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 37 characters appended[?25h[?25l/[?2004h[?25hxaaa$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! \<C-V>jjjI<>\<Left>p\<Esc>"
[?25l[?2004l[?2004h<p>xaaa

<p>bbbb

<p>cccc

<p>dddd[?25h[?25l:[?2004h[?25h/xaaa$/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 33 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the last <C-v>$
[?25l[?25h[?25l/[?2004h[?25h^A23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$Aab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (1)
[?25l[?25h[?25l/[?2004h[?25h^B23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hAab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 15 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (2)
[?25l[?25h[?25l/[?2004h[?25h^C23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hhAab\<Esc>"
[?25l[?2004l[?2004hab

456ab7[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block insert when virtualedit=all and utf-8 encoding
[?25l[?25h[?25l:[?2004h[?25hset ve=all enc=utf-8
[?25laaa  aaa

bbb  bbb

ccc  ccc

ddd  ddd



<p>xaaa

<p>bbbb

<p>cccc

<p>dddd



yaaa

<bf><bf><bf>

bbb



A23ab

4567ab



B23 ab

4567ab



C23ab

456ab7[?25h[?25l





:[?2004h[?25h/\t\tline
[?25lsearch hit BOTTOM, continuing at TOPline1line2line3search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! 07l\<C-V>jjIx\<Esc>"
[?25l[?2004l[?2004hxxx[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 4 lines, 49 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block append when virtualedit=all
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 012l\<C-v>jjAx\<Esc>"
[?25l[?2004l[?2004hx   line1x   line2x   line3[?25h[?25l:[?2004h[?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



yaaa


bbb



A23ab

4567ab



B23 ab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l[?25h[?25lC23ab

456ab7



axyzbcdefghijklm

axyzqqqq   mnoghijklm

axyzqqqqef mnoghijklm

axyzqqqqefgmnoklm

abcdqqqqijklm[?25h[?2004l[?2004h[?25l


[?25hthe [?25lYOUTUSSEUU end
the [?25h

the [?25l

:[?2004h[?25h" gUfx must uppercase until x, inclusive.
[?25l[?25h[?2004l[?2004h[?25l
- y[?25lOUSSTUSSEXu -
- y[?25h[?25l


:[?2004h[?25h" VU must uppercase a whole line
[?25l[?25h[?25l

[?25h[?25lTHE YOUTUSSEUU END
[?25h

[?25l

:[?2004h[?25h" same, when it's the last line in the buffer
[?25l[?25h[?25l[?25h[?25l

11[?25h[?25l
11[?25h[?25l
111THE YOUTUSSEUU END
[?25h[?25l~                                                                               [?25h[?25l111THE YOUTUSSEUU END


[?25l

:[?2004h[?25h" Uppercase two lines
[?25l[?25h[?2004l[?2004h[?25l

blah didoh dut[?25h[?25l
doh dut [?25h[?25lblah di t[?25h[?25l
BLAH DIDOH DUT[?25h[?25l


:[?2004h[?25h" Uppercase part of two lines
[?25l[?25h[?25l
~                                                                               [?25h[?25l


33[?25h

333the yo[?25h[?25lut[?25h[?25lUTUSSEUU END

333THE YOUTU[?25h[?25l



:[?2004h[?25h" visual replace using Enter or NL
[?25l[?25h

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^M65

98^M65

98^M65[?25h

98

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^@65

98^@65

98^@65[?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test cursor position. When ve=block and Visual block mode and $gj
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 2k\<C-V>$gj\<Esc>"
[?25l[?25h[?25l:[?2004h[?25hlet cpos=getpos("'>")
[?25l[?25h[?25l:[?2004h[?25h$put ='col:'.cpos[2].' off:'.cpos[3]
[?25l

col:4 off:0[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" block_insert when replacing spaces in front of the block with tabs
[?25l[?25h[?25l:[?2004h[?25hset ts=8 sts=4 sw=4
[?25l[?25h[?25l:[?2004h[?25h4,7y
[?25l4 lines yanked[?25h[?25l

4 more lines

4 more lines[?25h[?25l

#define BO_ALL      0x0001[?25h[?25l

:[?2004h[?25hexe ":norm! f0\<C-V>2jI\<tab>\<esc>"
[?25l[?2004l[?2004h    0x0001

#define BO_BS0x0002

#define BO_CRSR0x0004[?25h[?25l





:[?2004h[?25h/^the/,$w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 31 lines, 322 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test39 = test61; then \
#	  if diff test.out test39.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test39.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test40.in" 63 lines, 1536 charactersTest for "*Cmd" autocommands



STARTTEST

:so small.vim

:/^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

:" 6     end of Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1455 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^start/,$w! Xxx^I^I" write lines below to Xxx
[?25l"Xxx" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25hau BufReadCmd XtestA 0r Xxx|$del
[?25l[?25h[?25l:[?2004h[?25he XtestA^I^I^I" will read text of Xxd instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxx        test40end of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau BufWriteCmd XtestA call append(line("$"), "write")
[?25l[?25h[?25l:[?2004h[?25hw^I^I^I^I" will append a line to the file
[?25lwrite[?25h[?25l:[?2004h[?25hr XtestA^I^I^I" should not read anything
[?25lE484: Can't open file XtestA[?25h[?25l:[?2004h[?25h^I^I^I^I" now we have:
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileReadCmd XtestB '[r Xxx
[?25l[?25h[?25l:[?2004h[?25h2r XtestB^I^I^I" will read Xxx below line 2 instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxxtest40

end of Xxx[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileWriteCmd XtestC '[,']copy $
[?25l[?25h[?2004l[?2004h[?25ltest401[?25h[?25l:[?2004h[?25h4,5w XtestC^I^I^I" will copy lines 4 and 5 to the end
[?25l        test401end of Xxx[?25h[?25l:[?2004h[?25hr XtestC^I^I^I" should not read anything
[?25lE484: Can't open file XtestC[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hau FILEAppendCmd XtestD '[,']w! test.out
[?25l[?25h[?25l:[?2004h[?25hw >>XtestD^I^I^I" will write all lines to test.out
[?25l"test.out" [New File] 9 lines, 91 characters written[?25h[?25l:[?2004h[?25h$r XtestD^I^I^I" should not read anything
[?25lE484: Can't open file XtestD[?25h[?25l:[?2004h[?25h$w >>test.out^I^I^I" append "end of Xxx" to test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hau BufReadCmd XtestE 0r test.out|$del
[?25l[?25h[?25l:[?2004h[?25hsp XtestE^I^I^I" split window with test.out
[?25l"test.out" 10 lines, 102 charactersend of XxxXtestE                                                                          end of Xxxwrite        test401end of XxxXtestA                                                                          [?25h[?2004l[?2004h[?25lasdf[+][?25hXtestE [+]                                                                       XtestA                                                                          [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hau BufWriteCmd XtestE w! test.out
[?25l[?25h[?25l:[?2004h[?25hwall^I^I^I^I" will write other window to test.out
[?25l"test.out" 11 lines, 107 characters written   [?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iasdf
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 10^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 11^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test40 = test61; then \
#	  if diff test.out test40.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test40.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test41.failed test.ok test.out X* viminfo
cp test41.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test41.in" 24 lines, 421 charactersTest for writing and reading a file of over 100 Kbyte



1 line: "This is the start"

3001 lines: "This is the leader"

1 line: "This is the middle"

3001 lines: "This is the trailer"

1 line: "This is the end"



STARTTEST

:%d

aThis is the start

This is the leader

This is the middle

This is the trailer

This is the end^[kY3000p2GY3000p

:w! Xtest

:%d

:e! Xtest

:.w! test.out

3003G:.w >>test.out

6005G:.w >>test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 of over 100 Kbyte[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 196 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lThis is the start

This is the leaderThis is the middleThis is the trailerThis is the end[?25h[?25l3000 more linestrailer

This is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailer[?25h[?25lleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleader[?25h

[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 6005 lines, 117092 characters written[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25he! Xtest
[?25l"Xtest" 6005 lines, 117092 charactersThis is the start

This is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leader[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 18 characters written[?25h[?25lThis is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the middle

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 19 characters appended[?25h[?25lThis is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the end
[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 16 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test41 = test61; then \
#	  if diff test.out test41.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test41.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test42.in" 130 lines, 2368 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 111 lines, 2116 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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


utf-8

utf-8

utf-8-err

utf-8~@err

ucs-2


ucs-2le


[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25l: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

<fe><fe>latin-1

utf-8

<feff>utf-8

utf-8-err

<feff>utf-8<80>err

ucs-2

<fe><ff>^@u^@c^@s^@-^@2^@

ucs-2le

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l:[?2004h[?25hset fileencodings=ucs-bom,latin-1
[?25l[?25h[?25l:[?2004h[?25hset ff=unix ffs=unix           " This changes the file for DOS and MAC
[?25l[?25h[?25l:[?2004h[?25h" --- Write the test files
[?25l[?25h[?25l:[?2004h[?25h/^latin-1$/+1w! Xtest0
[?25l"Xtest0" [New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h/^utf-8$/+1w! Xtest1
[?25l"Xtest1" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h/^utf-8-err$/+1w! Xtest2
[?25l"Xtest2" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25h/^ucs-2$/+1w! Xtest3
[?25l"Xtest3" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25h/^ucs-2le$/+1w! Xtest4
[?25l"Xtest4" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h" Need to add a NUL byte after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest4                      " Ignore change from setting 'ff'
[?25l"Xtest4" 1 line, 17 characters<ff><fe>u^@c^@s^@-^@2^@l^@e^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

[?2004h[?25l^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest4" [Incomplete last line] 2 lines, 18 characters written[?25h[?25l:[?2004h[?25hset ffs& nobinary              " Allow default test42.in format
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25hset ff=unix                    " Format for files to write
[?25l[?25h[?25l:[?2004h[?25h/^ucs-4$/+1w! Xtest5
[?25l"Xtest5" [converted][New File] 1 line, 30 characters written[?25h[?25l:[?2004h[?25h/^ucs-4le$/+1w! Xtest6
[?25l"Xtest6" [converted][New File] 1 line, 35 characters written[?25h[?25l:[?2004h[?25h" Need to add three NUL bytes after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest6                      " ! for when setting 'ff' is a change
[?25l"Xtest6" 1 line, 33 characters<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

~   [?2004h[?25l
^@^@^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest6" [Incomplete last line] 2 lines, 36 characters written[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check that editing a latin-1 file doesn't see a BOM
[?25l[?25h[?25l:[?2004h[?25he! Xtest0
[?25l"Xtest0" [converted] 1 line, 12 charactersþþlatin-1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hredir! >test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lþþlatin-1

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 12 characters appended[?25h[?25l:[?2004h[?25hset bomb fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw! Xtest0x
[?25l"Xtest0x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8
[?25l[?25h[?25l:[?2004h[?25he! Xtest1
[?25l"Xtest1" 1 line, 9 charactersutf-8[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-8


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest1x
[?25l"Xtest1x" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8 with an error (will fall back to latin-1)
[?25l[?25h[?25l:[?2004h[?25he! Xtest2
[?25l"Xtest2" [converted] 1 line, 17 charactersutf-8<80>err
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8<80>err

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 17 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest2x
[?25l"Xtest2x" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2
[?25l[?25h[?25l:[?2004h[?25he! Xtest3
[?25l"Xtest3" [converted] 1 line, 8 charactersucs-2[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2
[?25l[?25h[?25l:[?2004h[?25hw! Xtest3x
[?25l"Xtest3x" [converted][New File] 1 line, 8 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2le
[?25l[?25h[?25l:[?2004h[?25he! Xtest4
[?25l"Xtest4" [converted] 1 line, 10 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest4x
[?25l"Xtest4x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4
[?25l[?25h[?25l:[?2004h[?25he! Xtest5
[?25l"Xtest5" [converted] 1 line, 10 characters4[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4
[?25l[?25h[?25l:[?2004h[?25hw! Xtest5x
[?25l"Xtest5x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4le
[?25l[?25h[?25l:[?2004h[?25he! Xtest6
[?25l"Xtest6" [converted] 1 line, 12 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest6x
[?25l"Xtest6x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check the files written with BOM
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 35 lines, 275 characters  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[?25h[?25l:[?2004h[?25h$r Xtest0x
[?25l"Xtest0x" 1 line, 10 charactersbomb

ucs-2lefileencoding=ucs-4

  bomb

ucs-4fileencoding=ucs-4le

  bomb

ucs-4le

<fe><fe>latin-1[?25h[?25l

:[?2004h[?25h$r Xtest1x
[?25l"Xtest1x" 1 line, 9 characters

<feff>utf-8[?25h[?25l

:[?2004h[?25h$r Xtest2x
[?25l"Xtest2x" 1 line, 17 characters

utf-8<80>err[?25h[?25l

:[?2004h[?25h$r Xtest3x
[?25l"Xtest3x" 1 line, 14 characters

<fe><ff>^@u^@c^@s^@-^@2^@[?25h[?25l

:[?2004h[?25h$r Xtest4x
[?25l"Xtest4x" [Incomplete last line] 2 lines, 18 characters

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l

:[?2004h[?25h$r Xtest5x
[?25l"Xtest5x" 1 line, 28 characters^@

^@^@<fe><ff>^@^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@[?25h[?25l

:[?2004h[?25h$r Xtest6x
[?25l"Xtest6x" [Incomplete last line] 2 lines, 36 characters

<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@[?25h[?25l

:[?2004h[?25hset nobin ff&               " Write the file in default format
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 44 lines, 409 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test42 = test61; then \
#	  if diff test.out test42.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test42.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test43.failed test.ok test.out X* viminfo
cp test43.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test43.in" 34 lines, 473 charactersTests for regexp with various magic settings.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

/^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:$

:set undolevels=100

dv?bar?

Yup:"

:?^1?,$w! test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various magic settings.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 268 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l/[?2004h[>c^[?25h1
[?25l

1 a aa abb abbccc[?25h[?25l

/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l

2 d dd dee deefff[?25h[?25l[?25h[?25l

:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l

3 g gg ghh ghhiii[?25h[?25l[?25h[?25l

/[?2004h[?25h\mj*k\{2}l\+/e
[?25l

4 j jj jkk jkklll[?25h[?25l[?25h[?25l

/[?2004h[?25h\vm*n{2}o+/e
[?25l

5 m mm mnn mnnooo[?25h[?25l[?25h[?25l

/[?2004h[?25h\V^aa$
[?25l

6 x ^aa$ x[?25h[?25laa$ x[?25h[?25l

:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l

7 (a)(b) abbaa[?25h[?25l[?25h[?25l

/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l

8 axx [ab]xx[?25h[?25lab]x[?25h[?25l

:[?2004h[?25h$
[?25l9 foobar[?25h[?25l

:[?2004h[?25hset undolevels=100
[?25l[?25h[?25l?[?2004h[?25hbar?
[?25l~                                                                               [?25h[?25l



1 more line; before #2  0 seconds agobar[?25h[?25l

9 foo
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 11L, 137C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test43 = test61; then \
#	  if diff test.out test43.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test43.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test44.in" 81 lines, 1492 charactersTests 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 nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

: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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1023 characters written[?25h[?25l:[?2004hset ff& cpo+=A



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l:[?2004h[?25h" c
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


:[?2004h[?25h" d
[?25l[?25h[?25l/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


:[?2004h[?25h" e
[?25l[?25h[?25l/[?2004h[?25h\%U12345678
[?25l


:[?2004h[?25h" f
[?25l[?25h[?25l/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


:[?2004h[?25h" g
[?25l[?25h[?25l/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" j Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       e y f z

g abb



test.out [+]                                                                    [?25h[?25l:[?2004h[?25h$put =['dog(a', 'cat(']
[?25ldog(acat([+][?25h[?25l/[?2004h[?25h(/e+
[?25l/(/e+1
[?25h[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hbd!
[?25l1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii


e y



[?25l

[?25h[?25la[?25h[?25l

cat(
[?25h[?25l

:[?2004h[?25hw!
[?25l"test.out" 25L, 271C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test44 = test61; then \
#	  if diff test.out test44.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test44.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test45.in" 92 lines, 1979 charactersTests for folding. vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:" 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("."))[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 1846 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:new

iTest fdm=indent and :move bug END

line2Test fdm=indent STARTline3line4^[

:set fdm=indent

:1m1

2jzc:m0

:%w >> test.out

:qa!

ENDTEST



1 aa

2 bb

3 cc

4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" We also need the +syntax feature here.
[?25l[?25h[?25l:[?2004h[?25hif !has("syntax")
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   w! test.out


[?25l:[?2004h  [?25h   qa!


[?25l:[?2004h  [?25h:endif
[?25l:new

iTest fdm=indent and :move bug END

line2Test fdm=indent START[?25h[?25l:[?2004h[?25h" basic test if a fold can be created, opened, moving to the end and closed
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", "manual " . getline(foldclosed(".")))
[?25l[?25h[?25l1 aa2 bb3 cc4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h[?25l:[?2004h[?25hcall append("$", foldclosed("."))
[?25l[?25h



[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", getline(foldclosed(".")))
[?25l[?25h[?25l:[?2004h[?25h" test folding with markers.
[?25l[?25h[?25l:[?2004h[?25hset fdm=marker fdl=1 fdc=3
[?25l   :new

   iTest fdm=indent and :move bug END

   line2

           Test fdm=indent START

           line3

           line4^[

   :set fdm=indent

   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa   2 bb   3 cc-  4 dd {{{

|- 5 ee {{{ }}}

|  6 ff }}}

   7 gg

   8 hh

   9 ii

   a jj[?25h[?25l/[?2004h[?25h^5
[?25l[?25h[?25l:[?2004h[?25hcall append("$", "marker " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?2004l[?2004h[?25l{{ |  6 ff }}}[?25h[?25l-{|

|

|

|[?25h[?25l





:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l6 ff }}}

 7 gg

 8 hh[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h" test folding with indent
[?25l[?25h[?25l:[?2004h[?25hset fdm=indent sw=2
[?25l-++---  3 lines: Test fdm=indent START-----------------------------------------:set fdm=indent:1m12jzc:m0%w >> test.out:qa!ENDTEST1 aa2 bb3 cc4 dd {{{5 ee {{{ }}}

 {{{  6 ff }}}  6 ff }}}

  7 gg 8 hh9 iia jj[?25h[?25l/[?2004h[?25h^2 b
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?2004l[?2004h[?25l
-  2 bb[?25h[?2004l[?2004h[?25l
|-    3 cc[?25h[?25l:[?2004h[?25hcall append("$", "indent " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hset sw&
[?25l         Test fdm=indent START|        line3|        line4^[:set fdm=indent1m12jzc:m0:%w >> test.out:qa!ENDTEST

   1 aa  2 bb    3 cc4 dd {{{5 ee {{{ }}}{{{6 ff }}}6 ff }}}7 gg8 hh[?25h[?25l:[?2004h[?25h" test syntax folding
[?25l[?25h[?25l:[?2004h[?25hset fdm=syntax fdl=0
[?25l 

 

 [?25h[?25l:[?2004h[?25hsyn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
[?25l++--  8 lines: 4 dd ----------------------------------------------------------a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hsyn region Fd1 start="ee" end="ff" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd2 start="gg" end="hh" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd3 start="commentstart" end="commentend" fold contained
[?25l[?25h[?25l   1 aa

   marker 2

   1

   1

   0

   indent 2

   1[?25h[?25l:[?2004h[?25hcall append("$", "folding " . getline("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?2004l[?2004h[?25l
--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[?25h[?2004l[?2004h[?25l commentend- 

|-



| 

  

  

  

  

  

  [?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25hset fdl=0
[?25l++--  8 lines: 4 dd commentstart  commentend----------------------------------  a jj b kk  last manual 1 aa-13 cc1 aarker 2110indent[?25h[?25l
-4 dd {{{commentstart  commentend|-5 ee {{{ }}}

||{{{||6 ff }}}

|6 ff }}}|-7 gg

||8 hh

|9 iia jjb kklastmanual 1 aa-13 cc[?25h[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25h" test expression folding
[?25l[?25h[?25l:[?2004h[?25hfun Flvl()
[?25l

:[?2004h  [?25h  let l = getline(v:lnum)


[?25l:[?2004h  [?25h  if l =~ "bb$"


[?25l:[?2004h    [?25h    return 2


[?25l:[?2004h    [?25h  elseif l =~ "gg$"


[?25l:[?2004h    [?25h    return "s1"


[?25l:[?2004h    [?25h  elseif l =~ "ii$"


[?25l:[?2004h    [?25h    return ">2"


[?25l:[?2004h    [?25h  elseif l =~ "kk$"


[?25l:[?2004h    [?25h    return "0"


[?25l:[?2004h    [?25h  endif


[?25l:[?2004h  [?25h  return "="


[?25l:[?2004h  [?25hendfun
[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa

     2 bb

       3 cc

-  4 dd {{{commentstart  commentend

|- 5 ee {{{ }}}

|| {{{[?25h[?25l:[?2004h[?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---------------------------------------------------~                                                                            ~                                                                            [?25h[?25l/[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", "expr " . foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hhh$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hii$
[?25l-9 ii||a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hkk$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h/^last/+1,$w! test.out
[?25l"test.out" [New File] 18 lines, 96 characters written[?25h[?25l:[?2004h[?25hdelfun Flvl
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l   

   

   

   ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            [No Name]                                                                       5 ee {{{ }}}{{{6 ff }}}|6 ff }}}|7 gg 8 hh

|-9 ii

||a jjb kklast

test45.in [+]                                                                   [?25h[?2004l[?2004h[?25lTest fdm=indent and :move bug ENDline2        Test fdm=indent START        line3        line4[+][?25h[?25l:[?2004h[?25hset fdm=indent
[?25l++--  3 lines: Test fdm=indent START------------------------------------------~                                                                            ~                                                                            [?25h[?25l:[?2004h[?25h1m1
[?25l[?25h[?25l:[?2004h[?25hm0
[?25l3 lines moved++--  3 lines: Test fdm=indent START------------------------------------------Test fdm=indent and :move bug END

 line2[?25h[?25l:[?2004h[?25h%w >> test.out
[?25l"test.out" 5 lines, 77 characters appendedtest.out [+]]  [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test45 = test61; then \
#	  if diff test.out test45.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test45.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test48.in" 83 lines, 1658 charactersThis is a test of 'virtualedit'.



STARTTEST

:so small.vim

:set noswf

:set ve=all

-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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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'.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 61 lines, 1442 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

this is a test[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswf
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l65 fewer linesthis is a test

"r"

"r"

a^Vb^Msd

abcv6efi.him0kl





~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               65 fewer lines[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
[?25l[?25h[?25l:[?2004h[?25h"    Repeating CTRL-N fixes it. (Mary Ellen Foster)
[?25l[?25h[?25l/[?2004h[?25hw
[?25l[?25h[?25l$[?2004lScanning tags.
The only match[?2004hword[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Using "C" then then <CR> moves the last remaining character to the next
[?25l[?25h[?25l:[?2004h[?25h"    line.  (Mary Ellen Foster)
[?25l[?25h
[?25l/[?2004h[?25hare
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l$[?2004l[?2004hare belong to vim

1 2 3 4 5 6

'i

'C

'a

'A

'D'this is a test



"r"     

a^Vb^Msdabcv6efi.him0kl[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   When past the end of a line that ends in a single character "b" skips
[?25l[?25h[?25l:[?2004h[?25h"    that word.
[?25l[?25h
[?25l$[?2004l[?2004h7[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'i' works
[?25l[?25h
'i'   [?2004l[?2004h[?25l<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'C' works
[?25l[?25h
'C'   [?25l$[?2004l[?2004h<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'a' works
[?25l[?25h
'a'   [?2004l[?2004h[?25l <-- should be 4 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'A' works
[?25l[?25h
'A'   [?2004l[?2004h[?25l<-- should be 0 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'D' works
[?25l[?25h
'D'   [?2004l[?2004h[?25l<-- 'D' should be intact[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for yank bug reported by Mark Waggoner.
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h
[?25l[?25h[?25laaa[?25h[?25laaablock of 4 lines yanked[?25h[?25l3 more linesa

aa [?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" beyond the end of the line
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l/[?2004h[?25h^"r"
[?25lsearch hit BOTTOM, continuing at TOP[?25h"r"    [?25lx[?25h[?2004l[?2004h[?25lx<-- should be 'x'[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" on a tab
[?25l[?25h[?25l:[?2004h[?25h" Note that for this test, 'ts' must be 8 (the default).
[?25l[?25h
"r"  [?25lx[?25h[?2004l[?2004h[?25lx  <-- should be '  x  '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test to make sure 'x' can delete control characters
[?25l[?25h[?25l:[?2004h[?25hset display=uhex
[?25l<16>b<0d>sd[?25h
[?25l<16>b<0d>sd[?25h[?25lb<0d>sd[?25h[?25l<0d>sd[?25h[?25lsd[?25h[?25ld[?25h[?25l[?25h[?2004l[?2004h[?25l[This line should contain only the text between the brackets.][?25h[?25l:[?2004h[?25hset display=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for ^Y/^E due to bad w_virtcol value, reported by
[?25l[?25h[?25l:[?2004h[?25h"   Roy <royl@netropolis.net>.
[?25l[?25h
[?2004l[?2004h[?25l[?25h   [?2004l[?2004h[?25lv[?25hv   [?2004l[?2004h[?25li[?25hi   [?2004l[?2004h[?25lm   <-- should show the name of a noted text editor[?25h
[?2004l[?2004h[?25l[?25h    [?2004l[?2004h[?25l6[?25h6   [?2004l[?2004h[?25l.[?25h.   [?2004l[?2004h[?25l0   <-- and its version number[?25h[?25l

[?25h

    [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test for yanking and pasting using the small delete register
[?25l[?25h[?25l/[?2004h[?25h^foo
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l, bar[?25h, [?25l[?25h[?25lba[?25h[?25l[?25h[?25lfoo[?25h

keyw[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 23 lines, 479 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test48 = test61; then \
#	  if diff test.out test48.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test48.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test53.failed test.ok test.out X* viminfo
cp test53.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test53.in" 75 lines, 1763 charactersTests for string and html text objects. vim: set ft=vim :



Note that the end-of-line moves the cursor to the next test line.



Also test match() and matchstr()



STARTTEST

:so small.vim

/^start:/

da"

0va'a'rx

02f`da`

0fXdi"

03f'vi'ry

:set quoteescape=+*-

di`

$F"va"oha"i"rz

:"

/^<begin

jfXdit

0fXdit

fXdat

0fXdat[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 string and html text objects. vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 47 lines, 1237 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:put =match('abc', '$', 4, 1) " -1

:put =match('abc', '\zs', 0, 1) " 0

:put =match('abc', '\zs', 0, 2) " 1

:put =match('abc', '\zs', 0, 3) " 2

:put =match('abc', '\zs', 0, 4) " 3

:put =match('abc', '\zs', 0, 5) " -1

:put =match('abc', '\zs', 1, 1) " 1

:put =match('abc', '\zs', 2, 1) " 2

:put =match('abc', '\zs', 3, 1) " 3

:put =match('abc', '\zs', 4, 1) " -1

:/^start:/,/^end:/wq! test.out

ENDTEST



start: "wo\"rd\\" foo

'foo' 'bar' 'piep'

bla bla `quote` blah

out " in "noXno"

"'" 'blah' rep 'buh'

bla `s*`d-`+++`l**` b`la

voo "nah" sdf " asdf" sdf " sdf" sd



<begin>

-<b>asdf<i>Xasdf</i>asdf</b>-[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l[?25h[?25lfo[?25h
[?25l[?25h[?25l'foo'[?25h[?25l 'bar'[?25h[?25l
xxxxxxxxxxxx
[?25h

[?25lblah[?25h
[?25l"[?25h
[?25l[?25h[?25l' rep[?25h[?25lyyyyy[?25h[?25l:[?2004h[?25hset quoteescape=+*-
[?25l[?25h[?25l` b`la[?25h[?25l[?25h[?25l" sdf"[?25h[?25l" [?25h[?25l"[?25h[?25l asdf" sdf [?25h[?25lah" sdf "
voo "[?25h[?25lzzzzzzzzzzzzzzzzzzzzzzzzzzzz
voo "[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^<begin
[?25l[?25h

[?25l</i>asdf</b>-[?25h[?25l

-<b>asdX<i>a<i />sdf</i>asdf</b>-[?25h
[?25l</b>-[?25h[?25l

-<b>asdf<i>Xasdf</i>asdf</b>-
-<b>[?25h[?25lasdf</b>-[?25h[?25l

-<b>asdX<i>as<b />df</i>asdf</b>-[?25h
[?25l
--[?25h[?25l

-<b>
-[?25h[?25l<b></b>[?25h[?25l

</begin>[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, 2) " b
[?25l

b[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \"..\", 0, 2) " bc
[?25l

bc[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
[?25l

c[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, -1) " a
[?25l

a[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, -1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 4) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 3, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 2) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 1, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 2, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 4) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25h/^start:/,/^end:/wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 45 lines, 284 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test53 = test61; then \
#	  if diff test.out test53.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test53.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test55.failed test.ok test.out X* viminfo
cp test55.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test55.in" 586 lines, 12256 charactersTests for List and Dictionary types.     vim: set ft=vim :



STARTTEST

:so small.vim

:fun Test(...)

:lang C

:" Creating List directly with different types

:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]

:$put =string(l)

:$put =string(l[-1])

:$put =string(l[-4])

:try

:  $put =string(l[-5])

:catch

:  $put =v:exception[:14]

:endtry

:" List slices

:$put =string(l[:])

:$put =string(l[1:])

:$put =string(l[:-2])

:$put =string(l[0:8])

:$put =string(l[8:-1])

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 List and Dictionary types.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 580 lines, 12170 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfun Test(...)
[?25l

:[?2004h  [?25h:lang C


[?25l:[?2004h  [?25h:" Creating List directly with different types


[?25l:[?2004h  [?25h:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:$put =string(l[-4])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-5])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List slices


[?25l:[?2004h  [?25h:$put =string(l[:])


[?25l:[?2004h  [?25h:$put =string(l[1:])


[?25l:[?2004h  [?25h:$put =string(l[:-2])


[?25l:[?2004h  [?25h:$put =string(l[0:8])


[?25l:[?2004h  [?25h:$put =string(l[8:-1])


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" List identity


[?25l:[?2004h  [?25h:let ll = l


[?25l:[?2004h  [?25h:let lx = copy(l)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(l == ll) . (l isnot ll) . (l is ll) . (l == lx) . (l is lx) . (l


isnot lx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Creating Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {001: 'asd', 'b': [1, 2, function('strlen')], -1: {'a': 1},}


[?25l:[?2004h  [?25h:$put =string(d) . d.1


[?25l:[?2004h  [?25h:$put =string(sort(keys(d)))


[?25l:[?2004h  [?25h:$put =string (values(d))


[?25l:[?2004h  [?25h:for [key, val] in items(d)


[?25l:[?2004h    [?25h:  $put =key . ':' . string(val)


[?25l:[?2004h    [?25h:  unlet key val


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:call extend  (d, {3:33, 1:99})


[?25l:[?2004h  [?25h:call extend(d, {'b':'bbb', 'c':'ccc'}, "keep")


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  call extend(d, {3:333,4:444}, "error")


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:call filter(d, 'v:key =~ ''[ac391]''')


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary identity


[?25l:[?2004h  [?25h:let dd = d


[?25l:[?2004h  [?25h:let dx = copy(d)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(d == dd) . (d isnot dd) . (d is dd) . (d == dx) . (d is dx) . (d


isnot dx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items with :unlet


[?25l:[?2004h  [?25h:unlet l[2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:let l = range(8)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:unlet l[:3]


[?25l:[?2004h    [?25h:unlet l[1:]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:$put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:unlet d.c


[?25l:[?2004h  [?25h:unlet d[-1]


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:1]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:3]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:4]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:5]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-1:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-3:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-4:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-5:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-6:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" assignment to a list


[?25l:[?2004h  [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:let [va, vb] = l[2:3]


[?25l:[?2004h  [?25h:$put =va


[?25l:[?2004h  [?25h:$put =vb


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l[1:1]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" manipulating a big Dictionary (hashtable.c has a border of 1000 entries)


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: let d[i] = 3000 - i


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:$put =d[0] . ' ' . d[100] . ' ' . d[999] . ' ' . d[1400] . ' ' . d[1499]


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let n = d[1500]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" lookup each items


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h: let i += 1


[?25l:[?2004h  [?25h:" delete even items


[?25l:[?2004h  [?25h:while i >= 2


[?25l:[?2004h    [?25h: let i -= 2


[?25l:[?2004h    [?25h: unlet d[i]


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =get(d, 1500 - 100, 'NONE') . ' ' . d[1]


[?25l:[?2004h  [?25h:" delete odd items, checking value, one intentionally wrong


[?25l:[?2004h  [?25h:let d[33] = 999


[?25l:[?2004h  [?25h:let i = 1


[?25l:[?2004h  [?25h:while i < 1500


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =i . '=' . d[i]


[?25l:[?2004h      [?25h: else


[?25l:[?2004h      [?25h:  unlet d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h: let i += 2


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =string(d)  " must be almost empty now


[?25l:[?2004h  [?25h:unlet d


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary function


[?25l:[?2004h  [?25h:let dict = {}


[?25l:[?2004h  [?25h:func dict.func(a) dict


[?25l:[?2004h    [?25h:  $put =a:a . len(self.data)


[?25l:[?2004h    [?25h:endfunc


[?25l:[?2004h    [?25h:let dict.data = [1,2,3]


[?25l:[?2004h    [?25h:call dict.func("len: ")


[?25l:[?2004h    [?25h:let x = dict.func("again: ")


[?25l:[?2004h    [?25h:let Fn = dict.func


[?25l:[?2004h    [?25h:call Fn('xxx')


[?25l:[?2004h    [?25h:" 


[?25l:[?2004h    [?25h:" Function in script-local List or Dict


[?25l:[?2004h    [?25h:let g:dict = {}


[?25l:[?2004h    [?25h:function g:dict.func() dict


[?25l:[?2004h      [?25h:  $put ='g:dict.func'.self.foo[1].self.foo[0]('asdf')


[?25l:[?2004h      [?25h:endfunc


[?25l:[?2004h      [?25h:let g:dict.foo = ['-', 2, 3]


[?25l:[?2004h      [?25h:call insert(g:dict.foo, function('strlen'))


[?25l:[?2004h      [?25h:call g:dict.func()


[?25l:[?2004h      [?25h:" 


[?25l:[?2004h      [?25h:" Nasty: remove func from Dict that's being called (works)


[?25l:[?2004h      [?25h:let d = {1:1}


[?25l:[?2004h      [?25h:func d.func(a)


[?25l:[?2004h[?25h:  return "a:". a:a


[?25l:[?2004h[?25h:endfunc


[?25l:[?2004h[?25h:$put =d.func(string(remove(d, 'func')))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Nasty: deepcopy() dict that refers to itself (fails when noref used


)

[?25l:[?2004h[?25h:let d = {1:1, 2:2}


[?25l:[?2004h[?25h:let l = [4, d, 6]


[?25l:[?2004h[?25h:let d[3] = l


[?25l:[?2004h[?25h:let dc = deepcopy(d)


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let dc = deepcopy(d, 1)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:let l2 = [0, l, l, 3]


[?25l:[?2004h[?25h:let l[1] = l2


[?25l:[?2004h[?25h:let l3 = deepcopy(l2)


[?25l:[?2004h[?25h:$put ='same list: ' . (l3[1] is l3[2])


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1][0] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2]['6'][7] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2][6] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Unletting locked variables


[?25l:[?2004h[?25h:$put ='Unletting:'


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]['6'][7]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2][6]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1][0]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables and :unlet or list / dict functions


[?25l:[?2004h[?25h:$put ='Locks and commands or functions:'


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put =':unlet after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='filter() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call filter(d, 'v:key != "a"')


[?25l:[?2004h[?25h:  $put ='did filter()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='map() after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call map(d, 'v:val + 200')


[?25l:[?2004h[?25h:  $put ='did map()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  $put =string(extend(d, {'a': 123}))


[?25l:[?2004h[?25h:  $put ='did extend()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No remove() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(remove(a:, 'this_is_a_loooooooooong_parameter_na


me'))


[?25l:[?2004h[?25h:    $put ='did remove()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(extend(a:, {'this_is_a_loooooooooong_parameter


_name': 1234}))


[?25l:[?2004h[?25h:    $put ='did extend()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet of variable in locked scope:'


[?25l:[?2004h[?25h:let b:testvar = 123


[?25l:[?2004h[?25h:lockvar 1 b:


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet b:testvar


[?25l:[?2004h[?25h:  $put ='b:testvar was :unlet: '. (!exists('b:testvar'))


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:unlockvar 1 b:


[?25l:[?2004h[?25h:unlet! b:testvar


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :let += of locked list variable:'


[?25l:[?2004h[?25h:let l = ['a', 'b', 3]


[?25l:[?2004h[?25h:lockvar 1 l


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let l += ['x']


[?25l:[?2004h[?25h:  $put ='did :let +='


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:lockvar! l


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:unlet l[0:1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l[1:2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:let l[0:1] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let l[1:2] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:" :lockvar/islocked() triggering script autoloading


[?25l:[?2004h[?25h:set rtp+=./sautest


[?25l:[?2004h[?25h:lockvar g:footest#x


[?25l:[?2004h[?25h:unlockvar g:footest#x


[?25l:[?2004h[?25h:$put ='locked g:footest#x:'.islocked('g:footest#x')


[?25l:[?2004h[?25h:$put ='exists g:footest#x:'.exists('g:footest#x')


[?25l:[?2004h[?25h:$put ='g:footest#x: '.g:footest#x


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" a:000 function argument


[?25l:[?2004h[?25h:" first the tests that should fail


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000 = [1, 2]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[0] = 9


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[0]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2] = [9, 10]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[2]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[3] = {9: 10}


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[3]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:" now the tests that should pass


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2][1] = 9


[?25l:[?2004h[?25h:  call extend(a:000[2], [5, 6])


[?25l:[?2004h[?25h:  let a:000[3][5] = 8


[?25l:[?2004h[?25h:  let a:000[3]['a'] = 12


[?25l:[?2004h[?25h:  $put =string(a:000)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught ' . v:exception


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" reverse(), sort(), uniq()


[?25l:[?2004h[?25h:let l = ['-0', 'A11', 2, 2, 'xaaa', 4, 'foo', 'foo6', 'foo', [0, 


1, 2], 'x8', [0, 1, 2], 1.5]


[?25l:[?2004h[?25h:$put =string(uniq(copy(l)))


[?25l:[?2004h[?25h:$put =string(reverse(l))


[?25l:[?2004h[?25h:$put =string(reverse(reverse(l)))


[?25l:[?2004h[?25h:$put =string(sort(l))


[?25l:[?2004h[?25h:$put =string(reverse(sort(l)))


[?25l:[?2004h[?25h:$put =string(sort(reverse(sort(l))))


[?25l:[?2004h[?25h:$put =string(uniq(sort(l)))


[?25l:[?2004h[?25h:let l=[7, 9, 'one', 18, 12, 22, 'two', 10.0e-16, -1, 'three', 0xf


f, 0.22, 'four']


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'n'))


[?25l:[?2004h[?25h:let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'bar', 


'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', {}, []]


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 1))


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'i'))


[?25l:[?2004h[?25h:$put =string(sort(copy(l)))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" splitting a string to a List


[?25l:[?2004h[?25h:$put =string(split('  aa  bb '))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 0))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 1))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W', 1))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 0))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 1))


[?25l:[?2004h[?25h:$put =string(split('aa,,bb, cc,', ',\s*', 1))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs'))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs', 1))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare recursively linked list and dict


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:let d = {'1': 1, '2': l, '3': 3}


[?25l:[?2004h[?25h:let l[1] = d


[?25l:[?2004h[?25h:$put =(l == l)


[?25l:[?2004h[?25h:$put =(d == d)


[?25l:[?2004h[?25h:$put =(l != deepcopy(l))


[?25l:[?2004h[?25h:$put =(d != deepcopy(d))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare complex recursively linked list and dict


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:call add(l, l)


[?25l:[?2004h[?25h:let dict4 = {"l": l}


[?25l:[?2004h[?25h:call add(dict4.l, dict4)


[?25l:[?2004h[?25h:let lcopy = deepcopy(l)


[?25l:[?2004h[?25h:let dict4copy = deepcopy(dict4)


[?25l:[?2004h[?25h:$put =(l == lcopy)


[?25l:[?2004h[?25h:$put =(dict4 == dict4copy)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same List to extend()


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4, 5]


[?25l:[?2004h[?25h:call extend(l, l)


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend()


[?25l:[?2004h[?25h:let d = { 'a': {'b': 'B'}}


[?25l:[?2004h[?25h:call extend(d, d)


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend() with "error"


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call extend(d, d, "error")


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" test for range assign


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:let l[:] = [1, 2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:endfun
[?25l:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test(1, 2, [3, 4], {5: 6})  " This may take a while
[?25lError detected while processing function Test:

line   76:


E684: list index out of range: 1


line   91:


E684: list index out of range: 2


line  271:


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


line  441:


E741: Value is locked: l[0:1]


line  443:


E741: Value is locked: l[1:2]


line  446:


E741: Value is locked: l[0:1] = [0, 1]


line  448:


E741: Value is locked: l[1:2] = [0, 1]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb']

['aa', 'bb']

['', 'aa', 'bb', '']

['', '', 'aa', '', 'bb', '', '']

['aa', '', 'bb']

['', 'aa', '', 'bb', '']

['aa', '', 'bb', 'cc', '']

['a', 'b', 'c']

['', 'a', '', 'b', '', 'c', '']

1

1

0

0

1

1

[1, 2, 3, 4, 5, 1, 2, 3, 4, 5]

{'a': {'b': 'B'}}

Vim(call):E737: a

{'a': {'b': 'B'}}

[1, 2]

~                                                                               [?25h[?25l



:[?2004h[?25hdelfunc Test
[?25l[?25h[?25l:[?2004h[?25hunlet dict
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test for patch 7.3.637
[?25l[?25h[?25l:[?2004h[?25hlet a = 'No error caught'
[?25l[?25h[?25l:[?2004h[?25htry|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25l[?25h[?2004l[?25l=[?2004h[?25ha
[?2004h[?25lVim(foldopen):E490:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hredir => a
[?25l[?25h[?25l:[?2004h[?25htry|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'


)|endtry


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb'][?25h[?2004l[?25l

=[?2004h[?25ha
[?2004h[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'))|endtry

[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 197 lines, 3821 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test55 = test61; then \
#	  if diff test.out test55.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test55.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test60.failed test.ok test.out X* viminfo
cp test60.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test60.in" 601 lines, 13116 charactersTests for the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :



STARTTEST

:so small.vim

:function! RunTest(str, result)

    if exists(a:str) == a:resultecho "OK"

    elseecho "FAILED: Checking for " . a:str

    endif

endfunction

:function! TestExists()

    augroup myagroupautocmd! BufEnter*.my     echo "myfile edited"autocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"

    augroup END

    set rtp+=./sautestlet test_cases = []" valid autocmd group

    let test_cases += [['#myagroup', 1]]

    " valid autocmd group with garbage[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 596 lines, 13023 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction! RunTest(str, result)
[?25l

:[?2004h  [?25h    if exists(a:str) == a:result


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED: Checking for " . a:str


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x[?25h[?25l

:[?2004h[?25hfunction! TestExists()
[?25l

:[?2004h  [?25h    augroup myagroup


[?25l:[?2004h  [?25h^Iautocmd! BufEnter       *.my     echo "myfile edited"


[?25l:[?2004h  [?25h^Iautocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"


[?25l:[?2004h  [?25h    augroup END


[?25l:[?2004h  [?25h    set rtp+=./sautest


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    let test_cases = []


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " valid autocmd group


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup', 1]]


[?25l:[?2004h  [?25h    " valid autocmd group with garbage


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup+b', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group or event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup', 0]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group and valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup#BufEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event with no matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#CmdwinEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#xyzacmd', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['###', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group and event or empty event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['##', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##FileReadCmd', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##MySpecialCmd', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&textwidth', 1]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&tw', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['&tw-', 0]]


[?25l:[?2004h  [?25h    " Global option


[?25l:[?2004h  [?25h    let test_cases += [['&g:errorformat', 1]]


[?25l:[?2004h  [?25h    " Local option


[?25l:[?2004h  [?25h    let test_cases += [['&l:errorformat', 1]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojoinspaces', 0]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojs', 0]]


[?25l:[?2004h  [?25h    " Non-existing option


[?25l:[?2004h  [?25h    let test_cases += [['&myxyzoption', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch!1', 0]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['+is', 1]]


[?25l:[?2004h  [?25h    " Existing option that is hidden.


[?25l:[?2004h  [?25h    let test_cases += [['+autoprint', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing environment variable


[?25l:[?2004h  [?25h    let $EDITOR_NAME = 'Vim Editor'


[?25l:[?2004h  [?25h    let test_cases += [['$EDITOR_NAME', 1]]


[?25l:[?2004h  [?25h    " Non-existing environment variable


[?25l:[?2004h  [?25h    let test_cases += [['$NON_ENV_VAR', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal function


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr', 1]]


[?25l:[?2004h  [?25h    " Valid internal function with ()


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr()', 1]]


[?25l:[?2004h  [?25h    " Non-existing internal function


[?25l:[?2004h  [?25h    let test_cases += [['*myxyzfunc', 0]]


[?25l:[?2004h  [?25h    " Valid internal function with garbage


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr&6', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*TestExists', 1]]


[?25l:[?2004h  [?25h    " Non-existing user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*MyxyzFunc', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function that may be created by FuncUndefined event


[?25l:[?2004h  [?25h    let test_cases += [['*UndefFun', 0]]


[?25l:[?2004h  [?25h    " Function that may be created by script autoloading


[?25l:[?2004h  [?25h    let test_cases += [['*footest#F', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    redir! > test.out


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    for [test_case, result] in test_cases


[?25l:[?2004h    [?25h        echo test_case . ": " . result


[?25l:[?2004h    [?25h        call RunTest(test_case, result)


[?25l:[?2004h    [?25h    endfor


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match)


[?25l:[?2004h  [?25h    echo ':edit: 2'


[?25l:[?2004h  [?25h    if exists(':edit') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match) with garbage


[?25l:[?2004h  [?25h    echo ':edit/a: 0'


[?25l:[?2004h  [?25h    if exists(':edit/a') == 0


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (partial match)


[?25l:[?2004h  [?25h    echo ':q: 1'


[?25l:[?2004h  [?25h    if exists(':q') == 1


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing internal command


[?25l:[?2004h  [?25h    echo ':invalidcmd: 0'


[?25l:[?2004h  [?25h    if !exists(':invalidcmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (full match)


[?25l:[?2004h  [?25h    command! MyCmd :echo 'My command'


[?25l:[?2004h  [?25h    echo ':MyCmd: 2'


[?25l:[?2004h  [?25h    if exists(':MyCmd') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (partial match)


[?25l:[?2004h  [?25h    command! MyOtherCmd :echo 'Another command'


[?25l:[?2004h  [?25h    echo ':My: 3'


[?25l:[?2004h  [?25h    if exists(':My') == 3


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Command modifier


[?25l:[?2004h  [?25h    echo ':rightbelow: 2'


[?25l:[?2004h  [?25h    if exists(':rightbelow') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (full match)


[?25l:[?2004h  [?25h    delcommand MyCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':MyCmd: 0'


[?25l:[?2004h  [?25h    if !exists(':MyCmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (partial match)


[?25l:[?2004h  [?25h    delcommand MyOtherCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':My: 0'


[?25l:[?2004h  [?25h    if !exists(':My')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var: 1'


[?25l:[?2004h  [?25h    if exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable with garbage


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var%n: 0'


[?25l:[?2004h  [?25h    if !exists('local_var%n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local variable


[?25l:[?2004h  [?25h    unlet local_var


[?25l:[?2004h  [?25h    echo 'local_var: 0'


[?25l:[?2004h  [?25h    if !exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing autoload variable that may be autoloaded


[?25l:[?2004h  [?25h    echo 'footest#x: 0'


[?25l:[?2004h  [?25h    if !exists('footest#x')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list


[?25l:[?2004h  [?25h    let local_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'local_list: 1'


[?25l:[?2004h  [?25h    if exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item


[?25l:[?2004h  [?25h    echo 'local_list[1]: 1'


[?25l:[?2004h  [?25h    if exists('local_list[1]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item with garbage


[?25l:[?2004h  [?25h    echo 'local_list[1]+5: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[1]+5')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Invalid local list item


[?25l:[?2004h  [?25h    echo 'local_list[2]: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[2]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local list


[?25l:[?2004h  [?25h    unlet local_list


[?25l:[?2004h  [?25h    echo 'local_list: 0'


[?25l:[?2004h  [?25h    if !exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local dictionary


[?25l:[?2004h  [?25h    let local_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'local_dict: 1'


[?25l:[?2004h  [?25h    if exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local dictionary


[?25l:[?2004h  [?25h    unlet local_dict


[?25l:[?2004h  [?25h    echo 'local_dict: 0'


[?25l:[?2004h  [?25h    if !exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing local curly-brace variable


[?25l:[?2004h  [?25h    let str = "local"


[?25l:[?2004h  [?25h    let curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local curly-brace variable


[?25l:[?2004h  [?25h    unlet curly_{str}_var


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable


[?25l:[?2004h  [?25h    let g:global_var = 1


[?25l:[?2004h  [?25h    echo 'g:global_var: 1'


[?25l:[?2004h  [?25h    if exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable with garbage


[?25l:[?2004h  [?25h    echo 'g:global_var-n: 1'


[?25l:[?2004h  [?25h    if !exists('g:global_var-n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global variable


[?25l:[?2004h  [?25h    unlet g:global_var


[?25l:[?2004h  [?25h    echo 'g:global_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global list


[?25l:[?2004h  [?25h    let g:global_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'g:global_list: 1'


[?25l:[?2004h  [?25h    if exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global list


[?25l:[?2004h  [?25h    unlet g:global_list


[?25l:[?2004h  [?25h    echo 'g:global_list: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global dictionary


[?25l:[?2004h  [?25h    let g:global_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'g:global_dict: 1'


[?25l:[?2004h  [?25h    if exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global dictionary


[?25l:[?2004h  [?25h    unlet g:global_dict


[?25l:[?2004h  [?25h    echo 'g:global_dict: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global curly-brace variable


[?25l:[?2004h  [?25h    let str = "global"


[?25l:[?2004h  [?25h    let g:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global curly-brace variable


[?25l:[?2004h  [?25h    unlet g:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window variable


[?25l:[?2004h  [?25h    echo 'w:window_var: 1'


[?25l:[?2004h  [?25h    let w:window_var = 1


[?25l:[?2004h  [?25h    if exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window variable


[?25l:[?2004h  [?25h    unlet w:window_var


[?25l:[?2004h  [?25h    echo 'w:window_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window list


[?25l:[?2004h  [?25h    let w:window_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'w:window_list: 1'


[?25l:[?2004h  [?25h    if exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window list


[?25l:[?2004h  [?25h    unlet w:window_list


[?25l:[?2004h  [?25h    echo 'w:window_list: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window dictionary


[?25l:[?2004h  [?25h    let w:window_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'w:window_dict: 1'


[?25l:[?2004h  [?25h    if exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window dictionary


[?25l:[?2004h  [?25h    unlet w:window_dict


[?25l:[?2004h  [?25h    echo 'w:window_dict: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window curly-brace variable


[?25l:[?2004h  [?25h    let str = "window"


[?25l:[?2004h  [?25h    let w:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window curly-brace variable


[?25l:[?2004h  [?25h    unlet w:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer variable


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 1'


[?25l:[?2004h  [?25h    let b:buffer_var = 1


[?25l:[?2004h  [?25h    if exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer variable


[?25l:[?2004h  [?25h    unlet b:buffer_var


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer list


[?25l:[?2004h  [?25h    let b:buffer_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer list


[?25l:[?2004h  [?25h    unlet b:buffer_list


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer dictionary


[?25l:[?2004h  [?25h    let b:buffer_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer dictionary


[?25l:[?2004h  [?25h    unlet b:buffer_dict


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer curly-brace variable


[?25l:[?2004h  [?25h    let str = "buffer"


[?25l:[?2004h  [?25h    let b:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer curly-brace variable


[?25l:[?2004h  [?25h    unlet b:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Script-local tests


[?25l:[?2004h  [?25h    source test60.vim


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:version: 1'


[?25l:[?2004h  [?25h    if exists('v:version')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:non_exists_var: 0'


[?25l:[?2004h  [?25h    if !exists('v:non_exists_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function arguments


[?25l:[?2004h  [?25h    function TestFuncArg(func_arg, ...)


[?25l:[?2004h    [?25h        echo 'a:func_arg: 1'


[?25l:[?2004h    [?25h        if exists('a:func_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:non_exists_arg: 0'


[?25l:[?2004h    [?25h        if !exists('a:non_exists_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:1: 1'


[?25l:[?2004h    [?25h        if exists('a:1')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:2: 0'


[?25l:[?2004h    [?25h        if !exists('a:2')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h    endfunction


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    call TestFuncArg("arg1", "arg2")


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    echo ' g:footest#x =' g:footest#x


[?25l:[?2004h    [?25h    echo '   footest#F()' footest#F()


[?25l:[?2004h    [?25h    echo 'UndefFun()' UndefFun()


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    redir END


[?25l:[?2004h    [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hcall TestExists()
[?25l#myagroup: 1

OK


#myagroup+b: 0


OK


#myagroup#BufEnter: 1


OK


#myagroup#BufEnter#*.my: 1


OK


#BufEnter: 1


OK


#BufEnter#*.my: 1


OK


#xyzagroup: 0


OK


#xyzagroup#BufEnter: 0


OK


#myagroup#CmdwinEnter: 0


OK


#myagroup#xyzacmd: 0


OK


#myagroup#BufEnter#xyzpat: 0


OK


#BufEnter#xyzpat: 0


OK


###: 0


OK


##: 0


OK


##FileReadCmd: 1


OK


##MySpecialCmd: 0


OK


&textwidth: 1


OK


&tw: 1


OK


&tw-: 0


OK


&g:errorformat: 1


OK


&l:errorformat: 1


OK


&nojoinspaces: 0


OK


&nojs: 0


OK


&myxyzoption: 0


OK


+incsearch: 1


OK


+incsearch!1: 0


OK


+is: 1


OK


+autoprint: 0


OK


$EDITOR_NAME: 1


OK


$NON_ENV_VAR: 0


OK


*bufnr: 1


OK


*bufnr(): 1


OK


*myxyzfunc: 0


OK


*bufnr&6: 0


OK


*TestExists: 1


OK


*MyxyzFunc: 0


OK


*UndefFun: 0


OK


*footest#F: 0


OK


:edit: 2


OK


:edit/a: 0


OK


:q: 1


OK


:invalidcmd: 0


OK


:MyCmd: 2


OK


:My: 3


OK


:rightbelow: 2


OK


:MyCmd: 0


OK


:My: 0


OK


local_var: 1


OK


local_var%n: 0


OK


local_var: 0


OK


footest#x: 0


OK


local_list: 1


OK


local_list[1]: 1


OK


local_list[1]+5: 0


OK


local_list[2]: 0


OK


local_list: 0


OK


local_dict: 1


OK


local_dict: 0


OK


curly_local_var: 1


OK


curly_local_var: 0


OK


g:global_var: 1


OK


g:global_var-n: 1


OK


g:global_var: 0


OK


g:global_list: 1


OK


g:global_list: 0


OK


g:global_dict: 1


OK


g:global_dict: 0


OK


g:curly_global_var: 1


OK


g:curly_global_var: 0


OK


w:window_var: 1


OK


w:window_var: 0


OK


w:window_list: 1


OK


w:window_list: 0


OK


w:window_dict: 1


OK


w:window_dict: 0


OK


w:curly_window_var: 1


OK


w:curly_window_var: 0


OK


b:buffer_var: 1


OK


b:buffer_var: 0


OK


b:buffer_list: 1


OK


b:buffer_list: 0


OK


b:buffer_dict: 1


OK


b:buffer_dict: 0


OK


b:curly_buffer_var: 1


OK


b:curly_buffer_var: 0


OK


s:script_var: 1


OK


s:script_var: 0


OK


s:script_list: 1


OK


s:script_list: 0


OK


s:script_dict: 1


OK


s:script_dict: 0


OK


s:curly_script_var: 1


OK


s:curly_script_var: 0


OK


*s:my_script_func: 1


OK


*s:my_script_func: 0


OK


v:version: 1


OK


v:non_exists_var: 0


OK


a:func_arg: 1


OK


a:non_exists_arg: 0


OK


a:1: 1


OK


a:2: 0


OK


 g:footest#x = 1


   footest#F() 0


UndefFun() 0


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hdelfunc TestExists
[?25l[?25h[?25l:[?2004h[?25hdelfunc RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestFuncArg
[?25l[?25h[?25l:[?2004h[?25hedit! test.out
[?25l"test.out" [Incomplete last line] 206 lines, 1940 characters#myagroup: 1OK

#myagroup+b: 0OK

#myagroup#BufEnter: 1OK#myagroup#BufEnter#*.my: 1OK

#BufEnter: 1OK#BufEnter#*.my: 1OK

#xyzagroup: 0OK#xyzagroup#BufEnter: 0

OK#myagroup#CmdwinEnter: 0

OK

#myagroup#xyzacmd: 0

OK#myagroup#BufEnter#xyzpat: 0

OK[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 206 lines, 1941 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test60 = test61; then \
#	  if diff test.out test60.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test60.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test64.failed test.ok test.out X* viminfo
cp test64.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test64.in" 654 lines, 27565 charactersTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns without multi-byte support.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 621 lines, 27090 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:for pat in [' \ze*', ' \zs*']

:  try

:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" tl is a List of Lists with:
[?25l[?25h[?25l:[?2004h[?25h"    regexp engine
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"""" Previously written tests """"""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b', 'abcdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abbdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'ccc', 'ccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'abdef', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abdef']) "no match
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"operator \|
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\|ab', 'cabd', 'a']) "alternation is ordered
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c\?', 'ccb', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abd', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abccd', 'bc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}', 'ab', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'caad', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vb{1}', 'abca', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{2}', 'abaa', 'baa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{3}', 'aabaac'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'dabc', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'acb'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'acb', "", ""])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ababc', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'ababcab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'abcababa', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'cdababe', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abacabab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abacabababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'daaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'daaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'adaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaabaaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){2}', 'dadaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3}){2}', 'aaaaaaa', 'aaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'daaac', 'aaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaac', 'aaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaaac', 'aaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){3}', 'daac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'dac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'daac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){1,2}', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)(a+)', 'aaa', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3})+', 'daaaac', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c)+', 'aacb', 'aacb', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c){2}', 'abcb', 'ab', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abcabd', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abdabcabc','abcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a*', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+)+', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'ab', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'dababc', 'abab', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{0,2})+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a*)+)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1,3}', 'aab', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2,3}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})|(b{3})', 'bbabbbb', 'bbb', '', 'bbb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}|b{2}', 'abab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)+|(c)+', 'bbacbaacbbb', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbccccccccccccc', 'abbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbbccccccccccccc', 'abbbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}cd{2,3}e', 'aabbbcddee', 'abbbcdde'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va(bc){2}d', 'aabcbfbc' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'a', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aa', 'aa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aaa', 'aaa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'bbbabcc', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*b*|a*c*', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}b{1}|a{1}b{1}', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)(b)', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab)(b)(c)', 'abbc', 'abbc', 'ab', 'b', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a)(b))', 'ab', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)|(b)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x', 'abcdef'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""" Simple tests """""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search single groups
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'baced'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', '                    ab           ', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search multi-modifiers
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xcd', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xxxxxxxxxxxxxxxxsofijiojgf', 'xxxxxxxxxxxxxxxx'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'abcdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" no match here
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdoin'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdeoijdfxxiuhfij', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'xxxxx', 'xxxxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abc x siufhiush xxxxxxxxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'abc sfoij', '']) " empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'xxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'abc sfoij', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'xxxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,1}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a\{0,1}'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{1,0}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaa asfoij afaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaaaaa', 'aaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'iuash fiusahfliusah fiushfilushfi uhsaifuh askfj na


sfvius afg aaaa sfiuhuhiushf', 'aa'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'aaaaa aa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'aaaaasfoij ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaxxx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaaxxx ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'aaaaaaaaaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25h" leading star as normal char when \{} follows
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '***'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '****', '****'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '*****', '*****'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'aaaaioudfh coisf jda', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,1}', 'asiubid axxxaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaa asfoij afaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'aaaaa aa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'aaaaasfoij ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'aaaaaaaaaa', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'aaaaioudfh coisf jda', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test groups of characters and submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abc\)*', 'abcabcabc', 'abcabcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(ab\)\+', 'abababaaaaa', 'ababab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abaaaaa\)*cd', 'cd', 'cd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\? \(test2\)\?', 'test1 test3', 'test1 ', 'test1', 


''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\= \(test2\) \(test4443\)\=', ' test2 test4443 yupi


iiiiiiiiii', ' test2 test4443', '', 'test2', 'test4443'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(sub1\) hello \(sub 2\)\)', 'asterix sub1 hello sub 2 obe


lix', 'sub1 hello sub 2', 'sub1 hello sub 2', 'sub1', 'sub 2'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(\(yyxxzz\)\)\)', 'abcdddsfiusfyyzzxxyyxxzz', 'yyxxzz', '


yyxxzz', 'yyxxzz', 'yyxxzz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c+)+', 'abcccaba', 'abcccab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a(c*)+b)+', 'acbababaaa', 'acbabab', 'ab', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aá ^I', 'aá '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test greedy-ness and lazy-ness
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}','aaaaaaaaaaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}','aaaaaaaaaaaaaaaaaaaa', 'aaaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.{-,8})yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz','ayxa


','xayzxayz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.*)yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz', 'ayxayzx


ayzxa',''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){-2,3}','aaaaaaa','aaaa','aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{-1,3})+', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\( x\|x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\(x\| x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\ze\(x\| x$\)', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(\s\{-}\)\(x\| x$\)', ' x', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test Character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\d\+e\d\d','test 10e23 fd','10e23'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test collections and character range []
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[a]', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[bcd]', 'abcd', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[b-d]', 'acbd', 'ac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-d][e-f][x-x]d', 'cexdxx', 'cexd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[[:alpha:]]+', 'abcdefghijklmnopqrstuvwxyz6','abcdefghijkl


mnopqrstuvwxyz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]\+]', '6x8','x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','abcabcabc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]','defghiasijvoinasoiunbvb','d'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','ddddddda','ddddddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-d]\+','aaaAAAZIHFNCddd','AAAZIHFNC'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','iiiiiiii',''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','abcdefgh','abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-f]\+','abcdefgh','gh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-c]\{-3,6}','abcabc','abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[:alpha:]]\+','abcccadfoij7787ysf287yrnccdu','7787'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-a]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*\c','ABCDEFGH','ABCDEF'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[abc][xyz]\c','-af-AF-BY--','BY'])
[?25l[?25h[?25l:[?2004h[?25h" filename regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-./[:alnum:]_~]\+', 'log13.file', 'log13.file'])
[?25l[?25h[?25l:[?2004h[?25h" special chars
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[\]\^\-\\]\+', '\^\\\-\---^', '\^\\\-\---^'])
[?25l[?25h[?25l:[?2004h[?25h" collation elem
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[.a.]]\+', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" middle of regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'siuhabc ii'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'adf abc44482ddd oijs', 'abc44482ddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9\n]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', "asfi\n9888u", "\n9888"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f', "  \na ", "\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f\+', "  \na ", "\na"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9A-Za-z-_.]\+', " @0_a.A-{ ", "0_a.A-"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test start/end of line, start/end of file
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "a_\nb ", "a_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "b a \na_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a b\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a.', "a a\na", "a "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a', " a \na "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-7]\+', 'x0123456789x', '01234567'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-7]\+', '0a;X+% 897', 'a;X+% 89'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9]\+', 'x0123456789x', '0123456789'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9]\+', '0a;X+% 9', 'a;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-fA-F]\+', 'x0189abcdefg', '0189abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9A-Fa-f]\+', '0189g;X+% ab', 'g;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z0-9]\+', ';+aso_SfOij ', 'aso_SfOij'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z0-9]\+', 'aSo_;+% sfOij', ';+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z]\+', '0abyz_ABYZ;', 'abyz_ABYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z]\+', 'abAB_09;+% yzYZ', '09;+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', '0abcxyz1', 'abcxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', 'AabxyzZ', 'abxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'a;X09+% x', ';X09+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'abX0;%yz', 'X0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-zA-Z]\+', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-zA-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+', 'aABXYZz', 'ABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^A-Z]\+', 'ABx0;%YZ', 'x0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+\c', '0abxyzABXYZ;', 'abxyzABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+\c', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^a-z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^A-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \z features
[?25l[?25h[?25l:[?2004h[?25h" match ends at \ze
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'xx \ze test', 'xx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zeend', 'oij abcend', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aaxx ', 'aaxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aabb\|aa\zebb', ' aabb ', 'aabb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaebb', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" match starts at \zs
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zsdd', 'ddabcddxyzt', 'dd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa \zsax', ' ax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc \zsmatch\ze abc', 'abc abc abc match abc abc', 'match'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a \zsif .*){2}', 'a if then a if last', 'if last', 'a if 


last'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\>\zs.', 'aword. ', '.'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\s\+\ze\[/\|\s\zs\s\+', 'is   [a t', '  '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \@= and \& features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'abc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=cd', 'abcd', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'ababc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h" will never match, no matter the input text
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25h" will never match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'any text in here ... '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc)@=..', 'xabcd', 'ab', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.*John\)\@=.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(John.*\)\@=.*Bob', 'John is Bobs friend', 'John is Bob', '


John is Bobs friend'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\S\+\())\)\@=', '$((i=i+1))', 'i=i+1', '))'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'John is Bobs friend', 'John is Bob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test1)@=.*yep', 'this is a test1, yep it is', 'test1, yep


', 'test1'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if then else'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if else ', 'if else ', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!bar', 'foobar', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!...bar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' bar foo '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo bar '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo xxx ', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\%([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:']


)[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:', 


's'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'm\k\+_\@=\%(_\@!\k\)\@<=\k\+e', 'mx__xe', 'mx__xe'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%(\U\@<=S\k*\|S\l\)R', 'SuR', 'SuR'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(())', 'any possible text', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v%(ab(xyz)c)', '   abxyzc ', 'abxyzc', 'xyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test|)empty', 'tesempty', 'empty', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|aa)(a|aa)', 'aaa', 'aa', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" \%u and friends
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d32', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%o40', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%x20', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%u0020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%U00000020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d0', "yes\x0ano", "\x0a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \%[abc]
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fooxx', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobxx', 'foob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobaxx', 'fooba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobarxx', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobxx', 'foobx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobarxx', 'foobarx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'barxx', 'barx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'bxx', 'bx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'xxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[]]r]', 'b]r bor', 'b]r'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '@\%[\w\-]*', '<http://john.net/pandoc/>[@pandoc]', '@pandoc'


])[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Alternatives, must use first longest match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|\<go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', ' abc abc', 'abc abc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', 'xgoo goox', 'goo goo', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7


\8\9', 'xabcddefghiabcddefghix', 'abcddefghiabcddefghi', 'a', 'b', 'c', 'dd', 'e


', 'f', 'g', 'h', 'i'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\d*\)a \1b', ' a b ', 'a b', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', "aaa\naaa\nb", "aaa\naaa", 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo


.com', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo


.bat', 'bat', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}', '2013-06-27${0}', '$


{0}', '0'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a*\)\1$', 'aaaaaaaa', 'aaaaaaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a\{-2,}\)\1\+$', 'aaaaaaaaa', 'aaaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Look-behind with limit
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@1<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@2<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<


'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<


<'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<!bar.', 'xx foobar1 xbar2 xx', 'bar2'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" look-behind match in front of a zero-width item
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" test header'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" Last Changed: 1970', '19


70'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'barfoo', '', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=.*', 'foobar', 'bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" complicated look-behind match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(r\@<=\|\w\@<!\)\/', 'x = /word/;', '/'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^[a-z]\+\ze \&\(asdf\)\@<!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \@>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>a', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>b', 'aaab', 'aaab', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(.\{-}b\)\@>.', '  abcbd', '  abc', '  ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.\{-}\)\(\)\@>$', 'abc', 'abc', 'abc', ''])
[?25l[?25h[?25l:[?2004h[?25h" TODO: BT engine does not restore submatch after failure
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, '\(a*\)\@>a\|a\+', 'aaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" "\_" prepended negated collection matches EOL
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^8-9]\+', "asfi\n9888", "asfi\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^a]\+', "asfi\n9888", "sfi\n9888"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Requiring lots of states.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}', "


12345678-1234-1234-1234-123456789012 ", "12345678-1234-1234-1234-123456789012",


"1234-"])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Skip adding state twice
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=', "#if FOO", 


"#if", ' FOO'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""" Test \%V atom
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%>70vGesamt', 'Jean-Michel Charlier & Victor Hubinon\Gesamt


ausgabe [Salleck]    Buck Danny {Jean-Michel Charlier & Victor Hubinon}\Gesamtau


sgabe', 'Gesamt'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.

OK 2 - ^\(.\{-}b\)\@>.

OK 0 - \(.\{-}\)\(\)\@>$

OK 1 - \(.\{-}\)\(\)\@>$

OK 2 - \(.\{-}\)\(\)\@>$

OK 0 - \(a*\)\@>a\|a\+

OK 2 - \(a*\)\@>a\|a\+

OK 0 - \_[^8-9]\+

OK 1 - \_[^8-9]\+

OK 2 - \_[^8-9]\+

OK 0 - \_[^a]\+

OK 1 - \_[^a]\+

OK 2 - \_[^a]\+

OK 0 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 1 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 0 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 1 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 0 - \%>70vGesamt

OK 1 - \%>70vGesamt

OK 2 - \%>70vGesamt
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""""" multi-line tests """"""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', ['aaa', 'aaa', 'b'], ['XX', 'b']])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v.*\/(.*)\n.*\/\1$', ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/D


ir2/abcdefgh.bat', '', './Dir1/Dir2/file1.txt', './OtherDir1/OtherDir2/file1.txt


'], ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/Dir2/abcdefgh.bat', '', 'XX']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" line breaks
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\S.*\nx', ['abc', 'def', 'ghi', 'xjk', 'lmn'], ['abc', 'def'


, 'XXjk', 'lmn']])
[?25lOK 0 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that \_[0-9] matching EOL does not break a following \>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)


\.\)\{3\}\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>', ['', 'loca


lnet/192.168.0.1', ''], ['', 'localnet/XX', '']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a line break and ^ and $
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\n^b$\n^c', ['a', 'b', 'c'], ['XX']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(^.\+\n\)\1', [' dog', ' dog', 'asdf'], ['XXasdf']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the multi-line tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='multi-line tests'
[?25l

multi-line tests[?25h[?25l

:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let before = t[2]


[?25l:[?2004h  [?25h:  let after = t[3]


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re ==1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    new


[?25l:[?2004h    [?25h:    call setline(1, before)


[?25l:[?2004h    [?25h:    exe '%s/' . pat . '/XX/'


[?25l:[?2004h    [?25h:    let result = getline(1, '$')


[?25l:[?2004h    [?25h:    q!


[?25l:[?2004h    [?25h:    if result != after


[?25l:[?2004h      [?25h:      $put ='ERROR: pat: \"' . pat . '\", text: \"' . string(before) . 


'\", expected: \"' . string(after) . '\", got: \"' . string(result) . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?25l

:[?2004h[?25hunlet t tl
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that using a pattern on two lines doesn't get messed up by using
[?25l[?25h[?25l:[?2004h[?25h" matchstr() with \ze in between.
[?25l[?25h[?25l:[?2004h[?25hset re=0
[?25l[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2s/""/\='"'.matchstr(getline("."), '\d\+\ze<').'"'
[?25l5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2yank
[?25l[?25h[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?2004l[?2004h[?25l

[?25h[?25l

<T="5">Ta 5</Title>
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a look beind crossing a line boundary
[?25l[?25h[?25l/[?2004h[?25h^Behind:
[?25lsearch hit BOTTOM, continuing at TOP:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

search hit BOTTOM, continuing at TOP[?25h[?25l/[?2004h[?25h\(<\_[xy]\+\)\@3<=start
[?25l[?25h[?25l:[?2004h[?25h.yank
[?25l[?25h[?25lOK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?2004l[?2004h[?25l

[?25h[?25l

xxstart3
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching Visual area
[?25l[?25h[?25l/[?2004h[?25h^Visual:
[?25lsearch hit BOTTOM, continuing at TOP<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

oooxofor foroxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

search hit BOTTOM, continuing at TOP[?25h

the[?25l[?25h[?25lxe the the[?25h[?25l:[?2004h'<,'>[?25hs/\%Ve/E/g
[?25l3 substitutions on 1 linexE thE thE
[?25h

[?25landaxand andaxand 
[?25h[?25l:[?2004h'<,'>[?25hs/\%Va/A/g
[?25l6 substitutions on 1 lineAndAxAnd AndAxAnd[?25h

ooo[?25l[?25h[?25lxofor foro[?25h[?25lx

oooxofor foro[?25h[?25l:[?2004h'<,'>[?25hs/\%Vo/O/g
[?25l8 substitutions on 2 linesxOfOr fOrOx

oooxOfOr fOrO
[?25h[?25l:[?2004h[?25h/^Visual/+1,/^Visual/+4yank
[?25lsearch hit BOTTOM, continuing at TOP
4 lines yanked[?25h[?25lOK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3
[?25h[?2004l[?2004h[?25l

[?25h[?25l

4 more lines

thexE thE thExethe4 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching marks
[?25l[?25h[?25l/[?2004h[?25h^Marks:
[?25lsearch hit BOTTOM, continuing at TOPasdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

OK 0 - ab

OK 1 - ab

OK 2 - ab

OK 0 - b

OK 1 - b

OK 2 - b

search hit BOTTOM, continuing at TOP[?25h

asdf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s.*\%<'e../here/
[?25lhereasdf[?25h

asdf

dfsa
dfsadf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s\_.*\%<'e../again/
[?25l

asdfagainasdfOK 0 - bc*[?25h[?25l:[?2004h[?25h/^Marks:/+1,/^Marks:/+3yank
[?25lsearch hit BOTTOM, continuing at TOP
3 lines yanked[?25h[?25lOK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo
[?25h[?2004l[?2004h[?25l

[?25h[?25l

3 more linesasdfhereasdf

asdfagainasdf3 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check patterns matching cursor position.
[?25l[?25h[?25l:[?2004h[?25hfunc! Postest()
[?25l

:[?2004h  [?25h new


[?25l:[?2004h  [?25h call setline(1, ['ffooooo', 'boboooo', 'zoooooo', 'koooooo', 'moooooo', "\t


\t\tfoo", 'abababababababfoo', 'bababababababafoo', '********_', '        xxxxxx


xxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxx xx xxxx


xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxx xxxxxxxxxx


xxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxx xxxxxxxxxxx


x xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx xxxxxxxxx xxxx


xxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxx xxx xxx xx


xxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx xxxxxxxxxxxx x


xxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxxxxx


xxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx'])


[?25l:[?2004h  [?25h call setpos('.', [0, 1, 0, 0])


[?25l:[?2004h  [?25h s/\%>3c.//g


[?25l:[?2004h  [?25h call setpos('.', [0, 2, 4, 0])


[?25l:[?2004h  [?25h s/\%#.*$//g


[?25l:[?2004h  [?25h call setpos('.', [0, 3, 0, 0])


[?25l:[?2004h  [?25h s/\%<3c./_/g


[?25l:[?2004h  [?25h %s/\%4l\%>5c./_/g


[?25l:[?2004h  [?25h %s/\%6l\%>25v./_/g


[?25l:[?2004h  [?25h %s/\%>6l\%3c./!/g


[?25l:[?2004h  [?25h %s/\%>7l\%12c./?/g


[?25l:[?2004h  [?25h %s/\%>7l\%<9l\%>5v\%<8v./#/g


[?25l:[?2004h  [?25h $s/\%(|\u.*\)\@<=[^|\t]\+$//ge


[?25l:[?2004h  [?25h 1,$yank


[?25l:[?2004h  [?25h quit!


[?25l:[?2004h  [?25hendfunc
[?25lOK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf[?25h[?25l~                                                                               [?25h[?2004l[?2004h[?25l

-0-[?25h[?25l

:[?2004h[?25hset re=0
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25loooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf-0-ffobob__ooooo

koooo__moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx[?25h[?2004l[?2004h[?25l

-1-[?25h[?25l

:[?2004h[?25hset re=1
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l-1-

ffo

bob

__ooooo

koooo__

moooooo

   f__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxx xxxx xx xxxxxxxx xxx xxxxxxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l-2-[?25h[?25l:[?2004h[?25hset re=2
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l-2-

ffo

bob~                                                                               [?25h[?25l:[?2004h[?25h" start and end of buffer
[?25l[?25h[?25l/[?2004h[?25h\%^
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 2 - \v(a*)+

OK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}[?25h[?25l/[?2004h[?25h\%^..
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?2004l[?2004h[?25lt END[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}

OK 1 - \va{1,3}[?25h[?25l/[?2004h[?25h\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h[?25l:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

:call add(tl, [2, 'ab', 'aab', 'ab'])

:call add(tl, [2, 'b', 'abcdef', 'b'])

:call add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])

:call add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])

:call add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])

:call add(tl, [2, 'bc*', 'abbdef', 'b'])

:call add(tl, [2, 'c*', 'ccc', 'ccc'])

:call add(tl, [2, 'bc*', 'abdef', 'b'])[?25h[?25l/[?2004h[?25h..\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h
[?2004l[?2004h[?25l[?25h[?25lEN[?25h[?2004l[?2004h[?25l[?25h[?25lE[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check for detecting error
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=2
[?25l[?25h[?25l:[?2004h[?25hfor pat in [' \ze*', ' \zs*']
[?25l

:[?2004h  [?25h:  try


[?25l:[?2004h    [?25h:    let l = matchlist('x x', pat)


[?25l:[?2004h    [?25h:    $put ='E888 NOT detected for ' . pat


[?25l:[?2004h    [?25h:  catch


[?25l:[?2004h    [?25h:    $put ='E888 detected for ' . pat


[?25l:[?2004h    [?25h:  endtry


[?25l:[?2004h  [?25h:endfor
[?25lffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?ba

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxxxxxxx xxx xxxxxxx xxxxxxxxx  xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxx xxxx xxx xxxx xxx xxx xxxxxx x xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x x xx xxxxxx xxxxxxx  xxxxxxxxxx xxxxxxxxx xxx xxx xxxxxxxx   xxxx xxx xxxxxx xxxxx xxxxx xx   xxxxxxxxxxxx xxxx xxxxxxxxx xxxxx xxxxx xx xxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxTestEND

EN888 detected for  \ze*

E888 detected for  \zs*[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" Write the results """""""""""""
[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1107 lines, 22167 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test64 = test61; then \
#	  if diff test.out test64.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test64.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test66.failed test.ok test.out X* viminfo
cp test66.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test66.in" 33 lines, 509 charactersTest for visual block shift and tab characters.



STARTTEST

:so small.vim

/^one

fe^V4jR^[ugvr1:'<,'>w! test.out

/^abcdefgh

^V4jI    ^[j<<11|D

7|a^[

7|a^[

7|a^[4k13|^V4j<

:$-5,$w >> test.out

:$-4,$s/\s\+//g

^V4kI    ^[j<<

7|a^[

7|a^[

7|a^[4k13|^V4j3<

:$-4,$w >> test.out

:qa!

ENDTEST



one two three[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 234 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^one
[?25l[?25hon[?25l[?25h[?25le

one two three

one two three

one two three

one two three[?25h[?25l

4 fewer lines[?2004l[?2004habcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz[?25h[?25lmore lines; before #1  0 seconds agoone two three

one two three

one two threeone two threeone two three[?25h[?25le

one

one

one

on[?25h[?25l1

on1

on1

on1

on1[?25h[?25l:[?2004h[?25h'<,'>w! test.out
[?25l"test.out" [New File] 5 lines, 70 characters written[?25h[?25l/[?2004h[?25h^abcdefgh
[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz
[?25h[?25la

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc            defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 1 timeidefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-5,$w >> test.out
[?25l"test.out"6 lines, 151 characters appended[?25h[?25l:[?2004h[?25h$-4,$s/\s\+//g
[?25l7 substitutions on 4 linesabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

a

a

a[?25h[?25l

a

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghij

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghij[?25h

    ab[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                       defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                 defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 3 timesidefghijklmnopqrstuvwxyz    defghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-4,$w >> test.out
[?25l"test.out"5 lines, 147 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test66 = test61; then \
#	  if diff test.out test66.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test66.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test68.failed test.ok test.out X* viminfo
cp test68.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test68.in" 131 lines, 1004 charactersTest for text formatting.



Results of test68:



STARTTEST

:so small.vim

/^{/+1

:set noai tw=2 fo=t

gRa b^[

ENDTEST



{





}



STARTTEST

/^{/+1

:set ai tw=2 fo=tw

gqgqjjllab^[

ENDTEST



{[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 4 lines, 48 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset noai tw=2 fo=t
[?25l[?25h[?2004l[?2004h[?25la

b[?25h

[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 38 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l

a  b[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tw
[?25l[?25h[?25l

b[?25h[?25l

[?25h[?25l

a[?25ha [?2004l[?2004h[?25l

b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=3 fo=t

gqgqo

a ^V^A^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a ^A[?25h[?25l

:[?2004h[?25hset tw=3 fo=t
[?25l[?25h[?25l

^A[?25h[?2004l[?2004h[?25la

^A
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tcq1 comments=:#

gqgqjgqgqo

a b

#a b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a b[?25h[?25l

:[?2004h[?25hset tw=2 fo=tcq1 comments=:#
[?25l[?25h[?25l

#a b[?25h[?2004l[?2004h[?25la b

#a b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 46 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=tcn comments=:#

A b^[jA b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  1 a[?25h[?25l

:[?2004h[?25hset tw=5 fo=tcn comments=:#
[?25l[?25h[?2004l[?2004h[?25l

b[?25h[?25l

# 1 a[?25h[?2004l[?2004h[?25l

#   b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+3
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 35 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=t2a si

i  ^[A_^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+3
[?25l{



  x a

  b[?25h[?25l

:[?2004h[?25hset tw=5 fo=t2a si
[?25l[?25h[?2004l[?2004h[?25l    b[?25h[?2004l[?2004h[?25l b_[?25h[?25l

c[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=qn comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# 1 a b[?25h[?25l

:[?2004h[?25hset tw=5 fo=qn comments=:#
[?25l[?25h[?25l[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=q2 comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# x[?25h[?25l

:[?2004h[?25hset tw=5 fo=q2 comments=:#
[?25l[?25h[?25l# x a
[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+2
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 26 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw& fo=a

I^^^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+2
[?25l{

   1aa

   2bb[?25h[?25l

:[?2004h[?25hset tw& fo=a
[?25l[?25h[?2004l[?2004h[?25l1aa ^^2bb }STARTTEST[?25h

[?25l/[?2004h^STARTTEST
[?25h[?25l

/mno pqr/[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 69 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/

A vwx yz^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25hmno pqr/
[?25l/* abc def ghi jkl

 *    mno pqr stu[?25h[?25l

:[?2004h[?25hsetl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
[?25l[?25h[?2004l[?2004h[?25l

*    vwx yz[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^#/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=12 fo=tqnc comments=:#

A foobar^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^#/
[?25l

# 1 xxxxx[?25h[?25l

:[?2004h[?25hsetl tw=12 fo=tqnc comments=:#
[?25l[?25h[?2004l[?2004h[?25l

#   foobar[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l63 fewer lines# 1 a#   b}{

# x a#   b}{ 1aa ^^2bb }/* abc def ghi jkl

 *    mno pqr stu

 *    vwx yz

 */# 1 xxxxx

#   foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 77 lines, 281 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test68 = test61; then \
#	  if diff test.out test68.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test68.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test69.failed test.ok test.out X* viminfo
cp test69.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test69.in" 192 lines, 2185 charactersTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 multi-byte text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 2 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=t
[?25l[?25h

[?25l

XYZ[?25h[?2004l[?25l[?25h[?25lX[?25h[?25lY[?25h[?25l

Z

abc [?25h[?25l

X[?25h[?25lY[?25h[?2004h[?25lZ[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=1 fo=tm

gqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

X[?25h[?25l

:[?2004h[?25hset tw=1 fo=tm
[?25l[?25h[?25l

Xa[?25h[?25l

a[?25h[?25l

X a
[?25h[?25l

a[?25h[?25l

XY
[?25h[?25l

Y
[?25h[?25l

X Y
[?25h[?25l

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c

abXY^[

ENDTEST



{

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h

[?25la[?25h

[?25la[?25h

[?25lY
[?25h

[?25lY 
[?25h[?25l

aX
[?25h[?25l

X
[?25h[?25l

abX
[?25h[?25l

X
[?25h[?25l

abcX
[?25h[?25l

X
[?25h[?25l

abX c
[?25h[?25lX

c[?25h[?25l

abXY
[?25h[?25lX

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?25lY

a[?25h[?25lX

ab[?25h[?25lX

abc[?25h[?25lX

ab[?25h[?25lX

c

ab[?25h[?25l

X[?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set ai tw=2 fo=tm

gqgqjgqgqo

X

Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

  a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 53 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set noai tw=2 fo=tm

gqgqjgqgqo

  X

  Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset noai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 169 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa

XXY^[

ENDTEST



{

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=cqm comments=n:X
[?25l[?25h



[?25lXY[?25h



[?25lXZ
[?25h



[?25l

X Z
[?25h[?25l

XX
[?25h[?25l

XXa
[?25h[?25l

XXY
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25l

Xa

[?25h[?25lXa[?25h[?25lXY

[?25h[?25lX[?25h[?25l

Y

[?25h[?25lX[?25h[?25lY[?25h[?25lXZ

[?25h[?25lX [?25h[?25l

Y

[?25h[?25lX [?25h[?25lY[?25h[?25lX Z

[?25h[?25lX[?25h[?25l

X

[?25h[?25lX[?25h[?25l

Xa

[?25h[?25lX[?25h[?25lX[?25h[?2004h[?25lY[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 30 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tm

RXa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h[?2004l[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set mps+=^Vu2018:^Vu2019

d%

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

‘two three ’four[?25h[?25l

:[?2004h[?25hset mps+=^‘:^’
[?25l[?25h[?25l four[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^ra test
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 16 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTjVjra

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^ra test
[?25l

ra test[?25h[?25l

abba
[?25h[?25lbba 
[?25h[?25l

a

aab 
[?25h[?25laaaaaaa [?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set whichwrap+=h
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 43 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^x

dh

:set whichwrap-=h

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset whichwrap+=h
[?25l[?25h[?25l/[?2004h[?25h^x
[?25láx[?25h[?25lx[?25h

[?25l

:[?2004h[?25hset whichwrap-=h
[?25l[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:let a = '.é.' " one char of two bytes
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 9 lines, 548 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let b = '.é.' " normal e with composing char

/^byteidx

:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)])

:put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])

/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)])

:let b = '.é.'

:put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet a = '.é.' " one char of two bytes
[?25l[?25h[?25l:[?2004h[?25hlet b = '.eé.' " normal e with composing char
[?25l[?25h[?25l/[?2004h[?25h^byteidx
[?25l

byteidx[?25h[?25l

:[?2004h[?25hput =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), bytei


dx(a, 4)])
[?25l:set whichwrap-=h

ENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hput =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), bytei


dx(b, 4)])
[?25lENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5[?25h[?25l

/[?2004h[?25h^byteidxcomp
[?25l

byteidxcomp[?25h[?25l

:[?2004h[?25hput =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxc


omp(a, 3), byteidxcomp(a, 4)])
[?25láxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hlet b = '.eé.'
[?25l[?25h[?25l:[?2004h[?25hput =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxc


omp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])
[?25lSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1]2, 4, 5, -1][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^substitute
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 75 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let y = substitute('123', '\zs', 'a', 'g')    | put =y

ENDTEST[?25h[?25lsubstitute[?25h[?25l



:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^substitute
[?25l[?25h[?25l:[?2004h[?25hlet y = substitute('123', '\zs', 'a', 'g')    | put =y
[?25la1a2a3a[?25h[?25l



/[?2004h^STARTTEST


STARTTEST[?25h[?25l:g/^STARTTEST/.,/^ENDTEST/d

:1;/^Results/,$wq! test.out[?25h[?25l



:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l



/ENDTEST[?25h
[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l104 fewer lines{ four}ra test

aaaaaaaáxbyteidx[0, 1, 3, 4, -1]

[0, 1, 4, 5, -1]byteidxcomp

[0, 1, 3, 4, -1]

[0, 1, 2, 4, 5, -1]substitute

a1a2a3a[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 166 lines, 730 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test69 = test61; then \
#	  if diff test.out test69.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test69.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test70.failed test.ok test.out X* viminfo
cp test70.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test70.in" 63 lines, 1501 charactersSmoke test for MzScheme interface and mzeval() function



STARTTEST

:so mzscheme.vim

:set nocompatible viminfo+=nviminfo

:function! MzRequire()

:redir => l:mzversion

:mz (version)

:redir END

:if strpart(l:mzversion, 1, 1) < "4"

:" MzScheme versions < 4.x:

:mz (require (prefix vim- vimext))

:else

:" newer versions:

:mz (require (prefix-in vim- 'vimext))

:mz (require r5rs)

:endif

:endfunction

:silent call MzRequire()

:mz (define l '("item0" "dictionary with list OK" "item2"))

:mz (define h (make-hash))

:mz (hash-set! h "list" l)

/^1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSmoke test for MzScheme interface and mzeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1398 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:if l2[2] == l2

:let res = "OK"

:else

:let res = "FAILED: " . l2[2]

:endif

:call setline(search("^3"), "circular test " . res)

:" funcrefs

:mz (define vim:max (vim-eval "function('max')"))

:mz (define m (vim:max '(1 100 8)))

:let m = mzeval('m')

:if m == 100

:let fref_res = "OK"

:else

:let fref_res = "FAILED: " . m

:end

:call append(line('$'), 'funcrefs '. fref_res)

:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mzscheme.vim
[?25l"test.ok" 6 lines, 94 characters


"test.out" [New File] 6 lines, 94 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test70 = test61; then \
#	  if diff test.out test70.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test70.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test73.failed test.ok test.out X* viminfo
cp test73.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test73.in" 170 lines, 3664 charactersTests for find completion.



STARTTEST

:so small.vim

:set belloff=all

:" Do all test in a separate window to avoid E211 when we recursively

:" delete the Xfind directory during cleanup

:"

:" This will cause a few errors, do it silently.

:set visualbell

:set nocp viminfo+=nviminfo

:"

:" On windows a stale "Xfind" directory may exist, remove it so that

:" we start from a clean state.

:call delete("Xfind", "rf")

:new

:let cwd=getcwd()

:let test_out = cwd . '/test.out'

:call mkdir('Xfind')

:cd Xfind

:set path=

:find

:exec "w! " . test_out[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 find completion.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 165 lines, 3617 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exec "cd " . cwd . "/Xfind/"

:set path=./path

:" Open the file where Jimmy Hoffa is found

:e in/file.txt

:" Find the file containing 'E.T.' in the Xfind/in/path directory

:find file

:exec "w >>" . test_out

:"

:" Test that completion works when path=.,,

:"

:set path=.,,

:" Open Jimmy Hoffa file

:e in/file.txt

:exec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu

:exec "w >>" . test_out

:q

:exec "cd " . cwd

:call delete("Xfind", "rf")

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" Do all test in a separate window to avoid E211 when we recursively
[?25l[?25h[?25l:[?2004h[?25h" delete the Xfind directory during cleanup
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" This will cause a few errors, do it silently.
[?25l[?25h[?25l:[?2004h[?25hset visualbell
[?25l[?25h[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h
[?25l[?25h[?25l:[?2004h[?25h" On windows a stale "Xfind" directory may exist, remove it so that
[?25l[?25h[?25l:[?2004h[?25h" we start from a clean state.
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTESTtest73.in                                                                       [?25h[?25l:[?2004h[?25hlet cwd=getcwd()
[?25l[?25h[?25l:[?2004h[?25hlet test_out = cwd . '/test.out'
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('Xfind')
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE345: Can't find file "" in path[?25h[?25l:[?2004h[?25hexec "w! " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out"
<ild/vim-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test.out" [New] 0L, 0C written/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test73.in                    [?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test73.in                    [?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test73.in                    [?25h[?25l:[?2004h[?25hset path=./**
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test73.in                    [?25h[?25l:[?2004h[?25h" We shouldn't find any file at this point, test.out must be empty.
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('in')
[?25l[?25h[?25l:[?2004h[?25hcd in
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/in[?25h[?25l:[?2004h[?25hcall mkdir('path')
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdirtest73.in                                                   [?25h[?25l:[?2004h[?25he Xfind/file.txt
[?25l"Xfind/file.txt" [New File]Xfind/file.txt[?25h[?25l-- INSERT --Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/file.txt" [New] 1L, 11C written    [?25h[?25l:[?2004h[?25he Xfind/in/file.txt
[?25l"Xfind/in/file.txt" [New File]in/file.txt[?25h[?25l-- INSERT --Jimmy Hoffa[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/file.txt" [New] 1L, 12C written    [?25h[?25l:[?2004h[?25he Xfind/in/stuff.txt
[?25l"Xfind/in/stuff.txt" [New File]stuff.txt[?25h[?25l-- INSERT --Another Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/stuff.txt" [New] 1L, 19C written    [?25h[?25l:[?2004h[?25he Xfind/in/path/file.txt
[?25l"Xfind/in/path/file.txt" [New File]path/file.txt[?25h[?25l-- INSERT --E.T.[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/path/file.txt" [New] 1L, 5C written    [?25h[?25l:[?2004h[?25hset path=Xfind/**
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Rerun the previous three find completions, using fullpath in 'path'
[?25l[?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Same steps again, using relative and fullpath items that point to the same
[?25l[?25h[?25l:[?2004h[?25h" recursive location.
[?25l[?25h[?25l:[?2004h[?25h" This is to test that there are no duplicates in the completion list.
[?25l[?25h[?25l:[?2004h[?25hexec "set path+=Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25h" Test find completion for directory of current buffer, which at this point
[?25l[?25h[?25l:[?2004h[?25h" is Xfind/in/file.txt.
[?25l[?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind st...[?25luff.txt[?25h
[?25l"Xfind/in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25h" Test find completion for empty path item ",," which is the current directory
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfindin/stuff.txtf       /<<PKGBUILDDIR>>/src/vim-gtk/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=,,
[?25l[?25h[?25l:[?2004h[?25hfind f...[?25lile.txt[?25h...[?25l[?25h
[?25l"file.txt" 1L, 11CHoly Grailfile.txt.     [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25h" Test shortening of
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    foo/x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    foo/y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is above foo/ they should be shortened to (in order
[?25l[?25h[?25l:[?2004h[?25h" of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('foo')
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/file.txt[?25h[?25l:[?2004h[?25hcall mkdir('x')
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('y')
[?25l[?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/x[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfindfile.txti                                                          [?25h[?25l:[?2004h[?25h" We should now be in the Xfind directory
[?25l[?25h[?25l:[?2004h[?25he foo/x/bar/voyager.txt
[?25l"foo/x/bar/voyager.txt" [New File]oo/x/bar/voyager.txt[?25h[?25l-- INSERT --Voyager 1[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/x/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25he foo/y/bar/voyager.txt
[?25l"foo/y/bar/voyager.txt" [New File]y/[?25h[?25l-- INSERT --Voyager 2[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/y/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h
[?25l"foo/x/bar/voyager.txt" 1L, 10C1x/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h...[?25ly[?25h
[?25l"foo/y/bar/voyager.txt" 1L, 10C2y/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is .../foo/y/bar they should be shortened to (in
[?25l[?25h[?25l:[?2004h[?25h" order of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    ./voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/fooy/bar/voyager.txt.     [?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/ybar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/y/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25lx/bar/voyager.txt[?25h
[?25l<uild/vim-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/Xfind/foo/x/bar/voyager.txt"
<m-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/Xfind/foo/x/bar/voyager.txt" 1L, 10C1/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/x/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check the opposite too:
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foox/bar/voyager.txt/                                                              [?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/xbar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/x/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25ly/bar/voyager.txt[?25h
[?25l<uild/vim-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/Xfind/foo/y/bar/voyager.txt"
<m-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/Xfind/foo/y/bar/voyager.txt" 1L, 10C2/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/foo/y/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check for correct handling of shorten_fname()'s behavior on windows
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/in"
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfind/in[?25h[?25l:[?2004h[?25hfind file...[?25l./file.txt[?25h
[?25l"file.txt" 1L, 12CJimmy Hoffafile.txti                                                                       [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Test for relative to current buffer 'path' item
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/"
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xfindin/file.txt[?25h[?25l:[?2004h[?25hset path=./path
[?25l[?25h[?25l:[?2004h[?25h" Open the file where Jimmy Hoffa is found
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12C[?25h[?25l:[?2004h[?25h" Find the file containing 'E.T.' in the Xfind/in/path directory
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25ltxt[?25h
[?25l"in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that completion works when path=.,,
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25h" Open Jimmy Hoffa file
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Search for the file containing Holy Grail in same directory as in/path.txt
[?25l[?25h[?25l:[?2004h[?25hfind stu...[?25lff.txt[?25h
[?25l"in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25hq
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test73 = test61; then \
#	  if diff test.out test73.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test73.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test79.failed test.ok test.out X* viminfo
cp test79.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test79.in" 255 lines, 3381 charactersTest for *sub-replace-special* and *sub-replace-expression* on :substitute.

Test for submatch() on :substitue.

Test for *:s%* on :substitute.

Test for :s replacing \n with  line break.



STARTTEST

:so small.vim

ENDTEST



Results of test71:



STARTTEST

:set magic

:set cpo&

/^TEST/

j:s/A/&&/

j:s/B/\&/

j:s/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/

j:s/D/d/

j:s/E/~/

j:s/F/\~/

j:s/G/\ugg/

j:s/H/\Uh\Eh/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 *sub-replace-special* and *sub-replace-expression* on :substitute.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 14 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 347 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_1:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25lA
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l&[?25h

[?25l:[?2004h[?25hs/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25ld[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set nomagic
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 351 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_2:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25l&&
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l[?25h

[?25l:[?2004h[?25hs/\mC\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25l~[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 203 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\='\\'/

j:s/C/\='^V^M'/

j:s/D/\='\^V^M'/

j:s/E/\='\\^V^M'/

j:s/F/\='\r'/

j:s/G/\='^V^@'/

j:s/H/\='\^V^@'/

j:s/I/\='\\^V^@'/

j:s/J/\='\n'/

j:s/K/\="\r"/

j:s/L/\="\n"/

ENDTEST



TEST_3:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\='\'/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\='\\'/
[?25l\\b
[?25h

[?25l:[?2004h[?25hs/C/\='^^M'/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\='\^^M'/
[?25l\d[?25h

[?25l





:[?2004h[?25hs/E/\='\\^^M'/
[?25l\\

efFf[?25h

[?25l:[?2004h[?25hs/F/\='\r'/
[?25l\rf
[?25h[?25l

gGg[?25h[?25l

:[?2004h[?25hs/G/\='^^@'/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\='\^^@'/
[?25l

\h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\='\\^^@'/
[?25l

\\

i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\='\n'/
[?25l\nj
[?25h[?25l

kKk[?25h[?25l

:[?2004h[?25hs/K/\="\r"/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\="\n"/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 611 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\=substitute(submatch(0), '.', '\\', '')/

j:s/C/\=substitute(submatch(0), '.', '^V^M', '')/

j:s/D/\=substitute(submatch(0), '.', '\^V^M', '')/

j:s/E/\=substitute(submatch(0), '.', '\\^V^M', '')/

j:s/F/\=substitute(submatch(0), '.', '\r', '')/

j:s/G/\=substitute(submatch(0), '.', '^V^@', '')/

j:s/H/\=substitute(submatch(0), '.', '\^V^@', '')/

j:s/I/\=substitute(submatch(0), '.', '\\^V^@', '')/

j:s/J/\=substitute(submatch(0), '.', '\n', '')/

j:s/K/\=substitute(submatch(0), '.', "\r", '')/

j:s/L/\=substitute(submatch(0), '.', "\n", '')/

ENDTEST



TEST_4:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\=substitute(submatch(0), '.', '\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\=substitute(submatch(0), '.', '\\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/C/\=substitute(submatch(0), '.', '^^M', '')/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\=substitute(submatch(0), '.', '\^^M', '')/
[?25ld[?25h

[?25l





:[?2004h[?25hs/E/\=substitute(submatch(0), '.', '\\^^M', '')/
[?25l\efFf[?25h

[?25l:[?2004h[?25hs/F/\=substitute(submatch(0), '.', '\r', '')/
[?25l

f[?25h[?25l

gGg
[?25h[?25l

:[?2004h[?25hs/G/\=substitute(submatch(0), '.', '^^@', '')/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\=substitute(submatch(0), '.', '\^^@', '')/
[?25l

h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\=substitute(submatch(0), '.', '\\^^@', '')/
[?25l

\i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\=substitute(submatch(0), '.', '\n', '')/
[?25l

j[?25h[?25l

kKk
[?25h[?25l

:[?2004h[?25hs/K/\=substitute(submatch(0), '.', "\r", '')/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\=substitute(submatch(0), '.', "\n", '')/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 445 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST/

j:s/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .. submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch((3) . submatch(2) . submatch(1)/

j:s/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), subbmatch(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), subbmatch(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l

TEST_5:[?25h[?25l

A123456789
[?25h[?25l

:[?2004h[?25hs/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .


submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch(


3) . submatch(2) . submatch(1)/
[?25li\

i987654321[?25h[?25l

B123456789
[?25h[?25l

:[?2004h[?25hs/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), sub


match(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), sub


match(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/
[?25li

j[['B123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^TEST/

:set cpo+=/

j:s/A/a/

j:s/B/%/

:set cpo-=/

j:s/C/c/

j:s/D/%/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25lTEST_6:

A

B[?25h[?25l





:[?2004h[?25hset cpo+=/
[?25l[?25h

[?25l:[?2004h[?25hs/A/a/
[?25la[?25h

[?25l:[?2004h[?25hs/B/%/
[?25la[?25h[?25l:[?2004h[?25hset cpo-=/
[?25l[?25h[?25lC

D[?25h[?25l





:[?2004h[?25hs/C/c/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/%/
[?25l%[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 11 lines, 303 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST_7/

j:s/A./\=submatch(0)/

j:s/B./\=submatch(0)/

j:s/C./\=strtrans(string(submatch(0, 1)))/

j:s/D.\nD/\=strtrans(string(submatch(0, 1)))/

j:s/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/

/^Q$

:s/Q[^\n]Q/\=submatch(0)."foobar"/

:" Avoid :s error breaks dotest map on Windows.

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST_7/
[?25l

TEST_7:[?25h[?25l

A^MA
[?25h[?25l

:[?2004h[?25hs/A./\=submatch(0)/
[?25l

A[?25h[?25l

B^@B
[?25h[?25l

:[?2004h[?25hs/B./\=submatch(0)/
[?25l

B[?25h[?25l

C^@C
[?25h[?25l

:[?2004h[?25hs/C./\=strtrans(string(submatch(0, 1)))/
[?25l['C^@']C
[?25h[?25l

D^@[?25h[?25l

:[?2004h[?25hs/D.\nD/\=strtrans(string(submatch(0, 1)))/
[?25l['D^@', 'D']
[?25h[?25l

E^@[?25h[?25l

:[?2004h[?25hs/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/
[?25l['E^@', '^@', '^@', '^@', '^@E']
[?25h[?25l/[?2004h[?25h^Q$
[?25l

Q[?25h[?25l

:[?2004h[?25hs/Q[^\n]Q/\=submatch(0)."foobar"/
[?25lE486: Pattern not found: Q[^\n]Q[?25h[?25l:[?2004h[?25h" Avoid :s error breaks dotest map on Windows.
[?25l[?25h[?25l/[?2004h^STARTTEST
Q



STARTTEST[?25h[?25l

:function! TitleString()
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 177 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTlet check = 'foo' =~ 'bar'

  return ""

endfunction

:set titlestring=%{TitleString()}

:/^test_one/s/.*/\="foo\nbar"/

:/^test_two/s/.*/\="foo\nbar"/c

y

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hfunction! TitleString()
[?25l

:[?2004h  [?25h  let check = 'foo' =~ 'bar'


[?25l:[?2004h  [?25h  return ""


[?25l:[?2004h  [?25hendfunction
[?25lTEST_7:

A[?25h[?25l

:[?2004h[?25hset titlestring=%{TitleString()}
[?25l[?25h[?25l:[?2004h[?25h/^test_one/s/.*/\="foo\nbar"/
[?25lfoo

bar[?25h[?25l

:[?2004h[?25h/^test_two/s/.*/\="foo\nbar"/c
[?25l

test_tworeplace with \="foo\nbar" (y/n/a/q/l/^E/^Y)?[?25h[?25l

foobar
[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 72 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l136 fewer linesaa

c

%TEST_7:AABB['C^@']C['D^@', 'D']

['E^@', '^@', '^@', '^@', '^@E']

Q

Qfoo

bar

foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 134 lines, 574 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test79 = test61; then \
#	  if diff test.out test79.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test79.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test88.failed test.ok test.out X* viminfo
cp test88.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test88.in" 99 lines, 1449 charactersvim: set ft=vim



Tests for correct display (cursor column position) with +conceal and

tabulators.



STARTTEST

:so small.vim

:if !has('conceal')

   e! test.ok

   wq! test.out

:endif

:" Conceal settings.

:set conceallevel=2

:set concealcursor=nc

:syntax match test /|/ conceal

:" Save current cursor position. Only works in <expr> mode, can't be used

:" with :normal because it moves the cursor to the command line. Thanks to ZyX

:" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.

:let positions = []

:nnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"

:" Start test.

/^start:

:normal ztj[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 82 lines, 1216 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:normal W

GGk

:normal W

GGk

:normal W

GGk

:normal $

GGk

:" Display result.

:call append('$', 'end:')

:call append('$', positions)

:/^end/,$wq! test.out

ENDTEST



start:

.concealed.     text

|concealed|     text.concealed.     text|concealed|     text



.a.     .b.     .c.     .d.

|a|     |b|     |c|     |d|[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif !has('conceal')
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   wq! test.out


[?25l:[?2004h  [?25h:endif
[?25l:normal W

GGk

:normal W[?25h[?25l:[?2004h[?25h" Conceal settings.
[?25l[?25h[?25l:[?2004h[?25hset conceallevel=2
[?25l[?25h[?25l:[?2004h[?25hset concealcursor=nc
[?25l[?25h[?25l:[?2004h[?25hsyntax match test /|/ conceal
[?25lconcealed  concealed  





a       b       c       d[?25h[?25l:[?2004h[?25h" Save current cursor position. Only works in <expr> mode, can't be used
[?25l[?25h[?25l:[?2004h[?25h" with :normal because it moves the cursor to the command line. Thanks to ZyX
[?25l[?25h[?25l:[?2004h[?25h" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.
[?25l[?25h[?25l:[?2004h[?25hlet positions = []
[?25l[?25h[?25l:[?2004h[?25hnnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"
[?25l[?25h[?25l:[?2004h[?25h" Start test.
[?25l[?25h[?25l/[?2004h[?25h^start:
[?25l[?25h[?25l:[?2004h[?25hnormal ztj
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004hlet positions += ['2:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" We should end up in the same column when running these commands on the two
[?25l[?25h[?25l:[?2004h[?25h" lines.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['2:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['2:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['3:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['3:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['3:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['5:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Same for next test block.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['5:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['5:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['6:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['6:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['6:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['8:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" And check W with multiple tabs and conceals in a line.
[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['8:27']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset lbr
[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset list listchars=tab:>-
[?25l>------



>------->----

>------->------>----.b.>----.c.>----

a>------b>------c>------[?25h[?25l:[?2004h[?25hnormal 0
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Display result.
[?25l[?25h[?25l:[?2004h[?25hcall append('$', 'end:')
[?25lend:[?25h[?25l:[?2004h[?25hcall append('$', positions)
[?25l2:12:172:203:13:173:205:85:255:286:86:256:288:1[?25h[?25l:[?2004h[?25h/^end/,$wq! test.out
[?25l[?2004l"test.out" [New File] 29 lines, 135 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test88 = test61; then \
#	  if diff test.out test88.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test88.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test94.failed test.ok test.out X* viminfo
cp test94.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test94.in" 257 lines, 4841 charactersTest for Visual mode and operators



Tests for the two kinds of operations: Those executed with Visual mode

followed by an operator and those executed via Operator-pending mode. Also

part of the test are mappings, counts, and repetition with the . command.



Test cases:

- Visual modes (v V CTRL-V) followed by an operator; count; repeating

- Visual mode maps; count; repeating

  - Simple

  - With an Ex command (custom text object)

- Operator-pending mode maps

  - Simple

  - With Ex command moving the cursor

  - With Ex command and Visual selection (custom text object)

- Patch 7.3.879: Properly abort Ex command in Operator-pending mode



STARTTEST

:so small.vim

:set belloff=all

:set enc=utf-8 nocp viminfo+=nviminfo

:

:" User functions[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Visual mode and operators[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 212 lines, 3854 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hset enc=utf-8 nocp viminfo+=nviminfo
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h[?25l:[?2004h[>c[?25h[?25l:[?2004h[?25h" User functions
[?25l[?25h[?25l:[?2004h[?25hfunction MoveToCap()
[?25l

:[?2004h  [?25h:  call search('\u', 'W')


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'[?25h[?25l:[?2004h[?25hfunction SelectInCaps()
[?25l

:[?2004h  [?25h:  let [line1, col1] = searchpos('\u', 'bcnW')


[?25l:[?2004h  [?25h:  let [line2, col2] = searchpos('.\u', 'nW')


[?25l:[?2004h  [?25h:  call setpos("'<", [0, line1, col1, 0])


[?25l:[?2004h  [?25h:  call setpos("'>", [0, line2, col2, 0])


[?25l:[?2004h  [?25h:  normal! gv


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual modes followed by operator
[?25l[?25h[?25l/[?2004h[?25h^apple
[?25l[?25ha[?25l-- VISUAL --[?25h[?25lp[?25h[?25lle banana cherry[?25h[?25l banana cherry[?25h [?25lbanan-- VISUAL --[?25h[?25l
a  cherry[?25h[?25ly[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^line 1
[?25l[?25h[?25lline 1 line 1 -- VISUAL LINE --[?25h[?25lINSERT --Nnewline[?25h[?25l-- INSERT --newline[?25h[?25l
line 3 line 3 

line 4 line 4 





-- VISUAL LINE --[?25h[?25lline 5 line 5line 6 line 6xxxxxxxxxxxxx[?25h[?25lxxxxxxxxxxxxx

xxxxxxxxxxxxx[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^xxxx
[?25l[?25h[?25l





-- VISUAL BLOCK --[?25h[?25lx

[?25h[?25lx

x[?25h[?25lINSERT --O  

  [?25h [?25l





-- INSERT --  

    [?25h [?25l

xxxx

    xxxx

xxxxxxxx

xxxxxxxxxxxxx

-- VISUAL BLOCK --[?25h[?25l

-- INSERT --O----

    ----

xxxx----

xxxx----[?25h-[?25l-- INSERT ------------------[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25hvnoremap W /\u/s-1<CR>
[?25l[?25h[?25l:[?2004h[?25hvnoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Kiwi
[?25lKiwiRaspberryDateWatermelonPeach[?25h[?25l

-- VISUAL --[?25h[?25l/[?2004h\u/s-1
Kiw[?25h[?25l

-- INSERT --NoRaspberryDateWatermelonPeach[?25ho[?25l

-- INSERT --NoberryDateWatermelonPeach[?25hoberry[?25lDateWat

-- VISUAL --[?25h[?25lrmelonPeach[?25h[?25lach[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Jambu
[?25l

JambuRambutanBananaTangerineMango[?25hJa[?25l

-- VISUAL --[?25h[?25l:[?2004h'<,'>call SelectInCaps()
Jamb[?25h[?25l

-- INSERT ---RambutanBananaTangerineMango[?25h-[?25l

-- INSERT ---tanBananaTangerineMango[?25h-[?25ltanBanana

-- VISUAL --[?25h[?25l
--angerineMango[?25ha[?25lgo[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Operator-pending mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25honoremap W /\u/<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap <Leader>W :<C-U>call MoveToCap()<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Pineapple
[?25lPineappleQuinceLoganberryOrangeGrapefruitKiwiZ[?25h[?25l

/[?2004h\u/
-QuinceLoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---LoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---GrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---Z[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Juniper
[?25l

JuniperDurianZ[?25h[?25l

:[?2004hcall MoveToCap()
Whavcre
[?25h[?25l:[?2004hcall MoveToCap()
Qhevna[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Lemon
[?25l

LemonNectarineZ[?25h[?25l

:[?2004hcall SelectInCaps()
[?25h[?25lLemonLemonNectarineZ
Lemo[?25hn[?25l:[?2004hcall SelectInCaps()
NewNectarineZ[?25hwNecta[?25l

:[?2004hcall SelectInCaps()
wZ[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Patch 7.3.879: Properly abort Operator-pending mode for "dv:<Esc>" etc.
[?25l[?25h[?25l/[?2004h[?25h^zzzz
[?25lzzzz[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25lE21: Cannot make changes, 'modifiable' is off[?25h[?25l:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'ok' : 'failed'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'failed' : 'ok'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: replace last line'
[?25l

characterwise visual mode: replace last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25hlet @" = 'x'
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l

-- VISUAL --[?25h[?25la[?25h[?25lx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h$put ='v:errmsg='.v:errmsg
[?25l

v:errmsg=[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle line'
[?25l

characterwise visual mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle two line'
[?25l

characterwise visual mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise visual mode: delete last line'
[?25l

characterwise visual mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete last two line'
[?25l

characterwise visual mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- VISUAL --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Select mode maps
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>End> <End>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Down> <Down>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Del> <Del>
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle line'
[?25l

characterwise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle two line'
[?25l

characterwise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise select mode: delete last line'
[?25l

characterwise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- SELECT --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete last two line'
[?25l

characterwise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- SELECT --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle line'
[?25l

linewise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25lbc

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle two line'
[?25l

linewise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25la

b 
[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='linewise select mode: delete last line'
[?25l

linewise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lc 

-- SELECT LINE --[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete last two line'
[?25l

linewise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lb 



-- SELECT LINE --[?25h[?25lb

c 
[?25h[?25l~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='v_p: replace last character with line register at middle line'
[?25l

v_p: replace last character with line register at middle line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25laaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25lccc

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at middle line selecting


newline'
[?25llinewise select mode: delete middle two line

c---linewise select mode: delete last line

ab

---linewise select mode: delete last two line

a---v_p: replace last character with line register at middle line

aaabbaaaccc

---v_p: replace last character with line register at middle line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25lb[?25h[?25laaa[?25h[?25l

ccc
[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line'
[?25l

v_p: replace last character with line register at last line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line selecting n


ewline'
[?25laaa

bbaaaccc

---v_p: replace last character with line register at middle line selecting newline

aaabbaaa

ccc

---v_p: replace last character with line register at last line

aaabbb

ccaaa---v_p: replace last character with line register at last line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode after operation'
[?25l

gv in exclusive select mode after operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25h$put ='äà '
[?25l

äÃ[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l



-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h

[?25l

-- VISUAL --[?25h[?25läÃ[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode without operation'
[?25l

gv in exclusive select mode without operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l

-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h/^start:/+2,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 123L, 1328C written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test94 = test61; then \
#	  if diff test.out test94.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test94.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test95.failed test.ok test.out X* viminfo
cp test95.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test95.in" 141 lines, 5827 charactersTest for regexp patterns with multi-byte support, using utf-8.

See test64 for the non-multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:so mbyte.vim

:set nocp encoding=utf-8 viminfo+=nviminfo nomore

:" tl is a List of Lists with:

:"    2: test auto/old/new  0: test auto/old  1: test auto/new

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:

:"""" Multi-byte character tests. These will fail unless vim is compiled

:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns with multi-byte support, using utf-8.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 131 lines, 5590 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h

[?25l





:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp encoding=utf-8 viminfo+=nviminfo nomore
[?25l:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h[?25l





:[?2004h[>c" tl is a List of Lists with:
[?25h[?25l:[?2004h[?25h"    2: test auto/old/new  0: test auto/old  1: test auto/new
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Multi-byte character tests. These will fail unless vim is compiled
[?25l[?25h[?25l:[?2004h[?25h"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[=a=]]\+', 'ddaãâbcd', 'aãâ'])^I^I^I^I^I^I^I^I" equivalence


classes
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oij


asoifjos'])
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna']


)[?25l:endif[?25h[?25l





:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" this is not a normal "i" but 0xec
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p\+', 'ìa', 'ìa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aあ', 'aあ'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of some character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\f\+', '&*<9f>fname ', 'fname'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test composing character matching
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.ม', 'xมม่x yมy', 'yม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.มม่', 'xมม่x yมy', 'xมม่'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ca", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a\u0300", "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test \Z
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ú\Z', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְ\Z', 'ווְייַ', 'ייַ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" check that 'ambiwidth' does not change the meaning of \p
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=1 ambiwidth=single
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=1 ambiwidth=double
[?25lOK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi double: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=single
[?25lOK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=double
[?25lOK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0

eng 2 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi double: 0[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New] 140L, 2022C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test95 = test61; then \
#	  if diff test.out test95.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test95.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test99.failed test.ok test.out X* viminfo
cp test99.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test99.in" 69 lines, 1400 charactersTests for regexp with multi-byte encoding and various magic settings.

Test matchstr() with a count and multi-byte chars.

See test44 for exactly the same test with re=1.



STARTTEST

:so mbyte.vim

:set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

:set re=2

/^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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 43 lines, 931 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
[?25l:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


/[?2004h[?25h\%U12345678
[?25l


/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l"test.out" 23L, 264C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test99 = test61; then \
#	  if diff test.out test99.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test99.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test108.failed test.ok test.out X* viminfo
cp test108.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test108.in" 88 lines, 1329 charactersTests for backtrace debug commands.     vim: set ft=vim :



STARTTEST

:so small.vim

:lang mess C

:function! Foo()

:   let var1 = 1

:   let var2 = Bar(var1) + 9

:   return var2

:endfunction

:

:function! Bar(var)

:    let var1 = 2 + a:var

:    let var2 = Bazz(var1) + 4

:    return var2

:endfunction

:

:function! Bazz(var)

:    let var1 = 3 + a:var

:    let var3 = "another var"

:    return var1

:endfunction

:new[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 backtrace debug commands.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 83 lines, 1251 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTup

b

echo "fil is not frame or finish, it is file"

fil

echo "\n- relative backtrace movement\n"

fr -1

frame

fra +1

fram

echo "\n- go beyond limits does not crash\n"

fr 100

fra

frame -40

fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hlang mess C
[?25l[?25h[?25l:[?2004h[?25hfunction! Foo()
[?25l

:[?2004h  [?25h:   let var1 = 1


[?25l:[?2004h  [?25h:   let var2 = Bar(var1) + 9


[?25l:[?2004h  [?25h:   return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bar(var)
[?25l

:[?2004h  [?25h:    let var1 = 2 + a:var


[?25l:[?2004h  [?25h:    let var2 = Bazz(var1) + 4


[?25l:[?2004h  [?25h:    return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bazz(var)
[?25l

:[?2004h  [?25h:    let var1 = 3 + a:var


[?25l:[?2004h  [?25h:    let var3 = "another var"


[?25l:[?2004h  [?25h:    return var1


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       echo "\n- final result 19:"

cont:0debuggreedy

:redir END$put =out

:w! test.out

:qa!ENDTESTtest108.in                                                                      [?25h[?25l:[?2004h[?25hdebuggreedy
[?25l[?25h[?25l:[?2004h[?25hredir => out
[?25l[?25h[?25l:[?2004h[?25hdebug echo Foo()
[?25l[?2004hEntering Debug mode.  Type "cont" to continue.


cmd: echo Foo()


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 1: let var1 = 1


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 2: let var2 = Bar(var1) + 9


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 1: let var1 = 2 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 2: let var2 = Bazz(var1) + 4


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 1: let var1 = 3 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "- show backtrace:\n"


[?25l- show backtrace:


>[?2004h[?25hbacktrace


[?25l  2 function Foo[2]


  1 Bar[2]


->0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "\nshow variables on different levels:\n"


[?25l

show variables on different levels:


>[?2004h[?25hecho var1


[?25l6

>[?2004h[?25hup


[?25l>[?2004h[?25hback


[?25l  2 function Foo[2]


->1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l3

>[?2004h[?25hu


[?25l>[?2004h[?25hbt


[?25l->2 function Foo[2]


  1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l1

>[?2004h[?25hecho "\n- undefined vars:\n"


[?25l

- undefined vars:


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: return var1


>[?2004h[?25hframe 2


[?25l>[?2004h[?25hecho "undefined var3 on former level:"


[?25lundefined var3 on former level:


>[?2004h[?25hecho var3


[?25lError detected while processing function Foo[2]..Bar[2]..Bazz:


line    3:


E121: Undefined variable: var3


E15: Invalid expression: var3


>[?2004h[?25hfr 0


[?25l>[?2004h[?25hecho "here var3 is defined with \"another var\":"


[?25lhere var3 is defined with "another var":


>[?2004h[?25hecho var3


[?25lanother var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: End of function


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: return var2


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: End of function


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nundefined var2 on former level"


[?25l

undefined var2 on former level


>[?2004h[?25hecho var2


[?25lError detected while processing function Foo[2]..Bar:


line    3:


E121: Undefined variable: var2


E15: Invalid expression: var2


>[?2004h[?25hdown


[?25l>[?2004h[?25hecho "here var2 is defined with 10:"


[?25lhere var2 is defined with 10:


>[?2004h[?25hecho var2


[?25l10


>[?2004h[?25hecho "\n- backtrace movements:\n"


[?25l

- backtrace movements:


>[?2004h[?25hb


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\nnext command cannot go down, we are on bottom\n"


[?25l

next command cannot go down, we are on bottom


>[?2004h[?25hdown


[?25lframe is zero


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nnext command cannot go up, we are on top\n"


[?25l

next command cannot go up, we are on top


>[?2004h[?25hup


[?25lframe at highest level: 1


>[?2004h[?25hb


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "fil is not frame or finish, it is file"


[?25lfil is not frame or finish, it is file


>[?2004h[?25hfil


[?25l"[No Name]" --No lines in buffer--


>[?2004h[?25hecho "\n- relative backtrace movement\n"


[?25l

- relative backtrace movement


>[?2004h[?25hfr -1


[?25l>[?2004h[?25hframe


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hfra +1


[?25l>[?2004h[?25hfram


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- go beyond limits does not crash\n"


[?25l

- go beyond limits does not crash


>[?2004h[?25hfr 100


[?25lframe at highest level: 1


>[?2004h[?25hfra


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hframe -40


[?25lframe is zero


>[?2004h[?25hfram


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- final result 19:"


[?25l

- final result 19:


>[?2004h[?25hcont


[?25l19


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h0debuggreedy
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST



test108.in                                                                      [?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25h$put =out
[?25l83 more lines->1 function Foo[2]

  0 Barline 3: End of functionframe is zero  1 function Foo[2]->0 Barline 3: End of function- final result 19:19[+][?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 84 lines, 1390 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test108 = test61; then \
#	  if diff test.out test108.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test108.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_autoformat_join.failed test.ok test.out X* viminfo
cp test_autoformat_join.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autoformat_join.in" 23 lines, 524 charactersTests for setting the '[,'] marks when joining lines.



STARTTEST

:so small.vim

:/^\t\t/

0gqj:

:let a=string(getpos("'[")).'/'.string(getpos("']"))

:/^This line/;'}-join

:let b=string(getpos("'[")).'/'.string(getpos("']"))

:$put ='First test: Start/End '.string(a)

:$put ='Second test: Start/End '.string(b)

:/^\t\t/,$wq! test.out

ENDTESTO sodales, ludite, vos qui

attamen consulite per voster honur. Tua pulchra facies me fay planszer milies



This line.

Should be joined with the next line

and with this line



Results:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 setting the '[,'] marks when joining lines.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 9 lines, 265 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^\t\t/
[?25l[?25h[?25lattamen consulite per voster honur.

Tua pulchra facies me fay planszer milies[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hlet a=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h/^This line/;'}-join
[?25lThis line.  Should be joined with the next line and with this line





~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet b=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h$put ='First test: Start/End '.string(a)
[?25lFirst test: Start/End '[0, 16, 1, 0]/[0, 17, 1, 0]'[?25h[?25l:[?2004h[?25h$put ='Second test: Start/End '.string(b)
[?25lSecond test: Start/End '[0, 19, 11, 0]/[0, 19, 67, 0]'[?25h[?25l:[?2004h[?25h/^\t\t/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 8 lines, 292 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_autoformat_join = test61; then \
#	  if diff test.out test_autoformat_join.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_autoformat_join.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_changelist.failed test.ok test.out X* viminfo
cp test_changelist.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_changelist.in" 22 lines, 288 charactersTest changelist position after splitting window

Set 'undolevels' to make changelist for sourced file



STARTTEST

:so small.vim

Gkylp:set ul=100

Gylp:set ul=100

gg

:vsplit

:try

:  normal g;

:  normal ggVGcpass^[

:catch

:  normal ggVGcfail^[

:finally

:  %w! test.out

:endtry

:qa!

ENDTEST



1

2

~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest changelist position after splitting window[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 14 lines, 163 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h



[?25l11[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l22[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l:[?2004h[?25hvsplit
[?25l|

 window                                 |

Set 'undolevels' to make changelist for |

sourced file|

             |

STARTTEST       |

:so small.vim  |

Gkylp:set ul=100|

Gylp:set ul=100|

gg  |

:vsplit     |

:try                  |

:  normal g;|pass|

:catch  |

:  normal ggVGcfail^[|

:finally|

:  %w! test.out|

:endtry|

:qa!|

ENDTEST|

  |

test_changelist.in [+]                   Test changelist position after splitting windowSet 'undolevels' to make changelist forsourced fileSTARTTEST:so small.vimGkylp:set ul=100Gylp:set ul=100gg:vsplit:try:  normal g;:  normal ggVGcpass^[:catch:  normal ggVGcfail^[:finally:  %w! test.out:endtry:qa!ENDTESTtest_changelist.in [+]                 [?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:  normal g;


[?25l:[?2004h  [?25h:  normal ggVGcpass
[?25l21 fewer lines[?2004l[?2004h

:[?2004h  


:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:  normal ggVGcfail


[?25l:[?2004h  


:[?2004h  [?25h:finally


[?25l:[?2004h  [?25h:  %w! test.out


[?25l"test.out" [New File] 1 line, 5 characters written


:[?2004h  [?25h:endtry
[?25lpass||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                           pass~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                         [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_changelist = test61; then \
#	  if diff test.out test_changelist.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_changelist.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_close_count.failed test.ok test.out X* viminfo
cp test_close_count.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_close_count.in" 154 lines, 2682 charactersTests for :[count]close! and :[count]hide     vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:let tests = []

:for i in range(5)

:new

:endfor

:4wincmd w

:close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:$close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[count]close! and :[count]hide     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 42 lines, 766 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call add(tests, buffers)

:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:for i in range(5)

:new

:endfor

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:4wincmd w

:.hide[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hclose!
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File]test.out]  [?25h[?25l:[?2004h[?25hcall append(0, map(copy(tests), 'join(v:val, " ")'))
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5[+][?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 7 lines, 39 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 5~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l"test_close_count.in" 154 lines, 2682 characters:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w:only!:b1ENDTESTSTARTTEST:let tests = []:for i in range(5):new:endfor:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers):4wincmd w:.hide:let buffers = [][?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 44 lines, 815 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:2wincmd w

:+hide

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:1wincmd w

:$ hide

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                       test_close_count.in                                                              [?25h[?25l:[?2004h[?25h.hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h3wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 7 lines, 39 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l13 12 11 10 9 113 12 11 9 112 11 9 112 11 9[+][?25h[?25l12 9

15 12 9

15 12[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 15 lines, 106 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 9

15 12~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:+hide:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5):new:endfor:1wincmd w:$ hide:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 94 of 154 --61%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 448 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:1wincmd w

:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:4wincmd w

^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h1wincmd w
[?25l[?25h[?25l:[?2004h[?25h$ hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$-1 close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h.+close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 15 lines, 106 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l[+][?25h[?25l15 12 915 120 19 18 17 16

20 19 18 16

20 18 16
[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 19 lines, 143 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5



13 12 11 10 9 1

13 12 11 9 1

12 11 9 1

12 11 9

12 9

15 12 9

15 12



20 19 18 17 16

20 19 18 16

20 18 16



~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new:endfor:4wincmd w

^Wc:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 122 of 154 --79%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 28 lines, 511 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST1^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

9^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w

2^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:only!

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l

[?25h[?25l



:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" line 19 of 19 --100%-- col 16 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 915 1220 19 18 17 1620 19 18 1620 18 16[?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l25 24 23 21 124 23 21 124 23 2124 21[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 23 lines, 183 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_close_count = test61; then \
#	  if diff test.out test_close_count.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_close_count.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_erasebackword.failed test.ok test.out X* viminfo
cp test_erasebackword.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_erasebackword.in" 20 lines, 444 charactersTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G







:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 erasing backword[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 379 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G

o wwwこんにちわ世界ワールドvim ^W^[

o wwwこんにちわ世界ワールドvim ^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^W^[

:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h



[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25lド[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?25l

:[?2004h[?25h/^test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 8 lines, 111 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_erasebackword = test61; then \
#	  if diff test.out test_erasebackword.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_erasebackword.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_eval.in" 247 lines, 6201 charactersTest for various eval features.   vim: set ft=vim :



Note: system clipboard is saved, changed and restored.



clipboard contents

something else



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:lang C

:fun AppendRegContents(reg)

  call AppendRegParts(a:reg, getregtype(a:reg), getreg(a:reg), string(getreg(a:rreg, 0, 1)), getreg(a:reg, 1), string(getreg(a:reg, 1, 1)))

:endfun

:fun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)

  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:reg, aa:type, a:cont, a:strcont, a:cont1, a:strcont1))

endfun

:command -nargs=? AR :call AppendRegContents(<q-args>)

:fun SetReg(...)

    call call('setreg', a:000)[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 233 lines, 6010 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun AppendRegContents(reg)
[?25l

:[?2004h  [?25h  call AppendRegParts(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:[?2004h  [?25h:endfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hfun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)
[?25l

:[?2004h  [?25h  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:re


g, a:type, a:cont, a:strcont, a:cont1, a:strcont1))


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hcommand -nargs=? AR :call AppendRegContents(<q-args>)
[?25l[?25h[?25l:[?2004h[?25hfun SetReg(...)
[?25l

:[?2004h  [?25h    call call('setreg', a:000)


[?25l:[?2004h  [?25h    call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))


[?25l:[?2004h  [?25h    call AppendRegContents(a:1)


[?25l:[?2004h  [?25h    if a:1 isnot# '='


[?25l:[?2004h    [?25h        execute "silent normal! Go==\n==\e\"".a:1."P"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun ErrExe(str)
[?25l

:[?2004h  [?25h    call append('$', 'Executing '.a:str)


[?25l:[?2004h  [?25h    try


[?25l:[?2004h    [?25h        execute a:str


[?25l:[?2004h    [?25h    catch


[?25l:[?2004h    [?25h        $put =v:exception


[?25l:[?2004h    [?25h    endtry


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h$put ='{{{1 let tests'


[?25l:[?2004h  [?25hlet @" = 'abc'


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\n"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\<C-m>"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @= = '"abc"'


[?25l:[?2004h  [?25hAR =


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Basic setreg tests'


[?25l:[?2004h  [?25hcall SetReg('a', 'abcA', 'c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcB', 'v')


[?25l:[?2004h  [?25hcall SetReg('c', 'abcC', 'l')


[?25l:[?2004h  [?25hcall SetReg('d', 'abcD', 'V')


[?25l:[?2004h  [?25hcall SetReg('e', 'abcE', 'b')


[?25l:[?2004h  [?25hcall SetReg('f', 'abcF', "\<C-v>")


[?25l:[?2004h  [?25hcall SetReg('g', 'abcG', 'b10')


[?25l:[?2004h  [?25hcall SetReg('h', 'abcH', "\<C-v>10")


[?25l:[?2004h  [?25hcall SetReg('I', 'abcI')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending single lines with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc', 'c')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAl', 'l')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc2','c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc', 'ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb', 'ba')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc2','ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb2','b50a')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCl', 'l')


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCc', 'c')


[?25l:[?2004h  [?25hcall SetReg('D', 'abcDb', 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEb', 'b')


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEl', 'l')


[?25l:[?2004h  [?25hcall SetReg('F', 'abcFc', 'c')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending NL with setreg()'


[?25l:[?2004h  [?25hcall setreg('a', 'abcA2', 'c')


[?25l:[?2004h  [?25hcall setreg('b', 'abcB2', 'v')


[?25l:[?2004h  [?25hcall setreg('c', 'abcC2', 'l')


[?25l:[?2004h  [?25hcall setreg('d', 'abcD2', 'V')


[?25l:[?2004h  [?25hcall setreg('e', 'abcE2', 'b')


[?25l:[?2004h  [?25hcall setreg('f', 'abcF2', "\<C-v>")


[?25l:[?2004h  [?25hcall setreg('g', 'abcG2', 'b10')


[?25l:[?2004h  [?25hcall setreg('h', 'abcH2', "\<C-v>10")


[?25l:[?2004h  [?25hcall setreg('I', 'abcI2')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', "\n")


[?25l:[?2004h  [?25hcall SetReg('B', "\n", 'c')


[?25l:[?2004h  [?25hcall SetReg('C', "\n")


[?25l:[?2004h  [?25hcall SetReg('D', "\n", 'l')


[?25l:[?2004h  [?25hcall SetReg('E', "\n")


[?25l:[?2004h  [?25hcall SetReg('F', "\n", 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA3'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3'], 'l')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC3'], 'b')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD3'])


[?25l:[?2004h  [?25hcall SetReg('e', [1, 2, 'abc', 3])


[?25l:[?2004h  [?25hcall SetReg('f', [1, 2, 3])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3l'], 'la')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3b'], 'lb')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD32'])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA32'])


[?25l:[?2004h  [?25hcall SetReg('B', ['abcB3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3l'], 'l')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD3b'], 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with NL with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ["\n", 'abcA3l2'], 'l')


[?25l:[?2004h  [?25hcall SetReg('B', ["\n", 'abcB3c2'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ["\n", 'abcC3b2'], 'b')


[?25l:[?2004h  [?25hcall SetReg('D', ["\n", 'abcD3b50'],'b50')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with NLs with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA4-0', "\n", "abcA4-2\n", "\nabcA4-3", "abcA4-4\nabcA4


-4-2"])


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB4c-0', "\n", "abcB4c-2\n", "\nabcB4c-3", "abcB4c-4\na


bcB4c-4-2"], 'c')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC4l-0', "\n", "abcC4l-2\n", "\nabcC4l-3", "abcC4l-4\na


bcC4l-4-2"], 'l')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD4b-0', "\n", "abcD4b-2\n", "\nabcD4b-3", "abcD4b-4\na


bcD4b-4-2"], 'b')


[?25l:[?2004h  [?25hcall SetReg('e', ['abcE4b10-0', "\n", "abcE4b10-2\n", "\nabcE4b10-3", "abcE4


b10-4\nabcE4b10-4-2"], 'b10')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Search and expressions'


[?25l:[?2004h  [?25hcall SetReg('/', ['abc/'])


[?25l:[?2004h  [?25hcall SetReg('/', ["abc/\n"])


[?25l:[?2004h  [?25hcall SetReg('=', ['"abc/"'])


[?25l:[?2004h  [?25hcall SetReg('=', ["\"abc/\n\""])


[?25l:[?2004h  [?25h$put ='{{{1 System clipboard'


[?25l:[?2004h  [?25hif has('clipboard')


[?25l:[?2004h    [?25h" Save and restore system clipboard.


[?25l:[?2004h    [?25h" If no connection to X-Server is possible, test should succeed.


[?25l:[?2004h    [?25hlet _clipreg = ['*', getreg('*'), getregtype('*')]


[?25l:[?2004h    [?25hlet _clipopt = &cb


[?25l:[?2004h    [?25hlet &cb='unnamed'


[?25l:[?2004h    [?25h5y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25htabdo :windo :echo "hi"


[?25l:[?2004h    [?25h6y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25hlet &cb=_clipopt


[?25l:[?2004h    [?25hcall call('setreg', _clipreg)


[?25l:[?2004h    [?25helse


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "clipboard contents\n", "['clipboard conte


nts']", "clipboard contents\n", "['clipboard contents']")


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "something else\n", "['something else']", 


"something else\n", "['something else']")


[?25l:[?2004h    [?25hendif


[?25l:[?2004h  [?25h$put ='{{{1 Errors'


[?25l:[?2004h  [?25hcall ErrExe('call setreg()')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, 3, 4)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg([], 2)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, {})')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, [])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("/", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("=", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, ["", "", [], ""])')


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test()
[?25l[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004hhi*: type V; value: something else^@ (['something else']), expr: something else^@  (['something else'])

{{{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
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hdelfunction SetReg
[?25l[?25h[?25l:[?2004h[?25hdelfunction AppendRegContents
[?25l[?25h[?25l:[?2004h[?25hdelfunction ErrExe
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hdelcommand AR
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name not starting with capital
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! g:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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)8: Too many arguments for function: setreg[], 2)730: using List as a String1, {}1Dictionary as a String2, [])0List as a String"/", ["1", "2"])883: search pattern and expression register may not contain two or moore linesExecuting 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

Vim(function):E128: Function name must start with a capital or "s:": g:test()

~                                                                               [?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name includes a colon
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! b:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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(function):E128: Function name must start with a capital or "s:": b:test()[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name folowed by #
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! test2() "#


[?25l:[?2004h  [?25h:echo "test2"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name starting with/without "g:", buffer-local funcref.
[?25l[?25h[?25l:[?2004h[?25hfunction! g:Foo(n)
[?25l

:[?2004h  [?25h:  $put ='called Foo(' . a:n . ')'


[?25l:[?2004h  [?25h:endfunction
[?25lExecuting call setreg()

Vim(call):E119: Not enough arguments for function: setreg[?25h[?25l

:[?2004h[?25hlet b:my_func = function('Foo')
[?25l[?25h[?25l:[?2004h[?25hcall b:my_func(1)
[?25l

called Foo(1)[?25h[?25l

:[?2004h[?25hecho g:Foo(2)
[?25l0

called Foo(2)[?25h[?25l

:[?2004h[?25hecho Foo(3)
[?25l0

called Foo(3)[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" script-local function used in Funcref must exist.
[?25l[?25h[?25l:[?2004h[?25hso test_eval_func.vim
[?25ls:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Using $ instead of '$' must give an error
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h: call append($, 'foobar')


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#

called Foo(123

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1func Bar exists: 1

Vim(call):E116: Invalid arguments for function append[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='{{{1 getcurpos/setpos'
[?25l

{{{1 getcurpos/setpos[?25h[?25l

/[?2004h[?25h^012345678
[?25lsearch hit BOTTOM, continuing at TOP:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:

{{{1 let tests

": type v; value: abc (['abc']), expr: abc (['abc'])

": type V; value: abc^@ (['abc']), expr: abc^@ (['abc'])

": type V; value: abc^M^@ (['abc^M']), expr: abc^M^@ (['abc^M'])

=: type v; value: abc (['abc']), expr: "abc" (['"abc"'])

{{{1 Basic setreg tests

{{{2 setreg('a', 'abcA', 'c')

a: type v; value: abcA (['abcA']), expr: abcA (['abcA'])

search hit BOTTOM, continuing at TOP[?25h012345[?25l:[?2004h[?25hlet sp = getcurpos()
[?25l[?25h
[?25l:[?2004h[?25hcall setpos('.', sp)
[?25l[?25h[?25l:[?2004h[?25h$put
[?25lExecuting 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 lines

Executing call setreg(1, ["", "", [], ""])

Vim(call):E730: using List as a String

Vim(function):E128: Function name must start with a capital or "s:": g:test()

Vim(function):E128: Function name must start with a capital or "s:": b:test()

Vim(function):E128: Function name must start with a capital or "s:": test2() "#

called Foo(1)

called Foo(2)

called Foo(3)

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1

Vim(call):E116: Invalid arguments for function append

{{{1 getcurpos/setpos

6[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" substring and variable name
[?25l[?25h[?25l:[?2004h[?25hlet str = 'abcdef'
[?25l[?25h[?25l:[?2004h[?25hlet n = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[n:]
[?25l

def[?25h[?25l

:[?2004h[?25h$put =str[:n]
[?25l

abcd[?25h[?25l

:[?2004h[?25h$put =str[n:n]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet n
[?25l[?25h[?25l:[?2004h[?25hlet nn = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[nn:]
[?25ldef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:nn]
[?25labcd[?25h[?25l:[?2004h[?25h$put =str[nn:nn]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet nn
[?25l[?25h[?25l:[?2004h[?25hlet b:nn = 4
[?25l[?25h[?25l:[?2004h[?25h$put =str[b:nn:]
[?25lef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:b:nn]
[?25labcde[?25h[?25l:[?2004h[?25h$put =str[b:nn:b:nn]
[?25l

e[?25h[?25l

:[?2004h[?25hunlet b:nn
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 362 lines, 11279 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_eval = test61; then \
#	  if diff test.out test_eval.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_eval.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_fixeol.failed test.ok test.out X* viminfo
cp test_fixeol.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fixeol.in" 40 lines, 780 charactersTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol

:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol

:w! XXTestNoEol

:bwipe XXEol XXNoEol XXTestEol XXTestNoEol

:set fixeol[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'fixeol'vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 698 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:"

:" Append "END" to each file so that we can see what the last written char was.

ggdGaEND^[:w >>XXEol

:w >>XXNoEol

:w >>XXTestEol

:w >>XXTestNoEol

:"

:" Concatenate the results

:e! test.out

a0^[:$r XXEol

:$r XXNoEol

Go1^[:$r XXTestEol

:$r XXTestNoEol

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25l[?25h[?25l:[?2004h[?25h" use Unix fileformat for consistency
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lwith eol[?25h[?25l:[?2004h[?25hw! XXEol
[?25l"XXEol" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25henew!
[?25l[?25h[?25l:[?2004h[?25hset noeol nofixeol
[?25l[?25h[?2004l[?2004h[?25lwithout eol[?25h[?25l:[?2004h[?25hw! XXNoEol
[?25l"XXNoEol" [New File][Incomplete last line] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hset eol fixeol
[?25l[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


2 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h" try editing files with 'fixeol' disabled
[?25l[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" 1 line, 9 characterswith eol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l

stays eol[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestEol
[?25l"XXTestEol" [New File] 2 lines, 19 characters written[?25h[?25l:[?2004h[?25he! XXNoEol
[?25l"XXNoEol" [Incomplete last line] 1 line, 11 charactersout eol

~                                                                               [?25h[?2004l[?2004h[?25l

stays without[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestNoEol
[?25l"XXTestNoEol" [New File][Incomplete last line] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol XXTestEol XXTestNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fixeol
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25lTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXEol
[?25l"XXEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXNoEol
[?25l"XXNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestEol
[?25l"XXTestEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestNoEol
[?25l"XXTestNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File][?25h[?2004l[?2004h[?25l0[?25h[?25l:[?2004h[?25h$r XXEol
[?25l"XXEol" 2 lines, 13 characterswith eolEND[?25h[?25l:[?2004h[?25h$r XXNoEol
[?25l"XXNoEol" 1 line, 15 characterswithout eolEND[?25h[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXTestEol
[?25l"XXTestEol" 3 lines, 23 characterswith eolstays eolEND[?25h[?25l:[?2004h[?25h$r XXTestNoEol
[?25l"XXTestNoEol" 2 lines, 29 characterswithout eolstays withoutEND[?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 10 lines, 84 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_fixeol = test61; then \
#	  if diff test.out test_fixeol.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_fixeol.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_insertcount.failed test.ok test.out X* viminfo
cp test_insertcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_insertcount.in" 14 lines, 204 charactersTests for repeating insert and replace.



STARTTEST

:so small.vim

:/Second

4gro

:/^First/,$wq! test.out

:" get here when failed and in Insert mode

^[:.wq! test.out

ENDTEST



First line

Second line

Last line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 repeating insert and replace.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 111 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/Second
[?25l[?25h[?2004l[?2004h[?25looooecond line
ooo[?25h

Las[?25l:[?2004h[?25h/^First/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 3 lines, 36 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_insertcount = test61; then \
#	  if diff test.out test_insertcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_insertcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_listchars.failed test.ok test.out X* viminfo
cp test_listchars.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listchars.in" 54 lines, 705 charactersTests for 'listchars' display with 'list' and :list



STARTTEST

:so small.vim

:set ff=unix

:let g:lines = []

:function GetScreenCharsForLine(lnum)

:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val))')), '')

:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"

:set listchars+=tab:>-,space:.,trail:<

:set list

:

/^start:/

:normal! jzt

GG

GG

GG

GG

GGH:

:set listchars-=trail:<[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'listchars' display with 'list' and :list[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 25 lines, 431 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTGG

GG

GG

GG

GG:

:put =g:lines

:'[,']w! test.out

ENDTEST[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hlet g:lines = []
[?25l[?25h[?25l:[?2004h[?25hfunction GetScreenCharsForLine(lnum)
[?25l

:[?2004h  [?25h:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val


))'), '')


[?25l:[?2004h  [?25h:endfunction
[?25l:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"[?25h[?25l

:[?2004h[?25hnnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))


\<CR>"
[?25l:endfunction[?25h[?25l

:[?2004h[?25hset listchars+=tab:>-,space:.,trail:<
[?25l[?25h[?25l:[?2004h[?25hset list
[?25l$.<expr>.GG.":call..\\<CR>"$

:set.$

:set.list$

:$$.jzt$

GG$

GG$

GG$

GG$

GGH:$

:set.$

GG$

GG$

GG$

GG$

GG:$

:put.$.$$

$[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:$[?25h[?25l

:[?2004h[?25hnormal! jzt
[?25l>-------aa>-----$

..bb>---<<$

...cccc><$

dd........ee<<>-$

<$

$

$

STARTTEST$

:set.listchars+=trail:<$

:set.nolist$

:$

/^start:/$

:redir!.>>.test.out$

:+1,$list$

:redir.END$

:q!$

ENDTEST$

$

start:$

..fff>--<<$

>-------gg>-----$

.....h>-$

iii<<<<><<$[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset listchars-=trail:<
[?25l.....

.......>..[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hput =g:lines
[?25l10 more >-------aa>-----$$

..bb>---<<$$

...cccc><$$

dd........ee<<>-$$

<$$

>-------aa>-----$$

..bb>---..$$

...cccc>.$$

dd........ee..>-$$

.$$10 more lines[?25h[?25l:[?2004h[?25h'[,']w! test.out
[?25l"test.out" [New File] 10 lines, 124 characters written[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 93 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:+1,$list$

:redir.END$

:q!$

ENDTEST$[?25h[?25l

$[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset listchars+=trail:<
[?25l[?25h[?25l:[?2004h[?25hset nolist
[?25l   >>  [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:[?25h[?25l

:[?2004h[?25hredir! >> test.out
[?25l[?25h[?25l:[?2004h[?25h+1,$list
[?25l..fff>--<<$


>-------gg>-----$


.....h>-$


iii<<<<><<$


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l>-------aa>-----$

..bb>---..$

...cccc>.$

dd........ee..>-$

.$STARTTEST:set listchars+=trail:<

:set nolist

:

/^start:/

:redir! >> test.out+1,$listredir END

:q!ENDTESTstart:  fff

        ggh

iii   [?25h[?25l

:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_listchars = test61; then \
#	  if diff test.out test_listchars.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_listchars.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_search_mbyte.failed test.ok test.out X* viminfo
cp test_search_mbyte.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search_mbyte.in" 15 lines, 226 charactersTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 search('multi-byte char', 'bce')[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hsource small.vim
[?25l[?25h[?25l:[?2004h[?25hsource mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h/^Test bce:/+1
[?25l[?25h[?25l:[?2004h[?25h$put =search('A', 'bce', line('.'))
[?25l15[?25h[?25l:[?2004h[?25h1;/^Results:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 5 lines, 27 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_search_mbyte = test61; then \
#	  if diff test.out test_search_mbyte.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_search_mbyte.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_wordcount.failed test.ok test.out X* viminfo
cp test_wordcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_wordcount.in" 126 lines, 2815 charactersTest for wordcount() function



STARTTEST

:so small.vim

:so mbyte.vim

:set enc=utf8

:set selection=inclusive fileformat=unix fileformats=unix

:new

:fu DoRecordWin(...)

:wincmd k

:if exists("a:1")

:call cursor(a:1)

:endif

:let result=[]

:call add(result, g:test)

:call add(result, getline(1, '$'))

:call add(result, wordcount())

:wincmd j

:return result

:endfu

:fu PutInWindow(args)

:wincmd k

:%d _[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 wordcount() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 121 lines, 2753 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"


:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"

:call PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])

:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:
[?25h[?25l

:[?2004h[?25hset selection=inclusive fileformat=unix fileformats=unix
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])[2]=g:visual_statcall Log()"/^RESULT test/,$w! test.out

:qa!ENDTEST

RESULT test:

test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hfu DoRecordWin(...)
[?25l

:[?2004h  [?25h:^Iwincmd k


[?25l:[?2004h  [?25h:       if exists("a:1")


[?25l:[?2004h    [?25h:           call cursor(a:1)


[?25l:[?2004h    [?25h:       endif


[?25l:[?2004h  [?25h:       let result=[]


[?25l:[?2004h  [?25h:       call add(result, g:test)


[?25l:[?2004h  [?25h:       call add(result, getline(1, '$'))


[?25l:[?2004h  [?25h:       call add(result, wordcount())


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:       return result


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu PutInWindow(args)
[?25l

:[?2004h  [?25h:       wincmd k


[?25l:[?2004h  [?25h:       %d _


[?25l:[?2004h  [?25h:       call append(1, a:args)


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu Log()
[?25l

:[?2004h  [?25h:   $put ='----'


[?25l:[?2004h  [?25h:   $put =remove(g:log,0)


[?25l:[?2004h  [?25h:   $put =string(g:log)


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu! STL()
[?25l

:[?2004h  [?25h:    if mode() =~? 'V'


[?25l:[?2004h    [?25h:       let g:visual_stat=wordcount()


[?25l:[?2004h    [?25h:    endif


[?25l:[?2004h  [?25h:    return string(wordcount())


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet g:test="Test 1: empty window"
[?25l[?25h[?25l:[?2004h[?25hlet log=DoRecordWin()
[?25l[No Name]                                                                        test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 1: empty window

[[''], {'chars': 0, 'cursor_chars': 0, 'words': 0, 'cursor_words': 0, 'bytes': 00, 'cursor_bytes': 0}][+][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 2: some words, cursor at start"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25lone two three[+][?25h[?25l:[?2004h[?25hlet log=DoRecordWin([1,1,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 2: some words, cursor at start

[['', 'one two three'], {'chars': 15, 'cursor_chars': 1, 'words': 3, 'cursor_worrds': 0, 'bytes': 15, 'cursor_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 3: some words, cursor at end"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 3: some words, cursor at end

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 4: some words, cursor at end, ve=all"
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 4: some words, cursor at end, ve=all

[['', 'one two three'], {'chars': 15, 'cursor_chars': 15, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 15}][?25h[?25l





:[?2004h[?25hset ve=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 5: several lines with words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['one two three', 'one two three', 'one two three'])
[?25lone two threeone two three--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([4,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 5: several lines with words

[['', 'one two three', 'one two three', 'one two three'], {'chars': 43, 'cursor__chars': 42, 'words': 9, 'cursor_words': 9, 'bytes': 43, 'cursor_bytes': 42}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 6: one line with BOM set"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25l[No Name] [+]                                                                   test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset bomb
[?25l[?25h[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 2 lines, 18 characters writtenXtesta         [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 6: one line with BOM set

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 18, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25hwincmd k
[?25lXtest                                                                           test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset nobomb
[?25l[+][?25h[?25l:[?2004h[?25hw!
[?25l"Xtest" 2 lines, 15 characters written    [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 7: one line with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh'])
[?25lÄne M¤ne Müh[+]--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 7: one line with multibyte words

[['', 'Äne M¤ne Müh'], {'chars': 14, 'cursor_chars': 13, 'words': 3, 'cursor_worrds': 3, 'bytes': 17, 'cursor_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 8: several lines with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25lund raus bist dü!--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 8: several lines with multibyte words

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'cursor_chars': 31, 'wwords': 7, 'cursor_words': 7, 'bytes': 36, 'cursor_bytes': 35}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 9: visual mode, complete buffer"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 3985, 'words': 579, 'cursor_words': 560, 'bytes': 4153, 'cursor_bytes': 4007}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l 

Äne M¤ne Müh 

und raus bist dü! ds': 7, 'bytes': 36, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}[?25h[?25lÄne M¤ne Mühnd raus bist dü!3 lines yankedursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 9: visual mode, complete buffer

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 10: visual mode (empty)"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4170, 'words': 606, 'cursor_words': 587, 'bytes': 4342, 'cursor_bytes': 4196}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l[?25h[?25lursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 10: visual mode (empty)

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 1, 'visual_words': 0, 'visual_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 11: visual mode, single line"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4347, 'words': 632, 'cursor_words': 613, 'bytes': 4521, 'cursor_bytes': 4377}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h2
[?25l2,1,3}[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 1, 'visual_2}[?25h[?25lÄne M¤ne Mühds': 7, 'bytes': 36, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}[?25h[?25l
Äne M¤ne Mühursor_chars': 2, 'words': 7, 'cursor_words': 1, 'bytes': 36, 'cursor_bytes': 3}[?25hsor_chars': 15, 'words': 7, 'cursor_words': 4, 'bytes': 36, 'cursor_bytes': 18}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]s                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 11: visual mode, single line

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^RESULT test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 34 lines, 1905 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_wordcount = test61; then \
#	  if diff test.out test_wordcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_wordcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test11.in" 84 lines, 3366 charactersTests 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 48 lines, 2298 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" drop out when there is no gzip program
[?25l[?25h[?25l:[?2004h[?25hif !executable("gzip")
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l: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/[?25h[?25l:[?2004h[?25hlet $GZIP = ""
[?25l[?25h[?25l:[?2004h[?25hau FileChangedShell * echo "caught FileChangedShell"
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hau FileWritePre    *.gz   '[,']!gzip
[?25l[?25h[?25l:[?2004h[?25hau FileWritePost   *.gz   undo
[?25l[?25h[?25l:[?2004h[?25h/^start of testfile/,/^end of testfile/w! Xtestfile.gz
[?25l[?25h[?2004l[?2004h[?25l11 lines filtered

"Xtestfile.gz" [New File][Incomplete last line] 1 line, 111 characters written


10 more lines; before #1  0 seconds ago


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileReadPost    *.gz   '[,']!gzip -d
[?25l: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 autocommandse" Edit test.out againset nobin ff&   " use the default fileformat for writing

:wqa!ENDTESTstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx45678910

end of testfile[?25h[?25l

:[?2004h[?25h$r Xtestfile.gz                " Read and decompress the testfile
[?25l"Xtestfile.gz" [Incomplete last line] 1 line, 111 characters
[?25h[?2004l[?2004h[?25lstart of test.c

/*

 * Here is a new .c file

 */

end of test.c

start of testfile[?25h[?25l

:[?2004h[?25h?startstart?,$w! test.out      " Write contents of this file
[?25l"test.out" [New File] 29 lines, 788 characters written[?25h[?25l:[?2004h[?25hau BufNewFile      *.c    read Xtest.c
[?25l[?25h[?25l:[?2004h[?25h/^start of test.c/+1,/^end of test.c/-1w! Xtest.c
[?25lsearch hit BOTTOM, continuing at TOP"Xtest.c" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25he! foo.c                       " Will load Xtest.c
[?25l"foo.c" [New File]

"Xtest.c" 3 lines, 32 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileAppendPre   *.out  '[,']s/new/NEW/
[?25l/*

 * Here is a new .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FileAppendPost  *.out  !cat Xtest.c >>test.out
[?25l[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 4 lines, 33 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?25hau! FileAppendPre
[?25l/*

 * Here is a NEW .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" setup autocommands to decompress before reading and re-compress afterwards
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   call rename(expand("<afile>"), expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   exe '!gzip ' . shellescape(expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile.gz                " Edit compressed file
[?25l:!gzip -d 'Xtestfile.gz'


[?25h[?2004l[?2004h[?25l"Xtestfile.gz""Xtestfile.gz" 11 lines, 357 characters:!gzip 'Xtestfile'


[?25h[?2004l[?2004h[?25lcaught FileChangedShell


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 11 lines, 357 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  call rename(expand("<afile>"), expand("<afile>") . "


.t")
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !sed s/e/E/ ' . shellescape(expand("<afi


le>")) . ".t >" . shellescape(expand("<afile>"))
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !rm ' . shellescape(expand("<afile>")) .


'.t'
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPost  *.out  '[,']s/x/X/g
[?25l[?25h[?25l:[?2004h[?25he! test.out                    " Edit the output file
[?25l"test.out" 50 lines, 1242 charactersstarstart 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[?25h[?25l:[?2004h[?25h23,$!cat
[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25l218 substitutions on 15 lines


28 lines filtered


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h23,$s/\r$//                 " remove CR for when sed adds them
[?25lE486: Pattern not found: \r$

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! FileReadPre    *.gz   exe 'silent !gzip -d ' . shellescape(expand("<afile>


"))
[?25lstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxE 5  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[?25h[?25l

:[?2004h[?25hau  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau! FileReadPost   *.gz   '[,']s/l/L/
[?25l[?25h[?25l:[?2004h[?25h$r Xtestfile.gz             " Read compressed file
[?25l[?25h[?2004l[?2004h[?25l"Xtestfile.gz" 11 lines, 357 characters


11 substitutions on 11 lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw                           " write it, after filtering
[?25l"test.out"61 lines, 1599 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau!             " remove all autocommands
[?25lE216: No such group or event: " remove all autocommands


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he               " Edit test.out again
[?25l"test.out"61 lines, 1599 charactersstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"test.out" 61 lines, 1599 characters[?25h[?25l:[?2004h[?25hset nobin ff&   " use the default fileformat for writing
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 61 lines, 1599 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test11 = test61; then \
#	  if diff test.out test11.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test11.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test52.failed test.ok test.out X* viminfo
cp test52.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test52.in" 65 lines, 1645 charactersTests for reading and writing files with conversion for Win32.



STARTTEST

:so mbyte.vim

:" make this a dummy test for non-Win32 systems

:if !has("win32") | e! test.ok | wq! test.out | endif

:"

:" write tests:

:" combine three values for 'encoding' with three values for 'fileencoding'

:" also write files for read tests

/^1

:set encoding=utf-8

:.w! ++enc=utf-8 test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=utf-8 Xutf8

/^2

:set encoding=cp1251

:.w ++enc=utf-8 >>test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=cp1251 Xcp1251

/^3[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 reading and writing files with conversion for Win32.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1333 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:e Xcp1251

:.w ++enc=cp1251 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp1251 >>test.out

:"

:" read three 'fileencoding's with cp866 'encoding'

:set encoding=cp866 fencs=utf-8,cp1251

:e Xutf8

:.w ++enc=cp866 >>test.out

:e Xcp1251

:.w ++enc=cp866 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp866 >>test.out

:"

:qa!

ENDTEST






[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" make this a dummy test for non-Win32 systems
[?25l[?25h[?25l:[?2004h[?25hif !has("win32") | e! test.ok | wq! test.out | endif
[?25l"test.ok" 18 lines, 1374 characters[?2004l


"test.out" [New File] 18 lines, 1374 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test52 = test61; then \
#	  if diff test.out test52.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test52.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test85.failed test.ok test.out X* viminfo
cp test85.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test85.in" 86 lines, 1885 charactersTest for Lua interface and luaeval() function



STARTTEST

:so small.vim

:set belloff=all

:so lua.vim

:set nocompatible viminfo+=nviminfo

:lua l = vim.list():add"item0":add"dictionary with list OK":add"item2"

:lua h = vim.dict(); h.list = l

:call garbagecollect()

/^1

:" change buffer contents

:lua curbuf = vim.buffer()

:lua curline = vim.eval"line('.')"

:lua curbuf[curline] = "1 changed line 1"

:" scalar test

:let tmp_string = luaeval('"string"')

:let tmp_1000 = luaeval('1000')

:if printf("%s%.0f", tmp_string, tmp_1000) == "string1000"

:let scalar_res = "OK"

:else

:let scalar_res = "FAILED"

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Lua interface and luaeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1792 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")

:lua d[4] = d[0]

:lua d[5] = d[1]

:lua d[6] = d[2]

:lua d[7] = d[3]

:lua d[3] = nil

:lua d[2] = nil

:lua d[1] = nil

:lua d[0] = nil

:lua d = nil

:$put =string(d)



:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso lua.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hua l = vim.list():add"item0":add"dictionary with list OK":add"item2"
[?25l[?25h[?25l:[?2004h[?25hlua h = vim.dict(); h.list = l
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect()
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l:[?2004h[?25h" change buffer contents
[?25l[?25h[?25l:[?2004h[?25hlua curbuf = vim.buffer()
[?25l[?25h[?25l:[?2004h[?25hlua curline = vim.eval"line('.')"
[?25l[?25h[?25l:[?2004h[?25hlua curbuf[curline] = "1 changed line 1"
[?25lchanged line 1
[?25h[?25l:[?2004h[?25h" scalar test
[?25l[?25h[?25l:[?2004h[?25hlet tmp_string = luaeval('"string"')
[?25l[?25h[?25l:[?2004h[?25hlet tmp_1000 = luaeval('1000')
[?25l[?25h[?25l:[?2004h[?25hif printf("%s%.0f", tmp_string, tmp_1000) == "string1000"
[?25l

:[?2004h  [?25h:let scalar_res = "OK"


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:let scalar_res = "FAILED"


[?25l:[?2004h  [?25h:endif
[?25l:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")[?25h[?25l





:[?2004h[?25hcall append(search("^1"), "scalar test " . scalar_res)
[?25lscalar test OK

2 line 2[?25h[?25l:[?2004h[?25h" dictionary containing a list
[?25l[?25h[?25l:[?2004h[?25hlet tmp = luaeval("h").list[1]
[?25l[?25h[?25l:[?2004h[?25h/^2/put =tmp
[?25l

dictionary with list OK[?25h[?25l

:[?2004h[?25h" circular list (at the same time test lists containing lists)
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = l
[?25l[?25h[?25l:[?2004h[?25hlet l2 = luaeval("h").list
[?25l[?25h[?25l:[?2004h[?25hif l2[2] == l2
[?25l

:[?2004h  [?25h:let res = "OK"


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:let res = "FAILED"


[?25l:[?2004h  [?25h:endif
[?25l:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")[?25h[?25l

:[?2004h[?25hcall setline(search("^3"), "circular test " . res)
[?25l

circular test OK[?25h[?25l

:[?2004h[?25hlet l = []
[?25l[?25h[?25l:[?2004h[?25hlua l = vim.eval("l")
[?25l[?25h[?25l:[?2004h[?25hlua l:add(123)
[?25l[?25h[?25l:[?2004h[?25hlua l:add("abc")
[?25l[?25h[?25l:[?2004h[?25hlua l:add(vim.eval("[1, 2, 3]"))
[?25l[?25h[?25l:[?2004h[?25hlua l:add(vim.eval("{'a':1, 'b':2, 'c':3}"))
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(123)
[?25l[?25h[?25l:[?2004h[?25hlua l:insert("abc")
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(vim.eval("[1, 2, 3]"))
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(vim.eval("{'a':1, 'b':2, 'c':3}"))
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = l[0]
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = l[1]
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = l[2]
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = l[3]
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = 123
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = "abc"
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = vim.eval("[1, 2, 3]")
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l = nil
[?25l[?25h[?25l:[?2004h[?25h$put =string(l)
[?25l

[123.0, 'abc', [1, 2, 3], {'a': 1, 'b': 2, 'c': 3}][?25h[?25l

:[?2004h[?25hlet d = {}
[?25l[?25h[?25l:[?2004h[?25hlua d = vim.eval("d")
[?25l[?25h[?25l:[?2004h[?25hlua d[0] = 123
[?25l[?25h[?25l:[?2004h[?25hlua d[1] = "abc"
[?25l[?25h[?25l:[?2004h[?25hlua d[2] = vim.eval("[1, 2, 3]")
[?25l[?25h[?25l:[?2004h[?25hlua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
[?25l[?25h[?25l:[?2004h[?25hlua d[4] = d[0]
[?25l[?25h[?25l:[?2004h[?25hlua d[5] = d[1]
[?25l[?25h[?25l:[?2004h[?25hlua d[6] = d[2]
[?25l[?25h[?25l:[?2004h[?25hlua d[7] = d[3]
[?25l[?25h[?25l:[?2004h[?25hlua d[3] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[2] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[1] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[0] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d = nil
[?25l[?25h[?25l:[?2004h[?25h$put =string(d)
[?25l

{'4': 123.0, '5': 'abc', '6': [1, 2, 3], '7': {'a': 1, 'b': 2, 'c': 3}}[?25h[?25l

:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 7L, 206C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test85 = test61; then \
#	  if diff test.out test85.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test85.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test86.failed test.ok test.out X* viminfo
cp test86.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test86.in" 1711 lines, 48481 charactersTests for various python features.     vim: set ft=vim :



NOTE: This will cause errors when run under valgrind.

This would require recompiling Python with:

  ./configure --without-pymalloc

See http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:if !has('python') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py import vim

:py cb = vim.current.buffer

:let l = []

:py l=vim.bindeval('l')

:py f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py l.extend([1, "as'd", [1, 2, f, {'a': 1}]])

:$put =string(l)

:$put =string(l[-1])[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1700 lines, 48188 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python') | e! test.ok | wq! test.out | endif
[?25l"test.ok" 1445 lines, 67439 characters[?2004l


"test.out" [New File] 1445 lines, 67439 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test86 = test61; then \
#	  if diff test.out test86.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test86.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test87.failed test.ok test.out X* viminfo
cp test87.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test87.in" 1720 lines, 50002 charactersTests for various python features.     vim: set ft=vim :



STARTTEST

:so small.vim

:set noswapfile

:if !has('python3') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py3 import vim

:py3 cb = vim.current.buffer

:let l = []

:py3 l=vim.bindeval('l')

:py3 f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]

:$put =string(l)

:$put =string(l[-1])

:try

:  $put =string(l[-4])

:catch

:  $put =v:exception[:13]

:endtry

:" List assignment[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1714 lines, 49918 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python3') | e! test.ok | wq! test.out | endif
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h:py3 import vim


[?25l:[?2004h  [?25h:py3 cb = vim.current.buffer


[?25l:[?2004h  [?25h:let l = []


[?25l:[?2004h  [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h  [?25h:py3 f=vim.bindeval('function("strlen")')


[?25l:[?2004h  [?25h:" Extending List directly with different types


[?25l:[?2004h  [?25h:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-4])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:13]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List assignment


[?25l:[?2004h  [?25h:py3 l[0]=0


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:py3 l[-2]=f


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Extending Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:fun d.f()


[?25l:[?2004h    [?25h:  return 1


[?25l:[?2004h    [?25h:endfun


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25hd=vim.bindeval('d')


[?25l:[?2004h    [?25hd['1']='asd'


[?25l:[?2004h    [?25hd.update()  # Must not do anything, including throwing errors


[?25l:[?2004h    [?25hd.update(b=[1, 2, f])


[?25l:[?2004h    [?25hd.update((('-1', {'a': 1}),))


[?25l:[?2004h    [?25hd.update({'0': -1})


[?25l:[?2004h    [?25hdk = d.keys()


[?25l:[?2004h    [?25hdv = d.values()


[?25l:[?2004h    [?25hdi = d.items()


[?25l:[?2004h    [?25hdk.sort(key=repr)


[?25l:[?2004h    [?25hdv.sort(key=repr)


[?25l:[?2004h    [?25hdi.sort(key=repr)


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:$put =py3eval('d[''f''](self={})')


[?25l:[?2004h    [?25h:$put =py3eval('repr(dk)')


[?25l:[?2004h    [?25h:$put =substitute(py3eval('repr(dv)'),'0x\x\+','','g')


[?25l:[?2004h    [?25h:$put =substitute(py3eval('repr(di)'),'0x\x\+','','g')


[?25l:[?2004h    [?25h:for [key, Val] in sort(items(d))


[?25l:[?2004h      [?25h:  $put =string(key) . ' : ' . string(Val)


[?25l:[?2004h      [?25h:  unlet key Val


[?25l:[?2004h      [?25h:endfor


[?25l:[?2004h    [?25h:py3 del dk


[?25l:[?2004h    [?25h:py3 del di


[?25l:[?2004h    [?25h:py3 del dv


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" removing items with del


[?25l:[?2004h    [?25h:py3 del l[2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:try


[?25l:[?2004h      [?25h:   py3 del l[:3]


[?25l:[?2004h      [?25h:   py3 del l[1:]


[?25l:[?2004h      [?25h:catch


[?25l:[?2004h      [?25h:   $put =v:exception


[?25l:[?2004h      [?25h:endtry


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:py3 del d['-1']


[?25l:[?2004h    [?25h:py3 del d['f']


[?25l:[?2004h    [?25h:$put =string(py3eval('d.get(''b'', 1)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''b'')'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.get(''b'', 1)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''1'', 2)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''1'', 2)'))


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.has_key(''0''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.has_key(''1''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(''0'' in d)')


[?25l:[?2004h    [?25h:$put =py3eval('repr(''1'' in d)')


[?25l:[?2004h    [?25h:$put =py3eval('repr(list(iter(d)))')


[?25l:[?2004h    [?25h:$put =string(d)


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.popitem())')


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.get(''0''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(list(iter(d)))')


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:" The following two ranges delete nothing as they match empty list:


[?25l:[?2004h    [?25h:py3 del l[2:1]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[2:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[2:3]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:4]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:5]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:6]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:" The following two ranges delete nothing as they match empty list:


[?25l:[?2004h    [?25h:py3 del l[-1:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[-2:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[-3:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-4:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-5:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-6:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[::2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[3:0:-2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:4:-2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Slice assignment to a list


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[0:0]=['a']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[1:2]=['b']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:4]=['c']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[4:4]=['d']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[-1:2]=['e']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[-10:2]=['f']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:-10]=['g']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = []


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[0:0]=['h']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:6:2] = [10, 20]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2:-2] = [10, 20]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2:1] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:2:1] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Locked variables


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:lockvar! l


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25hdef emsg(ei):


[?25l:[?2004h    [?25h    return ei[0].__name__ + ':' + repr(ei[1].args)


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25htry:


[?25l:[?2004h    [?25h    l[2]='i'


[?25l:[?2004h    [?25hexcept vim.error:


[?25l:[?2004h    [?25h    cb.append('l[2] threw vim.error: ' + emsg(sys.exc_info()))


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:unlockvar! l


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Function calls


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25himport sys


[?25l:[?2004h    [?25himport re


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25hpy33_type_error_pattern = re.compile('^__call__\(\) takes (\d+) positional


argument but (\d+) were given$')


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25hdef ee(expr, g=globals(), l=locals()):


[?25l:[?2004h    [?25h    cb = vim.current.buffer


[?25l:[?2004h    [?25h    try:


[?25l:[?2004h    [?25h        try:


[?25l:[?2004h    [?25h            exec(expr, g, l)


[?25l:[?2004h    [?25h        except Exception as e:


[?25l:[?2004h    [?25h            if sys.version_info >= (3, 3) and e.__class__ is AttributeErro


r and str(e).find('has no attribute')>=0 and not str(e).startswith("'vim."):


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((e.__class__, AttributeError(s


tr(e)[str(e).rfind(" '") + 2:-1]))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 3) and e.__class__ is ImportError


and str(e).find('No module named \'') >= 0:


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((e.__class__, ImportError(str(


e).replace("'", '')))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 6) and e.__class__ is ModuleNotFo


undError:


[?25l:[?2004h    [?25h                # Python 3.6 gives ModuleNotFoundError, change it to an Im


portError


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((ImportError, ImportError(str(


e).replace("'", '')))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 3) and e.__class__ is TypeError:


[?25l:[?2004h    [?25h                m = py33_type_error_pattern.search(str(e))


[?25l:[?2004h    [?25h                if m:


[?25l:[?2004h    [?25h                    msg = '__call__() takes exactly {0} positional argumen


t ({1} given)'.format(m.group(1), m.group(2))


[?25l:[?2004h    [?25h                    cb.append(expr + ':' + repr((e.__class__, TypeError(ms


g))))


[?25l:[?2004h    [?25h                else:


[?25l:[?2004h    [?25h                    msg = repr((e.__class__, e))


[?25l:[?2004h    [?25h                    # Messages changed with Python 3.6, change new to old.


[?25l:[?2004h    [?25h                    newmsg1 = """'argument must be str, bytes or bytearray


, not None'"""


[?25l:[?2004h    [?25h                    oldmsg1 = '''"Can't convert 'NoneType' object to str i


mplicitly"'''


[?25l:[?2004h    [?25h                    if msg.find(newmsg1) > -1:


[?25l:[?2004h    [?25h                        msg = msg.replace(newmsg1, oldmsg1)


[?25l:[?2004h    [?25h                    newmsg2 = """'argument must be str, bytes or bytearray


, not int'"""


[?25l:[?2004h    [?25h                    oldmsg2 = '''"Can't convert 'int' object to str implic


itly"'''


[?25l:[?2004h    [?25h                    if msg.find(newmsg2) > -1:


[?25l:[?2004h    [?25h                        msg = msg.replace(newmsg2, oldmsg2)


[?25l:[?2004h    [?25h                    cb.append(expr + ':' + msg)


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 5) and e.__class__ is ValueError 


and str(e) == 'embedded null byte':


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((TypeError, TypeError('expecte


d bytes with no null'))))


[?25l:[?2004h    [?25h            else:


[?25l:[?2004h    [?25h                msg = repr((e.__class__, e))


[?25l:[?2004h    [?25h                # Some Python versions say can't, others cannot.


[?25l:[?2004h    [?25h                if msg.find('can\'t') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace('can\'t', 'cannot')


[?25l:[?2004h    [?25h                # Some Python versions use single quote, some double quote


[?25l:[?2004h    [?25h                if msg.find('"cannot ') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace('"cannot ', '\'cannot ')


[?25l:[?2004h    [?25h                if msg.find(' attributes"') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace(' attributes"', ' attributes\'')


[?25l:[?2004h    [?25h                cb.append(expr + ':' + msg)


[?25l:[?2004h    [?25h        else:


[?25l:[?2004h    [?25h            cb.append(expr + ':NOT FAILED')


[?25l:[?2004h    [?25h    except Exception as e:


[?25l:[?2004h    [?25h        cb.append(expr + '::' + repr((e.__class__, e)))


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:fun New(...)


[?25l:[?2004h      [?25h:   return ['NewStart']+a:000+['NewEnd']


[?25l:[?2004h      [?25h:endfun


[?25l:[?2004h      [?25h:fun DictNew(...) dict


[?25l:[?2004h[?25h:   return ['DictNewStart']+a:000+['DictNewEnd', self]


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:let l=[function('New'), function('DictNew')]


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25h:py3 l.extend(list(l[0](1, 2, 3)))


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 l.extend(list(l[1](1, 2, 3, self={'a': 'b'})))


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 l+=[l[0].name]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 ee('l[1](1, 2, 3)')


[?25l:[?2004h[?25h:py3 f=l[0]


[?25l:[?2004h[?25h:delfunction New


[?25l:[?2004h[?25h:py3 ee('f(1, 2, 3)')


[?25l:[?2004h[?25h:if has('float')


[?25l:[?2004h[?25h:   let l=[0.0]


[?25l:[?2004h[?25h:   py3 l=vim.bindeval('l')


[?25l:[?2004h[?25h:   py3 l.extend([0.0])


[?25l:[?2004h[?25h:   $put =string(l)


[?25l:[?2004h[?25h:else


[?25l:[?2004h[?25h:   $put ='[0.0, 0.0]'


[?25l:[?2004h[?25h:endif


[?25l:[?2004h[?25h:let messages=[]


[?25l:[?2004h[?25h:delfunction DictNew


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport sys


[?25l:[?2004h[?25hd=vim.bindeval('{}')


[?25l:[?2004h[?25hm=vim.bindeval('messages')


[?25l:[?2004h[?25hdef em(expr, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(expr, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        if sys.version_info >= (3, 5) and e.__class__ is ValueError an


d str(e) == 'embedded null byte':


[?25l:[?2004h[?25h            m.extend([TypeError.__name__])


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            m.extend([e.__class__.__name__])


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hem('d["abc1"]')


[?25l:[?2004h[?25hem('d["abc1"]="\\0"')


[?25l:[?2004h[?25hem('d["abc1"]=vim')


[?25l:[?2004h[?25hem('d[""]=1')


[?25l:[?2004h[?25hem('d["a\\0b"]=1')


[?25l:[?2004h[?25hem('d[b"a\\0b"]=1')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hem('d.pop("abc1")')


[?25l:[?2004h[?25hem('d.popitem()')


[?25l:[?2004h[?25hdel em


[?25l:[?2004h[?25hdel m


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put =messages


[?25l:[?2004h[?25h:unlet messages


[?25l:[?2004h[?25h:" locked and scope attributes


[?25l:[?2004h[?25h:let d={} | let dl={} | lockvar dl


[?25l:[?2004h[?25h:for s in split("d dl v: g:")


[?25l:[?2004h[?25h:    let name=tr(s, ':', 's')


[?25l:[?2004h[?25h:    execute 'py3 '.name.'=vim.bindeval("'.s.'")'


[?25l:[?2004h[?25h:    let toput=s.' : '.join(map(['locked', 'scope'], 'v:val.":".py3e


val(name.".".v:val)'), ';')


[?25l:[?2004h[?25h:    $put =toput


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:silent! let d.abc2=1


[?25l:[?2004h[?25h:silent! let dl.abc3=1


[?25l:[?2004h[?25h:py3 d.locked=True


[?25l:[?2004h[?25h:py3 dl.locked=False


[?25l:[?2004h[?25h:silent! let d.def=1


[?25l:[?2004h[?25h:silent! let dl.def=1


[?25l:[?2004h[?25h:put ='d:'.string(d)


[?25l:[?2004h[?25h:put ='dl:'.string(dl)


[?25l:[?2004h[?25h:unlet d dl


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:let l=[] | let ll=[] | lockvar ll


[?25l:[?2004h[?25h:for s in split("l ll")


[?25l:[?2004h[?25h:    let name=tr(s, ':', 's')


[?25l:[?2004h[?25h:    execute 'py3 '.name.'=vim.bindeval("'.s.'")'


[?25l:[?2004h[?25h:    let toput=s.' : locked:'.py3eval(name.'.locked')


[?25l:[?2004h[?25h:    $put =toput


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:silent! call extend(l, [0])


[?25l:[?2004h[?25h:silent! call extend(ll, [0])


[?25l:[?2004h[?25h:py3 l.locked=True


[?25l:[?2004h[?25h:py3 ll.locked=False


[?25l:[?2004h[?25h:silent! call extend(l, [1])


[?25l:[?2004h[?25h:silent! call extend(ll, [1])


[?25l:[?2004h[?25h:put ='l:'.string(l)


[?25l:[?2004h[?25h:put ='ll:'.string(ll)


[?25l:[?2004h[?25h:unlet l ll


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" py3eval()


[?25l:[?2004h[?25h:let l=py3eval('[0, 1, 2]')


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let d=py3eval('{"a": "b", "c": 1, "d": ["e"]}')


[?25l:[?2004h[?25h:$put =sort(items(d))


[?25l:[?2004h[?25h:let v:errmsg = ''


[?25l:[?2004h[?25h:$put ='py3eval(\"None\") = ' . py3eval('None') . v:errmsg


[?25l:[?2004h[?25h:if has('float')


[?25l:[?2004h[?25h:   let f=py3eval('0.0')


[?25l:[?2004h[?25h:   $put =string(f)


[?25l:[?2004h[?25h:else


[?25l:[?2004h[?25h:   $put ='0.0'


[?25l:[?2004h[?25h:endif


[?25l:[?2004h[?25h:" Invalid values:


[?25l:[?2004h[?25h:for e in ['"\0"', '{"\0": 1}', 'undefined_name', 'vim']


[?25l:[?2004h[?25h:   try


[?25l:[?2004h[?25h:      let v=py3eval(e)


[?25l:[?2004h[?25h:   catch


[?25l:[?2004h[?25h:      let toput=e.":\t".v:exception[:13]


[?25l:[?2004h[?25h:      $put =toput


[?25l:[?2004h[?25h:   endtry


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" threading


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport threading


[?25l:[?2004h[?25himport time


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass T(threading.Thread):


[?25l:[?2004h[?25h    def __init__(self):


[?25l:[?2004h[?25h        threading.Thread.__init__(self)


[?25l:[?2004h[?25h        self.t = 0


[?25l:[?2004h[?25h        self.running = True


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def run(self):


[?25l:[?2004h[?25h        while self.running:


[?25l:[?2004h[?25h            self.t += 1


[?25l:[?2004h[?25h            time.sleep(0.1)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25ht = T()


[?25l:[?2004h[?25hdel T


[?25l:[?2004h[?25ht.start()


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:sleep 1


[?25l:[?2004h[?25h:py3 t.running = False


[?25l:[?2004h[?25h:py3 t.join()


[?25l:[?2004h[?25h:" Check if the background thread is working.  Count should be 10, but


on a


[?25l:[?2004h[?25h:" busy system (AppVeyor) it can be much lower.


[?25l:[?2004h[?25h:py3 l[0] = t.t > 4


[?25l:[?2004h[?25h:py3 del time


[?25l:[?2004h[?25h:py3 del threading


[?25l:[?2004h[?25h:py3 del t


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" settrace


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport sys


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef traceit(frame, event, arg):


[?25l:[?2004h[?25h    global l


[?25l:[?2004h[?25h    if event == "line":


[?25l:[?2004h[?25h        l += [frame.f_lineno]


[?25l:[?2004h[?25h    return traceit


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef trace_main():


[?25l:[?2004h[?25h    for i in range(5):


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:py3 sys.settrace(traceit)


[?25l:[?2004h[?25h:py3 trace_main()


[?25l:[?2004h[?25h:py3 sys.settrace(None)


[?25l:[?2004h[?25h:py3 del traceit


[?25l:[?2004h[?25h:py3 del trace_main


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Slice


[?25l:[?2004h[?25h:py3 ll = vim.bindeval('[0, 1, 2, 3, 4, 5]')


[?25l:[?2004h[?25h:py3 l = ll[:4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[2:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[:-4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-2:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[2:4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-4:-2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-2:-4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[0:6]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-10:10]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2:-1]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[::2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2:1]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 del l


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Vars


[?25l:[?2004h[?25h:let g:foo = 'bac'


[?25l:[?2004h[?25h:let w:abc3 = 'def'


[?25l:[?2004h[?25h:let b:baz = 'bar'


[?25l:[?2004h[?25h:let t:bar = 'jkl'


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  throw "Abc"


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  put =py3eval('vim.vvars[''exception'']')


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:put =py3eval('vim.vars[''foo'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.window.vars[''abc3'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.buffer.vars[''baz'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.tabpage.vars[''bar'']')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Options


[?25l:[?2004h[?25h:" paste:          boolean, global


[?25l:[?2004h[?25h:" previewheight   number,  global


[?25l:[?2004h[?25h:" operatorfunc:   string,  global


[?25l:[?2004h[?25h:" number:         boolean, window-local


[?25l:[?2004h[?25h:" numberwidth:    number,  window-local


[?25l:[?2004h[?25h:" colorcolumn:    string,  window-local


[?25l:[?2004h[?25h:" statusline:     string,  window-local/global


[?25l:[?2004h[?25h:" autoindent:     boolean, buffer-local


[?25l:[?2004h[?25h:" shiftwidth:     number,  buffer-local


[?25l:[?2004h[?25h:" omnifunc:       string,  buffer-local


[?25l:[?2004h[?25h:" preserveindent: boolean, buffer-local/global


[?25l:[?2004h[?25h:" path:           string,  buffer-local/global


[?25l:[?2004h[?25h:let g:bufs=[bufnr('%')]


[?25l:[?2004h[?25h:new


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:wincmd j


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:wincmd l


[?25l:[?2004h[?25h:fun RecVars(opt)


[?25l:[?2004h[?25h:  let gval =string(eval('&g:'.a:opt))


[?25l:[?2004h[?25h:  let wvals=join(map(range(1, 4),  'v:val.":".string(getwinvar(v:va


l, "&".a:opt))'))


[?25l:[?2004h[?25h:  let bvals=join(map(copy(g:bufs), 'v:val.":".string(getbufvar(v:va


l, "&".a:opt))'))


[?25l:[?2004h[?25h:  put ='  G: '.gval


[?25l:[?2004h[?25h:  put ='  W: '.wvals


[?25l:[?2004h[?25h:  put ='  B: '.wvals


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef e(s, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(s, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        vim.command('return ' + repr(e.__class__.__name__))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef ev(s, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        return eval(s, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        vim.command('let exc=' + repr(e.__class__.__name__))


[?25l:[?2004h[?25h        return 0


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:fun E(s)


[?25l:[?2004h[?25h:   python3 e(vim.eval('a:s'))


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:fun Ev(s)


[?25l:[?2004h[?25h:   let r=py3eval('ev(vim.eval("a:s"))')


[?25l:[?2004h[?25h:   if exists('exc')


[?25l:[?2004h[?25h:       throw exc


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   return r


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:py3 gopts1=vim.options


[?25l:[?2004h[?25h:py3 wopts1=vim.windows[2].options


[?25l:[?2004h[?25h:py3 wopts2=vim.windows[0].options


[?25l:[?2004h[?25h:py3 wopts3=vim.windows[1].options


[?25l:[?2004h[?25h:py3 bopts1=vim.buffers[vim.bindeval("g:bufs")[2]].options


[?25l:[?2004h[?25h:py3 bopts2=vim.buffers[vim.bindeval("g:bufs")[1]].options


[?25l:[?2004h[?25h:py3 bopts3=vim.buffers[vim.bindeval("g:bufs")[0]].options


[?25l:[?2004h[?25h:$put ='wopts iters equal: '.py3eval('list(wopts1) == list(wopts


2)')


[?25l:[?2004h[?25h:$put ='bopts iters equal: '.py3eval('list(bopts1) == list(bopts


2)')


[?25l:[?2004h[?25h:py3 gset=set(iter(gopts1))


[?25l:[?2004h[?25h:py3 wset=set(iter(wopts1))


[?25l:[?2004h[?25h:py3 bset=set(iter(bopts1))


[?25l:[?2004h[?25h:set path=.,..,,


[?25l:[?2004h[?25h:let lst=[]


[?25l:[?2004h[?25h:let lst+=[['paste',          1,     0,     1,     2,      1,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['previewheight',  5,     1,     6,     'a',    0,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['operatorfunc',   'A',   'B',   'C',   2,      0,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['number',         0,     1,     1,     0,      1,   


0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['numberwidth',    2,     3,     5,     -100,   0,   


0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['colorcolumn',    '+1',  '+2',  '+3',  'abc4',  0,  


 0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['statusline',     '1',   '2',   '4',   0,      0,   


1,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['autoindent',     0,     1,     1,     2,      1,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['shiftwidth',     0,     2,     1,     3,      0,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['omnifunc',       'A',   'B',   'C',   1,      0,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['preserveindent', 0,     1,     1,     2,      1,   


1,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['path',           '.,,', ',,',  '.',   0,      0,   


1,      2    ]]


[?25l:[?2004h[?25h:for       [oname,            oval1, oval2, oval3, invval, bool,


global, local] in lst


[?25l:[?2004h[?25h:   py3 oname=vim.eval('oname')


[?25l:[?2004h[?25h:   py3 oval1=vim.bindeval('oval1')


[?25l:[?2004h[?25h:   py3 oval2=vim.bindeval('oval2')


[?25l:[?2004h[?25h:   py3 oval3=vim.bindeval('oval3')


[?25l:[?2004h[?25h:   if invval is 0 || invval is 1


[?25l:[?2004h[?25h:       py3 invval=bool(vim.bindeval('invval'))


[?25l:[?2004h[?25h:   else


[?25l:[?2004h[?25h:       py3 invval=vim.bindeval('invval')


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   if bool


[?25l:[?2004h[?25h:       py3 oval1=bool(oval1)


[?25l:[?2004h[?25h:       py3 oval2=bool(oval2)


[?25l:[?2004h[?25h:       py3 oval3=bool(oval3)


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   put ='>>> '.oname


[?25l:[?2004h[?25h:   $put ='  g/w/b:'.py3eval('oname in gset').'/'.py3eval('ona


me in wset').'/'.py3eval('oname in bset')


[?25l:[?2004h[?25h:   $put ='  g/w/b (in):'.py3eval('oname in gopts1').'/'.py3ev


al('oname in wopts1').'/'.py3eval('oname in bopts1')


[?25l:[?2004h[?25h:   for v in ['gopts1', 'wopts1', 'bopts1']


[?25l:[?2004h[?25h:       try


[?25l:[?2004h[?25h:           put ='  p/'.v.': '.Ev('repr('.v.'['''.oname.''


'])')


[?25l:[?2004h[?25h:       catch


[?25l:[?2004h[?25h:           put ='  p/'.v.'! '.v:exception


[?25l:[?2004h[?25h:       endtry


[?25l:[?2004h[?25h:       let r=E(v.'['''.oname.''']=invval')


[?25l:[?2004h[?25h:       if r isnot 0


[?25l:[?2004h[?25h:           put ='  inv: '.string(invval).'! '.r


[?25l:[?2004h[?25h:       endif


[?25l:[?2004h[?25h:       for vv in (v is# 'gopts1' ? [v] : [v, v[:-2].'2', v[


:-2].'3'])


[?25l:[?2004h[?25h:           let val=substitute(vv, '^.opts', 'oval', '')


[?25l:[?2004h[?25h:           let r=E(vv.'['''.oname.''']='.val)


[?25l:[?2004h[?25h:           if r isnot 0


[?25l:[?2004h[?25h:               put ='  '.vv.'! '.r


[?25l:[?2004h[?25h:           endif


[?25l:[?2004h[?25h:       endfor


[?25l:[?2004h[?25h:   endfor


[?25l:[?2004h[?25h:   call RecVars(oname)


[?25l:[?2004h[?25h:   for v in ['wopts3', 'bopts3']


[?25l:[?2004h[?25h:       let r=E('del '.v.'["'.oname.'"]')


[?25l:[?2004h[?25h:       if r isnot 0


[?25l:[?2004h[?25h:           put ='  del '.v.'! '.r


[?25l:[?2004h[?25h:       endif


[?25l:[?2004h[?25h:   endfor


[?25l:[?2004h[?25h:   call RecVars(oname)


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:delfunction RecVars


[?25l:[?2004h[?25h:delfunction E


[?25l:[?2004h[?25h:delfunction Ev


[?25l:[?2004h[?25h:py3 del ev


[?25l:[?2004h[?25h:py3 del e


[?25l:[?2004h[?25h:only


[?25l:[?2004h[?25h:for buf in g:bufs[1:]


[?25l:[?2004h[?25h:   execute 'bwipeout!' buf


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:py3 del gopts1


[?25l:[?2004h[?25h:py3 del wopts1


[?25l:[?2004h[?25h:py3 del wopts2


[?25l:[?2004h[?25h:py3 del wopts3


[?25l:[?2004h[?25h:py3 del bopts1


[?25l:[?2004h[?25h:py3 del bopts2


[?25l:[?2004h[?25h:py3 del bopts3


[?25l:[?2004h[?25h:py3 del oval1


[?25l:[?2004h[?25h:py3 del oval2


[?25l:[?2004h[?25h:py3 del oval3


[?25l:[?2004h[?25h:py3 del oname


[?25l:[?2004h[?25h:py3 del invval


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test buffer object


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:put ='First line'


[?25l:[?2004h[?25h:put ='Second line'


[?25l:[?2004h[?25h:put ='Third line'


[?25l:[?2004h[?25h:1 delete _


[?25l:[?2004h[?25h:py3 b=vim.current.buffer


[?25l:[?2004h[?25h:wincmd w


[?25l:[?2004h[?25h:mark a


[?25l:[?2004h[?25h:augroup BUFS


[?25l:[?2004h[?25h:   autocmd BufFilePost * python3 cb.append(vim.eval('expand("<a


buf>")') + ':BufFilePost:' + vim.eval('bufnr("%")'))


[?25l:[?2004h[?25h:   autocmd BufFilePre * python3 cb.append(vim.eval('expand("<ab


uf>")') + ':BufFilePre:' + vim.eval('bufnr("%")'))


[?25l:[?2004h[?25h:augroup END


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25h# Tests BufferAppend and BufferItem


[?25l:[?2004h[?25hcb.append(b[0])


[?25l:[?2004h[?25h# Tests BufferSlice and BufferAssSlice


[?25l:[?2004h[?25hcb.append('abc5') # Will be overwritten


[?25l:[?2004h[?25hcb[-1:] = b[:-2]


[?25l:[?2004h[?25h# Test BufferLength and BufferAssSlice


[?25l:[?2004h[?25hcb.append('def') # Will not be overwritten


[?25l:[?2004h[?25hcb[len(cb):] = b[:]


[?25l:[?2004h[?25h# Test BufferAssItem and BufferMark


[?25l:[?2004h[?25hcb.append('ghi') # Will be overwritten


[?25l:[?2004h[?25hcb[-1] = repr((len(cb) - cb.mark('a')[0], cb.mark('a')[1]))


[?25l:[?2004h[?25h# Test BufferRepr


[?25l:[?2004h[?25hcb.append(repr(cb) + repr(b))


[?25l:[?2004h[?25h# Modify foreign buffer


[?25l:[?2004h[?25hb.append('foo')


[?25l:[?2004h[?25hb[0]='bar'


[?25l:[?2004h[?25hb[0:0]=['baz']


[?25l:[?2004h[?25hvim.command('call append("$", getbufline(%i, 1, "$"))' % b.numbe


r)

[?25l:[?2004h[?25h# Test assigning to name property


[?25l:[?2004h[?25himport os


[?25l:[?2004h[?25hold_name = cb.name


[?25l:[?2004h[?25hcb.name = 'foo'


[?25l:[?2004h[?25hcb.append(cb.name[-11:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hb.name = 'bar'


[?25l:[?2004h[?25hcb.append(b.name[-11:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hcb.name = old_name


[?25l:[?2004h[?25hcb.append(cb.name[-17:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hdel old_name


[?25l:[?2004h[?25h# Test CheckBuffer


[?25l:[?2004h[?25hfor _b in vim.buffers:


[?25l:[?2004h[?25h    if _b is not cb:


[?25l:[?2004h[?25h        vim.command('bwipeout! ' + str(_b.number))


[?25l:[?2004h[?25hdel _b


[?25l:[?2004h[?25hcb.append('valid: b:%s, cb:%s' % (repr(b.valid), repr(cb.valid))


)

[?25l:[?2004h[?25hfor expr in ('b[1]','b[:] = ["A", "B"]','b[:]','b.append("abc6")


'):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(expr)


[?25l:[?2004h[?25h    except vim.error:


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        # Usually a SEGV here


[?25l:[?2004h[?25h        # Should not happen in any case


[?25l:[?2004h[?25h        cb.append('No exception for ' + expr)


[?25l:[?2004h[?25hvim.command('cd .')


[?25l:[?2004h[?25hdel b


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.buffers object


[?25l:[?2004h[?25h:set hidden


[?25l:[?2004h[?25h:edit a


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25h:edit b


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25h:edit c


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25h# Check GCing iterator that was not fully exhausted


[?25l:[?2004h[?25hi = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i:' + str(next(i)))


[?25l:[?2004h[?25h# and also check creating more than one iterator at a time


[?25l:[?2004h[?25hi2 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i2:' + str(next(i2)))


[?25l:[?2004h[?25hcb.append('i:' + str(next(i)))


[?25l:[?2004h[?25h# The following should trigger GC and not cause any problems


[?25l:[?2004h[?25hdel i


[?25l:[?2004h[?25hdel i2


[?25l:[?2004h[?25hi3 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i3:' + str(next(i3)))


[?25l:[?2004h[?25hdel i3


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hprevnum = 0


[?25l:[?2004h[?25hfor b in vim.buffers:


[?25l:[?2004h[?25h    # Check buffer order


[?25l:[?2004h[?25h    if prevnum >= b.number:


[?25l:[?2004h[?25h        cb.append('!!! Buffer numbers not in strictly ascending 


order')


[?25l:[?2004h[?25h    # Check indexing: vim.buffers[number].number == number


[?25l:[?2004h[?25h    cb.append(str(b.number) + ':' + repr(vim.buffers[b.number]) 


+ '=' + repr(b))


[?25l:[?2004h[?25h    prevnum = b.number


[?25l:[?2004h[?25hdel prevnum


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append(str(len(vim.buffers)))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hbnums = list(map(lambda b: b.number, vim.buffers))[1:]


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h# Test wiping out buffer with existing iterator


[?25l:[?2004h[?25hi4 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i4:' + str(next(i4)))


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(0)))


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    next(i4)


[?25l:[?2004h[?25hexcept vim.error:


[?25l:[?2004h[?25h    pass


[?25l:[?2004h[?25helse:


[?25l:[?2004h[?25h    cb.append('!!!! No vim.error')


[?25l:[?2004h[?25hi4 = iter(vim.buffers)


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(-1)))


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(-1)))


[?25l:[?2004h[?25hcb.append('i4:' + str(next(i4)))


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    next(i4)


[?25l:[?2004h[?25hexcept StopIteration:


[?25l:[?2004h[?25h    cb.append('StopIteration')


[?25l:[?2004h[?25hdel i4


[?25l:[?2004h[?25hdel bnums


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.{tabpage,window}list and vim.{tabpage,window} object


s

[?25l:[?2004h[?25h:tabnew 0


[?25l:[?2004h[?25h:tabnew 1


[?25l:[?2004h[?25h:vnew a.1


[?25l:[?2004h[?25h:tabnew 2


[?25l:[?2004h[?25h:vnew a.2


[?25l:[?2004h[?25h:vnew b.2


[?25l:[?2004h[?25h:vnew c.2


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hcb.append('Number of tabs: ' + str(len(vim.tabpages)))


[?25l:[?2004h[?25hcb.append('Current tab pages:')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef W(w):


[?25l:[?2004h[?25h    if '(unknown)' in repr(w):


[?25l:[?2004h[?25h        return '<window object (unknown)>'


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return repr(w)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef Cursor(w, start=len(cb)):


[?25l:[?2004h[?25h    if w.buffer is cb:


[?25l:[?2004h[?25h        return repr((start - w.cursor[0], w.cursor[1]))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return repr(w.cursor)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hfor t in vim.tabpages:


[?25l:[?2004h[?25h    cb.append('  ' + repr(t) + '(' + str(t.number) + ')' + ': ' 


+ str(len(t.windows)) + ' windows, current is ' + W(t.window))


[?25l:[?2004h[?25h    cb.append('  Windows:')


[?25l:[?2004h[?25h    for w in t.windows:


[?25l:[?2004h[?25h        cb.append('    ' + W(w) + '(' + str(w.number) + ')' + ':


displays buffer ' + repr(w.buffer) + '; cursor is at ' + Cursor(w))


[?25l:[?2004h[?25h        # Other values depend on the size of the terminal, so th


ey are checked partly:


[?25l:[?2004h[?25h        for attr in ('height', 'row', 'width', 'col'):


[?25l:[?2004h[?25h            try:


[?25l:[?2004h[?25h                aval = getattr(w, attr)


[?25l:[?2004h[?25h                if type(aval) is not int:


[?25l:[?2004h[?25h                    raise TypeError


[?25l:[?2004h[?25h                if aval < 0:


[?25l:[?2004h[?25h                    raise ValueError


[?25l:[?2004h[?25h            except Exception as e:


[?25l:[?2004h[?25h                cb.append('!!!!!! Error while getting attribute 


' + attr + ': ' + e.__class__.__name__)


[?25l:[?2004h[?25h        del aval


[?25l:[?2004h[?25h        del attr


[?25l:[?2004h[?25h        w.cursor = (len(w.buffer), 0)


[?25l:[?2004h[?25hdel W


[?25l:[?2004h[?25hdel Cursor


[?25l:[?2004h[?25hcb.append('Number of windows in current tab page: ' + str(len(vi


m.windows)))


[?25l:[?2004h[?25hif list(vim.windows) != list(vim.current.tabpage.windows):


[?25l:[?2004h[?25h    cb.append('!!!!!! Windows differ')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.current


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef H(o):


[?25l:[?2004h[?25h    return repr(o)


[?25l:[?2004h[?25hcb.append('Current tab page: ' + repr(vim.current.tabpage))


[?25l:[?2004h[?25hcb.append('Current window: ' + repr(vim.current.window) + ': ' +


H(vim.current.window) + ' is ' + H(vim.current.tabpage.window))


[?25l:[?2004h[?25hcb.append('Current buffer: ' + repr(vim.current.buffer) + ': ' +


H(vim.current.buffer) + ' is ' + H(vim.current.window.buffer)+ ' is ' + H(vim.c


urrent.tabpage.window.buffer))


[?25l:[?2004h[?25hdel H


[?25l:[?2004h[?25h# Assigning: fails


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    vim.current.window = vim.tabpages[0].window


[?25l:[?2004h[?25hexcept ValueError:


[?25l:[?2004h[?25h    cb.append('ValueError at assigning foreign tab window')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hfor attr in ('window', 'tabpage', 'buffer'):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        setattr(vim.current, attr, None)


[?25l:[?2004h[?25h    except TypeError:


[?25l:[?2004h[?25h        cb.append('Type error at assigning None to vim.current.'


+ attr)


[?25l:[?2004h[?25hdel attr


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h# Assigning: success


[?25l:[?2004h[?25hvim.current.tabpage = vim.tabpages[-2]


[?25l:[?2004h[?25hvim.current.buffer = cb


[?25l:[?2004h[?25hvim.current.window = vim.windows[0]


[?25l:[?2004h[?25hvim.current.window.cursor = (len(vim.current.buffer), 0)


[?25l:[?2004h[?25hcb.append('Current tab page: ' + repr(vim.current.tabpage))


[?25l:[?2004h[?25hcb.append('Current window: ' + repr(vim.current.window))


[?25l:[?2004h[?25hcb.append('Current buffer: ' + repr(vim.current.buffer))


[?25l:[?2004h[?25hcb.append('Current line: ' + repr(vim.current.line))


[?25l:[?2004h[?25hws = list(vim.windows)


[?25l:[?2004h[?25hts = list(vim.tabpages)


[?25l:[?2004h[?25hfor b in vim.buffers:


[?25l:[?2004h[?25h    if b is not cb:


[?25l:[?2004h[?25h        vim.command('bwipeout! ' + str(b.number))


[?25l:[?2004h[?25hdel b


[?25l:[?2004h[?25hcb.append('w.valid: ' + repr([w.valid for w in ws]))


[?25l:[?2004h[?25hcb.append('t.valid: ' + repr([t.valid for t in ts]))


[?25l:[?2004h[?25hdel w


[?25l:[?2004h[?25hdel t


[?25l:[?2004h[?25hdel ts


[?25l:[?2004h[?25hdel ws


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:tabonly!


[?25l:[?2004h[?25h:only!


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test types


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hfor expr, attr in (


[?25l:[?2004h[?25h    ('vim.vars',                         'Dictionary'),


[?25l:[?2004h[?25h    ('vim.options',                      'Options'),


[?25l:[?2004h[?25h    ('vim.bindeval("{}")',               'Dictionary'),


[?25l:[?2004h[?25h    ('vim.bindeval("[]")',               'List'),


[?25l:[?2004h[?25h    ('vim.bindeval("function(\'tr\')")', 'Function'),


[?25l:[?2004h[?25h    ('vim.current.buffer',               'Buffer'),


[?25l:[?2004h[?25h    ('vim.current.range',                'Range'),


[?25l:[?2004h[?25h    ('vim.current.window',               'Window'),


[?25l:[?2004h[?25h    ('vim.current.tabpage',              'TabPage'),


[?25l:[?2004h[?25h):


[?25l:[?2004h[?25h    cb.append(expr + ':' + attr + ':' + repr(type(eval(expr)) is


getattr(vim, attr)))


[?25l:[?2004h[?25hdel expr


[?25l:[?2004h[?25hdel attr


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test __dir__() method


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hfor name, o in (


[?25l:[?2004h[?25h        ('current',    vim.current),


[?25l:[?2004h[?25h        ('buffer',     vim.current.buffer),


[?25l:[?2004h[?25h        ('window',     vim.current.window),


[?25l:[?2004h[?25h        ('tabpage',    vim.current.tabpage),


[?25l:[?2004h[?25h        ('range',      vim.current.range),


[?25l:[?2004h[?25h        ('dictionary', vim.bindeval('{}')),


[?25l:[?2004h[?25h        ('list',       vim.bindeval('[]')),


[?25l:[?2004h[?25h        ('function',   vim.bindeval('function("tr")')),


[?25l:[?2004h[?25h        ('output',     sys.stdout),


[?25l:[?2004h[?25h    ):


[?25l:[?2004h[?25h    cb.append(name + ':' + ','.join(dir(o)))


[?25l:[?2004h[?25hdel name


[?25l:[?2004h[?25hdel o


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.*.__new__


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary({})'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary(a=1)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary(((''a'', 1),))'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.List()'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.List(iter(''abc7''))'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'')'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4])'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[])'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', self={})'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], se


lf={})'))


[?25l:[?2004h[?25h:$put ='auto_rebind'


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', auto_rebind=False)')


)

[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], au


to_rebind=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[], auto_rebind


=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', self={}, auto_rebind


=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], se


lf={}, auto_rebind=False)'))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.Function


[?25l:[?2004h[?25h:function Args(...)


[?25l:[?2004h[?25h:   return a:000


[?25l:[?2004h[?25h:endfunction


[?25l:[?2004h[?25h:function SelfArgs(...) dict


[?25l:[?2004h[?25h:   return [a:000, self]


[?25l:[?2004h[?25h:endfunction


[?25l:[?2004h[?25h:" The following four lines should not crash


[?25l:[?2004h[?25h:let Pt = function('tr', [[]], {'l': []})


[?25l:[?2004h[?25h:py3 Pt = vim.bindeval('Pt')


[?25l:[?2004h[?25h:unlet Pt


[?25l:[?2004h[?25h:py3 del Pt


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef ecall(out_prefix, func, *args, **kwargs):


[?25l:[?2004h[?25h    line = out_prefix + ': '


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        ret = func(*args, **kwargs)


[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        line += '!exception: ' + emsg(sys.exc_info())


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        line += '!result: ' + str(vim.Function('string')(ret


), 'utf-8')


[?25l:[?2004h[?25h    cb.append(line)


[?25l:[?2004h[?25ha = vim.Function('Args')


[?25l:[?2004h[?25hpa1 = vim.Function('Args', args=['abcArgsPA1'])


[?25l:[?2004h[?25hpa2 = vim.Function('Args', args=[])


[?25l:[?2004h[?25hpa3 = vim.Function('Args', args=['abcArgsPA3'], self={'abcSe


lfPA3': 'abcSelfPA3Val'})


[?25l:[?2004h[?25hpa4 = vim.Function('Args', self={'abcSelfPA4': 'abcSelfPA4Va


l'})


[?25l:[?2004h[?25hcb.append('a: ' + repr(a))


[?25l:[?2004h[?25hcb.append('pa1: ' + repr(pa1))


[?25l:[?2004h[?25hcb.append('pa2: ' + repr(pa2))


[?25l:[?2004h[?25hcb.append('pa3: ' + repr(pa3))


[?25l:[?2004h[?25hcb.append('pa4: ' + repr(pa4))


[?25l:[?2004h[?25hsa = vim.Function('SelfArgs')


[?25l:[?2004h[?25hpsa1 = vim.Function('SelfArgs', args=['abcArgsPSA1'])


[?25l:[?2004h[?25hpsa2 = vim.Function('SelfArgs', args=[])


[?25l:[?2004h[?25hpsa3 = vim.Function('SelfArgs', args=['abcArgsPSA3'], self={


'abcSelfPSA3': 'abcSelfPSA3Val'})


[?25l:[?2004h[?25hpsa4 = vim.Function('SelfArgs', self={'abcSelfPSA4': 'abcSel


fPSA4Val'})


[?25l:[?2004h[?25hpsa5 = vim.Function('SelfArgs', self={'abcSelfPSA5': 'abcSel


fPSA5Val'}, auto_rebind=0)


[?25l:[?2004h[?25hpsa6 = vim.Function('SelfArgs', args=['abcArgsPSA6'], self={


'abcSelfPSA6': 'abcSelfPSA6Val'}, auto_rebind=())


[?25l:[?2004h[?25hpsa7 = vim.Function('SelfArgs', args=['abcArgsPSA7'], auto_r


ebind=[])


[?25l:[?2004h[?25hpsa8 = vim.Function('SelfArgs', auto_rebind=False)


[?25l:[?2004h[?25hpsa9 = vim.Function('SelfArgs', self={'abcSelfPSA9': 'abcSel


fPSA9Val'}, auto_rebind=True)


[?25l:[?2004h[?25hpsaA = vim.Function('SelfArgs', args=['abcArgsPSAA'], self={


'abcSelfPSAA': 'abcSelfPSAAVal'}, auto_rebind=1)


[?25l:[?2004h[?25hpsaB = vim.Function('SelfArgs', args=['abcArgsPSAB'], auto_r


ebind={'abcARPSAB': 'abcARPSABVal'})


[?25l:[?2004h[?25hpsaC = vim.Function('SelfArgs', auto_rebind=['abcARPSAC'])


[?25l:[?2004h[?25hcb.append('sa: ' + repr(sa))


[?25l:[?2004h[?25hcb.append('psa1: ' + repr(psa1))


[?25l:[?2004h[?25hcb.append('psa2: ' + repr(psa2))


[?25l:[?2004h[?25hcb.append('psa3: ' + repr(psa3))


[?25l:[?2004h[?25hcb.append('psa4: ' + repr(psa4))


[?25l:[?2004h[?25hcb.append('psa5: ' + repr(psa5))


[?25l:[?2004h[?25hcb.append('psa6: ' + repr(psa6))


[?25l:[?2004h[?25hcb.append('psa7: ' + repr(psa7))


[?25l:[?2004h[?25hcb.append('psa8: ' + repr(psa8))


[?25l:[?2004h[?25hcb.append('psa9: ' + repr(psa9))


[?25l:[?2004h[?25hcb.append('psaA: ' + repr(psaA))


[?25l:[?2004h[?25hcb.append('psaB: ' + repr(psaB))


[?25l:[?2004h[?25hcb.append('psaC: ' + repr(psaC))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hpsar = vim.Function('SelfArgs', args=[{'abcArgsPSAr': 'abcAr


gsPSArVal'}], self={'abcSelfPSAr': 'abcSelfPSArVal'})


[?25l:[?2004h[?25hpsar.args[0]['abcArgsPSAr2'] = [psar.self, psar.args[0]]


[?25l:[?2004h[?25hpsar.self['rec'] = psar


[?25l:[?2004h[?25hpsar.self['self'] = psar.self


[?25l:[?2004h[?25hpsar.self['args'] = psar.args


[?25l:[?2004h[?25h


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    cb.append('psar: ' + repr(psar))


[?25l:[?2004h[?25hexcept Exception:


[?25l:[?2004h[?25h    cb.append('!!!!!!!! Caught exception: ' + emsg(sys.exc_i


nfo()))


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put ='s(a): '.string(py3eval('a'))


[?25l:[?2004h[?25h:$put ='s(pa1): '.string(py3eval('pa1'))


[?25l:[?2004h[?25h:$put ='s(pa2): '.string(py3eval('pa2'))


[?25l:[?2004h[?25h:$put ='s(pa3): '.string(py3eval('pa3'))


[?25l:[?2004h[?25h:$put ='s(pa4): '.string(py3eval('pa4'))


[?25l:[?2004h[?25h:$put ='s(sa): '.string(py3eval('sa'))


[?25l:[?2004h[?25h:$put ='s(psa1): '.string(py3eval('psa1'))


[?25l:[?2004h[?25h:$put ='s(psa2): '.string(py3eval('psa2'))


[?25l:[?2004h[?25h:$put ='s(psa3): '.string(py3eval('psa3'))


[?25l:[?2004h[?25h:$put ='s(psa4): '.string(py3eval('psa4'))


[?25l:[?2004h[?25h:$put ='s(psa5): '.string(py3eval('psa5'))


[?25l:[?2004h[?25h:$put ='s(psa6): '.string(py3eval('psa6'))


[?25l:[?2004h[?25h:$put ='s(psa7): '.string(py3eval('psa7'))


[?25l:[?2004h[?25h:$put ='s(psa8): '.string(py3eval('psa8'))


[?25l:[?2004h[?25h:$put ='s(psa9): '.string(py3eval('psa9'))


[?25l:[?2004h[?25h:$put ='s(psaA): '.string(py3eval('psaA'))


[?25l:[?2004h[?25h:$put ='s(psaB): '.string(py3eval('psaB'))


[?25l:[?2004h[?25h:$put ='s(psaC): '.string(py3eval('psaC'))


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:for v in ['sa', 'psa1', 'psa2', 'psa3', 'psa4', 'psa5', 'ps


a6', 'psa7', 'psa8', 'psa9', 'psaA', 'psaB', 'psaC']


[?25l:[?2004h[?25h:   let d = {'f': py3eval(v)}


[?25l:[?2004h[?25h:   $put ='d.'.v.'(): '.string(d.f())


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a()', a, )


[?25l:[?2004h[?25h:py3 ecall('pa1()', pa1, )


[?25l:[?2004h[?25h:py3 ecall('pa2()', pa2, )


[?25l:[?2004h[?25h:py3 ecall('pa3()', pa3, )


[?25l:[?2004h[?25h:py3 ecall('pa4()', pa4, )


[?25l:[?2004h[?25h:py3 ecall('sa()', sa, )


[?25l:[?2004h[?25h:py3 ecall('psa1()', psa1, )


[?25l:[?2004h[?25h:py3 ecall('psa2()', psa2, )


[?25l:[?2004h[?25h:py3 ecall('psa3()', psa3, )


[?25l:[?2004h[?25h:py3 ecall('psa4()', psa4, )


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(42, 43)', a, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa1(42, 43)', pa1, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa2(42, 43)', pa2, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa3(42, 43)', pa3, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa4(42, 43)', pa4, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('sa(42, 43)', sa, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa1(42, 43)', psa1, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa2(42, 43)', psa2, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa3(42, 43)', psa3, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa4(42, 43)', psa4, 42, 43)


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(42, self={"20": 1})', a, 42, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa1(42, self={"20": 1})', pa1, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa2(42, self={"20": 1})', pa2, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa3(42, self={"20": 1})', pa3, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa4(42, self={"20": 1})', pa4, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('sa(42, self={"20": 1})', sa, 42, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa1(42, self={"20": 1})', psa1, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa2(42, self={"20": 1})', psa2, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa3(42, self={"20": 1})', psa3, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa4(42, self={"20": 1})', psa4, 42, self={'20':


1})


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(self={"20": 1})', a, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa1(self={"20": 1})', pa1, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa2(self={"20": 1})', pa2, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa3(self={"20": 1})', pa3, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa4(self={"20": 1})', pa4, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('sa(self={"20": 1})', sa, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa1(self={"20": 1})', psa1, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa2(self={"20": 1})', psa2, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa3(self={"20": 1})', psa3, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa4(self={"20": 1})', psa4, self={'20': 1})


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef s(v):


[?25l:[?2004h[?25h    if v is None:


[?25l:[?2004h[?25h        return repr(v)


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return str(vim.Function('string')(v), 'utf-8')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.args: ' + s(a.args))


[?25l:[?2004h[?25hcb.append('pa1.args: ' + s(pa1.args))


[?25l:[?2004h[?25hcb.append('pa2.args: ' + s(pa2.args))


[?25l:[?2004h[?25hcb.append('pa3.args: ' + s(pa3.args))


[?25l:[?2004h[?25hcb.append('pa4.args: ' + s(pa4.args))


[?25l:[?2004h[?25hcb.append('sa.args: ' + s(sa.args))


[?25l:[?2004h[?25hcb.append('psa1.args: ' + s(psa1.args))


[?25l:[?2004h[?25hcb.append('psa2.args: ' + s(psa2.args))


[?25l:[?2004h[?25hcb.append('psa3.args: ' + s(psa3.args))


[?25l:[?2004h[?25hcb.append('psa4.args: ' + s(psa4.args))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.self: ' + s(a.self))


[?25l:[?2004h[?25hcb.append('pa1.self: ' + s(pa1.self))


[?25l:[?2004h[?25hcb.append('pa2.self: ' + s(pa2.self))


[?25l:[?2004h[?25hcb.append('pa3.self: ' + s(pa3.self))


[?25l:[?2004h[?25hcb.append('pa4.self: ' + s(pa4.self))


[?25l:[?2004h[?25hcb.append('sa.self: ' + s(sa.self))


[?25l:[?2004h[?25hcb.append('psa1.self: ' + s(psa1.self))


[?25l:[?2004h[?25hcb.append('psa2.self: ' + s(psa2.self))


[?25l:[?2004h[?25hcb.append('psa3.self: ' + s(psa3.self))


[?25l:[?2004h[?25hcb.append('psa4.self: ' + s(psa4.self))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.name: ' + s(a.name))


[?25l:[?2004h[?25hcb.append('pa1.name: ' + s(pa1.name))


[?25l:[?2004h[?25hcb.append('pa2.name: ' + s(pa2.name))


[?25l:[?2004h[?25hcb.append('pa3.name: ' + s(pa3.name))


[?25l:[?2004h[?25hcb.append('pa4.name: ' + s(pa4.name))


[?25l:[?2004h[?25hcb.append('sa.name: ' + s(sa.name))


[?25l:[?2004h[?25hcb.append('psa1.name: ' + s(psa1.name))


[?25l:[?2004h[?25hcb.append('psa2.name: ' + s(psa2.name))


[?25l:[?2004h[?25hcb.append('psa3.name: ' + s(psa3.name))


[?25l:[?2004h[?25hcb.append('psa4.name: ' + s(psa4.name))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.auto_rebind: ' + s(a.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa1.auto_rebind: ' + s(pa1.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa2.auto_rebind: ' + s(pa2.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa3.auto_rebind: ' + s(pa3.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa4.auto_rebind: ' + s(pa4.auto_rebind))


[?25l:[?2004h[?25hcb.append('sa.auto_rebind: ' + s(sa.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa1.auto_rebind: ' + s(psa1.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa2.auto_rebind: ' + s(psa2.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa3.auto_rebind: ' + s(psa3.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa4.auto_rebind: ' + s(psa4.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa5.auto_rebind: ' + s(psa5.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa6.auto_rebind: ' + s(psa6.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa7.auto_rebind: ' + s(psa7.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa8.auto_rebind: ' + s(psa8.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa9.auto_rebind: ' + s(psa9.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaA.auto_rebind: ' + s(psaA.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaB.auto_rebind: ' + s(psaB.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaC.auto_rebind: ' + s(psaC.auto_rebind))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel s


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel a


[?25l:[?2004h[?25hdel pa1


[?25l:[?2004h[?25hdel pa2


[?25l:[?2004h[?25hdel pa3


[?25l:[?2004h[?25hdel pa4


[?25l:[?2004h[?25hdel sa


[?25l:[?2004h[?25hdel psa1


[?25l:[?2004h[?25hdel psa2


[?25l:[?2004h[?25hdel psa3


[?25l:[?2004h[?25hdel psa4


[?25l:[?2004h[?25hdel psa5


[?25l:[?2004h[?25hdel psa6


[?25l:[?2004h[?25hdel psa7


[?25l:[?2004h[?25hdel psa8


[?25l:[?2004h[?25hdel psa9


[?25l:[?2004h[?25hdel psaA


[?25l:[?2004h[?25hdel psaB


[?25l:[?2004h[?25hdel psaC


[?25l:[?2004h[?25hdel psar


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel ecall


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test stdout/stderr


[?25l:[?2004h[?25h:redir => messages


[?25l:[?2004h[?25h:py3 sys.stdout.write('abc8') ; sys.stdout.write('def')


[?25l:[?2004h[?25h:py3 sys.stderr.write('abc9') ; sys.stderr.write('def')


[?25l:[?2004h[?25h:py3 sys.stdout.writelines(iter('abcA'))


[?25l:[?2004h[?25h:py3 sys.stderr.writelines(iter('abcB'))


[?25l:[?2004h[?25h:redir END


[?25l:[?2004h[?25h:$put =string(substitute(messages, '\d\+', '', 'g'))


[?25l:[?2004h[?25h:" Test subclassing


[?25l:[?2004h[?25h:fun Put(...)


[?25l:[?2004h[?25h:   $put =string(a:000)


[?25l:[?2004h[?25h:   return a:000


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hclass DupDict(vim.Dictionary):


[?25l:[?2004h[?25h    def __setitem__(self, key, value):


[?25l:[?2004h[?25h        super(DupDict, self).__setitem__(key, value)


[?25l:[?2004h[?25h        super(DupDict, self).__setitem__('dup_' + key, val


ue)


[?25l:[?2004h[?25hdd = DupDict()


[?25l:[?2004h[?25hdd['a'] = 'b'


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass DupList(vim.List):


[?25l:[?2004h[?25h    def __getitem__(self, idx):


[?25l:[?2004h[?25h        return [super(DupList, self).__getitem__(idx)] * 2


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdl = DupList()


[?25l:[?2004h[?25hdl2 = DupList(iter('abcC'))


[?25l:[?2004h[?25hdl.extend(dl2[0])


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass DupFun(vim.Function):


[?25l:[?2004h[?25h    def __call__(self, arg):


[?25l:[?2004h[?25h        return super(DupFun, self).__call__(arg, arg)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdf = DupFun('Put')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put =string(sort(keys(py3eval('dd'))))


[?25l:[?2004h[?25h:$put =string(py3eval('dl'))


[?25l:[?2004h[?25h:$put =string(py3eval('dl2'))


[?25l:[?2004h[?25h:$put =string(py3eval('df(2)'))


[?25l:[?2004h[?25h:$put =string(py3eval('dl') is# py3eval('dl'))


[?25l:[?2004h[?25h:$put =string(py3eval('dd') is# py3eval('dd'))


[?25l:[?2004h[?25h:$put =string(py3eval('df'))


[?25l:[?2004h[?25h:delfunction Put


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdel DupDict


[?25l:[?2004h[?25hdel DupList


[?25l:[?2004h[?25hdel DupFun


[?25l:[?2004h[?25hdel dd


[?25l:[?2004h[?25hdel dl


[?25l:[?2004h[?25hdel dl2


[?25l:[?2004h[?25hdel df


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test chdir


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25himport os


[?25l:[?2004h[?25hfnamemodify = vim.Function('fnamemodify')


[?25l:[?2004h[?25hcb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25hcb.append(vim.eval('@%'))


[?25l:[?2004h[?25hos.chdir('..')


[?25l:[?2004h[?25hpath = fnamemodify('.', ':p:h:t')


[?25l:[?2004h[?25hif path != b'src':


[?25l:[?2004h[?25h  # Running tests from a shadow directory, so move up anot


her level


[?25l:[?2004h[?25h  # This will result in @% looking like shadow/testdir/tes


t87.in, hence the


[?25l:[?2004h[?25h  # slicing to remove the leading path and path separator


[?25l:[?2004h[?25h  os.chdir('..')


[?25l:[?2004h[?25h  cb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25h  cb.append(vim.eval('@%')[len(path)+1:].replace(os.path.s


ep, '/'))


[?25l:[?2004h[?25h  os.chdir(path)


[?25l:[?2004h[?25helse:


[?25l:[?2004h[?25h  cb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25h  cb.append(vim.eval('@%').replace(os.path.sep, '/'))


[?25l:[?2004h[?25hdel path


[?25l:[?2004h[?25hos.chdir('testdir')


[?25l:[?2004h[?25hcb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25hcb.append(vim.eval('@%'))


[?25l:[?2004h[?25hdel fnamemodify


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test errors


[?25l:[?2004h[?25h:fun F() dict


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:fun D()


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hd = vim.Dictionary()


[?25l:[?2004h[?25hned = vim.Dictionary(foo='bar', baz='abcD')


[?25l:[?2004h[?25hdl = vim.Dictionary(a=1)


[?25l:[?2004h[?25hdl.locked = True


[?25l:[?2004h[?25hl = vim.List()


[?25l:[?2004h[?25hll = vim.List('abcE')


[?25l:[?2004h[?25hll.locked = True


[?25l:[?2004h[?25hnel = vim.List('abcO')


[?25l:[?2004h[?25hf = vim.Function('string')


[?25l:[?2004h[?25hfd = vim.Function('F')


[?25l:[?2004h[?25hfdel = vim.Function('D')


[?25l:[?2004h[?25hvim.command('delfunction D')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef subexpr_test(expr, name, subexprs):


[?25l:[?2004h[?25h    cb.append('>>> Testing %s using %s' % (name, expr)


)

[?25l:[?2004h[?25h    for subexpr in subexprs:


[?25l:[?2004h[?25h        ee(expr % subexpr)


[?25l:[?2004h[?25h    cb.append('<<< Finished')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef stringtochars_test(expr):


[?25l:[?2004h[?25h    return subexpr_test(expr, 'StringToChars', (


[?25l:[?2004h[?25h        '1',       # Fail type checks


[?25l:[?2004h[?25h        'b"\\0"',  # Fail PyString_AsStringAndSize(obj


ect, , NULL) check


[?25l:[?2004h[?25h        '"\\0"',   # Fail PyString_AsStringAndSize(byt


es, , NULL) check


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass Mapping(object):


[?25l:[?2004h[?25h    def __init__(self, d):


[?25l:[?2004h[?25h        self.d = d


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __getitem__(self, key):


[?25l:[?2004h[?25h        return self.d[key]


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        return self.d.keys()


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def items(self):


[?25l:[?2004h[?25h        return self.d.items()


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef convertfrompyobject_test(expr, recurse=True):


[?25l:[?2004h[?25h    # pydict_to_tv


[?25l:[?2004h[?25h    stringtochars_test(expr % '{%s : 1}')


[?25l:[?2004h[?25h    if recurse:


[?25l:[?2004h[?25h        convertfrompyobject_test(expr % '{"abcF" : %s}


', False)


[?25l:[?2004h[?25h    # pymap_to_tv


[?25l:[?2004h[?25h    stringtochars_test(expr % 'Mapping({%s : 1})')


[?25l:[?2004h[?25h    if recurse:


[?25l:[?2004h[?25h        convertfrompyobject_test(expr % 'Mapping({"abc


G" : %s})', False)


[?25l:[?2004h[?25h    # pyseq_to_tv


[?25l:[?2004h[?25h    iter_test(expr)


[?25l:[?2004h[?25h    return subexpr_test(expr, 'ConvertFromPyObject', (


[?25l:[?2004h[?25h        'None',                 # Not conversible


[?25l:[?2004h[?25h        '{b"": 1}',             # Empty key not allowe


d

[?25l:[?2004h[?25h        '{"": 1}',              # Same, but with unico


de object


[?25l:[?2004h[?25h        'FailingMapping()',     #


[?25l:[?2004h[?25h        'FailingMappingKey()',  #


[?25l:[?2004h[?25h        'FailingNumber()',      #


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef convertfrompymapping_test(expr):


[?25l:[?2004h[?25h    convertfrompyobject_test(expr)


[?25l:[?2004h[?25h    return subexpr_test(expr, 'ConvertFromPyMapping', 


(

[?25l:[?2004h[?25h        '[]',


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef iter_test(expr):


[?25l:[?2004h[?25h    return subexpr_test(expr, '*Iter*', (


[?25l:[?2004h[?25h        'FailingIter()',


[?25l:[?2004h[?25h        'FailingIterNext()',


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef number_test(expr, natural=False, unsigned=False):


[?25l:[?2004h[?25h    if natural:


[?25l:[?2004h[?25h        unsigned = True


[?25l:[?2004h[?25h    return subexpr_test(expr, 'NumberToLong', (


[?25l:[?2004h[?25h        '[]',


[?25l:[?2004h[?25h        'None',


[?25l:[?2004h[?25h    ) + (('-1',) if unsigned else ())


[?25l:[?2004h[?25h    + (('0',) if natural else ()))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingTrue(object):


[?25l:[?2004h[?25h    def __bool__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('bool')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIter(object):


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('iter')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIterNext(object):


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        return self


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __next__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('next')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIterNextN(object):


[?25l:[?2004h[?25h    def __init__(self, n):


[?25l:[?2004h[?25h        self.n = n


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        return self


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __next__(self):


[?25l:[?2004h[?25h        if self.n:


[?25l:[?2004h[?25h            self.n -= 1


[?25l:[?2004h[?25h            return 1


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            raise NotImplementedError('next N')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingMappingKey(object):


[?25l:[?2004h[?25h    def __getitem__(self, item):


[?25l:[?2004h[?25h        raise NotImplementedError('getitem:mappingkey'


)

[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        return list("abcH")


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingMapping(object):


[?25l:[?2004h[?25h    def __getitem__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('getitem:mapping')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        raise NotImplementedError('keys')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingList(list):


[?25l:[?2004h[?25h    def __getitem__(self, idx):


[?25l:[?2004h[?25h        if i == 2:


[?25l:[?2004h[?25h            raise NotImplementedError('getitem:list')


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            return super(FailingList, self).__getitem_


_(idx)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass NoArgsCall(object):


[?25l:[?2004h[?25h    def __call__(self):


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingCall(object):


[?25l:[?2004h[?25h    def __call__(self, path):


[?25l:[?2004h[?25h        raise NotImplementedError('call')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingNumber(object):


[?25l:[?2004h[?25h    def __int__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('int')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append("> Output")


[?25l:[?2004h[?25hcb.append(">> OutputSetattr")


[?25l:[?2004h[?25hee('del sys.stdout.softspace')


[?25l:[?2004h[?25hnumber_test('sys.stdout.softspace = %s', unsigned=True


)

[?25l:[?2004h[?25hnumber_test('sys.stderr.softspace = %s', unsigned=True


)

[?25l:[?2004h[?25hee('assert sys.stdout.isatty()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.seekable()==False')


[?25l:[?2004h[?25hee('sys.stdout.close()')


[?25l:[?2004h[?25hee('sys.stdout.flush()')


[?25l:[?2004h[?25hee('assert sys.stderr.isatty()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.seekable()==False')


[?25l:[?2004h[?25hee('sys.stderr.close()')


[?25l:[?2004h[?25hee('sys.stderr.flush()')


[?25l:[?2004h[?25hee('sys.stdout.attr = None')


[?25l:[?2004h[?25hcb.append(">> OutputWrite")


[?25l:[?2004h[?25hee('assert sys.stdout.writable()==True')


[?25l:[?2004h[?25hee('assert sys.stdout.readable()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.writable()==True')


[?25l:[?2004h[?25hee('assert sys.stderr.readable()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.closed()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.closed()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.errors=="strict"')


[?25l:[?2004h[?25hee('assert sys.stderr.errors=="strict"')


[?25l:[?2004h[?25hee('assert sys.stdout.encoding==sys.stderr.encoding')


[?25l:[?2004h[?25hee('sys.stdout.write(None)')


[?25l:[?2004h[?25hcb.append(">> OutputWriteLines")


[?25l:[?2004h[?25hee('sys.stdout.writelines(None)')


[?25l:[?2004h[?25hee('sys.stdout.writelines([1])')


[?25l:[?2004h[?25hiter_test('sys.stdout.writelines(%s)')


[?25l:[?2004h[?25hcb.append("> VimCommand")


[?25l:[?2004h[?25hstringtochars_test('vim.command(%s)')


[?25l:[?2004h[?25hee('vim.command("", 2)')


[?25l:[?2004h[?25h#! Not checked: vim->python exceptions translating: ch


ecked later


[?25l:[?2004h[?25hcb.append("> VimToPython")


[?25l:[?2004h[?25h#! Not checked: everything: needs errors in internal p


ython functions


[?25l:[?2004h[?25hcb.append("> VimEval")


[?25l:[?2004h[?25hstringtochars_test('vim.eval(%s)')


[?25l:[?2004h[?25hee('vim.eval("", FailingTrue())')


[?25l:[?2004h[?25h#! Not checked: everything: needs errors in internal p


ython functions


[?25l:[?2004h[?25hcb.append("> VimEvalPy")


[?25l:[?2004h[?25hstringtochars_test('vim.bindeval(%s)')


[?25l:[?2004h[?25hee('vim.eval("", 2)')


[?25l:[?2004h[?25h#! Not checked: vim->python exceptions translating: ch


ecked later


[?25l:[?2004h[?25hcb.append("> VimStrwidth")


[?25l:[?2004h[?25hstringtochars_test('vim.strwidth(%s)')


[?25l:[?2004h[?25hcb.append("> VimForeachRTP")


[?25l:[?2004h[?25hee('vim.foreach_rtp(None)')


[?25l:[?2004h[?25hee('vim.foreach_rtp(NoArgsCall())')


[?25l:[?2004h[?25hee('vim.foreach_rtp(FailingCall())')


[?25l:[?2004h[?25hee('vim.foreach_rtp(int, 2)')


[?25l:[?2004h[?25hcb.append('> import')


[?25l:[?2004h[?25hold_rtp = vim.options['rtp']


[?25l:[?2004h[?25hvim.options['rtp'] = os.getcwd().replace('\\', '\\\\')


.replace(',', '\\,')


[?25l:[?2004h[?25hee('import xxx_no_such_module_xxx')


[?25l:[?2004h[?25hee('import failing_import')


[?25l:[?2004h[?25hee('import failing')


[?25l:[?2004h[?25hvim.options['rtp'] = old_rtp


[?25l:[?2004h[?25hdel old_rtp


[?25l:[?2004h[?25hcb.append("> Options")


[?25l:[?2004h[?25hcb.append(">> OptionsItem")


[?25l:[?2004h[?25hee('vim.options["abcQ"]')


[?25l:[?2004h[?25hee('vim.options[""]')


[?25l:[?2004h[?25hstringtochars_test('vim.options[%s]')


[?25l:[?2004h[?25hcb.append(">> OptionsContains")


[?25l:[?2004h[?25hstringtochars_test('%s in vim.options')


[?25l:[?2004h[?25hcb.append("> Dictionary")


[?25l:[?2004h[?25hcb.append(">> DictionaryConstructor")


[?25l:[?2004h[?25hee('vim.Dictionary("abcI")')


[?25l:[?2004h[?25h##! Not checked: py_dict_alloc failure


[?25l:[?2004h[?25hcb.append(">> DictionarySetattr")


[?25l:[?2004h[?25hee('del d.locked')


[?25l:[?2004h[?25hee('d.locked = FailingTrue()')


[?25l:[?2004h[?25hee('vim.vvars.locked = False')


[?25l:[?2004h[?25hee('d.scope = True')


[?25l:[?2004h[?25hee('d.xxx = True')


[?25l:[?2004h[?25hcb.append(">> _DictionaryItem")


[?25l:[?2004h[?25hee('d.get("a", 2, 3)')


[?25l:[?2004h[?25hstringtochars_test('d.get(%s)')


[?25l:[?2004h[?25hee('d.pop("a")')


[?25l:[?2004h[?25hee('dl.pop("a")')


[?25l:[?2004h[?25hcb.append(">> DictionaryContains")


[?25l:[?2004h[?25hee('"" in d')


[?25l:[?2004h[?25hee('0 in d')


[?25l:[?2004h[?25hcb.append(">> DictionaryIterNext")


[?25l:[?2004h[?25hee('for i in ned: ned["a"] = 1')


[?25l:[?2004h[?25hdel i


[?25l:[?2004h[?25hcb.append(">> DictionaryAssItem")


[?25l:[?2004h[?25hee('dl["b"] = 1')


[?25l:[?2004h[?25hstringtochars_test('d[%s] = 1')


[?25l:[?2004h[?25hconvertfrompyobject_test('d["a"] = %s')


[?25l:[?2004h[?25hcb.append(">> DictionaryUpdate")


[?25l:[?2004h[?25hcb.append(">>> kwargs")


[?25l:[?2004h[?25hcb.append(">>> iter")


[?25l:[?2004h[?25hee('d.update(FailingMapping())')


[?25l:[?2004h[?25hee('d.update([FailingIterNext()])')


[?25l:[?2004h[?25hee('d.update([FailingIterNextN(1)])')


[?25l:[?2004h[?25hiter_test('d.update(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('d.update(%s)')


[?25l:[?2004h[?25hstringtochars_test('d.update(((%s, 0),))')


[?25l:[?2004h[?25hconvertfrompyobject_test('d.update((("a", %s),))')


[?25l:[?2004h[?25hcb.append(">> DictionaryPopItem")


[?25l:[?2004h[?25hee('d.popitem(1, 2)')


[?25l:[?2004h[?25hcb.append(">> DictionaryHasKey")


[?25l:[?2004h[?25hee('d.has_key()')


[?25l:[?2004h[?25hcb.append("> List")


[?25l:[?2004h[?25hcb.append(">> ListConstructor")


[?25l:[?2004h[?25hee('vim.List(1, 2)')


[?25l:[?2004h[?25hee('vim.List(a=1)')


[?25l:[?2004h[?25hiter_test('vim.List(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('vim.List([%s])')


[?25l:[?2004h[?25hcb.append(">> ListItem")


[?25l:[?2004h[?25hee('l[1000]')


[?25l:[?2004h[?25hcb.append(">> ListAssItem")


[?25l:[?2004h[?25hee('ll[1] = 2')


[?25l:[?2004h[?25hee('l[1000] = 3')


[?25l:[?2004h[?25hcb.append(">> ListAssSlice")


[?25l:[?2004h[?25hee('ll[1:100] = "abcJ"')


[?25l:[?2004h[?25hiter_test('l[:] = %s')


[?25l:[?2004h[?25hee('nel[1:10:2]  = "abcK"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[1:10:2]  = "a"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[1:1:-1]  = "a"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[:] = FailingIterNextN(2)')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hconvertfrompyobject_test('l[:] = [%s]')


[?25l:[?2004h[?25hcb.append(">> ListConcatInPlace")


[?25l:[?2004h[?25hiter_test('l.extend(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('l.extend([%s])')


[?25l:[?2004h[?25hcb.append(">> ListSetattr")


[?25l:[?2004h[?25hee('del l.locked')


[?25l:[?2004h[?25hee('l.locked = FailingTrue()')


[?25l:[?2004h[?25hee('l.xxx = True')


[?25l:[?2004h[?25hcb.append("> Function")


[?25l:[?2004h[?25hcb.append(">> FunctionConstructor")


[?25l:[?2004h[?25hcb.append(">>> FunctionConstructor")


[?25l:[?2004h[?25hee('vim.Function("123")')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx")')


[?25l:[?2004h[?25hee('vim.Function("xxx#non#existent#function#xxx")')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx2", arg


s=[])')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx3", sel


f={})')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx4", arg


s=[], self={})')


[?25l:[?2004h[?25hcb.append(">>> FunctionNew")


[?25l:[?2004h[?25hee('vim.Function("tr", self="abcFuncSelf")')


[?25l:[?2004h[?25hee('vim.Function("tr", args=427423)')


[?25l:[?2004h[?25hee('vim.Function("tr", self="abcFuncSelf2", args="abcF


uncArgs2")')


[?25l:[?2004h[?25hee('vim.Function(self="abcFuncSelf2", args="abcFuncArg


s2")')


[?25l:[?2004h[?25hee('vim.Function("tr", "", self="abcFuncSelf2", args="


abcFuncArgs2")')


[?25l:[?2004h[?25hee('vim.Function("tr", "")')


[?25l:[?2004h[?25hcb.append(">> FunctionCall")


[?25l:[?2004h[?25hconvertfrompyobject_test('f(%s)')


[?25l:[?2004h[?25hconvertfrompymapping_test('fd(self=%s)')


[?25l:[?2004h[?25hcb.append("> TabPage")


[?25l:[?2004h[?25hcb.append(">> TabPageAttr")


[?25l:[?2004h[?25hee('vim.current.tabpage.xxx')


[?25l:[?2004h[?25hcb.append("> TabList")


[?25l:[?2004h[?25hcb.append(">> TabListItem")


[?25l:[?2004h[?25hee('vim.tabpages[1000]')


[?25l:[?2004h[?25hcb.append("> Window")


[?25l:[?2004h[?25hcb.append(">> WindowAttr")


[?25l:[?2004h[?25hee('vim.current.window.xxx')


[?25l:[?2004h[?25hcb.append(">> WindowSetattr")


[?25l:[?2004h[?25hee('vim.current.window.buffer = 0')


[?25l:[?2004h[?25hee('vim.current.window.cursor = (100000000, 100000000)


')

[?25l:[?2004h[?25hee('vim.current.window.cursor = True')


[?25l:[?2004h[?25hnumber_test('vim.current.window.height = %s', unsigned


=True)


[?25l:[?2004h[?25hnumber_test('vim.current.window.width = %s', unsigned=


True)


[?25l:[?2004h[?25hee('vim.current.window.xxxxxx = True')


[?25l:[?2004h[?25hcb.append("> WinList")


[?25l:[?2004h[?25hcb.append(">> WinListItem")


[?25l:[?2004h[?25hee('vim.windows[1000]')


[?25l:[?2004h[?25hcb.append("> Buffer")


[?25l:[?2004h[?25hcb.append(">> StringToLine (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[0] = "\\na"')


[?25l:[?2004h[?25hee('vim.current.buffer[0] = b"\\na"')


[?25l:[?2004h[?25hcb.append(">> SetBufferLine (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[0] = True')


[?25l:[?2004h[?25hcb.append(">> SetBufferLineList (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[:] = True')


[?25l:[?2004h[?25hee('vim.current.buffer[:] = ["\\na", "bc"]')


[?25l:[?2004h[?25hcb.append(">> InsertBufferLines (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer.append(None)')


[?25l:[?2004h[?25hee('vim.current.buffer.append(["\\na", "bc"])')


[?25l:[?2004h[?25hee('vim.current.buffer.append("\\nbc")')


[?25l:[?2004h[?25hcb.append(">> RBItem")


[?25l:[?2004h[?25hee('vim.current.buffer[100000000]')


[?25l:[?2004h[?25hcb.append(">> RBAsItem")


[?25l:[?2004h[?25hee('vim.current.buffer[100000000] = ""')


[?25l:[?2004h[?25hcb.append(">> BufferAttr")


[?25l:[?2004h[?25hee('vim.current.buffer.xxx')


[?25l:[?2004h[?25hcb.append(">> BufferSetattr")


[?25l:[?2004h[?25hee('vim.current.buffer.name = True')


[?25l:[?2004h[?25hee('vim.current.buffer.xxx = True')


[?25l:[?2004h[?25hcb.append(">> BufferMark")


[?25l:[?2004h[?25hee('vim.current.buffer.mark(0)')


[?25l:[?2004h[?25hee('vim.current.buffer.mark("abcM")')


[?25l:[?2004h[?25hee('vim.current.buffer.mark("!")')


[?25l:[?2004h[?25hcb.append(">> BufferRange")


[?25l:[?2004h[?25hee('vim.current.buffer.range(1, 2, 3)')


[?25l:[?2004h[?25hcb.append("> BufMap")


[?25l:[?2004h[?25hcb.append(">> BufMapItem")


[?25l:[?2004h[?25hee('vim.buffers[100000000]')


[?25l:[?2004h[?25hnumber_test('vim.buffers[%s]', natural=True)


[?25l:[?2004h[?25hcb.append("> Current")


[?25l:[?2004h[?25hcb.append(">> CurrentGetattr")


[?25l:[?2004h[?25hee('vim.current.xxx')


[?25l:[?2004h[?25hcb.append(">> CurrentSetattr")


[?25l:[?2004h[?25hee('vim.current.line = True')


[?25l:[?2004h[?25hee('vim.current.buffer = True')


[?25l:[?2004h[?25hee('vim.current.window = True')


[?25l:[?2004h[?25hee('vim.current.tabpage = True')


[?25l:[?2004h[?25hee('vim.current.xxx = True')


[?25l:[?2004h[?25hdel d


[?25l:[?2004h[?25hdel ned


[?25l:[?2004h[?25hdel dl


[?25l:[?2004h[?25hdel l


[?25l:[?2004h[?25hdel ll


[?25l:[?2004h[?25hdel nel


[?25l:[?2004h[?25hdel f


[?25l:[?2004h[?25hdel fd


[?25l:[?2004h[?25hdel fdel


[?25l:[?2004h[?25hdel subexpr_test


[?25l:[?2004h[?25hdel stringtochars_test


[?25l:[?2004h[?25hdel Mapping


[?25l:[?2004h[?25hdel convertfrompyobject_test


[?25l:[?2004h[?25hdel convertfrompymapping_test


[?25l:[?2004h[?25hdel iter_test


[?25l:[?2004h[?25hdel number_test


[?25l:[?2004h[?25hdel FailingTrue


[?25l:[?2004h[?25hdel FailingIter


[?25l:[?2004h[?25hdel FailingIterNext


[?25l:[?2004h[?25hdel FailingIterNextN


[?25l:[?2004h[?25hdel FailingMapping


[?25l:[?2004h[?25hdel FailingMappingKey


[?25l:[?2004h[?25hdel FailingList


[?25l:[?2004h[?25hdel NoArgsCall


[?25l:[?2004h[?25hdel FailingCall


[?25l:[?2004h[?25hdel FailingNumber


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:delfunction F


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test import


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hsys.path.insert(0, os.path.join(os.getcwd(), 'python_b


efore'))


[?25l:[?2004h[?25hsys.path.append(os.path.join(os.getcwd(), 'python_afte


r'))


[?25l:[?2004h[?25hvim.options['rtp'] = os.getcwd().replace(',', '\\,').r


eplace('\\', '\\\\')


[?25l:[?2004h[?25hl = []


[?25l:[?2004h[?25hdef callback(path):


[?25l:[?2004h[?25h    l.append(os.path.relpath(path))


[?25l:[?2004h[?25hvim.foreach_rtp(callback)


[?25l:[?2004h[?25hcb.append(repr(l))


[?25l:[?2004h[?25hdel l


[?25l:[?2004h[?25hdef callback(path):


[?25l:[?2004h[?25h    return os.path.relpath(path)


[?25l:[?2004h[?25hcb.append(repr(vim.foreach_rtp(callback)))


[?25l:[?2004h[?25hdel callback


[?25l:[?2004h[?25hfrom module import dir as d


[?25l:[?2004h[?25hfrom modulex import ddir


[?25l:[?2004h[?25hcb.append(d + ',' + ddir)


[?25l:[?2004h[?25himport before


[?25l:[?2004h[?25hcb.append(before.dir)


[?25l:[?2004h[?25himport after


[?25l:[?2004h[?25hcb.append(after.dir)


[?25l:[?2004h[?25himport topmodule as tm


[?25l:[?2004h[?25himport topmodule.submodule as tms


[?25l:[?2004h[?25himport topmodule.submodule.subsubmodule.subsubsubmodul


e as tmsss


[?25l:[?2004h[?25hcb.append(tm.__file__.replace(os.path.sep, '/')[-len('


modulex/topmodule/__init__.py'):])


[?25l:[?2004h[?25hcb.append(tms.__file__.replace(os.path.sep, '/')[-len(


'modulex/topmodule/submodule/__init__.py'):])


[?25l:[?2004h[?25hcb.append(tmsss.__file__.replace(os.path.sep, '/')[-le


n('modulex/topmodule/submodule/subsubmodule/subsubsubmodule.py'):])


[?25l:[?2004h[?25hdel before


[?25l:[?2004h[?25hdel after


[?25l:[?2004h[?25hdel d


[?25l:[?2004h[?25hdel ddir


[?25l:[?2004h[?25hdel tm


[?25l:[?2004h[?25hdel tms


[?25l:[?2004h[?25hdel tmsss


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test exceptions


[?25l:[?2004h[?25h:fun Exe(e)


[?25l:[?2004h[?25h:   execute a:e


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hExe = vim.bindeval('function("Exe")')


[?25l:[?2004h[?25hee('vim.command("throw \'abcN\'")')


[?25l:[?2004h[?25hee('Exe("throw \'def\'")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'throw \'\'ghi\'\'\')")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'echoerr \'\'jkl\'\'\')")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'xxx_non_existent_command_xxx\')"


)')


[?25l:[?2004h[?25hee('vim.eval("xxx_unknown_function_xxx()")')


[?25l:[?2004h[?25hee('vim.bindeval("Exe(\'xxx_non_existent_command_xxx


\')")')


[?25l:[?2004h[?25hdel Exe


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:delfunction Exe


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Regression: interrupting vim.command propagates t


o next vim.command


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef test_keyboard_interrupt():


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        vim.command('while 1 | endwhile')


[?25l:[?2004h[?25h    except KeyboardInterrupt:


[?25l:[?2004h[?25h        cb.append('Caught KeyboardInterrupt')


[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught exception: ' + em


sg(sys.exc_info()))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! No exception')


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        vim.command('$ put =\'Running :put\'')


[?25l:[?2004h[?25h    except KeyboardInterrupt:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught KeyboardInterrupt


')

[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught exception: ' + em


sg(sys.exc_info()))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        cb.append('No exception')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:debuggreedy


[?25l:[?2004h[?25h:call inputsave()


[?25l:[?2004h[?25h:call feedkeys("s\ns\ns\ns\nq\n")


[?25l:[?2004h[?25h:redir => output


[?25l:[?2004h[?25h:debug silent! py3 test_keyboard_interrupt()


[?25l:[?2004h[?25h:redir END


[?25l:[?2004h[?25h:0 debuggreedy


[?25l:[?2004h[?25h:call inputrestore()


[?25l:[?2004h[?25h:silent $put =output


[?25l:[?2004h[?25h:unlet output


[?25l:[?2004h[?25h:py3 del test_keyboard_interrupt


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Cleanup


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdel cb


[?25l:[?2004h[?25hdel ee


[?25l:[?2004h[?25hdel emsg


[?25l:[?2004h[?25hdel sys


[?25l:[?2004h[?25hdel os


[?25l:[?2004h[?25hdel vim


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:endfun
[?25l:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfun RunTest()
[?25l

:[?2004h  [?25h:let checkrefs = !empty($PYTHONDUMPREFS)


[?25l:[?2004h  [?25h:let start = getline(1, '$')


[?25l:[?2004h  [?25h:for i in range(checkrefs ? 10 : 1)


[?25l:[?2004h    [?25h:   if i != 0


[?25l:[?2004h      [?25h:       %d _


[?25l:[?2004h      [?25h:       call setline(1, start)


[?25l:[?2004h      [?25h:   endif


[?25l:[?2004h    [?25h:   call Test()


[?25l:[?2004h    [?25h:   if i == 0


[?25l:[?2004h      [?25h:       let result = getline(1, '$')


[?25l:[?2004h      [?25h:   endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:if checkrefs


[?25l:[?2004h    [?25h:   %d _


[?25l:[?2004h    [?25h:   call setline(1, result)


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h:endfun
[?25l:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall RunTest()
[?25l8 more lin

3 more lines[?25h[?2004l[?2004h


[?25l"a" [New File]


"b" [New File]


"c" [New File]


"0" [New File]


"1" [New File]


"a.1" [New File]


"2" [New File]


"a.2" [New File]


"b.2" [New File]


"c.2" [New File]


Already only one window


abc8def


Error detected while processing function RunTest[8]..Test:


line 1119:


abc9def


abcA


line 1121:


abcB


8 more lines[?2004h


Entering Debug mode.  Type "cont" to continue.


function RunTest[8]..Test


line 1663: py3 test_keyboard_interrupt()


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: while 1 | endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: while 1 | endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: endwhile


>[?2004hq
[?2004l[?2004h['.']

'.'

3,xx

before

after

pythonx/topmodule/__init__.py

pythonx/topmodule/submodule/__init__.py

pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py

vim.command("throw 'abcN'"):(<class 'vim.error'>, error('abcN',))

Exe("throw 'def'"):(<class 'vim.error'>, error('def',))

vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',))

vim.eval("Exe('echoerr ''jkl''')"):(<class 'vim.error'>, error('Vim(echoerr):jkll',))

vim.eval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vimm:E492: Not an editor command: xxx_non_existent_command_xxx',))

vim.eval("xxx_unknown_function_xxx()"):(<class 'vim.error'>, error('Vim:E117: Unnknown function: xxx_unknown_function_xxx',))

vim.bindeval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error(('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',))

Caught KeyboardInterrupt

Running :put

No exception



"test87.in" [Modified][Not edited] line 3164 of 3164 --100%-- col 1[?25h[?25l:[?2004h[?25hdelfunction RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1445 lines, 77744 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test87 = test61; then \
#	  if diff test.out test87.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test87.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test12.in" 52 lines, 1199 charactersTests 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 nocompatible viminfo+=nviminfo

: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/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 40 lines, 965 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:!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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het dir=.,~
[?25l[?25h[?25l:[?2004h[?25h/start of testfile/,/end of testfile/w! Xtest1
[?25l"Xtest1" [New] 4L, 70C written[?25h[?25l:[?2004h[?25h" do an ls of the current dir to find the swap file (should not be there)
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:  !ls .X*.swp >test.out


[?25l:!ls .X*.swp >test.out[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access '.X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25helse


[?25l:[?2004h  [?25h:  r !ls X*.swp >test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25h!echo first line >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70Cstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:" Do an ls of the current dir to find the swap file, remove the leading dot


[?25l:[?2004h  [?25h:" to make the result the same for all systems.


[?25l:[?2004h  [?25h:  r!ls .X*.swp
[?2004l[?2004h

[?25l:[?2004h  :[?25h  s/\.*X/X/


[?25l:[?2004h  [?25h:  .w >>test.out
[?25l"test.out" 1L, 11C appended


:[?2004h  [?25h:  undo


[?25l1 line less; before #1  0 seconds ago


:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:  !ls X*.swp >>test.out


[?25l:[?2004h  [?25h:endif
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest2
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hset dir=./Xtest2,.,~
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25h!ls X*.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access 'X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under under >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest.je
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hset dir=Xtest.je,~
[?25l[?25h[?25l:[?2004h[?25he Xtest2/Xtest3
[?25l"Xtest2/Xtest3" 4L, 70C[?25h[?25l:[?2004h[?25hswap
[?25lXtest.je/Xtest3.swp[?25h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest.je >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test12 = test61; then \
#	  if diff test.out test12.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test12.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test25.failed test.ok test.out X* viminfo
cp test25.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test25.in" 31 lines, 840 charactersTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 jumping to a tag with 'hidden' set, with symbolic link in path of tag.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 540 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" Create a link from test25.dir to the current directory.
[?25l[?25h[?25l:[?2004h[?25h!rm -f test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ln -s . test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h" Create tags.text, with the current directory name inserted.
[?25lTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST

[?25h[?25l

/[?2004h[?25htags line
[?25l

tags line:[?25h[?25l

:[?2004h[?25hr !pwd
[?25l[?25h[?2004l[?2004h[?25lSTARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST



tags line:

/<<PKGBUILDDIR>>/src/vim-gtk/testdir
[?25h[?25l[?25h[?25l

/[?2004h[?25htest
[?25l

SECTION_OFF     /test25.dir/test25.in   /^#define  SECTION_OFF  3$/[?25h[?25l/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test25.dir/te@                                                                               

SECTION_OFF     /<<PKGBUILDDIR>>/src/vim-gtk/testdir/test25.dir/teest25.in /^#define  SECTION_OFF  3$/[?25h[?25l



:[?2004h[?25h.w! tags.test
[?25l"tags.test" [New File] 1 line, 112 characters written[?25h[?25l:[?2004h[?25h" Try jumping to a tag in the current file, but with a path that contains a
[?25l[?25h[?25l:[?2004h[?25h" symbolic link.  When wrong, this will give the ATTENTION message.  The next
[?25l[?25h[?25l:[?2004h[?25h" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
[?25l[?25h[?25l:[?2004h[?25hset tags=tags.test
[?25l[?25h[?25l/*tx.c*/

#define  SECTION_OFF  3

#define  NUM_SECTIONS 3



SECTION_OFF[?25h#[?25lefine  SECTION_OFF  3[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 23 characters written[?25h[?25l:[?2004h[?25h!rm -f test25.dir tags.test
[?25l[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test25 = test61; then \
#	  if diff test.out test25.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test25.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test49.in" 32 lines, 705 charactersThis 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 nocp nomore viminfo+=nviminfo

:lang mess C

:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 23 lines, 475 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endfor

:for v in keys(g:)

:  silent! exe "unlet " . v

:endfor

:unlet v

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp nomore viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hang mess C
[?25l[?25h[?25l:[?2004h[?25hso test49.vim
[?25lError detected while processing function F:


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 /<<PKGBUILDDIR>>/src/vim-gtk/test


dir/test49.vim:


line  784:


E171: Missing :endif: endwhile 


*** Test  17: OK (285127993)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"/tmp/vbBxW2n/0" [New] 53L, 1582C written14L, 358C appended26L, 824C appended34L, 986C appended


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/1" 16L, 304C appended17L, 326C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/2[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/2"' -c 'breakad


dfile 8 /tmp/vbBxW2n/1' -S /tmp/vbBxW2n/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/2" 3L, 6C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/3" 6L, 127C appended7L, 149C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/4[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/4"' -c 'breakad


dfile 4 /tmp/vbBxW2n/3' -S /tmp/vbBxW2n/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/4" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/5" 21L, 486C appended22L, 508C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/6[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/6"' -c 'breakad


dfunc 7 F' -S /tmp/vbBxW2n/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/6" 3L, 18C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/7" 13L, 364C appended14L, 386C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/8[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/8"' -c 'breakad


dfunc 3 G' -S /tmp/vbBxW2n/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/8" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  18: OK (67224583)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/9" 12L, 201C appended13L, 223C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/10[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/10"' -S /tmp/vbBxW


2n/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/10" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/11" 12L, 205C appended13L, 227C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/12[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/12"' -S /tmp/vbBxW


2n/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/12" 2L, 7C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/13" 6L, 122C appended7L, 144C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/14[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/14"' -S /tmp/vbBxW


2n/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/14" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/15" 8L, 176C appended9L, 198C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/16[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/16"' -S /tmp/vbBxW


2n/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/16" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/17" 10L, 215C appended11L, 237C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/18[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/18"' -S /tmp/vbBxW


2n/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/18" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/19" 7L, 149C appended8L, 171C8L, 170C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/20[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/20"' -S /tmp/vbBxW


2n/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/20" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  19: OK (69275973)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/21" 9L, 135C appended10L, 157C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/22[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/22"' -S /tmp/vbBxW


2n/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/22" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/23" 10L, 155C appended11L, 177C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/24[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/24"' -S /tmp/vbBxW


2n/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/24" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/25" 12L, 204C appended13L, 226C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/26[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/26"' -S /tmp/vbBxW


2n/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/26" 4L, 18C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/27" 12L, 214C appended13L, 236C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/28[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/28"' -S /tmp/vbBxW


2n/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/28" 4L, 22C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/29" 12L, 211C appended13L, 233C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/30[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/30"' -S /tmp/vbBxW


2n/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/30" 3L, 22C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/31" 14L, 263C appended15L, 285C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/32[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/32"' -S /tmp/vbBxW


2n/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/32" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/33" 14L, 277C appended15L, 299C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/34[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/34"' -S /tmp/vbBxW


2n/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/34" 4L, 40C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  20: OK (1874575085)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/35" 58L, 1022C appended59L, 1044C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/36[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/36"' -S /tmp/vbBxW


2n/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/36" 9L, 56C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  21: OK (147932225)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/37" 23L, 418C appended24L, 440C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/38[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/38"' -S /tmp/vbBxW


2n/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/38" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/39" 23L, 437C appended24L, 459C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/40[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/40"' -c 'breaka


dd func 2 Interrupt' -S /tmp/vbBxW2n/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/40" 1L, 3C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/41" 21L, 386C appended22L, 408C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/42[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/42"' -S /tmp/vbBxW


2n/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/42" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  22: OK (4161)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/43" 25L, 432C appended26L, 454C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/44[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/44"' -S /tmp/vbBxW


2n/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/44" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  23: OK (49)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/45" 16L, 392C appended17L, 414C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/46[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/46"' -S /tmp/vbBxW


2n/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/46" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/vbBxW2n/47"[noeol] 17L, 552C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/vbBxW2n/47" 14L, 502C written
"test49.in" 32L, 705C

   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/vbBxW2n/48"[noeol] 13L, 406C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/vbBxW2n/48" 10L, 378C written
"test49.in" 32L, 705C

   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/vbBxW2n/49"[noeol] 13L, 409C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/vbBxW2n/49" 10L, 381C written
"test49.in" 32L, 705C

*** Test  28: OK (1996459)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/50" 39L, 721C appended40L, 743C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/vbBxW2n/51[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/51"' -S /tmp/vbBxW2n/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/51" 6L, 21C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885Ctest49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/52" 23L, 509C appended24L, 531C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/53[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/53"' -S /tmp/vbBxW


2n/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/53" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  29: OK (170428555)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/54" 60L, 1101C appended61L, 1123C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/55[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nv


iminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/55"' -


c'breakadd func 3 F' -c 'breakadd file 19 /tmp/vbBxW2n/54' -c 'breakadd file 31


/tmp/vbBxW2n/54' -S /tmp/vbBxW2n/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/55" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  30: OK (190905173)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/56" 60L, 1122C appended61L, 1144C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/57[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/57"' -S /tmp/vbBxW


2n/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/57" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  31: OK (190905173)


*** Test  32: OK (354833067)


*** Test  33: OK (1216907538)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/58" 63L, 1288C appended64L, 1310C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/59[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW


2n/59"' -c 'breakadd func 16 C' -S /tmp/vbBxW2n/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/59" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  34: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/60" 63L, 1285C appended64L, 1307C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/61[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW


2n/61"' -c 'breakadd func 16 B' -S /tmp/vbBxW2n/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/61" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  35: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/62" 66L, 1430C appended67L, 1452C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/63[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/


63"' -c 'breakadd func 16 R' -S /tmp/vbBxW2n/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/63" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  36: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/64" 73L, 1488C appended74L, 1510C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/65[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/65"' -c 'breakadd


func 16 F' -S /tmp/vbBxW2n/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/65" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  37: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/66[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/66" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/67[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW


2n/67"' -c 'breakadd func 16 E' -S /tmp/vbBxW2n/66[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/67" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  38: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/68" 83L, 1538C appended84L, 1560C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/69[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -


c'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVi


mResult = "/tmp/vbBxW2n/69"' -c 'breakadd func 16 I' -c 'breakadd func 22 I' -S


/tmp/vbBxW2n/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/69" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  39: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/70" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/71[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW


2n/71"' -c 'breakadd func 16 T' -S /tmp/vbBxW2n/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/71" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/vbBxW2n/72"[noeol] 11L, 334C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vbBxW2n/72" 8L, 295C written
"test49.in" 32L, 705C

   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/vbBxW2n/73"[noeol] 12L, 364C

9 substitutions on 9 lines

Pattern not found: ^\s*$
"/tmp/vbBxW2n/73" 9L, 323C written
"test49.in" 32L, 705C

   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/vbBxW2n/74"[noeol] 11L, 332C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vbBxW2n/74" 8L, 305C written
"test49.in" 32L, 705C

*** Test  50: OK (363550045)

*** Test  51: OK (40744667)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/76" 2L, 41C appended3L, 63C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/vbBxW2n/77[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/77"' -S /tmp/vbBxW2n/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/77" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/75" 8L, 182C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/78" 7L, 115C appended8L, 137C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/79[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/79"' -S /tmp/vbBxW2n/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/79" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/75" 8L, 181C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/80" 12L, 180C appended13L, 202C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/81[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/81"' -S /tmp/vbBxW2n/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/81" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/75" 10L, 209C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/82" 8L, 139C appended9L, 161C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/83[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/83"' -S /tmp/vbBxW2n/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/83" 2L, 11C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/75" 10L, 217C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/84" 5L, 87C appended6L, 109C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/85[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir!


>/tmp/vbBxW2n/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin =


1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/85"' -c 'breakadd file 4 /tmp/vbBxW2n


/84' -S /tmp/vbBxW2n/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/85" 1L, 7C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/75" [noeol] 9L, 202C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/86" 7L, 189C appended8L, 211C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/87[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/87"' -S /tmp/vbBxW2n/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/87" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/75" 9L, 252C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/88" 7L, 199C appended8L, 221C8L, 220C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/89[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/89"' -S /tmp/vbBxW2n/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/89" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/75" 9L, 214C
"test49.in" 32L, 705C


*** Test  52: OK (1247112011)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/91" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/92[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/92"' -S /tmp/vbBxW2n/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/92" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/93" 3L, 39C appended4L, 61C


3 substitutions on 3 lines
"/tmp/vbBxW2n/93" 4L, 58C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/94[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/94"' -S /tmp/vbBxW2n/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/94" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/95" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/vbBxW2n/95" 5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/96[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/96"' -S /tmp/vbBxW2n/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/96" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/97" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vbBxW2n/97" 4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/98[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/98"' -S /tmp/vbBxW2n/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/98" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/99" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/vbBxW2n/99" 6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/100[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/100"' -S /tmp/vbBxW2n/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/100" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/101" 1L, 9C appended2L, 31C2L, 30C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/102[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/102"' -S /tmp/vbBxW2n/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/102" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 153C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/103" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/vbBxW2n/103"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/104[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/104"' -S /tmp/vbBxW2n/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/104" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/105" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/vbBxW2n/105"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/106[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/106"' -S /tmp/vbBxW2n/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/106" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/107" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/vbBxW2n/107"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/108[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/108"' -S /tmp/vbBxW2n/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/108" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/109" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vbBxW2n/109"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/110[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/110"' -S /tmp/vbBxW2n/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/110" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/111" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/112[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/112"' -S /tmp/vbBxW2n/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/112" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/113" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/vbBxW2n/113"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/114[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/114"' -S /tmp/vbBxW2n/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/114" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/115" 4L, 46C appended5L, 68C


4 substitutions on 4 lines
"/tmp/vbBxW2n/115"5L, 64C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/116[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/116"' -S /tmp/vbBxW2n/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/116" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/117" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/vbBxW2n/117"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/118[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/118"' -S /tmp/vbBxW2n/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/118" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/119" 5L, 66C appended6L, 88C


5 substitutions on 5 lines
"/tmp/vbBxW2n/119"6L, 83C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/120[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/120"' -S /tmp/vbBxW2n/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/120" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/121" 4L, 37C appended5L, 59C


4 substitutions on 4 lines
"/tmp/vbBxW2n/121"5L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/122[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/122"' -S /tmp/vbBxW2n/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/122" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 150C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/123" 4L, 41C appended5L, 63C


4 substitutions on 4 lines
"/tmp/vbBxW2n/123"5L, 59C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/124[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vbBxW2n/124"' -S /tmp/vbBxW2n/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/124" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/90" 6L, 159C
"test49.in" 32L, 705C


*** Test  53: OK (131071)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/126" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/127[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/127"' -S /tmp/vbBxW2n/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/127" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 164C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/128" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vbBxW2n/128"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/129[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/129"' -S /tmp/vbBxW2n/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/129" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/130" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/vbBxW2n/130"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/131[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/131"' -S /tmp/vbBxW2n/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/131" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/132" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/vbBxW2n/132"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/133[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/133"' -S /tmp/vbBxW2n/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/133" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/134" 4L, 53C appended5L, 75C


4 substitutions on 4 lines
"/tmp/vbBxW2n/134"5L, 71C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/135[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/135"' -S /tmp/vbBxW2n/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/135" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/136" 5L, 62C appended6L, 84C


5 substitutions on 5 lines
"/tmp/vbBxW2n/136"6L, 79C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/137[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/137"' -S /tmp/vbBxW2n/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/137" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/138" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vbBxW2n/138"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/139[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/139"' -S /tmp/vbBxW2n/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/139" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/140" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vbBxW2n/140"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/141[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/141"' -S /tmp/vbBxW2n/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/141" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/142" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/vbBxW2n/142"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/143[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/143"' -S /tmp/vbBxW2n/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/143" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 167C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/144" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/vbBxW2n/144"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/145[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/145"' -S /tmp/vbBxW2n/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/145" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/146" 7L, 95C appended8L, 117C


7 substitutions on 7 lines
"/tmp/vbBxW2n/146"8L, 110C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/147[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/147"' -S /tmp/vbBxW2n/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/147" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/125" 6L, 167C
"test49.in" 32L, 705C


*** Test  54: OK (2047)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/149" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/150[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/150"' -S /tmp/vbBxW2n/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/150" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 172C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/151" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vbBxW2n/151"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/152[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/152"' -S /tmp/vbBxW2n/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/152" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/153" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/vbBxW2n/153"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/154[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/154"' -S /tmp/vbBxW2n/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/154" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/155" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vbBxW2n/155"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/156[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/156"' -S /tmp/vbBxW2n/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/156" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/157" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/vbBxW2n/157"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/158[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/158"' -S /tmp/vbBxW2n/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/158" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/159" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/160[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/160"' -S /tmp/vbBxW2n/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/160" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 166C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/161" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vbBxW2n/161"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/162[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/162"' -S /tmp/vbBxW2n/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/162" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/163" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/vbBxW2n/163"5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/164[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/164"' -S /tmp/vbBxW2n/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/164" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/165" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vbBxW2n/165"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/166[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/166"' -S /tmp/vbBxW2n/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/166" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/167" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/vbBxW2n/167"6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/168[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/168"' -S /tmp/vbBxW2n/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/168" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/148" 6L, 170C
"test49.in" 32L, 705C


*** Test  55: OK (1023)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/170" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/171[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/171"' -S /tmp/vbBxW2n/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/171" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/172" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/vbBxW2n/172"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/173[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/173"' -S /tmp/vbBxW2n/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/173" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/174" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/vbBxW2n/174"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/175[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/175"' -S /tmp/vbBxW2n/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/175" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/176" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/vbBxW2n/176"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/177[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/177"' -S /tmp/vbBxW2n/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/177" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/178" 3L, 35C appended4L, 57C


3 substitutions on 3 lines
"/tmp/vbBxW2n/178"4L, 54C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/179[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/179"' -S /tmp/vbBxW2n/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/179" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/180" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/vbBxW2n/180"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/181[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/181"' -S /tmp/vbBxW2n/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/181" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/182" 4L, 47C appended5L, 69C


4 substitutions on 4 lines
"/tmp/vbBxW2n/182"5L, 65C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/183[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/183"' -S /tmp/vbBxW2n/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/183" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/184" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vbBxW2n/184"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/185[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/185"' -S /tmp/vbBxW2n/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/185" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/186" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/vbBxW2n/186"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/187[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vbBxW2n/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vbBxW2n/187"' -S /tmp/vbBxW2n/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/187" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vbBxW2n/169" 6L, 155C
"test49.in" 32L, 705C


*** Test  56: OK (511)


   function FuncException()


1      let g:exception = v:exception


   endfunction"/tmp/vbBxW2n/188" [noeol] 4L, 80C

Pattern not found: ^\s*$
"/tmp/vbBxW2n/188"1L, 36C written
"test49.in" 32L, 705C

   function FuncThrowpoint()


1      let g:throwpoint = v:throwpoint


   endfunction"/tmp/vbBxW2n/189" [noeol] 4L, 83C

Pattern not found: ^\s*$
"/tmp/vbBxW2n/189"1L, 38C written
"test49.in" 32L, 705C

   function T(arg, line)


1      if a:line == 2


2throw a:arg" in line 2


3      elseif a:line == 4


4throw a:arg" in line 4


5      elseif a:line == 6


6throw a:arg" in line 6


7      elseif a:line == 8


8throw a:arg" in line 8


9      endif


   endfunction"/tmp/vbBxW2n/190"[noeol] 12L, 341C

9 substitutions on 9 lines

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vbBxW2n/190"9L, 292C written
"test49.in" 32L, 705C

   function G(arg, line)

1      call T(a:arg, a:line)

   endfunction"/tmp/vbBxW2n/191"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/vbBxW2n/191"1L, 30C written
"test49.in" 32L, 705C

   function F(arg, line)

1      call G(a:arg, a:line)

   endfunction"/tmp/vbBxW2n/192"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/vbBxW2n/192"1L, 30C written
"test49.in" 32L, 705C

*** Test  57: OK (2147450880)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/193" 87L, 1700C appended88L, 1722C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/194[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/194"' -c 'break


add func 4 T' -S /tmp/vbBxW2n/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/194" 8L, 36C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  58: OK (624945)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/195" 293L, 5789C appended294L, 5811C


3 substitutions on 3 lines
"/tmp/vbBxW2n/195"294L, 5808C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/196[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/196"' -c 'br


eakadd file 115 /tmp/vbBxW2n/195' -c 'breakadd file 225 /tmp/vbBxW2n/195' -S /tm


p/vbBxW2n/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/196" 28L, 162C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  59: OK (2038431743)
"/n/o/n/w/r/i/t/a/b/l/e/_/f/i/l/e"
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/197" 33L, 765C appended34L, 787C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/198[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/198"' -c 'break


add file 7 /tmp/vbBxW2n/197' -S /tmp/vbBxW2n/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/198" 3L, 27C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  60: OK (311511339)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/199" 115L, 2272C appended116L, 2294C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/200[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/


200"' -c 'breakadd file 8 /tmp/vbBxW2n/199' -c 'breakadd file 36 /tmp/vbBxW2n/19


9' -c 'breakadd file 40 /tmp/vbBxW2n/199' -c 'breakadd file 69 /tmp/vbBxW2n/199'


-c 'breakadd file 95 /tmp/vbBxW2n/199' -c 'breakadd file 97 /tmp/vbBxW2n/199' -


S/tmp/vbBxW2n/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"200" 14L, 81C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  61: OK (374889517)


   function F()


1      while 1


2      " Missing :endwhile


   endfunction"/tmp/vbBxW2n/201"[noeol] 5L, 73C

Pattern not found: ^\s*$
"/tmp/vbBxW2n/201"2L, 40C written
"test49.in" 32L, 705C

*** Test  62: OK (286331153)
"/i/m/p/o/s/s/i/b/l/e" Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk/test


dir/test49.vim:


line 5500:


"/i/m/p/o/s/s/i/b/l/e" E212: Can't open file for writing


*** Test  63: OK (236978127)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/202" 149L, 2828C appended150L, 2850C


6 substitutions on 6 lines
"/tmp/vbBxW2n/202"150L, 2844C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/203[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/203"' -c 'break


add file 63 /tmp/vbBxW2n/202' -S /tmp/vbBxW2n/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/203" 16L, 97C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  64: OK (1499645335)


*** Test  65: OK (70187)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/204" 78L, 1520C appended79L, 1542C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/205[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/205"' -c 'break


add func 8 F' -S /tmp/vbBxW2n/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/205" 6L, 22C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  66: OK (5464)


*** Test  67: OK (212514423)


*** Test  68: OK (212514423)


*** Test  69: OK (8995471)


*** Test  70: OK (69544277)


*** Test  71: OK (34886997)


*** Test  72: OK (1789569365)


   function F0()


   endfunction


   function F1()


   endfunction


*** Test  73: OK (9032615)
"/tmp/vbBxW2n/206" [New File]
"test49.in" 32L, 705C
"/tmp/vbBxW2n/207" [New File]
"test49.in" 32L, 705C


*** Test  74: OK (224907669)


*** Test  75: OK (2000403408)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/208" 253L, 6369C appended254L, 6391C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/209[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|


set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp


/vbBxW2n/209"' -c 'breakadd func 2 INT' -S /tmp/vbBxW2n/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/209" 28L, 167C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  76: OK (1610087935)


Error detected while processing function ERR:


line    2:


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


*** Test  77: OK (1388671)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/210" 161L, 4543C appended162L, 4565C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/211[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/211"' -S /tmp/vbBx


W2n/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/211" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  78: OK (134217728)


Error detected while processing function NEXT:


line    1:


E121: Undefined variable: novar


E15: Invalid expression: novar | Xloop 1


E121: Undefined variable: novar


E488: Trailing characters


E108: No such variable: "novar"


E488: Trailing characters


E121: Undefined variable: novar


E15: Invalid expression: novar


E475: Invalid argument: {novar} | Xloop 1


E121: Undefined variable: novar


E15: Invalid expression:  novar


E475: Invalid argument: { novar} | Xloop 1


*** Test  79: OK (70288929)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk/test


dir/test49.vim:


line 7985:


E584: :elseif after :else: elseif 1 ||| 2


line 7995:


E584: :elseif after :else: elseif 1 ||| 2


line 8003:


E582: :elseif without :if: elseif 1 ||| 2


line 8011:


E582: :elseif without :if:     elseif 1 ||| 2


*** Test  80: OK (17895765)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/212" 15L, 272C appended16L, 294C16L, 293C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/213[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/213"' -S /tmp/vbBx


W2n/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/213" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/214" 12L, 227C appended13L, 249C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/215[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/215"' -c 'break


add file 8 /tmp/vbBxW2n/214' -S /tmp/vbBxW2n/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/215" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  81: OK (387)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/216" 20L, 417C appended21L, 439C21L, 438C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/217[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/217"' -S /tmp/vbBx


W2n/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/217" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/218" 24L, 480C appended25L, 502C25L, 501C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/219[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/219"' -S /tmp/vbBx


W2n/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/219" 1L, 4C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/220" 17L, 390C appended18L, 412C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/221[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/221"' -c 'break


add file 7 /tmp/vbBxW2n/220' -S /tmp/vbBxW2n/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/221" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/222" 21L, 444C appended22L, 466C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/223[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/223"' -c 'break


add func 6 I' -S /tmp/vbBxW2n/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/223" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  82: OK (8454401)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/224" 17L, 307C appended18L, 329C18L, 328C written
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/225[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/225"' -S /tmp/vbBx


W2n/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/225" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/226" 14L, 266C appended15L, 288C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/227[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/227"' -c 'break


add file 8 /tmp/vbBxW2n/226' -S /tmp/vbBxW2n/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/227" 3L, 13C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  83: OK (2835)
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/228" 154L, 3580C appended155L, 3602C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/229[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/229"' -c 'br


eakadd func 1 INT' -S /tmp/vbBxW2n/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/229" 18L, 118C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  84: OK (934782101)


TMP
"/tmp/vbBxW2n/230" [noeol] 2L, 6C/[?2004h  
"test49.in" 32L, 705C
"/n/o/n/e/x/i/s/t/e/n/t"


"/tmp/vbBxW2n/232" 1L, 1C
"test49.in" 32L, 705C


:!echo XYZ >/tmp/vbBxW2n/233[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/234" [New File]
"test49.in" 32L, 705C


*** Test  85: OK (198689)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk/test


dir/test49.vim:


line 8769:


E123: Undefined function: F


Make_all.mak[?2004l[?2004h
"Make_all.mak" line 1 of 216 --0%-- col 1


line 8772:


E926: Current location list was changed


line 8773:


E193: :endfunction not inside a function


Error detected while processing function ExecAsScript[2]..MakeScript:


line    3:


E123: Undefined function: F[?2004l[?2004h
"/tmp/vbBxW2n/235" c[noeol] 4L, 109C


search hit BOTTOM, continuing at TOP
line   10:

E486: Pattern not found: .*F(.*)


search hit BOTTOM, continuing at TOP
line   11:

E486: Pattern not found: ^\d*\s*endfunction\>


4 substitutions on 4 lines[?2004l[?2004h
"/tmp/vbBxW2n/235"3L, 109C written
"Make_all.mak" 216L, 4391C


Error detected while processing /tmp/vbBxW2n/235:


line    1:


E492: Not an editor command: Error detected while processing function ExecAsScr


ipt[2]..MakeScript:


line    2:


E492: Not an editor command: line    3:


line    3:


E492: Not an editor command: E123: Undefined function: F


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk/test


dir/test49.vim:


line 8779:


E130: Unknown function: F


*** Test  86: OK (0)


5

*** Test  87: OK (0)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vbBxW2n/0' >/tmp/vbBxW2n/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vbBxW2n/236" 151L, 3929C appended152L, 3951C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vbBxW2n/237[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nvimi


nfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vbBxW2n/237"' -c


'breakadd func 5 ThrowOnInterrupt' -S /tmp/vbBxW2n/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vbBxW2n/237" 16L, 281C
"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-gtk/testdir/test49.vim" [readonly] 9009L, 206885C
"Make_all.mak" 216L, 4391C


*** Test  88: OK (50443995)


Press ENTER or type command to continue:[?2004h[?25h" Go back to this file and append the results from register r.
[?25l#

# Common Makefile, defines the list of tests to run.

#



# Options for protecting the tests against undesirable interaction with the

# environment

NO_PLUGINS = --noplugin --not-a-term

NO_INITS = -U NONE $(NO_PLUGINS)



# The first script creates small.vim.

SCRIPTS_FIRST = \test1.out



# Tests that run on all systems.

SCRIPTS_ALL = \test3.out \test4.out \test5.out \test7.out \test8.out \test14.out \test15.out \test19.out \[?25h[?25l:[?2004h[?25hbuf test49.in
[?25l"test49.in" 32L, 705C:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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:):  silent! exe "unlet " . v

:endfor:unlet v:qa!ENDTESTResults of test49.vim:[?25h

[?25l

83 more lines

*** Test  16: OK (8722)83 more lines[?25h[?25l:[?2004h[?25h/^Results/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 84L, 2484C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" make valgrind happy
[?25l[?25h[?25l:[?2004h[?25hredir => funclist
[?25l[?25h[?25l:[?2004h[?25hsilent func
[?25l[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hfor line in split(funclist, "\n")
[?25l

:[?2004h  [?25h:  let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')


[?25l:[?2004h  [?25h:  if name != ''


[?25l:[?2004h    [?25h:    exe "delfunc " . name


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$w! test.out

:"

:" make valgrind happy[?25h[?25l

:[?2004h[?25hfor v in keys(g:)
[?25l

:[?2004h  [?25h:  silent! exe "unlet " . v


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in[?25h[?25l

:[?2004h[?25hunlet v
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test49 = test61; then \
#	  if diff test.out test49.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test49.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test54.failed test.ok test.out X* viminfo
cp test54.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test54.in" 22 lines, 658 charactersSome tests for buffer-local autocommands



STARTTEST

:so small.vim

:e xx

:if has("vms")

: !del test.out.*

: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.oout

:else

: !rm -f test.out

: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out

:endif

:e somefile" here, autocommand for xx shall write test.out

:" but autocommand shall not apply to buffer named <buffer>:bwipe xx" here, autocommand shall be auto-deleted

:e xx" nothing shall be written

:e somefile" nothing shall be written

:qa!

ENDTEST



start of test file xx

end of test file xx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSome tests for buffer-local autocommands[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 15 lines, 555 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25he xx
[?25l"xx" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !del test.out.*


[?25l:[?2004h  [?25h: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > te


st.out


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !rm -f test.out


[?25l:!rm -f test.out[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25he somefile           " here, autocommand for xx shall write test.out 
[?25l:!echo buffer-local autommand in xx>> test.out


[?25h[?2004l[?2004h[?25l"somefile" [New File]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h                     " but autocommand shall not apply to buffer named <buffer


>[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe xx             " here, autocommand shall be auto-deleted
[?25l[?25h[?25l:[?2004h[?25he xx                 " nothing shall be written
[?25l"xx" [New File][?25h[?25l:[?2004h[?25he somefile           " nothing shall be written
[?25l"somefile" [New File][?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test54 = test61; then \
#	  if diff test.out test54.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test54.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test17.in" 135 lines, 2431 charactersTests for:

- "gf" on ${VAR},

- ":checkpath!" with various 'include' settings.



STARTTEST

:so small.vim

:if has("ebcdic")

: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}

:else

: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}

:endif

:"

:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/TDIR

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 27 lines, 564 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" 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.out

gf

:set ff=unix

:w! test.out

:brewind

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:endif
[?25l:"

:if has("unix")

:let $CDIR = "."

/CDIR[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:let $CDIR = "."


[?25l:[?2004h  [?25h/CDIR


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:if has("amiga")


[?25l:[?2004h    [?25h:let $TDIR = "/testdir"


[?25l:[?2004h    [?25h:else


[?25l:[?2004h    [?25h:let $TDIR = "."


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h/TDIR


[?25l:[?2004h  [?25h:endif
[?25l:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/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[?25h[?25l

:[?2004h[?25h" Dummy writing for making that sure gf doesn't fail even if the current
[?25l[?25h[?25l:[?2004h[?25h" file is modified. It can be occurred when executing the following command
[?25l[?25h[?25l:[?2004h[?25h" directly on Windows without fixing the 'fileformat':
[?25l[?25h[?25l:[?2004h[?25h"  > nmake -f Make_dos.mak test17.out
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 135 lines, 2431 characters written[?25h[?25l

"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/./test17a.in" 3 lines, 88 c


haracters


Press ENTER or type command to continue[?25h[?25lThis file is just to test "gf" in test 17.

The contents is not important.

Just testing!

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 3 lines, 88 characters written[?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters:" 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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":e! Xdir1/dir2/foo.ai#include   "bar.a"^[:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 23 lines, 396 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!mkdir Xdir1

:!mkdir "Xdir1/dir2"

:let &include='^\s*%inc\s*/\zs[^/]\+\ze'

:function! DotsToSlashes()

:  return substitute(v:fname, '\.', '/', 'g') . '.b'

:endfunction[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' without \zs or \ze
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.a")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he! Xdir1/dir2/foo.a
[?25l"Xdir1/dir2/foo.a" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l#include   "bar.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.a" [New File] 1 line, 19 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.a
[?25l"Xdir1/dir2/bar.a" [New File][?25h[?2004l[?2004h[?25l#include      "baz.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.a" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.a
[?25l"Xdir1/dir2/baz.a" [New File][?25h[?2004l[?2004h[?25l#include"foo.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.a" [New File] 1 line, 28 characters written[?25h[?25l:[?2004h[?25he Xbase.a
[?25l"Xbase.a" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l#include    <foo.a>[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.a" [New File] 1 line, 20 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l#include    <foo.a>

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi#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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*/\zs[^/]\+\ze':function! DotsToSlashes():  return substitute(v:fname, '\.', '/', 'g') . '.b':endfunction:let &includeexpr='DotsToSlashes()'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 27 lines, 532 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!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][?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.b")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hlet &include='^\s*%inc\s*/\zs[^/]\+\ze'
[?25l: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 delete("Xdir1", "rf")

:!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][?25h[?25l:[?2004h[?25hfunction! DotsToSlashes()
[?25l

:[?2004h  [?25h:  return substitute(v:fname, '\.', '/', 'g') . '.b'


[?25l:[?2004h  [?25h:endfunction
[?25l:e Xdir1/dir2/baz.b

i%inc/foo/^[:[?25h[?25l:[?2004h[?25hlet &includeexpr='DotsToSlashes()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.b
[?25l"Xdir1/dir2/foo.b" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   /bar/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.b" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.b
[?25l"Xdir1/dir2/bar.b" [New File][?25h[?2004l[?2004h[?25l%inc      /baz/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.b" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.b
[?25l"Xdir1/dir2/baz.b" [New File][?25h[?2004l[?2004h[?25l%inc/foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.b" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.b
[?25l"Xbase.b" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    /foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.b" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    /foo/

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi%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 delete("Xdir1", "rf"):!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]:  endif[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 39 lines, 745 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and no \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.c")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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

[?25h[?25l

:[?2004h[?25hfunction! StripNewlineChar()
[?25l

:[?2004h  [?25h:  if v:fname =~ '\n$'


[?25l:[?2004h    [?25h:    return v:fname[:-2]


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  return v:fname


[?25l:[?2004h  [?25h:endfunction
[?25l:w

:e Xdir1/dir2/baz.c

i%incfoo.c^[:

:w

:e Xdir1/dir2/FALSE.c[?25h[?25l

:[?2004h[?25hlet &includeexpr='StripNewlineChar()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.c
[?25l"Xdir1/dir2/foo.c" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   bar.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.c" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.c
[?25l"Xdir1/dir2/bar.c" [New File][?25h[?2004l[?2004h[?25l%inc      baz.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.c" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.c
[?25l"Xdir1/dir2/baz.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/FALSE.c
[?25l"Xdir1/dir2/FALSE.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/FALSE.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.c
[?25l"Xbase.c" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    FALSE.c foo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    FALSE.c foo.c

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters: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[?25h[?25l:[?2004h[?25h" change "\" to "/" for Windows and fix 'fileformat'
[?25l[?25h[?25l:[?2004h[?25he test.out
[?25l"test.out" 33 lines, 655 charactersThis 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)[?25h[?25l:[?2004h[?25h%s#\\#/#g
[?25lE486: Pattern not found: \\[?25h[?25l:[?2004h[?25hset ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 33 lines, 655 characters written[?25h[?25l:[?2004h[?25hq
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test17 = test61; then \
#	  if diff test.out test17.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test17.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available.



STARTTEST

:so small.vim

:set belloff=all

:" first write three test files, one in each format

:set fileformat=unix

:set fileformats=

:/^unix/;/eof/-1w! XXUnix

:/^dos/;/eof/-1w! XXDos

:set bin noeol

:$w! XXMac

Gonoeol^[

:$w! XXEol

:set nobin eol

:enew!

:bwipe XXUnix XXDos XXMac

:" create mixed format files

:if has("vms")

: !copy XXUnix,XXDos XXUxDs.

: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 222 lines, 3609 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72

Go8^[:$r XXtt81

:$r XXtt82

Go9^[:$r XXtt91

:$r XXtt92

:$r XXtt93

Go10^[:$r XXUnix

:set nobinary ff&

:w

:qa!

ENDTEST



unix

unix

eof



dos^M

dos^M

eof



mac^Mmac^M[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" first write three test files, one in each format
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25hset fileformats=
[?25l[?25h[?25l:[?2004h[?25h/^unix/;/eof/-1w! XXUnix
[?25l"XXUnix" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25h/^dos/;/eof/-1w! XXDos
[?25l"XXDos" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25hset bin noeol
[?25l[?25h[?25l:[?2004h[?25h$w! XXMac
[?25l"XXMac" [New File][Incomplete last line] 1 line, 8 characters written[?25h[?2004l[?2004h[?25l

noeol[?25h[?25l

:[?2004h[?25h$w! XXEol
[?25l"XXEol" [New File][Incomplete last line] 1 line, 5 characters written[?25h[?25l:[?2004h[?25hset nobin eol
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l3 buffers wiped out[?25h[?25l:[?2004h[?25h" create mixed format files
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !copy XXUnix,XXDos XXUxDs.


[?25l:[?2004h  [?25h: !copy XXUnix,XXMac XXUxMac.


[?25l:[?2004h  [?25h: !copy XXDos,XXMac  XXDosMac.


[?25l:[?2004h  [?25h: !copy XXMac,XXEol  XXMacEol.


[?25l:[?2004h  [?25h: !copy XXUnix,XXDos,XXMac XXUxDsMc.


[?25l:[?2004h  [?25h:elseif has("win32")


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos XXUxDs


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXMac XXUxMac


[?25l:[?2004h  [?25h: !copy /b XXDos+XXMac XXDosMac


[?25l:[?2004h  [?25h: !copy /b XXMac+XXEol XXMacEol


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos+XXMac XXUxDsMc


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !cat XXUnix XXDos >XXUxDs


[?25l:!cat XXUnix XXDos >XXUxDs[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXMac >XXUxMac


[?25l:!cat XXUnix XXMac >XXUxMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXDos XXMac >XXDosMac


[?25l:!cat XXDos XXMac >XXDosMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXMac XXEol >XXMacEol


[?25l:!cat XXMac XXEol >XXMacEol[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXDos XXMac >XXUxDsMc


[?25l:!cat XXUnix XXDos XXMac >XXUxDsMc[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25hendif
[?25l:[?2004h[?25h"
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' empty
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUnix
[?25l"XXUnix" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" 2 lines, 10 charactersdos^M

dos^M[?25h[?25l:[?2004h[?25hw! XXtt01
[?25l"XXtt01" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line] 1 line, 8 charactersmacmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt02
[?25l"XXtt02" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=dos
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdos^Mdos^Meofmac^Mmac^M[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [CR missing][dos format] 2 lines, 10 charactersunixunix~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt11
[?25l"XXtt11" [New File][dos format] 2 lines, 12 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [dos format] 2 lines, 10 charactersdosdos[?25h[?25l:[?2004h[?25hw! XXtt12
[?25l"XXtt12" [New File][dos format] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line][dos format] 1 line, 8 charactersmac^Mmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt13
[?25l"XXtt13" [New File][dos format] 1 line, 10 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=mac
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdosdoseofmac^Jmac[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [Incomplete last line][mac format] 1 line, 10 charactersunix^Junix^J

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt21
[?25l"XXtt21" [New File][mac format] 1 line, 11 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [Incomplete last line][mac format] 3 lines, 10 charactersdos^Jdos^J[?25h[?25l:[?2004h[?25hw! XXtt22
[?25l"XXtt22" [New File][mac format] 3 lines, 11 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [mac format] 2 lines, 8 charactersmac

mac~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt23
[?25l"XXtt23" [New File][mac format] 2 lines, 8 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l^Jdos

^Jeof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to one format
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt31
[?25l"XXtt31" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt32
[?25l"XXtt32" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [mac format] 4 lines, 28 charactersunix^Junix^Jdos^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt33
[?25l"XXtt33" [New File][mac format] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters^Jdoseof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to two formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt41
[?25l"XXtt41" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt42
[?25l"XXtt42" [New File] 3 lines, 19 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [Incomplete last line][dos format] 3 lines, 18 charactersdodos

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt43
[?25l"XXtt43" [New File][dos format] 3 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=unix,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" 4 lines, 20 charactersunixunix

dos^Mdos^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt51
[?25l"XXtt51" [New File] 4 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt52
[?25l"XXtt52" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [mac format] 4 lines, 18 charactersdo^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt53
[?25l"XXtt53" [New File][mac format] 4 lines, 18 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt54
[?25l"XXtt54" [New File] 2 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" [CR missing][dos format] 4 lines, 20 charactersunixunix

dosdos

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt61
[?25l"XXtt61" [New File][dos format] 4 lines, 22 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line][CR missing][dos format] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:dos[?25h[?25l:[?2004h[?25hw! XXtt62
[?25l"XXtt62" [New File][dos format] 4 lines, 35 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt63
[?25l"XXtt63" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25he! XXMacEol
[?25l"XXMacEol" [Incomplete last line][mac format] 3 lines, 13 charactersmacmac

noeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:mac[?25h[?25l:[?2004h[?25hw! XXtt64
[?25l"XXtt64" [New File][mac format] 4 lines, 26 characters written[?25h[?25l:[?2004h[?25hbwipe XXMacEol
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to three formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt71
[?25l"XXtt71" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,dos,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt72
[?25l"XXtt72" [New File] 2 lines, 24 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac,dos,unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt81
[?25l"XXtt81" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line][mac format] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lmac,dos,unix:mac[?25h[?25l:[?2004h[?25hw! XXtt82
[?25l"XXtt82" [New File][mac format] 2 lines, 23 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h" try with 'binary' set
[?25l[?25h[?25l:[?2004h[?25hset fileformats=mac,unix,dos
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt91
[?25l"XXtt91" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt92
[?25l"XXtt92" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt93
[?25l"XXtt93" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix nobin
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXtt01
[?25l"XXtt01" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt02
[?25l"XXtt02" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt11
[?25l"XXtt11" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt12
[?25l"XXtt12" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt13
[?25l"XXtt13" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt21
[?25l"XXtt21" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt22
[?25l"XXtt22" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt23
[?25l"XXtt23" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt31
[?25l"XXtt31" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt32
[?25l"XXtt32" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt33
[?25l"XXtt33" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt41
[?25l"XXtt41" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt42
[?25l"XXtt42" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt43
[?25l"XXtt43" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt51
[?25l"XXtt51" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt52
[?25l"XXtt52" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt53
[?25l"XXtt53" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt54
[?25l"XXtt54" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt61
[?25l"XXtt61" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt62
[?25l"XXtt62" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt63
[?25l"XXtt63" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt64
[?25l"XXtt64" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt71
[?25l"XXtt71" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt72
[?25l"XXtt72" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt81
[?25l"XXtt81" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt82
[?25l"XXtt82" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt91
[?25l"XXtt91" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt92
[?25l"XXtt92" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt93
[?25l"XXtt93" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results.
[?25l[?25h[?25l:[?2004h[?25h" Make fileformat of test.out the native fileformat.
[?25l[?25h[?25l:[?2004h[?25h" Add a newline at the end.
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25h$r XXtt01
[?25l"XXtt01" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt02
[?25l"XXtt02" 2 lines, 13 charactersmac^Mmac^MEND[?25h

[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXtt11
[?25l"XXtt11" 3 lines, 16 charactersunix^Munix^MEND[?25h[?25l:[?2004h[?25h$r XXtt12
[?25l"XXtt12" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt13
[?25l"XXtt13" 2 lines, 14 charactersmac^Mmac^M^MEND[?25h

[?2004l[?2004h[?25l

2[?25h[?25l:[?2004h[?25h$r XXtt21
[?25l"XXtt21" 3 lines, 15 charactersunixunix^MEND[?25h[?25l:[?2004h[?25h$r XXtt22
[?25l"XXtt22" 3 lines, 15 charactersdos^Mdos^M^MEND[?25h[?25l:[?2004h[?25h$r XXtt23
[?25l"XXtt23" 1 line, 12 characters

mac^Mmac^MEND[?25h[?2004l[?2004h[?25l

3[?25h[?25l

:[?2004h[?25h$r XXtt31
[?25l"XXtt31" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt32
[?25l"XXtt32" 6 lines, 36 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt33
[?25l"XXtt33" 5 lines, 32 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

4[?25h[?25l

:[?2004h[?25h$r XXtt41
[?25l"XXtt41" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt42
[?25l"XXtt42" 4 lines, 23 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt43
[?25l"XXtt43" 4 lines, 24 charactersunix

mac^Mmac^M

END

dos^M[?25h[?25ldos^M

mac^Mmac^M^M

END
[?25h[?2004l[?2004h[?25l

5[?25h[?25l

:[?2004h[?25h$r XXtt51
[?25l"XXtt51" 5 lines, 24 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt52
[?25l"XXtt52" 6 lines, 33 charactersunix

dos^M

dos^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt53
[?25l"XXtt53" 3 lines, 22 charactersunix

dos^M

dos^M

mac^Mmac^M

END

dos^M[?25h[?25l

:[?2004h[?25h$r XXtt54
[?25l"XXtt54" 3 lines, 24 charactersdos^M

mac^Mmac^MEND

unix,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

6[?25h[?25l

:[?2004h[?25h$r XXtt61
[?25l"XXtt61" 5 lines, 26 characters

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt62
[?25l"XXtt62" 5 lines, 39 charactersunix^M

dos^M

dos^M

END

dos,mac:dos^M[?25h[?25l

:[?2004h[?25h$r XXtt63
[?25l"XXtt63" 6 lines, 36 charactersunix^M

unix^M

mac^Mmac^M^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt64
[?25l"XXtt64" 1 line, 30 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

dos,mac:mac^Mmac^Mmac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

7[?25h[?25l

:[?2004h[?25h$r XXtt71
[?25l"XXtt71" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt72
[?25l"XXtt72" 3 lines, 28 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix,dos,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

8[?25h[?25l

:[?2004h[?25h$r XXtt81
[?25l"XXtt81" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt82
[?25l"XXtt82" 1 line, 27 charactersunix

dos^M

dos^M

mac^Mmac^M

END

mac,dos,unix:mac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

9[?25h[?25l

:[?2004h[?25h$r XXtt91
[?25l"XXtt91" 5 lines, 32 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt92
[?25l"XXtt92" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25l

:[?2004h[?25h$r XXtt93
[?25l"XXtt93" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

10[?25h[?25l

:[?2004h[?25h$r XXUnix
[?25l"XXUnix" 2 lines, 10 characters

unix[?25h[?25l

:[?2004h[?25hset nobinary ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 130 lines, 786 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test30 = test61; then \
#	  if diff test.out test30.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test30.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test32.in" 61 lines, 1408 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h[?25l

:so small.vim[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 28 lines, 550 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTO^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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
[?25l"Xtestfile" [New] 3L, 57C written[?25h[?25l:[?2004h[>cs[?25het belloff=all
[?25l[?25h[?25l:[?2004h[?25hse cot=
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       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

ENDTESTstart of testfile

run1run2test32.in                                                                       [?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[+][?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h[?25l3[?25h

[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) match 1 of 117-- 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[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h

[?25l:[?2004h[?25hse cpt=.,w,i
[?25l[?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 58INSERT --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 58Addinge 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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=kXtestfile
[?25l[?25h[?25l:[?2004h[?25hw Xtest11.one
[?25l"Xtest11.one" [New] 9L, 104C writtenXtest11.one+   [?25h[?25l:[?2004h[?25hw Xtest11.two
[?25l"Xtest11.two" [New] 9L, 104C written[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning dictionary: Xtestfile-match in file Xtestfile-- Keyword completion (^N^P) match 1 of 9test11[+]I[?25h [?25l-- Keyword completion (^N^P) match 1 of 9-- INSERT --[?25h[?25l-- INSERT --Xtest11
[?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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25h" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
[?25l[?25h[?25l:[?2004h[?25h" CTRL-X CTRL-F again to verify this doesn't cause trouble.
[?25l[?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 5.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 423.
Make_all.mak

run1 run2d[?25h [?25l-- INSERT --[?25h[?25l
run1 run2~                                                                               [?25h

[?25l:[?2004h[?25hse cpt=w
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=u nohid
[?25l[?25h[?25l



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h

ru[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New] 15L, 175C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test32 = test61; then \
#	  if diff test.out test32.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test32.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test59.failed test.ok test.out X* viminfo
cp test59.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 106 lines, 2520 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1










[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Don't want to depend on the locale from the environment.  The .aff and .dic
[?25l[?25h[?25l:[?2004h[?25h" text is in latin1, the test text is utf-8.
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1









[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :STARTTESTso small.vimso mbyte.vimDon't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.enc=latin1e!

:set enc=utf-8:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=$put =''

  $put ='test '. a:aff . '-' . a:dic  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest  " use that spell file[?25h[?25l:[?2004h[?25hset enc=utf-8
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset fenc=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Function to test .aff/.dic with list of good and bad words.
[?25l[?25h[?25l:[?2004h[?25hfunc TestOne(aff, dic)
[?25l

:[?2004h  [?25h  set spellfile=


[?25l:[?2004h  [?25h  $put =''


[?25l:[?2004h  [?25h  $put ='test '. a:aff . '-' . a:dic


[?25l:[?2004h  [?25h  " Generate a .spl file from a .dic and .aff file.


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'


[?25l:[?2004h  [?25h  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'


[?25l:[?2004h  [?25h  mkspell! Xtest Xtest


[?25l:[?2004h  [?25h  " use that spell file


[?25l:[?2004h  [?25h  set spl=Xtest.utf-8.spl spell


[?25l:[?2004h  [?25h  " list all valid words


[?25l:[?2004h  [?25h  spelldump


[?25l:[?2004h  [?25h  %yank


[?25l:[?2004h  [?25h  quit


[?25l:[?2004h  [?25h  $put


[?25l:[?2004h  [?25h  $put ='-------'


[?25l:[?2004h  [?25h  " find all bad words and suggestions for them


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'good:'


[?25l:[?2004h  [?25h  normal 0f:]s


[?25l:[?2004h  [?25h  let prevbad = ''


[?25l:[?2004h  [?25h  while 1


[?25l:[?2004h    [?25h    let [bad, a] = spellbadword()


[?25l:[?2004h    [?25h    if bad == '' || bad == prevbad || bad == 'badend'


[?25l:[?2004h      [?25h      break


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let prevbad = bad


[?25l:[?2004h    [?25h    let lst = spellsuggest(bad, 3)


[?25l:[?2004h    [?25h    normal mm


[?25l:[?2004h    [?25h    $put =bad


[?25l:[?2004h    [?25h    $put =string(lst)


[?25l:[?2004h    [?25h    normal `m]s


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('1', '1')
[?25l"Xtest.aff" [New File] 48 lines, 768 characters written


"Xtest.dic" [New File] 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25lthe end

uk

wrong

-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']the['put', 'uk', 'test']gebletegek[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kepereneven[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

everles gesvets etele[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l"Xtest.aff" 153 lines, 3426 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest Xtest
[?25lReading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 241 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25l-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end['put', 'uk', 'test']

the['put', 'uk', 'test']gebletegekkepereneveneverles gesvet etelekbltykk[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kprnfn[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

*fls kswts tl[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" also use an addition file
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^addstart/+1,/^addend/-1w! Xtest.utf-8.add
[?25l"Xtest.utf-8.add" [New File] 3 lines, 38 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest.utf-8.add.spl Xtest.utf-8.add
[?25lReading word file Xtest.utf-8.add ...

Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.utf-8.add.spl ...


Done!


Estimated runtime memory use: 145 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset spellfile=Xtest.utf-8.add
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"[?25h[?25l/[?2004h[?25h^test2:
[?25ltomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !![?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25linputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_us.utf-8.spl
[?25l[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lcomment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hset spl=Xtest_gb.utf-8.spl
[?25lelequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_nz.utf-8.spl
[?25lelequint

elekwint

elekwint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lOk

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_ca.utf-8.spl
[?25lelequint

elekwint

elekwint



elequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25ltest

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hunlet str a
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Postponed prefixes
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('2', '1')
[?25l"Xtest.aff" 46 lines, 461 characters written


"Xtest.dic" 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 102 nodes; 92 (90%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 525 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25laddstart

/regions=usgbnz

elequint/2

elekwint/3

addend



1good: wrong OK puts. Test the end

bad:  inputs comment ok Ok. test déôl end the

badend



2good: puts

bad: inputs comment ok Ok end the. test déôl

badendTest rules for compounding.3affstart

SET ISO8859-1COMPOUNDMIN 3

COMPOUNDRULE m*

NEEDCOMPOUND x

3affend[?25h[?25l:[?2004h[?25h" Compound words
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('3', '3')
[?25l"Xtest.aff" 5 lines, 60 characters written


"Xtest.dic" 5 lines, 29 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 31 nodes; 25 (80%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 125 bytes


3 lines yanked


3 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('4', '4')
[?25l"Xtest.aff" 45 lines, 559 characters written


"Xtest.dic" 8 lines, 59 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


12 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('5', '5')
[?25l"Xtest.aff" 25 lines, 237 characters written


"Xtest.dic" 6 lines, 57 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 107 nodes; 88 (82%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('6', '6')
[?25l"Xtest.aff" 23 lines, 211 characters written


"Xtest.dic" 6 lines, 53 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('7', '7')
[?25l"Xtest.aff" 26 lines, 338 characters written


"Xtest.dic" 6 lines, 67 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 91 nodes; 72 (79%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaébar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h" clean up for valgrind
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestOne
[?25l[?25h[?25l:[?2004h[?25hset spl= enc=latin1
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaé bar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^test output:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 270 lines, 3685 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test59 = test61; then \
#	  if diff test.out test59.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test59.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test72.failed test.ok test.out X* viminfo
cp test72.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test72.in" 146 lines, 2107 charactersTests for undo file.

Since this script is sourced we need to explicitly break changes up in

undo-able pieces.  Do that by setting 'undolevels'.



STARTTEST

:so small.vim

:set belloff=all

:"

:" Test 'undofile': first a simple one-line change.

:set nocompatible viminfo+=nviminfo visualbell

:set ul=100 undofile nomore

:e! Xtestfile

ggdGithis is one line^[:set ul=100

:s/one/ONE/

:set ul=100

:w

:bwipe!

:e Xtestfile

u:.w! test.out

:"

:" Test 'undofile', change in original file fails check

:set noundofile

:e! Xtestfile[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 undo file.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 135 lines, 1910 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar

:.w >>test.out

u:.w >>test.out

u:.w >>test.out

u:.w >>test.out

:"

:" Rename the undo file so that it gets cleaned up.

:if has("vms")

: call rename("_un_Xtestfile", "Xtestundo")

:else

: call rename(".Xtestfile.un~", "Xtestundo")

:endif

:qa!

ENDTEST



1111 -----

2222 -----



123456789[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile': first a simple one-line change.
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo visualbell
[?25l[?25h[?25l:[?2004h[>cs[?25het ul=100 undofile nomore
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l-- INSERT --this is one line[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hs/one/ONE/
[?25lONE
[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" [New] 1L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 change; before #2  0 seconds agoone
[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New] 1L, 17C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', change in original file fails check
[?25l[?25h[?25l:[?2004h[?25hset noundofile
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 1L, 17CONE
[?25h[?25l:[?2004h[?25hs/line/Line/
[?25lL
[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 1L, 17C written[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE Line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25lAlready at oldest change[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 17C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', add 10 lines, delete 6 lines, undo 3
[?25l[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --one

twothreefourfivesixseveneightnineten[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 4L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 4L, 17Conetwonineten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 7L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that reading the undofiles when setting undofile works
[?25l[?25h[?25l:[?2004h[?25hset noundofile ul=0
[?25l[?25h[?25l-- INSERT --six
u[?25hs[?25l[?25h[?25l1 line less; before #8  0 seconds ago

~                                                                               [?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cnine

ten~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile ul=100
[?25l[?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l1 more line; before #4  0 seconds agofive[?25h[?25l1 more line; before #3  0 seconds agofour[?25h[?25l1 more line; before #2  0 seconds agothree[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 10L, 49C appended[?25h[?25l:[?2004h[?25h" And now with encryption, cryptmethod=zip
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cninten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile cm=zip
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l-- INSERT --monday

tuesdaywednesdaythursdayfriday[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25lmonday

friday

~                                                                               [?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [crypted] 2L, 14C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [crypted] 2L, 14Cmonday

friday

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [crypted] 2L, 14C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l1 more line; before #11  0 seconds agothursday[?25h[?25l1 more line; before #10  0 seconds agowednesday[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 4L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][crypted] 1L, 14C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25ljan

feb

bar apr[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [blowfish] 4L, 20Cjan

feb

bar apr

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #15  0 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #14  1 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #13  1 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish2
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][blowfish] 1L, 20C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish2 ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lEnter encryption key:[?2004h [?25h*******


[?25lEnter same key again:[?2004h [?25h*******


[?25ljan

feb[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish2] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Enter encryption key:[?2004h [?25h*******


[?25l"Xtestfile" [blowfish2] 4L, 20Cjan

feb

bar ap

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish2] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #19  0 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #18  0 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #17  0 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Rename the undo file so that it gets cleaned up.
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: call rename("_un_Xtestfile", "Xtestundo")


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: call rename(".Xtestfile.un~", "Xtestundo")


[?25l:[?2004h  [?25h:endif
[?25ljan

feb

mar

apr[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test72 = test61; then \
#	  if diff test.out test72.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test72.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test78.failed test.ok test.out X* viminfo
cp test78.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test78.in" 46 lines, 1476 charactersInserts 10000 lines with text to fill the swap file with two levels of pointer

blocks.  Then recovers from the swap file and checks all text is restored.



We need about 10000 lines of 100 characters to get two levels of pointer

blocks.



STARTTEST

:so small.vim

:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all

:e! Xtest

ggdG

:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01223456789abcdefghijklmnoparstuvwxyz0123456789"

:let i = 1

:let linecount = 10000

:while i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile

:preserve

:" get the name of the swap file

:redir => swapname

:swapname

:redir END

:let swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][::cntrl:]]*$', '\1', '')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lInserts 10000 lines with text to fill the swap file with two levels of pointer[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1220 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:set nobin

:new

:only!

:bwipe! Xtest

:call rename('Xswap', swapname)

:recover Xtest

:call delete(swapname)

:new

:call append(0, 'recovery start')

:wincmd w

:let linedollar = line('$')

:if linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected "" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let linnecount = linedollar | endif

:let i = 1

:while i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appendd(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile

:q!

:call append(line('$'), 'recovery end')

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all
[?25l[?25h[?25l:[?2004h[>ce[?25h! Xtest
[?25l"Xtest" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01


23456789abcdefghijklmnoparstuvwxyz0123456789"
[?25l[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hlet linecount = 10000
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899991    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899992    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899993    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899994    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899995    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899996    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899997    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899998    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789[?25h[?25l:[?2004h[?25hpreserve
[?25lFile preserved[?25h[?25l:[?2004h[?25h" get the name of the swap file
[?25l[?25h[?25l:[?2004h[?25hredir => swapname
[?25l[?25h[?25l:[?2004h[?25hswapname
[?25l.Xtest.swp[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hlet swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][


:cntrl:]]*$', '\1', '')
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899a[?25h[?25l

:[?2004h[?25h" make a copy of the swap file in Xswap
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hexe 'sp ' . swapname
[?25l".Xtest.swp"[noeol] 611L, 1224704Cb0VIM 8.0^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@T^D^@^@buildd^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@mb-lxc-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-gtk/testdiir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^.Xtest.swp                                                                      799a

999899a

999999a

1000099a~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hw! Xswap
[?25l"Xswap" [New][noeol] 611L, 1224704C written[?25h[?25l:[?2004h[?25hecho swapname
[?25l.Xtest.sw[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       b0VIM 8.0^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@T^D^@^@buildd^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@mb-lxc-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-gtk/testdiir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^.Xtest.swp                                                                      9999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

10000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789



~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe! Xtest
[?25l[?25h[?25l:[?2004h[?25hcall rename('Xswap', swapname)
[?25l[?25h[?25l:[?2004h[?25hrecover Xtest
[?25lUsing swap file ".Xtest.swp"


Original file "/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xtest"


"/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xtest" [New File]Recovery completed. You should check if everything is OK.


(You might want to write out this file under another name


and run diff with the original file to check for changes)


You may want to delete the .swp file now.






Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall delete(swapname)
[?25l1abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

2abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

3abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

4abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

5       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567896       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567897       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567898       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678911      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678912      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@                                                                               [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       199a

299a

399a

4 99a

5 99a

Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hcall append(0, 'recovery start')
[?25lrecovery start[+][?25h[?25l:[?2004h[?25hwincmd w
[?25l[No Name] [+]                                                                    Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hlet linedollar = line('$')
[?25l[?25h[?25l:[?2004h[?25hif linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected 


" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let li


necount = linedollar | endif
[?25lrecovery start[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appen


d(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
[?25lrecovery start[?25h[?25l:[?2004h[?25hq!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hcall append(line('$'), 'recovery end')
[?25lrecovery end[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New] 3L, 29C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test78 = test61; then \
#	  if diff test.out test78.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test78.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test83.failed test.ok test.out X* viminfo
cp test83.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test83.in" 76 lines, 1273 charactersTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 tag search with !_TAG_FILE_ENCODING.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 58 lines, 1021 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h[?25l:[?2004h[?25hif !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
[?25l"Xtags1.txt" [New File] 2 lines, 35 characters written[?25h[?25l:[?2004h[?25h/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
[?25l"Xtags2.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
[?25l"Xtags3.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^tags1$/+1,/^tags1-end$/-1w! Xtags1
[?25l"Xtags1" [New File] 2 lines, 81 characters written[?25h[?25l:[?2004h[?25h[?25l[?25h[?25lTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hcall setline('.', 'Results of test83')
[?25lResults of test83
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case1:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l[No Name]                                                                       Results of test83test83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=Xtags1
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abcdefghijklmnopqrs
[?25l"Xtags1.txt" 2 lines, 35 characterstext for tags1

abcdefghijklmnopqrsXtags1.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'abcdefghijklmnopqrs'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case2:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               [No Name]                                                                       Results of test83case1: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags2
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag /.BC
[?25l"Xtags2.txt" 2 lines, 25 characterstext for tags2

ABCXtags2.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case3:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               [No Name]                                                                       case1: okcase2: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags3
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abc50
[?25l"Xtags3.txt" 2 lines, 25 characterstext for tags3

ABCXtags3.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

case3: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 4 lines, 48 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test83 = test61; then \
#	  if diff test.out test83.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test83.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arabic.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arabic.vim" 613 lines, 18247 characters


Executing Test_arabic_input()!ﻡﻼﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 !مالس                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_arabic_toggle()


Executing Test_arabic_toggle_keymap()٢١21٢١                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_delcombine()ﻞﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_final()ﻶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_isolated()ﻵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final()ﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺾﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final_to_medial()ﺐﺊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺔ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺬ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺐ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺶ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺺ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺾ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻂ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻒ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_initial()ﻎﺋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺿ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_iso_to_medial()ﻍﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻀﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_isolated()ﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺽ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 "test_arabic.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [New File][New] 15L, 422C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arglist.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arglist.vim" 358 lines, 7814 characters


Executing Test_arg_all_expand()
"notexist" [New File]

Executing Test_argadd()
"a" [New File]bababababdsome file" [New File]


Executing Test_argc()
"a" [New File]

Executing Test_argdelete()
"a" [New File]a" [New File]
"bb


Executing Test_argedit()
"a" [New File]baCcx


"x" [New File]


Executing Test_argidx()
"a" [New File]c


"a" [New File]
"bc


Executing Test_arglist_autocmd()
"Xxx1" 1L, 15C
"Xxx21L, 15C1L, 15C
"Xxx1" line 1 of 1 --100%-- col 1 ((3) of 2)
"Xxx21 of 2)

3 buffers wiped out


Executing Test_arglistid()
"a" [New File]

Executing Test_argpos()
"a" [New File]d


"c" [New File]
"ba


"d" [New File]
"a


Executing Test_argument()
"d" [New File]cbafile] --No lines in buffer-- (1 of 4)
"c3


a b [c] d
"c" [New File]


"x" [New File]
"z


Executing Test_argv()
"a" [New file] --No lines in buffer--


Executing Test_zero_argadd()
"b" [New file] --No lines in buffer-- (2 of 4)
"aFbedited" [New File]
"a" [New File]file with spaces" [New File]
"test_arglist.r[New] 0L, 0C written


Executed 12 tests
"messages" 15L, 422C30L, 779C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_assert.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_assert.vim" 147 lines, 3536 characters


Executing Test_assert_equal()


Executing Test_assert_exception()


Executing Test_assert_fail_fails()


Executing Test_assert_false()


Executing Test_assert_inrange()


Executing Test_assert_notequal()


Executing Test_assert_report()


Executing Test_assert_true()


Executing Test_assert_with_msg()


Executing Test_compare_fail()


Executing Test_match()


Executing Test_notmatch()


Executing Test_override()


Executing Test_user_is_happy()




oooo$$$$$$$$$$$$oooo


oo$$$$$$$$$$$$$$$$$$$$$$$$o


oo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$oo$   $$ o$


     o $ ooo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o$$ $$ $$o$


  oo $ $ "$      o$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$o$$$o$$o$


  "$$$$$$o$     o$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$o    $$$$$$$$


    $$$$$$$    $$$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$$$$$$$$$$$$$$


    $$$$$$$$$$$$$$$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$$$$$$  """$$$


     "$$$""""$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$


      $$$   o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$o


     o$$"   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o


     $$$    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$ooooo$$$$o


    o$$$oooo$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$   o$$$$$$$$$$$$$$$$$


    $$$$$$$$"$$$$   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     $$$$""""""""


   """"$$$$    "$$$$$$$$$$$$$$$$$$$$$$$$$$$$"      o$$$


"$$$o     """$$$$$$$$$$$$$$$$$$"$$"$$$


$$$o"$$""$$$$$$""""o$$$


$$$$oo$$$"


"$$$$o      o$$$$$$o"$$$$oo$$$$


"$$$$$oo     ""$$$$o$$$$$o   o$$$$""


""$$$$$oooo  "$$$o$$$$$$$$$"""


""$$$$$$$oo $$$$$$$$$$


""""$$$$$$$$$$$


$$$$$$$$$$$$


$$$$$$$$$$"


"$$$""""


[?25h[?2004l[?2004h[?25lExecuting Test_wrong_error_type()
"test_assert.res" [New File][New] 0L, 0C written


Executed 15 tests
"messages" 30L, 779C48L, 1277C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autochdir.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autochdir.vim" 17 lines, 332 characters


Executing Test_set_filename()
"samples/Xtest" [New] 0L, 0C written
"test_autochdir.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"48L, 1277C52L, 1349C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autocmd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_BufEnter()
"NewFile" [New File]Xdir" is a directory


Executing Test_BufleaveWithDelete()
"Xfile1" [New File]

Executing Test_OptionSet()


Executing Test_OptionSet_diffmode()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_OptionSet_diffmode_close()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_augroup_deleted()


W19: Deleting augroup that is still in use
Executing Test_augroup_warning()

W19: Deleting augroup that is still in useentering


Executing Test_autocmd_bufunload_avoiding_SEGV_01()


"aa.txt" [New File]


"bb.txt" [New File]


Executing Test_autocmd_bufunload_avoiding_SEGV_02()[?2004l[?2004h


"a.txt" [New File]


"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_autocmd_bufunload_with_tabnext()


Executing Test_autocmd_bufwinleave_with_tabfirst()


"a.txt" [New File]


Executing Test_autocmd_bufwipe_in_SessLoadPost()[?2004l[?2004h


Executing Test_autocmd_bufwipe_in_SessLoadPost2()[?2004l[?2004h


Executing Test_bufunload()


Executing Test_cursorhold_insert()[?2004l[?25h[?2004h[?25l_ctrl_x()[?2004l[?25h[?2004h[?25learly_bar()

Executing Test_empty_doau()


No matching autocommands


Executing Test_three_windows()


"Xtestje1" [New File]


"Xtestje1" [New File] 1 line, 8 characters written


"Xtestje2" [New File]


"Xtestje2" [New File] 1 line, 8 characters written


"Xtestje3" [New File]


"Xtestje3" [New File] 1 line, 8 characters written


"Xtestje1" 1 line, 8 characters


"Xtestje3" 1 line, 8 characters


"Xtestje2" 1 line, 8 characters


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


Already only one window
"help.txt" [readonly] 225 lines, 8437 characters


Executing Test_vim_did_enter()


Executing Test_win_tab_autocmd()


"somefile" [New File]


"test_autocmd.res" [New File][?2004l


"test_autocmd.res" [New File] 0 lines, 0 characters written


Executed 21 tests


"messages" 52 lines, 1349 characters


"messages" 76 lines, 2180 characters written


[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_backspace_opt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_backspace_opt.vim" 59 lines, 1673 characters


Executing Test_backspace_option()
"test_backspace_opt.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"76L, 2180C80L, 2260C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_breakindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_breakindent.vim" 298 lines, 7493 characters


Executing Test_breakindent01()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    qrstuvwxyzABCDEF|

    GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent02()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    >>qrstuvwxyzABCD|

    >>EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent03()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

++  qrstuvwxyzABCDEF|

++  GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent04()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

  qrstuvwxyzABCDEFGH|

  IJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent05()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|qrstuvwxyzABCD|EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent06()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

   qrstuvwxyzABCDEFG|

   HIJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

?mnopqrstuvw|

?xyzABCDEFGH|

?IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

    ?    mnopqrstuvw|

    ?    xyzABCDEFGH|

    ?    IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

    #  opqrstuvwxyzA|

    #  BCDEFGHIJKLMN|

    #  OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent09()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

       #opqrstuvwxyz|

       #ABCDEFGHIJKL|

       #MNOP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent10()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2 abcdefgh|

~ijklmnop|

~qrstuvwx|

~yzABCDEF|

~GHIJKLMN|

~OP      ||||~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent11()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent12()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                             1 |

 2 >--->--->--->--->|

   ---{      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        {~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent13()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent14()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

e|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  e~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent15()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |1234567890|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  1234567890~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent16()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            ~                   

~                   

~                   

~                   

~                   

                    7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

"test_breakindent.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 80L, 2260C101L, 2866C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_bufwintabinfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_bufwintabinfo.vim" 116 lines, 3459 characters


Executing Test_get_buf_options()


Executing Test_get_win_options()


Executing Test_getbufwintabinfo()
"Xtestfile1" [New File]212


Already only one window
"test_bufwintabinfo.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"101L, 2866C107L, 3013C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cdo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cdo.vim" 205 lines, 5116 characters


Executing Test_cdo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2


Executing Test_ldo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2
"test_cdo.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"107L, 3013C112L, 3092C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_channel.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_channel.vim" 1761 lines, 51515 characters
"test_channel.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"112L, 3092C115L, 3132C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_charsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_charsearch.vim" 62 lines, 1475 characters


Executing Test_charsearch()


Executing Test_search_cmds()
"test_charsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"115L, 3132C120L, 3233C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cindent.vim" 105 lines, 2962 characters


Executing Test_cindent_expr()rawstring()o_extern_c()6 lines to indent... 7indented 6to indent...
7indented Executing Test_cino_hash()
"test_cindent.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"120L, 3233C127L, 3397C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_clientserver.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_clientserver.vim" 108 lines, 3648 characters


Executing Test_client_server()
"test_clientserver.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"127L, 3397C133L, 3535C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cmdline.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cmdline.vim" 434 lines, 12686 characters


Executing Test_cmdline_complete_user_cmd():[?2004hFoo ...blue
:"Foo blue
:"
:[?2004hFoo b...lue
:"Foo blue
:"


Executing Test_cmdline_complete_wildoptions()
"help.txt" [readonly] 225L, 8437C:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V


IMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ')


'. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeym


ap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape


''ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave


''autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backu


pcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloo


nexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh'


'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakind


ent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' '


bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit'


'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys'


'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheigh


t' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'comm


entstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor'


'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpopti


ons' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cs


coperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf'


'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorlin


e' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionar


y' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy'


'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'em"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $VIMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ') '. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeymap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape' 'ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave' 'autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backupcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloonexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh' 'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakindent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' 'bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit' 'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys' 'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheight' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'commentstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor' 'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpoptions' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cscoperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf' 'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorline' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionary' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy' 'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'e
:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V
:"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $
:"


Executing Test_cmdline_search_range()


search hit BOTTOM, continuing at TOP
Executing Test_complete_list():[?2004he test


test1.intest_bufline.vim


test1.oktest_bufwintabinfo.res


test1.outtest_bufwintabinfo.vim


test108.intest_cd.vim


test108.oktest_cdo.res


test108.outtest_cdo.vim


test11.intest_changedtick.vim


test11.oktest_changelist.in


test11.outtest_changelist.ok


test12.intest_changelist.out


test12.oktest_channel.py


test12.outtest_channel.res


test14.intest_channel.vim


test14.oktest_channel_pipe.py


test14.outtest_channel_write.py


test15.intest_charsearch.res


test15.oktest_charsearch.vim


test15.outtest_charsearch_utf8.vim


test17.intest_cindent.res


test17.oktest_cindent.vim


test17.outtest_clientserver.res


test17a.intest_clientserver.vim


test19.intest_close_count.in


test19.oktest_close_count.ok


test19.outtest_close_count.out


test20.intest_cmdline.vim


test20.oktest_command_count.vim


test20.outtest_comparators.vim


test25.intest_crypt.vim


test25.oktest_cscope.vim


test25.outtest_cursor_func.vim


test28.intest_curswant.vim


test28.oktest_delete.vim


test28.outtest_diffmode.vim


test29.intest_digraph.vim


test29.oktest_display.vim


test29.outtest_edit.vim


test3.intest_erasebackword.in


test3.oktest_erasebackword.ok


test3.outtest_erasebackword.out


test30.intest_escaped_glob.vim


test30.oktest_eval.in


test30.outtest_eval.ok


test31.intest_eval.out


test31.oktest_eval_func.vim


test31.outtest_ex_undo.vim


test32.intest_ex_z.vim


test32.oktest_exec_while_if.vim


test32.outtest_execute_func.vim


test33.intest_exists_autocmd.vim


test33.oktest_expand.vim


test33.outtest_expand_dllpath.vim


test34.intest_expr.vim


test34.oktest_expr_utf8.vim


test34.outtest_farsi.vim


test36.intest_feedkeys.vim


test36.oktest_file_perm.vim


test36.outtest_file_size.vim


test37.intest_fileformat.vim


test37.oktest_filetype.vim


test37.outtest_filter_cmd.vim


test38.intest_filter_map.vim


test38.oktest_findfile.vim


test38.outtest_fixeol.in


test39.intest_fixeol.ok


test39.oktest_fixeol.out


test39.outtest_float_func.vim


test4.intest_fnameescape.vim


test4.oktest_fnamemodify.vim


test4.outtest_fold.vim


test40.intest_functions.vim


test40.oktest_ga.vim


test40.outtest_getcwd.vim


test41.intest_getvar.vim


test41.oktest_gf.vim


test41.outtest_glob2regpat.vim


test42.intest_global.vim


test42.oktest_gn.vim


test42.outtest_goto.vim


test43.intest_gui.vim


test43.oktest_gui_init.vim


test43.outtest_hardcopy.vim


test44.intest_help.vim


test44.oktest_help_tagjump.vim


test44.outtest_hide.vim


test45.intest_highlight.vim


test45.oktest_history.vim


test45.outtest_hlsearch.vim


test48.intest_increment.vim


test48.oktest_increment_dbcs.vim


test48.outtest_insertcount.in


test49.intest_insertcount.ok


test49.oktest_insertcount.out


test49.outtest_job_fails.vim


test49.vimtest_join.vim


test5.intest_json.vim


test5.oktest_jumps.vim


test5.outtest_lambda.vim


test50.intest_langmap.vim


test50.oktest_largefile.vim


test52.intest_let.vim


test52.oktest_lineending.vim


test52.outtest_lispwords.vim


test53.intest_listchars.in


test53.oktest_listchars.ok


test53.outtest_listchars.out


test54.intest_listlbr.vim


test54.oktest_listlbr_utf8.vim


test54.outtest_lua.vim


test55.intest_makeencoding.py


test55.oktest_makeencoding.vim


test55.outtest_man.vim


test59.intest_maparg.vim


test59.oktest_mapping.vim


test59.outtest_marks.vim


test60.intest_match.vim


test60.oktest_matchadd_conceal.vim


test60.outtest_matchadd_conceal_utf8.vim


test60.vimtest_menu.vim


test64.intest_messages.vim


test64.oktest_mksession.vim


test64.outtest_mksession_utf8.vim


test66.intest_nested_function.vim


test66.oktest_netbeans.py


test66.outtest_netbeans.vim


test68.intest_normal.vim


test68.oktest_number.vim


test68.outtest_options.vim


test69.intest_packadd.vim


test69.oktest_partial.vim


test69.outtest_paste.vim


test7.intest_perl.vim


test7.oktest_plus_arg_edit.vim


test7.outtest_popup.vim


test70.intest_preview.vim


test70.oktest_profile.vim


test70.outtest_put.vim


test72.intest_python2.vim


test72.oktest_python3.vim


test72.outtest_pyx2.vim


test73.intest_pyx3.vim


test73.oktest_quickfix.vim


test73.outtest_quotestar.vim


test77a.intest_recover.vim


test77a.oktest_regex_char_classes.vim


test78.intest_regexp_latin.vim


test78.oktest_regexp_utf8.vim


test78.outtest_registers.vim


test79.intest_reltime.vim


test79.oktest_retab.vim


test79.outtest_ruby.vim


test8.intest_scrollbind.vim


test8.oktest_search.vim


test8.outtest_search_mbyte.in


test83-tags2test_search_mbyte.ok


test83-tags3test_search_mbyte.out


test83.intest_searchpos.vim


test83.oktest_set.vim


test83.outtest_sha256.vim


test85.intest_short_sleep.py


test85.oktest_signs.vim


test85.outtest_smartindent.vim


test86.intest_sort.vim


test86.oktest_source_utf8.vim


test86.outtest_spell.vim


test87.intest_startup.vim


test87.oktest_startup_utf8.vim


test87.outtest_stat.vim


test88.intest_statusline.vim


test88.oktest_substitute.vim


test88.outtest_syn_attr.vim


test94.intest_syntax.vim


test94.oktest_system.vim


test94.outtest_tabline.vim


test95.intest_tabpage.vim


test95.oktest_tagcase.vim


test95.outtest_tagjump.vim


test99.intest_taglist.vim


test99.oktest_tcl.vim


test99.outtest_terminal.vim


test_alot.vimtest_terminal_fail.vim


test_alot_latin.vimtest_textobjects.vim


test_alot_utf8.vimtest_timers.vim


test_arabic.restest_true_false.vim


test_arabic.vimtest_undo.vim


test_arglist.restest_unlet.vim


test_arglist.vimtest_usercommands.vim


test_assert.restest_utf8.vim


test_assert.vimtest_utf8_comparisons.vim


test_assign.vimtest_viminfo.vim


test_autochdir.restest_vimscript.vim


test_autochdir.vimtest_virtualedit.vim


test_autocmd.restest_visual.vim


test_autocmd.vimtest_winbar.vim


test_autoformat_join.intest_window_cmd.vim


test_autoformat_join.oktest_window_id.vim


test_autoformat_join.outtest_windows_home.vim


test_backspace_opt.restest_wordcount.in


test_backspace_opt.vimtest_wordcount.ok


test_breakindent.restest_wordcount.out


test_breakindent.vimtest_writefile.vim


:e test
"test" [New File]


Executing Test_complete_tab():[?2004he Xtest...file
"Xtestfile" 1L, 9C


Executing Test_complete_wildmenu():[?2004he Xtest...file1...


Xtestfile1  Xtestfile2                                                          :e Xtest...Xtestfile1 file1...Xtestfile1Xtestfile2 2:te Xtestfile2"Xtestfile2" 1L, 10C

Executing Test_expand_star_star():[?2004hfind **/fileXname...a/b/fileXname
"a/b/fileXname" 1L, 9C
"Xtestfile2" [New File]


Executing Test_expr_completion():[?2004hlet a =  getl...ine(
:"let a =  getline(
:"
:[?2004hif getl...ine(
:"if getline(
:"
:[?2004helseif getl...ine(
:"elseif getline(
:"
:[?2004hwhile getl...ine(
:"while getline(
:"
:[?2004hfor getl...ine(
:"for getline(
:"
:[?2004hecho getl...ine(
:"echo getline(
:"
:[?2004hechon getl...ine(
:"echon getline(
:"
:[?2004hexecute getl...ine(
:"execute getline(
:"
:[?2004hechomsg getl...ine(
:"echomsg getline(
:"
:[?2004hechoerr getl...ine(
:"echoerr getline(
:"
:[?2004hcall getl...ine(
:"call getline(
:"
:[?2004hreturn getl...ine(
:"return getline(
:"
:[?2004hcexpr getl...ine(
:"cexpr getline(
:"
:[?2004hcaddexpr getl...ine(
:"caddexpr getline(
:"
:[?2004hcgetexpr getl...ine(
:"cgetexpr getline(
:"
:[?2004hlexpr getl...ine(
:"lexpr getline(
:"
:[?2004hladdexpr getl...ine(
:"laddexpr getline(
:"
:[?2004hlgetexpr getl...ine(
:"lgetexpr getline(
:"


Executing Test_getcmdtype():[?2004hMyCmd a"=[?2004hCheck_cmdline(':')
:MyCmd a:[?2004hdebug echo 'test'
[?2004hEntering Debug mode.  Type "cont" to continue.
function RunTheTest[24]..Test_getcmdtypeline 7: echo 'test'

>[?2004hlet cmdtype = "=[?2004hstring(getcmdtype())
>let cmdtype = '>'


>[?2004hcont
test/[?2004hMyCmd a"=[?2004hCheck_cmdline('/')
/MyCmd a?[?2004hMyCmd a"=[?2004hCheck_cmdline('?')
?MyCmd a:[?2004hcall input('Answer?')
Answer?[?2004hMyCmd a"=[?2004hCheck_cmdline('@')
Answer?MyCmd a:[?2004hinsert


[?2004hMyCmd a"=[?2004hCheck_cmdline('-')
MyCmd a=[?2004hMyCmd aExecuting Test_getcompletion():[?2004hcscope find 


a  c  d  e  f  g  i  s  t


:cscope find :[?2004hsign list 


Testing


:sign list [?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_highlight_completion():[?2004hhi ...Aardig
:"hi Aardig
:"
:[?2004hhi default ...Aardig
:"hi default Aardig
:"
:[?2004hhi clear Aa...rdig
:"hi clear Aardig
:"
:[?2004hhi li...LineNr...
:hi l...nk
:"hi link
:"
:[?2004hhi d...DiffAdd...
:hi d...efault
:"hi default
:"
:[?2004hhi c...ColorColumn...
:hi c...lear
:"hi clear
:"


Executing Test_illegal_address1()


Executing Test_illegal_address2()
"Xtest.vim" 5L, 14C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_map_completion():[?2004hmap <unique> <si...lent>
:"map <unique> <silent>
:"
:[?2004hmap <script> <un...ique>
:"map <script> <unique>
:"
:[?2004hmap <expr> <sc...ript>
:"map <expr> <script>
:"
:[?2004hmap <buffer> <e...xpr>
:"map <buffer> <expr>
:"
:[?2004hmap <nowait> <b...uffer>
:"map <nowait> <buffer>
:"
:[?2004hmap <special> <no...wait>
:"map <special> <nowait>
:"
:[?2004hmap <silent> <sp...ecial>
:"map <silent> <special>
:"


Executing Test_match_completion():[?2004hmatch ...Aardig
:"match Aardig
:"
:[?2004hmatch ...Aardig......none
:"match none
:"


Executing Test_paste_in_cmdline():[?2004habc "def ghi
:"abc def ghi
:"
:[?2004haaa "asdf bbb
:"aaa asdf bbb
:"
:[?2004haaa "/tmp/some bbb
:"aaa /tmp/some bbb
:"
:[?2004haaa veryl"ongword bbb
:"aaa verylongword bbb
:"
:[?2004haaa "a;b-c*d bbb
:"aaa a;b-c*d bbb
:"
:[?2004h=[?2004htoupper(getline(1))
:ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D 
:"ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D
:"


Executing Test_remove_char_in_cmdline():[?2004habc defef
:"abc ef
:"
:[?2004habc defdef
:"abcdef
:"
:[?2004habc def ghighi
:"abc ghi
:"
:[?2004habc def
:def"def


Executing Test_verbosefile()


foo


bar
"test_cmdline.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 133L, 3535C154L, 4201C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_command_count.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_command_count.vim" 191 lines, 4742 characters


Executing Test_command_count_0()
"DoesNotExistEver" [New File]

Executing Test_command_count_1()


"a" [New File]


loading buffers


"b" [New File]


loading buffers


"c" [New File]


loading buffers


"d" [New File]


loading buffers


"e" [New File]


loading buffers
"c" [New File]beb


Executing Test_command_count_2()


"d" [New File]
"a


Already only one window
"x" [New File]

Already only one window


Executing Test_command_count_3()
"aaa" [New File]bbb
"ccc
"test_command_count.vim" 191L, 4742C


2 buffers deleted


Executing Test_command_count_4()
"cc" [New File]

"dd" [New File]


"ee" [New File]
"aa


"bb" [New File]


"cc" [New File]


"dd" [New File]


"ee" [New File]
"cc


"ee" [New File]


"ff" [New File]
"test_command_count.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"154L, 4201C162L, 4413C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_crypt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_crypt.vim" 83 lines, 2590 characters


Executing Test_crypt_blowfish()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 3L, 98C


Executing Test_crypt_blowfish2()
"Xtest.txt" [New File]:[?2004hX
Enter encryption key:[?2004h ******
Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish2] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish2] 3L, 98C


Executing Test_crypt_zip()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][crypted] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [crypted] 3L, 98C


Executing Test_head_only_2()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_head_only_3()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_uncrypt_blowfish()
"Xtest.txt" [New File][converted][New][noeol] 1L, 80C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 2L, 27C


Executing Test_uncrypt_blowfish2()
"Xtest.txt" [New File][converted][New][noeol] 1L, 103C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h *******


"Xtest.txt" [blowfish2] 2L, 44C


Executing Test_uncrypt_zip()
"Xtest.txt" [New File][converted][New][noeol] 1L, 45C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [converted][crypted] 2L, 26C"test_crypt.res" [New File][converted][New] 0L, 0C written

Executed 8 tests
"messages"162L, 4413C173L, 4700C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cscope.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cscope.vim" 279 lines, 10587 characters
"test_cscope.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"173L, 4700C176L, 4739C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_curswant.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_curswant.vim" 23 lines, 563 characters


Executing Test_curswant()
"test_curswant.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"176L, 4739C180L, 4806C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_diffmode.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_diffmode.vim" 568 lines, 12076 characters


Executing Test_diff_fold_sync()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_diff_lastline()


Already only one window[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h
Executing Test_diff_move_to()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


5 buffers wiped out


Executing Test_diff_nomodifiable()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


3 buffers wiped out


Executing Test_diff_too_many_buffers()
"Xtest1" [New File]2[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h4[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h5[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h8[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h9


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h10 buffers wiped out


Executing Test_diffexpr()one

two

three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l||

three                                  ||||||||||||||||||||

[No Name] [+]                           onetwothree.                                  ~~~~~~~~~~~~~~~~~~~[No Name] [+]                           2 buffers wiped out


Executing Test_diffget_diffput()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3 buffers wiped out


Executing Test_diffoff()Two

Three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h  -------------------------------------|

  -------------------------------------|

  Two                                  |

  Three                                |||||||||||||||||||  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  ~~~~~~~~~~~~~~~~~~

[No Name] [+]                             One                                                                             Two  Three                                    ~~~~~~~~~~~~~~~~~~[No Name] [+]                           Two                                    

Three                                  

~                                      

~                                      

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   OneTwoThree~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   



Executing Test_diffoff_hidden()
"one" [New File]                                                                                                                                        

~                                                                               two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                    |

Three                                  |||||||||||||||||||||

one [+]                                 One                                     Four                                    ~~~~~~~~~~~~~~~~~~~~two [+]                                                                                                        

~                                                                               TwoThree[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                                                             Three                                                                           ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               TwoThreeExecuting Test_diffopt_context()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


2 buffers wiped out


Executing Test_diffopt_horizontal()


Executing Test_diffopt_icase()
"one" [New File]One

Two

Three

FourFi#ve"two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h||

Three                                  ||

Fi#ve                                  ||||||||||||||||||

one [+]                                 oneTWOThree                                   FourfI=VE                                   ~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_iwhite()
"one" [New File]OneThree~                                                                                                                                  

~                                                                               "two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h|||

Four                                   |||||||||||||||||||

one [+]                                 OneTwoThree Four                                   ~~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_vertical()


Executing Test_diffpatch()
"Xpatch" [New] 10L, 71C written[?2004lpatching file /tmp/vDCndFn/85 (read from /tmp/vDCndFn/84)
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/vDCndFn/85.rej
[?2004h


[?2004lpatching file /tmp/vDCndFn/87 (read from /tmp/vDCndFn/86)
[?2004h"/tmp/vDCndFn/87" 4L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/vDCndFn/92 (read from /tmp/vDCndFn/91)
[?2004h924L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/vDCndFn/98 (read from /tmp/vDCndFn/97)
[?2004h84L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_dp_do_buffer()
"one" [New File]two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


"not_in_diff_mode" [New File]


4 buffers wiped out


Executing Test_filler_lines()


7 more lines


10 more lines[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_setting_cursor()
"Xtest1" [New File]

90 more lines
"Xtest1" [New] 91L, 262C written2" [New File]

100 more lines
"Xtest2"[New] 101L, 293C written101L, 293C191L, 262C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_vert_split()
"Xtest" [New] 5L, 25C written2" [New] 6L, 29C written


"Nop" [Modified][Not edited] line 4 of 6 --66%-- col 3
"Xtest" 5L, 25C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h2" 6L, 29C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h1" [New File]
"test_diffmode.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 180L, 4806C202L, 5445C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_digraph.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_digraph.vim" 462 lines, 14944 characters


Executing Test_digraph_cmndline()
[?2004hExecuting T


Executing Test_digraphs()


Executing Test_digraphs_option()


Executing Test_digraphs_output()


Executing Test_loadkeymap()
"test_digraph.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"202L, 5445C210L, 5640C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_display.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_display.vim" 69 lines, 1694 characters[?2004l[?1l>[?25h[?1049lExecuting Test_display_foldcolumn()e more noise blah blah<82|

> more stuff here||||||||||~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                  e more noise blah blah<|

  82> more stuff here    ||||||||||  

  

  

  

  

  

  

  

  ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                Executing Test_display_foldtext_mbyte()||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name]                                ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name]                              " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1│+ +-- 12 lines: 2───────────────────────│  14│  15│  16│  17│  18│  19│  20│  │[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1|

+ +-- 12 lines: 2-----------------------|

  14|

  15|

  16|

  17|

  18|

  19|

  20|

  |

[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                "test_display.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"210L, 5640C215L, 5757C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_edit.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_edit.vim" 1365 lines, 41657 characters


Executing Test_edit_00a_CTRL_A()b():[?2004hset im
:[?2004hset noim


Executing Test_edit_01()23:[?2004hs/$/efg/


Executing Test_edit_04():[?2004hstopinsert
Executing Test_edit_05()6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7=[?2004hListMonths()
match 1 of 12January

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for edit functions

"

if exists("+t_kD")

  let &t_kD="^[[3;*~"

endif

set belloff=



" Needed for testing basic rightleft: Test_edit_rightleft

source view_util.vim



test_edit.vim                                                                   January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12

January        2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           

June           

July     7u

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJune           

July           June           

July           

July           

=[?2004hListMonths()
match 1 of 12
January

~              

~              [No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        =[?2004hListMonths()
match 1 of 12
January

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

" Test for editJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12an

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJanuary        
January        

Executing Test_edit_08():[?2004hset im
=[?2004hsetbufvar(1,'&im', 0)
Executing Test_edit_09():[?2004hset im
Executing Test_edit_10()1


Executing Test_edit_12()3CR
"Xqflist.txt" 10L, 21Cline 1 of 10 --10%-- col 1
Executing Test_edit_CTRL_()EY()G()I
The only matchScanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt match in file Xinclude.txtmatch 1 of 3Scanning included file: Xinclude.txt
match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3#include Xinclude.txt

one



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 



three Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Back at original





three Xinclude.txt Executing Test_edit_CTRL_K()
Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3
AA~                                                                               ~                                                                               ~                    

~                  AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 



AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt match in file Xdictionary.txt
match 1 of 3

AA   Xdictionary.txt Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3'dictionary' option is emptyA Edxiecctuitoinnagr yT'e stp_teidoint _CsT RLm_pLt(y) 

match 1Back at originalBack at originalone

twothreet[No Name] [+]                                                                   [Location List]                                                                 two            

three          Back at originaltwo            

three          match 1 of 2wo

two            Back at originaltwo            

three          match 1 of 2wo

two            2
three

two            

three          two            

three          match 2Back at originaltwo            

three          two            two            Back at originaltwo            

three          two            match 1 of 2
three



three          Executing Test_edit_CTRL_N()

Pattern not foundPattern not foundmatch 1match 1

Executing Test_edit_CTRL_O():[?2004hset nu
:[?2004hlet g:a=getpos('.')
:[?2004hlet g:a=getpos('.')


Executing Test_edit_CTRL_R()=[?2004h10*500
=[?2004hgetreg('=', 1)


Executing Test_edit_CTRL_S()
Pattern not foundVim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim              

Sim             

Tim             

Vic             

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              

Deem            

match 1 of 100match 1 of 1002
Vim

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             I   

DeemVim            

Aim            Back at original
v

~               

~               

~               

~               

~               

~               

~               

~               

~               

[No Name] [+]   

Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               

[Location List] Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic              

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              Pattern not foundExecuting Test_edit_CTRL_T()
Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurusmatch 1 of 4Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 



furious Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 





enraged Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus match in file Xthesaurus
match 1 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus mad     Xthesaurus Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurus
Back at original
mad~                  

~                  

~                  

~                  [No Name] [+]   [Location List] mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 'thesaurus' option is empty

Executing Test_edit_CTRL_U()
Pattern not found Jan Month      

 Feb Month      

 Mar Month      

 Apr Month      

  May Month      

  Jun Month      

  Jul Month      

  Aug Month      

  Sep Month      

 NOct Month      

 Nov Month      

  Dec Month      match 1 of 12Mar Month  

May Month  match 1 of 2Mar Month      

May Month      match 2 of 2
May

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               Mar Month      

May Month      Mar Month      

May Month      Mar Month      

May Month      match 2 of 2

~              

~              Mar Month      

May Month      Back at original~              

~              Mar Month      

May Month      
May Month      Pattern not foundExecuting Test_edit_CTRL_V()Executing Test_edit_CTRL_Z()DROP()F1():[?2004hset im


"help.txt" [readonly] 225L, 8437C
Executing Test_edit_F21()HOME_END()INS()LEFT_RIGHT()MOUSE()[?1000h[?1000lPAGEUP_PAGEDOWN()complete_very_long_name()[?25h[?25l"Xfile" [New File]
Scanning: [Location List]/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddTotum /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa match in file /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
Scanning tags.match in file /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
match 1 of 2
Totum

~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Xqflist.txt|10|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Totum /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [?25h[?25lExecuting Test_edit_forbidden()





Pattern not found

Executing Test_edit_rightleft()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cba|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        abcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cb|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        bcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 ca|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        acdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 "test_edit.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 215L, 5757C259L, 6955C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_farsi.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_farsi.vim" 133 lines, 5364 characters




:"




:"



Executing Test_input_farsi()
"test_farsi.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 259L, 6955C[converted] 266L, 7116C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_file_size.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_file_size.vim" 30 lines, 871 characters


Executing Test_File_Size()
"Xtest" [New] 2000000L, 14888896C written[?2004l[?2004h
"test_file_size.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"266L, 7116C270L, 7185C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fnameescape.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fnameescape.vim" 21 lines, 467 characters


Executing Test_fnameescape()
"Xspa ce"[New] 21L, 467C written
"Xemark![New] 21L, 467C written
"test_fnameescape.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"270L, 7185C274L, 7258C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fold.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fold.vim" 462 lines, 13611 characters


Executing Test_address_fold()


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


8 lines yanked


10 lines yanked


4 lines yanked


Executing Test_combining_folds_indent()


3 fewer lines


Executing Test_combining_folds_marker()


3 fewer lines


Executing Test_fold_error()


Executing Test_folddoopen_folddoclosed()


3 substitutions on 3 lines


6 substitutions on 6 lines


3 substitutions on 3 lines


Executing Test_folds_marker_in_comment()


Executing Test_foldtext_recursive()--------------------------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   Executing Test_indent_fold()


Executing Test_indent_fold2()


Executing Test_indent_fold_with_read()
"Xfile" 3L, 6C


Executing Test_manual_fold_with_filter()
[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines

Executing Test_move_folds_around_indent()


6 lines moved


5 lines moved


6 lines moved


5 lines moved


Executing Test_move_folds_around_manual()a

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moved


5 lines moveda

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moveda

+--  4 lines: b-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   5 lines moved


Executing Test_update_folds_expr_read()
"Xfile" 8L, 16C
"test_fold.res" [New File][New] 0L, 0C written


Executed 14 tests
"messages" 274L, 7258C291L, 7816C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_getvar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_getvar.vim" 88 lines, 2988 characters


Executing Test_var()
"test_getvar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"291L, 7816C295L, 7876C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gf.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gf.vim" 56 lines, 1578 characters


Executing Test_gF()
"Xfile" [New] 4L, 16C written2" [New] 3L, 18C written" 4L, 16C


Executing Test_gf_url()
"test_gf.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"295L, 7876C300L, 7956C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gn.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gn.vim" 118 lines, 3078 characters


Executing Test_gn_command()/[?2004h[u]niquepattern/s
/a:0\@!\zs\d\+/[?2004hbar/e
"test_gn.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"300L, 7956C304L, 8019C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u NONE -U NONE --noplugin --not-a-term -S runtest.vim test_gui.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui.vim" 696 lines, 19832 characters
"test_gui.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"304L, 8019C307L, 8055C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u gui_preinit.vim -U gui_init.vim --noplugin --not-a-term -S runtest.vim test_gui_init.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui_init.vim" 61 lines, 1190 characters
"test_gui_init.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"307L, 8055C310L, 8096C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hardcopy.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hardcopy.vim" 73 lines, 2260 characters


Executing Test_fname_with_spaces()
"t e s t.txt" [New File]Printing page 1 (0%)Printed: t e s t.txt


Executing Test_printheader_parsing()


Executing Test_printmbfont_parsing()


Executing Test_printoptions_parsing()


Executing Test_with_syntax()Printing page 1 (0%)Printing page 2 (99%)Printed: test_hardcopy.vim
"test_hardcopy.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"310L, 8096C318L, 8314C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_help.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_help.vim" 32 lines, 551 characters


Executing Test_help_errors()


Executing Test_help_keyword()
"visual.txt" [readonly] 541L, 21843C


Executing Test_help_restore_snapshot()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1
"x" [New File]test_help.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"318L, 8314C324L, 8450C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hide.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hide.vim" 97 lines, 2443 characters


Executing Test_hide()
"Xf1" [New File]

"Xf1" [New File]
"Xf212121


one|two
"Xf1" [New File]
"Xf212
"test_hide.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"324L, 8450C328L, 8509C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_highlight.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_highlight.vim" 36 lines, 1417 characters


Executing Test_highlight()


SpecialKey     xxx term=bold ctermfg=4 guifg=Blue


EndOfBuffer    xxx links to NonText


NonTextxxx term=bold cterm=bold ctermfg=4 gui=bold guifg=Blue


Directory      xxx term=bold ctermfg=4 guifg=Blue


ErrorMsgxxx term=standout cterm=bold ctermfg=7 ctermbg=1 guifg=White


guibg=Red


IncSearch      xxx term=reverse cterm=reverse gui=reverse


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


MoreMsgxxx term=bold ctermfg=2 gui=bold guifg=SeaGreen


ModeMsgxxx term=bold cterm=bold gui=bold


LineNrxxx term=underline ctermfg=3 guifg=Brown


CursorLineNr   xxx term=bold ctermfg=3 gui=bold guifg=Brown


Questionxxx term=standout ctermfg=2 gui=bold guifg=SeaGreen


StatusLine     xxx term=bold,reverse cterm=bold,reverse gui=bold,reverse


StatusLineNC   xxx term=reverse cterm=reverse gui=reverse


VertSplit      xxx term=reverse cterm=reverse gui=reverse


Titlexxx term=bold ctermfg=5 gui=bold guifg=Magenta


Visualxxx term=reverse cterm=reverse guibg=LightGrey


VisualNOS      xxx term=bold,underline cterm=bold,underline gui=bold,underline


WarningMsg     xxx term=standout ctermfg=1 guifg=Red


WildMenuxxx term=standout ctermfg=0 ctermbg=3 guifg=Black guibg=Yellow


Foldedxxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue


guibg=LightGrey


FoldColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


DiffAddxxx term=bold ctermbg=4 guibg=LightBlue


DiffChange     xxx term=bold ctermbg=5 guibg=LightMagenta


DiffDelete     xxx term=bold cterm=bold ctermfg=4 ctermbg=6 gui=bold guifg=Blue


guibg=LightCyan


DiffTextxxx term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red


SignColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


Concealxxx ctermfg=7 ctermbg=0 guifg=LightGrey guibg=DarkGrey


SpellBadxxx term=reverse ctermbg=1 gui=undercurl guisp=Red


SpellCapxxx term=reverse ctermbg=4 gui=undercurl guisp=Blue


SpellRare      xxx term=reverse ctermbg=5 gui=undercurl guisp=Magenta


SpellLocal     xxx term=underline ctermbg=6 gui=undercurl guisp=DarkCyan


Pmenuxxx ctermfg=0 ctermbg=5 guibg=LightMagenta


PmenuSelxxx ctermfg=0 ctermbg=7 guibg=Grey


PmenuSbar      xxx ctermbg=7 guibg=Grey


PmenuThumb     xxx ctermbg=0 guibg=Black


TabLinexxx term=underline cterm=underline ctermfg=0 ctermbg=7


gui=underline guibg=LightGrey


TabLineSel     xxx term=bold cterm=bold gui=bold


TabLineFill    xxx term=reverse cterm=reverse gui=reverse


CursorColumn   xxx term=reverse ctermbg=7 guibg=Grey90


CursorLine     xxx term=underline cterm=underline guibg=Grey90


ColorColumn    xxx term=reverse ctermbg=1 guibg=LightRed


QuickFixLine   xxx links to Search


StatusLineTerm xxx term=bold,reverse cterm=bold ctermfg=7 ctermbg=2 gui=bold


guifg=bg guibg=DarkGreen


StatusLineTermNC xxx term=reverse cterm=bold ctermfg=7 ctermbg=2 guifg=bg


guibg=DarkGreen


Cursorxxx guifg=bg guibg=fg


lCursorxxx guifg=bg guibg=fg


MatchParen     xxx term=reverse ctermbg=6 guibg=Cyan


Normalxxx cleared


ToolbarLine    xxx term=underline ctermbg=7 guibg=LightGrey


ToolbarButton  xxx cterm=bold ctermfg=7 ctermbg=0 gui=bold guifg=White


guibg=Grey40


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


"test_highlight.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"328L, 8509C332L, 8578C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_history.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_history.vim" 106 lines, 3567 characters


Executing Test_History()


Executing Test_Search_history_window()/[?2004ha
/[?2004hb
/[?2004ha

b

a

b

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Tests for the history functions



test_history.vim                                                                /a

/b

/

/

/

/

/~                                                                              ~                                                                              ~                                                                              ~                                                                              [Command Line]                                                                  [?25h[?25l/a
"test_history.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"332L, 8578C337L, 8683C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hlsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hlsearch.vim" 53 lines, 1490 characters


Executing Test_hlsearch()/[?2004haaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

~                                                                               [No Name] [+]                                                                   " Test for v:hlsearch



function! Test_hlsearch()

  new

  call setline(1, repeat(['aaa'], 10))

  set hlsearch nolazyredraw

  let r=[]

  " redraw is needed to make hlsearch highlight the matches

  exe "normal! /aaa\<CR>" | redraw

  let r1 = screenattr(1, 1)

test_hlsearch.vim                                                               aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





Executing Test_hlsearch_hangs()bc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               "test_hlsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"337L, 8683C342L, 8783C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment.vim" 760 lines, 19011 characters


Executing Test_normal_increment_01()
"dummy" [New File]

Executing Test_normal_increment_02()
"dummy" [New File]

Executing Test_normal_increment_03()
"dummy" [New File]

Executing Test_visual_increment_01()
"dummy" [New File]

Executing Test_visual_increment_02()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_03()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_04()
"dummy" [New File]

Executing Test_visual_increment_05()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_06()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_07()
"dummy" [New File]5 lines changed

Executing Test_visual_increment_08()
"dummy" [New File]

Executing Test_visual_increment_09()
"dummy" [New File]

Executing Test_visual_increment_10()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_11()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_12()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_13()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_14()
"dummy" [New File]

Executing Test_visual_increment_15()
"dummy" [New File]

Executing Test_visual_increment_16()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_17()
"dummy" [New File]

Executing Test_visual_increment_18()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_19()
"dummy" [New File]

Executing Test_visual_increment_20()
"dummy" [New File]

Executing Test_visual_increment_21()
"dummy" [New File]

Executing Test_visual_increment_22()
"dummy" [New File]

Executing Test_visual_increment_23()
"dummy" [New File]

Executing Test_visual_increment_24()
"dummy" [New File]

Executing Test_visual_increment_25()
"dummy" [New File]

Executing Test_visual_increment_26()
"dummy" [New File]

Executing Test_visual_increment_27()
"dummy" [New File]

Executing Test_visual_increment_28()
"dummy" [New File]

Executing Test_visual_increment_29()
"dummy" [New File]

Executing Test_visual_increment_30()
"dummy" [New File]

Executing Test_visual_increment_31()
"dummy" [New File]

Executing Test_visual_increment_32()
"dummy" [New File]_31" [New File]


Executing Test_visual_increment_33()
"dummy" [New File]

Executing Test_visual_increment_34()
"dummy" [New File]

Executing Test_visual_increment_35()
"dummy" [New File]

Executing Test_visual_increment_36()
"dummy" [New File]

Executing Test_visual_increment_37()
"dummy" [New File]

Executing Test_visual_increment_38()
"dummy" [New File]test_increment.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 342L, 8783C386L, 10344C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment_dbcs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment_dbcs.vim" 30 lines, 604 characters


Executing Test_increment_dbcs_1()
"test_increment_dbcs.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"[converted] 386L, 10344C[converted] 390L, 10425C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_job_fails.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_job_fails.vim" 19 lines, 598 characters


Executing Test_job_start_fails()[?25h[?2004l[?2004h[?25l
"test_job_fails.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"390L, 10425C394L, 10500C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_json.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_json.vim" 292 lines, 10880 characters


Executing Test_js_decode()


Executing Test_js_encode()


Executing Test_json_decode()


Executing Test_json_encode()


"test_json.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"394L, 10500C401L, 10650C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_langmap.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_langmap.vim" 28 lines, 628 characters


Executing Test_langmap()
"test_langmap.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"401L, 10650C405L, 10715C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_let.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_let.vim" 27 lines, 806 characters


Executing Test_let()
"test_let.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"405L, 10715C409L, 10772C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lineending.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lineending.vim" 19 lines, 429 characters


Executing Test_lineending()
"Xfile1" [New] 4L, 78C written
"test_lineending.vim" 19L, 429C
"Xfile1" 4L, 78C
"test_lineending.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"409L, 10772C413L, 10843C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr.vim" 235 lines, 6445 characters


Executing Test_block_replace_after_wrapping()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaa0aaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|@                   

@                   

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_conceal()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                Sabbbbbb bla||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        _S_      bla~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ^Iabcdef hijklmn^I  |

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                a_|

aaaaaaaaaaaaaaaaaaaa|

aa>-----a-$||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        a aaaaaaaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_tab_and_skipping_first_chars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ---------------aaaaa|

---------------aaaaa|

---------------aaaaa|

iiiiiiiii>-----aaaaa|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        iiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii      aaaaaaaaaaaaaaaaaa~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_norm_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdpgrs||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdpgrs~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_set_linebreak()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_should_break()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1|

+aaaaaaaaaaaaaaaaaa |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1aaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_undo_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                3 lines changedAaA|

AaA|

A||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        AaAAaAA~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                /[?2004h^REMOVE:this not|

aaaaaaaaaaaaa|

REMOVE:|

REMOVE:|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        this notaaaaaaaaaaaaaREMOVE:REMOVE:~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block_and_vbA()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar TARGETx at   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobarfoobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_char_and_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1111-2222-1111-11-  |

1111-2222-1111      |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1111-2222-1111-11-1111-2222-1111~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

"test_listlbr.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" [converted] 413L, 10843C[converted] 429L, 11393C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr_utf8.vim" 271 lines, 7788 characters


Executing Test_chinese_char_on_wrap_column()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

                    中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_colorcolumn_priority()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /[?2004hxxyy
search hit BOTTOM, continuing at TOPxxyy|

    |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        xxyy~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_illegal_byte_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_fancy_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing1()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing2()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_sign_and_colorcolumn()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_wrap_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_nolinebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_screenattr_for_comment()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /*▕———▕—————— and  |

+some more */¶|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        /*            and some more */~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_visual_block_and_selection_exclusive()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           +foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar TARGETÃx'   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobar+ foobar foobar foobar foobar foobar foobar foobar foobar f+oobar foobar foobar foobar foobar foobar foobar foobar foo+bar foobar foobar foobar foobar foobar foobar foobar fooba+r foobar foobar foobar foobar foobar foobar foobar foobar+TARGETÃx' at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

"test_listlbr_utf8.res" [New File][New] 0L, 0C written


Executed 12 tests
"messages" 429L, 11393C444L, 11953C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lua.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lua.vim" 22 lines, 438 characters


Executing Test_luado()
"test_lua.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"444L, 11953C448L, 12012C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_makeencoding.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_makeencoding.vim" 106 lines, 2413 characters
"test_makeencoding.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"448L, 12012C451L, 12057C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_man.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_man.vim" 60 lines, 1358 characters[?2004l[?2004h


Executing Test_g_ft_man_open_mode()[?2004l[?2004h




Cannot find a 'vim'.


Executing Test_nomodifiable()[?2004l[?2004h




Cannot find a 'vim'.
"test_man.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"451L, 12057C456L, 12160C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_marks.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_marks.vim" 70 lines, 2047 characters


Executing Test_Incr_Marks()


Executing Test_Restore_DelMark()1 more line; before #2  0 seconds ago
1 line less; after #2  0 seconds agomore line; before #2  0 seconds ago


Executing Test_setpos()
"one" [New File]twoest_marks.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"456L, 12160C462L, 12284C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_matchadd_conceal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_matchadd_conceal.vim" 289 lines, 9276 characters[?2004l[?1l>[?25h[?1049lExecuting Test_clearmatches()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_default_conceal_char()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #+This+is+a+Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_conceallevel_3()#ThisisaTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #Thisisa Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_syn_conceal()Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_repeat_conceal_with_syntax_off()TARGET_TARGETTARGET
t_ttsimple_matchadd()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_simple_matchadd_and_conceal()#XThisXisXaXTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_syn_and_match_conceal()#ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #*This*is*a*Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_using_matchaddpos()#Pis a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       "test_matchadd_conceal.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"462L, 12284C474L, 12698C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession.vim" 155 lines, 3363 characters


Executing Test_mksession()
"Xtemp" [New] 9L, 203C written


search hit BOTTOM, continuing at TOP
Executing Test_mksession_arglist()"file1" [New File]

Executing Test_mksession_one_buffer_two_windows()
"Xtest1" [New File]2


Executing Test_mksession_winheight()
"Xtest1" [New File]test_mksession.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 474L, 12698C[converted] 481L, 12890C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession_utf8.vim" 104 lines, 2328 characters


Executing Test_mksession_utf8()
"/tmp/vhIiaoC/0" [New] 9L, 215C written


search hit BOTTOM, continuing at TOP
"test_mksession_utf8.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"481L, 12890C485L, 12969C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_nested_function.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_nested_function.vim" 67 lines, 1305 characters


Executing Test_max_nesting()


Executing Test_nested_argument()


[]


Executing Test_nested_functions()
"test_nested_function.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"485L, 12969C491L, 13114C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_netbeans.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_netbeans.vim" 80 lines, 2145 characters
"test_netbeans.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"491L, 13114C494L, 13155C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_normal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_normal.vim" 2392 lines, 61363 characters


Executing Test_delete_until_paragraph()


Executing Test_normal00_optrans()


Executing Test_normal01_keymodel()
4 lines yankedExecuting Test_normal02_selectmode()
10 fewer lines

Executing Test_normal02_selectmode2():[?2004hset im
:[?2004hset noim


Executing Test_normal03_join()


Executing Test_normal04_filter():[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?2004l[?1l>[?1049l[?2004lone
[?2004h[?1049h[?1h=[?2004h[?25l:[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?25l:[?2004h.!
:[?2004h!echo one
[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lone
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h.!!
[?25h[?2004l[?2004h

[?25lExecuting Test_normal05_formatexpr()


Executing Test_normal05_formatexpr_newbuf()
"another" [New File]

Executing Test_normal05_formatexpr_setopt()


Executing Test_normal06_formatprg()[?2004l[?2004h:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered

Executing Test_normal07_internalfmt()
7 fewer lin

Executing Test_normal08_fold()


Executing Test_normal09_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h[?2004h[?2004h[?2004h


Executing Test_normal09a_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h


Executing Test_normal10_expand()


Executing Test_normal11_showcmd()


Executing Test_normal12_nv_error()


Executing Test_normal13_help()
"help.txt" [readonly] 225L, 8437C


Executing Test_normal14_page()


Executing Test_normal14_page_eol()


Executing Test_normal15_z_scroll_vert()


Executing Test_normal16_z_scroll_hor()


Executing Test_normal17_z_scroll_hor2()


Executing Test_normal18_z_fold()


Executing Test_normal19_z_spell()
Word 'goood' added to ./Xspellfile.add
search hit BOTTOM, continuing at TOPWord 'goood' added to ./Xspellfile.add2 goood' added to ./Xspellfile.add/tmp/vVA3kpk/11removed from /tmp/vVA3kpk/11goood' added to /tmp/vVA3kpk/11removed from /tmp/vVA3kpk/11added to ./Xspellfile.addremoved from ./Xspellfile.add2 goood' added to ./Xspellfile.addremoved from ./Xspellfile.addgoood' added to ./Xspellfile2.add

Executing Test_normal20_exmode()[?2004l[?2004h


Executing Test_normal21_nv_hat()
"Xfoobar" [New File]ile2" [New File]

Executing Test_normal22_zet()[?2004l[?2004h[?2004l[?2004h


Executing Test_normal23_K()
"version8.txt" [readonly] 18040L, 684251Cline 1 of 18040 --0%-- col 1
"man" [New File]aa%bb" [New File]
"cc|dd
:! man --pager=cat 'man'[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lstdin not open for reading!
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25lExecuting Test_normal24_rot13()


Executing Test_normal25_tag()
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"insert.txt" [readonly] 2004L, 82939Cline 49 of 2004 --2%-- col 7-49


Executing Test_normal26_put()


Executing Test_normal27_bracket()


21 substitutions on 21 lines


Executing Test_normal28_parenthesis()


Executing Test_normal29_brace()
17 fewer lines4 fewer lines3

Executing Test_normal30_changecase()


Executing Test_normal31_r_cmd()


Executing Test_normal32_g_cmd1()
/x_foo?abc

Executing Test_normal33_g_cmd2()/[?2004h[1-8]
search hit BOTTOM, continuing at TOP
9 substitutions on 9 linesblock of 3 lines yanked5


Executing Test_normal34_g_cmd3()


Executing Test_normal35_g_cmd4()


Executing Test_normal36_g_cmd5()


Executing Test_normal37_g_cmd6()
"1.txt" [New File]23


Executing Test_normal38_nvhome()


Executing Test_normal39_cw()


Executing Test_normal40_ctrl_bsl()


Executing Test_normal41_insert_reg()=[?2004ha
=[?2004ha
=[?2004ha


Executing Test_normal42_halfpage()


Executing Test_normal43_textobject1()


Executing Test_normal44_textobjects2()


Executing Test_normal45_drop()


Executing Test_normal46_ignore()


Executing Test_normal47_autocmd()


Executing Test_normal47_visual_buf_wipe()


Executing Test_normal48_wincmd()


Executing Test_normal49_counts()


Executing Test_normal50_commandline()q:  :[?2004hxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :set im

:set noim

:.!sed -e 's/^/|    /'

:.!

:!echo one

:.!!

:

[Command Line]                                                                  [?25h[?25l[?25h[?25l:^M   



Executing Test_normal51_FileChangedRO()
"Xreadonly.log" 1L, 4C
Error detected while processing ...24]..Test_normal51_FileChangedRO:
line   10:W10: Warning: Changing a readonly file


Executing Test_normal52_rl()3_digraph()


Executing Test_normal54_Ctrl_bsl()


Executing Test_normal_8g8()


Executing Test_normal_large_count()
"test_normal.res" [New File][New] 0L, 0C written


Executed 64 tests
"messages" 494L, 13155C567L, 15700C written
[?2004l[?2004l[?1l>[?25h[?1049l

VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_number.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_number.vim" 254 lines, 5032 characters


Executing Test_number()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   1 abcdefghij      |

  2 klmnopqrst      |

  3 uvwxyzABCD      |

  4 EFGHIJKLMN      |

  5 OPQRSTUVWX      |

  6 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_linewrap1()|||~                   

~                   

[No Name]            ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 --1 aaaaaaaaaaaaaaaa|

    aaaaaaaaaaaaaaaa|

    aaaaaaaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   3 abcdefghij      |

  2 klmnopqrst      |

  1 uvwxyzABCD      |

4   EFGHIJKLMN      |

  1 OPQRSTUVWX      |

  2 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 1     aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     0 aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth_adjusted()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                  9991 aaaa|

 9992 aaaa|

 9993 aaaa|

 9994 aaaa|

 9995 aaaa|

 9996 aaaa|

 9997 aaaa|

 9998 aaaa|

 9999 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     9 aaaa|

    8 aaaa|

    7 aaaa|

    6 aaaa|

    5 aaaa|

    4 aaaa|

    3 aaaa|

    2 aaaa|

    1 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   9 aaaa|

  8 aaaa|

  7 aaaa|

  6 aaaa|

  5 aaaa|

  4 aaaa|

  3 aaaa|

  2 aaaa|

  1 aaaa|

  0 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   2 abcdefghij      |

  1 klmnopqrst      |

  0 uvwxyzABCD      |

  1 EFGHIJKLMN      |

  2 OPQRSTUVWX      |

  3 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_set_global_and_local()


Executing Test_set_options()1   ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            1   ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

test_number.vim                                                                 1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

 11 

 12 func! s:test_windows(h, w) abort

 13   call NewWindow(a:h, a:w)

 14 endfunc

 15 

 16 func! s:close_windows() abort

 17   call CloseWindow()

 18 endfunc

 19 

 20 func! s:validate_cursor() abort

 21   " update skipcol.

 22   " wincol():

"test_number.res" [New File][New] 0L, 0C written


Executed 8 tests
"messages"567L, 15700C578L, 16013C written
[?2004l

[?2004l[?1l>[?25h[?1049l../vim -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"../option.c" 12669 lines, 331004 characters
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_options.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_options.vim" 334 lines, 10325 characters


Executing Test_cinkeys()


Executing Test_complete()
Pattern not found

Executing Test_dictionary()


Executing Test_filetype_valid()


Executing Test_isfname()[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_keymap_valid()


Executing Test_options()
"option-window" [New File]


Executing Test_path_keep_commas()


Executing Test_set_all()


Executing Test_set_completion():[?2004hset di...ctionary diff diffexpr diffopt digraph directory display
:"set dictionary diff diffexpr diffopt digraph directory display
:"
:[?2004hset nodi...ff digraph
:"set nodiff digraph
:"
:[?2004hset invdi...ff digraph
:"set invdiff digraph
:"
:[?2004hset ts...abstop thesaurus ttyscroll
:"set tabstop thesaurus ttyscroll
:"
:[?2004hset fileencodings=...ucs-bom,utf-8,default,latin1
:"set fileencodings=ucs-bom,utf-8,default,latin1
:"
:[?2004hset fileencodings:...ucs-bom,utf-8,default,latin1
:"set fileencodings:ucs-bom,utf-8,default,latin1
:"
:[?2004hset <H...elp> <Home>
:"set <Help> <Home>
:"
:[?2004hset t_A...B t_AF t_AL
:"set t_AB t_AF t_AL
:"
:[?2004hset cdpath=./...XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/


./pythonx/ ./pyxfile/ ./samples/ ./sautest/"set cdpath=./XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./samples/ ./sautest/
:[?2004hset tags=./...Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./ben


ch_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim .


/gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.


vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_afte


r/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./


setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1


.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.ou


t./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./te


st15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.


in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./t


est25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.


in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test


30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok "set tags=./Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./bench_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim ./gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.out ./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./test15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./test25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok
:[?2004hset tags=./\\ dif...f diffexpr diffopt
:"set tags=./\\ diff diffexpr diffopt
:"


Executing Test_set_errors()


  tabstop=8


Executing Test_set_indentexpr()ttytype()[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h

E558: Terminal entry not found in terminfo

'' not known. Available builtin terminals are:

    builtin_gui

    builtin_amiga

    builtin_beos-ansi

    builtin_ansi

    builtin_pcansi

    builtin_win32

    builtin_vt320

    builtin_vt52

    builtin_xterm

    builtin_iris-ansi

    builtin_debug

    builtin_dumb



E558: Terminal entry not found in terminfo

'xxx' not known. Available builtin terminals are:

    builtin_gui

    builtin_amiga

    builtin_beos-ansi

    builtin_ansi

    builtin_pcansi

    builtin_win32

    builtin_vt320

    builtin_vt52

    builtin_xterm

    builtin_iris-ansi

    builtin_debug

    builtin_dumb

[?2004l[?1l>[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_set_values()


[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?1000h[?1000lline 3206: set vbs=9999


line 3207: if exists('+verbose')


line 3208: endif


line 3209: set verbose&


[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_signcolumn()


Executing Test_syntax_valid()


Executing Test_thesaurus()


Executing Test_whichwrap()


Executing Test_wildchar()


"test_options.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 578L, 16013C600L, 16592C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_packadd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_packadd.vim" 275 lines, 9157 characters


Executing Test_colorscheme()


Executing Test_colorscheme_completion():[?2004hcolorscheme ...one')
:ccolorscheme one')
:cacolorscheme one')
:calcolorscheme one')
:callcolorscheme one')
:call colorscheme one')acolorscheme one')dcolorscheme one')dcolorscheme one')(colorscheme one')lcolorscheme one')icolorscheme one'),colorscheme one') colorscheme one')'colorscheme one')
:[?2004hcolorscheme ...one...three')
:ccolorscheme three')
:cacolorscheme three')
:calcolorscheme three')
:callcolorscheme three')
:call colorscheme three')acolorscheme three')dcolorscheme three')dcolorscheme three')(colorscheme three')lcolorscheme three')icolorscheme three'),colorscheme three') colorscheme three')'colorscheme three')
:[?2004hcolorscheme ...one...three...wo')
:ccolorscheme two')
:cacolorscheme two')
:calcolorscheme two')
:callcolorscheme two')
:call colorscheme two')acolorscheme two')dcolorscheme two')dcolorscheme two')(colorscheme two')lcolorscheme two')icolorscheme two'),colorscheme two') colorscheme two')'colorscheme two')
:[?2004hcolorscheme ...one...three...wo...')
:ccolorscheme ')
:cacolorscheme ')
:calcolorscheme ')
:callcolorscheme ')
:call colorscheme ')acolorscheme ')dcolorscheme ')dcolorscheme ')(colorscheme ')lcolorscheme ')icolorscheme '),colorscheme ') colorscheme ')'colorscheme ')


Executing Test_helptags()


Executing Test_packadd()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C writtenalso/loaded.vim" [New File][New] 1L, 29C writtenftdetect/test.vim" [New File[New] 1L, 26C written


Executing Test_packadd_completion():[?2004hpackadd ...pluginA')
:cpackadd pluginA')
:capackadd pluginA')
:calpackadd pluginA')
:callpackadd pluginA')
:call packadd pluginA')apackadd pluginA')dpackadd pluginA')dpackadd pluginA')(packadd pluginA')lpackadd pluginA')ipackadd pluginA'),packadd pluginA') packadd pluginA')'packadd pluginA')
:[?2004hpackadd ...pluginA...B')
:cpackadd pluginB')
:capackadd pluginB')
:calpackadd pluginB')
:callpackadd pluginB')
:call packadd pluginB')apackadd pluginB')dpackadd pluginB')dpackadd pluginB')(packadd pluginB')lpackadd pluginB')ipackadd pluginB'),packadd pluginB') packadd pluginB')'packadd pluginB')
:[?2004hpackadd ...pluginA...B...C')
:cpackadd pluginC')
:capackadd pluginC')
:calpackadd pluginC')
:callpackadd pluginC')
:call packadd pluginC')apackadd pluginC')dpackadd pluginC')dpackadd pluginC')(packadd pluginC')lpackadd pluginC')ipackadd pluginC'),packadd pluginC') packadd pluginC')'packadd pluginC')
:[?2004hpackadd ...pluginA...B...C...')
:cpackadd ')
:capackadd ')
:calpackadd ')
:callpackadd ')
:call packadd ')apackadd ')dpackadd ')dpackadd ')(packadd ')lpackadd ')ipackadd '),packadd ') packadd ')'packadd ')


Executing Test_packadd_noload()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written


Executing Test_packadd_symlink_dir()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"./Xdir/Xdir2/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_packloadall()


Executing Test_runtime()
"test_packadd.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"600L, 16592C612L, 16912C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_paste.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_paste.vim" 99 lines, 2938 characters[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_paste_cmdline():[?2004hafoo^Mbarb
:"afoo^Mbarb
:"


Executing Test_paste_insert_mode()normalvisu
"test_paste.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"612L, 16912C619L, 17087C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_perl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_perl.vim" 238 lines, 5919 characters


Executing Test_SvREFCNT()
"t" [New File]

Executing Test_VIM_Buffers()
"Xbar" [New File]

Executing Test_VIM_Windows()


Executing Test_VIM_package()


Executing Test_buffer_Append()


Executing Test_buffer_Count()


Executing Test_buffer_Delete()


Executing Test_buffer_Get()


Executing Test_buffer_Name()
"Xfoo" [New File]

Executing Test_buffer_Number()


Executing Test_buffer_Set()


Executing Test_change_buffer()/[?2004h^1


Executing Test_evaluate_list()/[?2004h^2
search hit BOTTOM, continuing at TOP


Executing Test_perldo()
"__TEST__" [New File]test_perl.vim"238L, 5919C


Executing Test_perleval()


Executing Test_stdio()


&VIM::Msg


STDOUT


STDERR


Executing Test_window_Cursor()


Executing Test_window_SetHeight()
"test_perl.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 619L, 17087C640L, 17647C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_preview.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_preview.vim" 13 lines, 248 characters


Executing Test_Psearch()
"help.txt" [readonly] 225L, 8437C


"[No Name]" [Not edited][readonly] line 1 of 225 --0%-- col 1
"test_preview.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"640L, 17647C644L, 17712C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_profile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_profile.vim" 147 lines, 6308 characters


Executing Test_profile_completion():[?2004hprofile ...continue file func pause start
:"profile continue file func pause start
:"
:[?2004hprofile start test_prof...ile.vim
:"profile start test_profile.vim
:"


Executing Test_profile_errors()


Executing Test_profile_file()[?2004l[?2004h


Executing Test_profile_func()[?2004l[?2004h
"test_profile.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"644L, 17712C651L, 17881C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python2.vim" 24 lines, 523 characters
"test_python2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"651L, 17881C654L, 17921C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python3.vim" 24 lines, 534 characters


Executing Test_py3do()
"test_python3.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"654L, 17921C658L, 17984C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx2.vim" 74 lines, 1409 characters
"test_pyx2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"658L, 17984C661L, 18021C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx3.vim" 74 lines, 1409 characters


Executing Test_has_pythonx()


Executing Test_pyx()


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


Executing Test_pyxdo()


Executing Test_pyxeval()


Executing Test_pyxfile()


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]
"test_pyx3.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"661L, 18021C669L, 18182C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quickfix.vim" 2639 lines, 77130 characters


Executing Test_Autocmd()
"F1" [New File]

(1 of 1): Line 10
"F2" [New File]

(1 of 2): Line 10


Executing Test_Autocmd_Exception()


Executing Test_Multi_LL_Help()
"arabic.txt" [readonly] 322L, 11936C


(1 of 4051): o  Viewing and editing files in right-to-left windows.^I File
"arabic.txt" [readonly] line 1 of 322 --0%-- col 1

(1 of 3535): the global settings as they could affect other possible open buffe


rs.


Executing Test_Qf_Size()
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"


Executing Test_add_qf()


Executing Test_adjust_lnum()


Already only one window
"Xqftestfilec" 20L, 131C


9 fewer lines


Already only one window
"Xqftestfilel" 20L, 131C


9 fewer lines


Executing Test_browse()
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


Executing Test_bufoverflow()


Executing Test_caddbuffer_to_empty()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


(2 of 1487):


Executing Test_caddbuffer_wrong()
"Xqftestfile2" [New File]

Executing Test_caddexpr_wrong()


(1 of 1):


(1 of 1):


Executing Test_cage()


error list 3 of 4; 1 errors:cgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:cgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 3 of 4; 1 errors:lgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:lgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


Executing Test_cbottom()


Executing Test_cbuffer()
"Xtestfile7" [New File]

(1 of 2): Line 700


"Xtestfile1" [New File]


"Xtestfile7" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


Executing Test_cclose_from_copen()


Executing Test_cclose_in_autocmd()


Executing Test_cexpr()


Executing Test_cfile()
"Xtestfile1" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


(1 of 2): Line 700


Executing Test_cgetexpr_works()


Executing Test_changedtick()


error list 2 of 3; 0 errors:cexpr ""


error list 1 of 3; 0 errors:cexpr ""


error list 2 of 3; 0 errors:lexpr ""


error list 1 of 3; 0 errors:lexpr ""


Executing Test_clist()


 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one




 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one


Executing Test_cwindow()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 "[Quickfix List]" line 1 of 3 --33%-- col 1


~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 Executing Test_cwindow_jump()
"F1" [New File]2


Executing Test_dirstack_cleanup()


(1 of 1): 0


Executing Test_duplicate_buf()
"DoesNotExist" [New File]2" [New File]


Xgrepthis
"Xgrepthis" line 1 of 2 --50%-- col 1


(1 of 2): this one


Xgrepthis
(1 of 2): this one


Executing Test_efm()


Executing Test_efm1()
"Xtestfile" 21L, 903C


(1 of 20): 1506-045 (S) Undeclared identifier fd_set.


(20 of 20): What is the title of the quickfix window?


Executing Test_efm2()
"Xtestfile" [New File]


 1 Xtestfile:^\VLine search text\$:


(1 of 1): msg2


Executing Test_efm_dirstack()


Executing Test_efm_ignore_continuations()


Executing Test_errortitle()


Executing Test_get_list_from_lines()


Executing Test_grep()


Already only one window[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25l[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25lExecuting Test_helpgrep()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C


"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C
"index.txt" [readonly] 1660L, 76442C
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


Executing Test_history()


error list 1 of 1; 0 errors:setqflist()


error list 1 of 1; 0 errors:setloclist()


Executing Test_invalid_efm()


Executing Test_locationlist()


No matching autocommands


(1 of 7): file foo.txt


No matching autocommands


No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


W19: Deleting augroup that is still in use
Executing Test_locationlist_cross_tab_jump()
"loclistfoo" 1L, 11Cbar1L, 11C[?2004l[?1l>[?25h[?1049l[?2004lloclistfoo:1:loclistfoo
[?2004h[?1049h[?1h=[?2004h

[?25lAlready only one window


Executing Test_locationlist_curwin_was_closed()


W19: Deleting augroup that is still in use
Executing Test_long_lines()"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


Executing Test_multidirstack()


Executing Test_multifilestack()


Executing Test_nomem()
"/<<PKGBUILDDIR>>/src/vim-gtk/alloc.h" 21L, 485C


Error detected while processing function RunTheTest[24]..Test_nomem:


line    2:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-gtk/alloc.h" 21L, 485C


line    5:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-gtk/alloc.h" 21L, 485C


line    8:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-gtk/alloc.h" 21L, 485C


line   11:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-gtk/alloc.h" 21L, 485C


line   14:


E342: Out of memory!  (allocating 1025 bytes)


Executing Test_perbuf_efm()
"File1" [New File]

(1 of 1): Line10


Executing Test_qf_free()


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

Executing Test_qf_id()


error list 2 of 3; 0 errors:cexpr ''


error list 2 of 3; 0 errors:lexpr ''


Executing Test_qf_property()


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


Executing Test_qf_title()


Executing Test_quickfix_set_list_with_act()


Executing Test_quickfix_was_changed_by_autocmd()


error list 1 of 2; 1 errors:setqflist()


W19: Deleting augroup that is still in use
error list 1 of 2; 1 errors       :setloclist()


error list 1 of 2; 1 errors:setloclist()


W19: Deleting augroup that is still in use
Executing Test_resize_from_copen()

Executing Test_setexpr()


Executing Test_setqflist()
"Xtestfile" [New File]

(2 of 2):


(3 of 3):


(2 of 2):


(3 of 3):


Executing Test_setqflist_empty_middle()


test_quickfix.vim
"test_quickfix.vim" 2639L, 77130C


(1 of 1): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1vimgrep empty test_quickfix.vim


error list 1 of 3; 1 errors:-1vimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setqflist()


error list 3 of 3; 2 errors:-1vimgrep matches test_quickfix.vim


test_quickfix.vim
(1 of 66): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1lvimgrep empty test_quickfix.vim


error list 1 of 3; 66 errors      :-1lvimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setloclist()


error list 3 of 3; 2 errors:-1lvimgrep matches test_quickfix.vim


Executing Test_setqflist_empty_older()


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1vimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1vimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1vimgrep three test_quickfix.vim


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1lvimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1lvimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1lvimgrep three test_quickfix.vim


Executing Test_switchbuf()
"Xqftestfile1" 20L, 131C220L, 131C1" line 1 of 20 --5%-- col 1


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" line 1 of 20 --5%-- col 1


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C220L, 131C


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16


Already only one window
"Xqftestfile1" 20L, 131C220L, 131C320L, 131C120L, 131C220L, 131C320L, 131C


Already only one window


Already only one window


Executing Test_two_windows()
"one" [New File]two


Executing Test_vimgrep()


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Executing Test_vimgreptitle()


file
"file" [New File]


Cannot open file "file"
"test_quickfix.res" [New File][New] 0L, 0C written


Executed 59 tests
"messages" 669L, 18182C731L, 19984C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quotestar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quotestar.vim" 158 lines, 4650 characters


Executing Test_quotestar()
"test_quotestar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"731L, 19984C737L, 20131C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_retab.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_retab.vim" 77 lines, 3189 characters


Executing Test_retab()


Executing Test_retab_error()


"test_retab.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"737L, 20131C742L, 20222C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_registers.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_registers.vim" 27 lines, 821 characters


Executing Test_yank_shows_register()
1 line yankedinto "z
2 lines yankedinto "z
block of 1 line yanked into "z2 lines yankedinto "z
"test_registers.vim" 27L, 821Cres" [New File][New] 0L, 0C written


Executed 1 test
"messages"742L, 20222C746L, 20301C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_ruby.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_ruby.vim" 51 lines, 1229 characters


Executing Test_ruby_change_buffer()/[?2004h^1


Executing Test_ruby_evaluate_dict()


{"a"=>"foo", "b"=>123}


Executing Test_ruby_evaluate_list()/[?2004h^2
search hit BOTTOM, continuing at TOP


Executing Test_rubydo()
"test_ruby.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"746L, 20301C753L, 20471C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_scrollbind.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_scrollbind.vim" 32 lines, 807 characters


Executing Test_scrollbind()
"test_scrollbind.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"753L, 20471C757L, 20542C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_search.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search.vim" 358 lines, 10339 characters


Executing Test_search_cmdline()/[?2004hfoobar
/[?2004hthe
search hit BOTTOM, continuing at TOP/[?2004hthes
/foobar
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthei
/[?2004htheis
/[?2004htheiss
/[?2004hthemthe\>
Executing Test_search_cmdline2()/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hfoo
6 their

  7 the

  8 them

  9 these

 10 foobar

[No Name] [+]                                                                   " Test for the search command



set belloff=all

func Test_search_cmdline()

  if !exists('+incsearch')

    return

  endif

  " need to disable char_avail,

  " so that expansion of commandline works

  call test_override("char_avail", 1)

  new

  call setline(1, ['  1', '  2 these', '  3 the', '  4 their', '  5 there', '  66 their', '  7 the', '  8 them', '  9 these', ' 10 foobar'])

  " Test 1

  " CTRL-N / CTRL-P skips through the previous search history

  set noincsearch

test_search.vim                                                                 Executing Test_search_cmdline3()/[?2004hthe\~
Executing Test_search_cmdline4()?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM?[?2004hthe
Executing Test_searchc()


Executing Test_searchpair()


Executing Test_use_sub_pat()
"test_search.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"757L, 20542C767L, 20795C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_signs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_signs.vim" 199 lines, 6383 characters


Executing Test_sign()
"foo" [New File]a  b  c xd                                                                                 ~

[No Name] [+]                                                                   " Test for signs



if !has('signs')

  finish

endif

test_signs.vim                                                                  ~                                                                               ~                                                                               ~                                                                               ~                                                                               foo                                                                               a

  b

x c

  d

[No Name] [+]                                                                     a  bx c  d  ~   "foo" [New file] --No lines in buffer--
"barF

Executing Test_sign_completion():[?2004hsign ...define jump list place undefine unplace
:"sign define jump list place undefine unplace
:"
:[?2004hsign define Sign ...icon= linehl= text= texthl=
:"sign define Sign icon= linehl= text= texthl=
:"
:[?2004hsign define Sign linehl=Spell...Bad SpellCap SpellLocal SpellRare
:"sign define Sign linehl=SpellBad SpellCap SpellLocal SpellRare
:"
:[?2004hsign define Sign icon=Xsig...nOne XsignTwo
:"sign define Sign icon=XsignOne XsignTwo
:"
:[?2004hsign undefine ...Sign1 Sign2
:"sign undefine Sign1 Sign2
:"
:[?2004hsign place 1 ...buffer= file= line= name=
:"sign place 1 buffer= file= line= name=
:"
:[?2004hsign place 1 name=...Sign1 Sign2
:"sign place 1 name=Sign1 Sign2
:"
:[?2004hsign unplace 1 ...buffer= file=
:"sign unplace 1 buffer= file=
:"
:[?2004hsign list ...Sign1 Sign2
:"sign list Sign1 Sign2
:"
:[?2004hsign jump 1 ...buffer= file=
:"sign jump 1 buffer= file=
:"


Executing Test_sign_delete_buffer()


Executing Test_sign_invalid_commands()


Executing Test_sign_undefine_still_placed()
"foobar" [New File]test_signs.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"767L, 20795C775L, 21008C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_smartindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_smartindent.vim" 41 lines, 935 characters


Executing Test_nosmartindent()/[?2004hsome
search hit BOTTOM, continuing at TOP


Executing Test_smartindent_has_no_effect()
"test_smartindent.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"775L, 21008C780L, 21127C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_spell.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_spell.vim" 779 lines, 25186 characters


Executing Test_spellreall()


Executing Test_wrap_search()
search hit BOTTOM, continuing at TOP


Executing Test_z_equal_on_invalid_utf8_word()
Change "ÿ" to:

 1 "I"


 2 "W"


 3 "Y"


 4 "A"


 5 "E"


 6 "O"


 7 "U"


 8 "À"


 9 "B"


10 "C"


11 "D"


12 "F"


13 "G"


14 "H"


15 "J"


16 "K"


17 "L"


18 "M"


19 "N"


20 "P"


21 "Q"


22 "R"


Type number and <Enter> or click with mouse (empty cancels): 


Executing Test_zeq_crash()
Change "asd" to:

 1 "Acid"


 2 "Sad"


 3 "Ads"


 4 "And"


 5 "Ask"


 6 "Asp"


 7 "Add"


 8 "Aid"


 9 "Ass"


10 "Ad"


11 "As"


12 "USD"


13 "Ash"


14 "Asst"


15 "Assad"


16 "SSD"


17 "SD"


18 "AMD"


19 "ASB"


20 "ASL"


21 "BSD"


22 "LSD"


Type number and <Enter> or click with mouse (empty cancels): :[?2004h\"Executing Test_zz_NOSLITSUGS()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 8 of 26 nodes; 18 (69%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 90 bytes


4 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_Numbers()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 2 of 15 nodes; 13 (86%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 65 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_affix()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 105 nodes; 86 (81%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 87 nodes; 68 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_basic()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_compound()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 29 nodes; 23 (79%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 115 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_prefixes()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 98 nodes; 88 (89%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 505 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_sal_and_addition()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 241 bytes


Reading word file Xtest.latin1.add ...


Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.latin1.add.spl ...


Done!


Estimated runtime memory use: 145 bytes/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP
"test_spell.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [converted] 780L, 21127C[converted] 794L, 21503C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup.vim" 265 lines, 7013 characters


Executing Test_after_comes_later()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l1: /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xbefore.vim


  2: /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xhere/plugin/here.vim


  3: /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xanother/plugin/another


.vim


  4: /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xhere/pack/foo/start/fo


obar/plugin/foo.vim


  5: /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xafter/plugin/later.vim


  6: /<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xafter.vim


here another pack after
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_compatible_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25lError detected while processing /<<PKGBUILDDIR>>/src/vim-gtk/test


dir/Xafter.vim:


line    2:


E528: Must specify a ' value: viminfo+=nviminfo
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_default_term()[?2004l[?2004h


Executing Test_file_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l3 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l2 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l4 files to edit
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_help_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_pack_in_rtp_when_plugins_run()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_progpath()


Executing Test_read_stdin()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 1 line, 10 characters[?2004h[?12h[?12l"Xtestout" [New File] 1 line, 10 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_silent_ex_mode()[?2004l[?2004h


Executing Test_startup_script()[?1000h


Executing Test_startuptime()[?2004l[?1l>[?25h[?1049l[?1000l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?1000h[?2004h[?1049h[?1h=[?2004h[?25l"test_startup.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" 794L, 21503C808L, 21889C written
[?1000l[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup_utf8.vim" 64 lines, 1366 characters


Executing Test_read_fifo_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"/dev/fd/63" [readonly] 2 lines, 24 characters


"Xtestout" [New File] 2 lines, 24 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_read_stdin_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 2 lines, 24 characters[?2004h[?12h[?12l"Xtestout" [New File] 2 lines, 24 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h[?25l"test_startup_utf8.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"808L, 21889C813L, 22000C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_stat.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_stat.vim" 92 lines, 2287 characters


Executing Test_checktime()
"Xtest.tmp" 1L, 13C[?25h[?2004l[?2004h[?25l1L, 25C


Executing Test_existent_directory()


Executing Test_existent_file()


Executing Test_nonexistent_file()


Executing Test_win32_symlink_dir()
"test_stat.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"813L, 22000C821L, 22201C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_substitute.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_substitute.vim" 296 lines, 12358 characters


Executing Test_multiline_subst()


search hit BOTTOM, continuing at TOP
3 substitutions on 3 lines

3 substitutions on 2 lines


Executing Test_sub_replace_1()


Executing Test_sub_replace_10()


Executing Test_sub_replace_2()


Executing Test_sub_replace_3()


Executing Test_sub_replace_4()


Executing Test_sub_replace_5()


Executing Test_sub_replace_6()


Executing Test_sub_replace_7()


Executing Test_sub_replace_8():[?2004hs/\(^\|,\)\ze\(,\|Y\)/\1N/gc
N,,NX

,,Y

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       replace with \1N (y/n/a/q/l/^E/^Y)?:[?2004hs/\(^\|,\)\ze\(,\|Z\)/\1N/gc
N,,NY

,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?N,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?Executing Test_sub_replace_9():[?2004hs/x/X/gc
xxx~                                                                               ~                                                                               replace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Executing Test_substitute_repeat()
"Xfile" [New File]Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sc


x

[?25l^[?25hy


[?25lxx


Executing Test_substitute_variants():[?2004hs/Test/test/c
Testing string

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               replace with test (y/n/a/q/l/^E/^Y)?:[?2004hsc
replace with test (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ce
:[?2004hsce
:[?2004hs/t/r/cg
Tesreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscg
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/ci
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsci
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cI
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscI
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cn
1 match on 1 line:[?2004hscn
1 match on 1 line:[?2004hs/t/r/cp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hscp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hs/t/r/cl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hscl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hs/t/r/gc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hsgc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ge
:[?2004hsge
:[?2004hs/t/r/g
:[?2004hsg
:[?2004hs/t/r/gi
3 substitutions on 1 line:[?2004hsgi
3 substitutions on 1 line:[?2004hs/t/r/gI
:[?2004hsgI
:[?2004hs/t/r/gn
2 matches on 1 line:[?2004hsgn
2 matches on 1 line:[?2004hs/t/r/gp
Tesring srring$:[?2004hsgp
Tesring srring$:[?2004hs/t/r/gl
Tesring srring$:[?2004hsgl
Tesring srring$:[?2004hs//r/gr
:[?2004hsgr
:[?2004hs/t/r/ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsic
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ie
:[?2004hsie
:[?2004hs/t/r/i
:[?2004hsi
:[?2004hs/t/r/iI
:[?2004hsiI
:[?2004hs/t/r/in
1 match on 1 line:[?2004hsin
1 match on 1 line:[?2004hs/t/r/ip
resting string$:[?2004hsip
resting string$:[?2004hs//r/ir
:[?2004hsir
:[?2004hs/t/r/Ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsIc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/Ie
:[?2004hsIe
:[?2004hs/t/r/Ig
:[?2004hsIg
:[?2004hs/t/r/Ii
:[?2004hsIi
:[?2004hs/t/r/I
:[?2004hsI
:[?2004hs/t/r/Ip
Tesring string$:[?2004hsIp
Tesring string$:[?2004hs/t/r/Il
Tesring string$:[?2004hsIl
Tesring string$:[?2004hs//r/Ir
:[?2004hsIr
:[?2004hs//r/rc
tingreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsrc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs//r/rg
:[?2004hsrg
:[?2004hs//r/ri
:[?2004hsri
:[?2004hs//r/rI
:[?2004hsrI
:[?2004hs//r/rn
1 match on 1 line:[?2004hsrn
1 match on 1 line:[?2004hs//r/rp
Testr string$:[?2004hsrp
Testr string$:[?2004hs//r/rl
Testr string$:[?2004hsrl
Testr string$:[?2004hs//r/r
:[?2004hsr
"test_substitute.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 821L, 22201C837L, 22662C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_syntax.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_syntax.vim" 522 lines, 14436 characters


Executing Test_bg_detection()


Executing Test_conceal()123456

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X 6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1XY6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 16

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 Executing Test_highlight_invalid_arg()


Executing Test_invalid_name()


Error detected while processing function RunTheTest[24]..Test_invalid_name:


line    4:


W18: Invalid character in group name


Executing Test_ownsyntax()
"Xfoo" [New File]

2 buffers wiped out


Executing Test_ownsyntax_completion():[?2004hownsyntax java... javacc javascript
:"ownsyntax java javacc javascript
:"


Executing Test_syn_clear()


Executing Test_syn_iskeyword()CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


syntax iskeyword @,48-57,_,192-255CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


Executing Test_syn_sync()


Executing Test_synstack_synIDtrans()


Executing Test_syntax_after_reload()
"Xsomefile" [New File][New] 2L, 12C written
"other" [New File]Xsomefile" 2L, 12C


Executing Test_syntax_arg_skipped()


Executing Test_syntax_completion():[?2004hsyn ...case clear cluster conceal enable include iskeyword keyword list manual ma


tch off on region reset spell sync"syn case clear cluster conceal enable include iskeyword keyword list manual match off on region reset spell sync
:[?2004hsyn case ...ignore match
:"syn case ignore match
:"
:[?2004hsyn spell ...default notoplevel toplevel
:"syn spell default notoplevel toplevel
:"
:[?2004hsyn sync ...ccomment clear fromstart linebreaks= linecont lines= match maxlines=


minlines= region"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region
:[?2004hsyn list ...Aap Boolean Character ColorColumn Comment Conceal Conditional Constan


tCursor CursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd Dif


fChange DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float


FoldColumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include K


eyword Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number "syn list Aap Boolean Character ColorColumn Comment Conceal Conditional Constant Cursor CursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd Di

fChange DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float FoldColumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include Keyword Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number
:[?2004hsyn list ...Boolean Character ColorColumn Comment Conceal Conditional Constant Cu
:"syn list Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"
:[?2004hsyn match ...Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"syn match Boolean Character ColorColumn Comment Conceal Conditional Constant 
:"


Executing Test_syntax_hangs()aaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

thereXsomefileaaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

there

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xsomefile                                                                       Executing Test_syntax_invalid_arg()


Executing Test_syntax_list()
"../memfile_test.c" [readonly] 143L, 3142C


--- Syntax items ---




--- Syntax items ---


"Xsomefile" [New File]


Executing Test_syntime()
"../memfile_test.c" [readonly] 143L, 3142C/* vi:set ts=8 sts=4 sw=4 noet:

 *

 * VIM - Vi IMproved    by Bram Moolenaar

 *

 * Do ":help uganda"  in Vim to read copying and usage conditions.

 * Do ":help credits" in Vim to see a list of people who contributed.

 * See README.txt for an overview of the Vim source code. *//* * memfile_test.c: Unittests for memfile.c * Mostly by Ivan Krasilnikov. */#undef NDEBUG#include <assert.h>/* Must include main.c because it contains much more than just main() */#define NO_VIM_MAIN#include "main.c"/* This file has to be included because the tested functions are static */#include "memfile.c""Xsomefile" [New File]
"test_syntax.res" [New File][New] 0L, 0C written


Executed 17 tests
"messages" 837L, 22662C857L, 23241C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_system.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_system.vim" 92 lines, 2923 characters


Executing Test_System()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"Xdummy" [New File][?2004l[?2004h[?2004l[?2004h[?2004l[?2004h

Executing Test_system_exmode()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"test_system.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"857L, 23241C862L, 23336C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_tcl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_tcl.vim" 23 lines, 471 characters


Executing Test_tcldo()
"test_tcl.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"862L, 23336C866L, 23395C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal.vim" 678 lines, 17334 characters


Executing Test_finish_open_close()


This will take five seconds...[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25lExecuting Test_terminal_basic()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_curwin()
"dummy" [New File]file] --No lines in buffer--


"dummy" [Modified][New file] line 1 of 1 --100%-- col 1


"dummy" [New File]


Executing Test_terminal_cwd()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_env()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_hide_buffer()
"17buf" [New File][?25h[?2004l[?2004h

[?25lExecuting Test_terminal_list_args()


Executing Test_terminal_make_change()[?25h[?2004l[?2004h


[?25l1 change; before #1  0 seconds ago


Executing Test_terminal_nasty_cb()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_no_cmd()


Executing Test_terminal_noblock()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_redir_file()[?2004l[?2004h[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_123()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_multibyte()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scroll()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_size()


Executing Test_terminal_special_chars()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_split_quit()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_tmap()]12;[2 q[?25h]12;[?2004l[?2004h]12;[2 q]12;[?2004l[?2004h


[?25lExecuting Test_terminal_wipe_buffer()


[?25h[?2004l[?2004h[?25lExecuting Test_terminal_write_stdin()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_wrong_options()


Executing Test_zz_terminal_in_gui()
"test_terminal.res" [New File][New] 0L, 0C written


Executed 23 tests
"messages" 866L, 23395C892L, 24253C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal_fail.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal_fail.vim" 21 lines, 627 characters


Executing Test_terminal_redir_fails()[?2004l[?2004h[?25h[?25l
"test_terminal_fail.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"892L, 24253C896L, 24337C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_textobjects.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_textobjects.vim" 54 lines, 1127 characters


Executing Test_inner_block_with_cpo_M_left_backslash()


Executing Test_inner_block_with_cpo_M_right_backslash()


Executing Test_inner_block_without_cpo_M()


Executing Test_quote_selection_selection_exclusive()
"test_textobjects.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"896L, 24337C903L, 24589C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_undo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_undo.vim" 276 lines, 7228 characters


Executing Test_U_command()global_local_undolevels()
"one" [New File]

6 fewer lines; before #8  0 seconds ago
"two" [New File]

3 fewer lines; before #11  0 seconds ago
"three" [New File]

Executing Test_insert_expr()=[?2004hsetline('.','1234')
1 line less; before #4  0 seconds ago3=[?2004hsetline('.','1234')
1 line less; before #7  0 seconds ago=[?2004hstring(123)
1 line less; before #9  0 seconds ago


Executing Test_undo_del_chars()
1 change; before #3  0 seconds ago21


1 change; before #6  1 seconds ago5
4s; after #3
1; before #21


3 changes; after #6  1 seconds agobefore #7  0 seconds ago


3 changes; before #1  3 seconds ago


3 changes; after #6  3 seconds ago


3 changes; after #9  0 seconds ago


Executing Test_undo_write()
"Xtest" [New File][New] 1L, 12C written3L, 20C written
1 line less; before #4  0 seconds ago


2 fewer lines; before #2  0 seconds ago


1 line less; before #1  0 seconds ago


1 more line; after #1  0 seconds ago


2 more lines; after #3  0 seconds ago


1 more line; after #4  0 seconds ago


Executing Test_undofile_earlier()
"Xfile" [New File][New] 3L, 14C written3L, 14C


Finished reading undo file Xundofile


3 fewer lines; before #1  2017/09/29 18:37:33


Executing Test_undojoin()
1 line less; before #2  0 seconds ago
2 fewer lines; before #3  0 seconds ago


Executing Test_undojoin_redo():[?2004hundojoin | redo
Already at newest change


Executing Test_undolist()
1 change; before #2  0 seconds ago
Executing Test_undotree()

1 change; before #2  0 seconds ago
"Xtest" [New] 1L, 4C written
"test_undo.res" [New File][New] 0L, 0C written


Executed 10 tests
"messages" 903L, 24589C916L, 24928C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_usercommands.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_usercommands.vim" 209 lines, 6183 characters


Executing Test_Ambiguous()


Executing Test_CmdCompletion():[?2004hcom -...addr bang bar buffer complete count nargs range register
:"com -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=0 -...addr bang bar buffer complete count nargs range register
:"com -nargs=0 -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=...* + 0 1 ?
:"com -nargs=* + 0 1 ?
:"
:[?2004hcom -addr=...arguments buffers lines loaded_buffers quickfix tabs windows
:"com -addr=arguments buffers lines loaded_buffers quickfix tabs windows
:"
:[?2004hcom -complete=co...lor command compiler
:"com -complete=color command compiler
:"
:[?2004hcom ...DoCmd1 DoCmd2
:"com DoCmd1 DoCmd2
:"
:[?2004hDoC...md1 DoCmd2
:"DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md1 DoCmd2
:"delcom DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md2
:"delcom DoCmd2
:"
:[?2004hcom DoC...md2
:"com DoCmd2
:"
:[?2004hdelcom DoC...
:"delcom DoC
:"
:[?2004hcom DoC...
:"com DoC
:"
:[?2004hDoCmd ...mswin xterm
:"DoCmd mswin xterm
:"
:[?2004hDoCmd ...January February Mars
:"DoCmd January February Mars
:"
:[?2004hDoCmd ...Monday Tuesday Wednesday
:"DoCmd Monday Tuesday Wednesday
:"
:[?2004hDoCmd 


:DoCmd :[?2004hDoCmd 


:DoCmd Executing Test_CmdErrors()


Executing Test_CmdUndefined()


Executing Test_cmdmods()
"test_usercommands.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"916L, 24928C924L, 25114C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_viminfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_viminfo.vim" 515 lines, 13492 characters


Executing Test_cmdline_history()


Executing Test_cmdline_history_order()


Executing Test_global_vars()


Executing Test_viminfo_bad_syntax()


Executing Test_viminfo_encoding()
"Xviminfo" [converted] 73L, 3414C


Executing Test_viminfo_file_mark_tabclose()
"Xtestfileintab" [New File]viminfo" 83L, 3589C


Executing Test_viminfo_file_mark_zero_time()


Executing Test_viminfo_file_marks()
"ten" [New File]again" [New File]
"thirty" [New File]
"twen
"again" [New File]fourty" [New File]
"Xviminfo" 90L, 3387C


Executing Test_viminfo_jumplist()
"testbuf" [New File]/[?2004h20
/[?2004h30
/[?2004hlast pos
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere


Executing Test_viminfo_marks()
"bufa" [New File]b


Executing Test_viminfo_oldfiles()


Executing Test_viminfo_read_and_write()


Executing Test_viminfo_registers()
"test_viminfo.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 924L, 25114C940L, 25626C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_vimscript.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_vimscript.vim" 1448 lines, 36110 characters


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk/test


dir/test_vimscript.vim:


line  432:


E492: Not an editor command: ^Iasdf


line  444:


E492: Not an editor command: ^Iasdf


line  452:


E492: Not an editor command: asdf


line  455:


E492: Not an editor command: asdf | Xpath 'p'


Error detected while processing function T8_F:


line    5:


E492: Not an editor command: ^I    asdf


line    7:


E492: Not an editor command: ^I    asdf | Xpath 'd'


line   19:


E492: Not an editor command: ^I    asdf


line   21:


E492: Not an editor command: ^I    asdf | Xpath 'l'


line   29:


E121: Undefined variable: novar


E15: Invalid expression: novar^I^I" returns (default return value 0)


Error detected while processing function T8_G:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function T8_H:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function F[2]..G[2]..H[2]..I:


line    2:


E492: Not an editor command:     asdf^I^I" error


Error detected while processing /<<PKGBUILDDIR>>/src/vim-gtk/test


dir/test_vimscript.vim:


line  663:


E15: Invalid expression: | strlen("\"") | Xpath 'j'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'j'


line  673:


E15: Invalid expression: | strlen("\"") | Xpath 'n'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'n'


line  682:


E15: Invalid expression: | strlen("\"") | Xpath 'r'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'r'


line  717:


E492: Not an editor command:     asdf^I^I" error


1

line  787:


E492: Not an editor command:     asdf^I^I" error


line  794:


E492: Not an editor command:     asdf^I^I" error


line  817:


E121: Undefined variable: asdf


E15: Invalid expression: asdf


line  828:


E121: Undefined variable: asdf


E15: Invalid expression: asdf | Xpath 'f' | endwhile | Xpath 'g'


Error detected while processing function F:


line    8:


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar^I" possibly undefined


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar | Xpath 'd' | else | Xpath 'e' | endif


Executing Test_arg_abort()


Executing Test_bitwise_functions()


Executing Test_braces_skipped()


Executing Test_curlies()


Executing Test_defining_functions()


Executing Test_delfunction_force()


Executing Test_echo_and_string()


foo bar


'foo bar'


-1.2


-1.2


string


function('string')


{'a': {...}}


{'a': {...}}


[[...]]


[[...]]


[{}, {}, {}]


[{}, {}, {}]


{'a': {}, 'b': {}}


{'a': {}, 'b': {}}


[[], [], []]


[[], [], []]


{'a': [], 'b': []}


{'a': [], 'b': []}


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {...}, {...}]


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {'one': 'yes', 'two': 'yes', 'th


ree': 'yes'}, {'one': 'yes', 'two': 'yes', 'three': 'yes'}]


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {...}}


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {'one': 'yes', 'two':


'yes', 'three': 'yes'}}


[[1, 2, 3], [...], [...]]


[[1, 2, 3], [1, 2, 3], [1, 2, 3]]


{'a': [1, 2, 3], 'b': [...]}


{'a': [1, 2, 3], 'b': [1, 2, 3]}


Executing Test_endfunction_trailing()


W22: Text found after :endfunction: garbage
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Executing Test_endwhile_function()


Executing Test_endwhile_script()


   function T1_F()


1      Xpath 'a'


2      let first = 1


3      while 1


4Xpath 'b'


5if first


6Xpath 'c'


7let first = 0


8break


9else


10Xpath 'd'


11return


12endif


13     endwhile


   endfunction"/tmp/vBOyRTe/0" [noeol] 16L, 299C

13 substitutions on 13 lines

Pattern not found: ^\s*$
"/tmp/vBOyRTe/0" 13L, 248C written
"test_vimscript.vim" 1448L, 36110C

   function T1_G()

1      Xpath 'h'

2      let first = 1

3      while 1

4Xpath 'i'

5if first

6Xpath 'j'

7let first = 0

8break

9else

10Xpath 'k'

11return


12endif


13if 1    " unmatched :if


14     endwhile


   endfunction"/tmp/vBOyRTe/1" [noeol] 17L, 334C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/vBOyRTe/1" 14L, 281C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_error_in_function()

Executing Test_error_in_script()

Executing Test_expr_parsing()

Executing Test_finish()

   function T4_F()

1      if 1

2Xpath 'a'

3let loops = 3

4while loops > 0"    3:  2:     1:

5Xpath 'b' . loops

6if (loops == 2)

7Xpath 'c' . loops

8return


9Xpath 'd' . loops


10endif


11Xpath 'e' . loops


12let loops = loops - 1


13endwhile


14Xpath 'f'


15     else


16Xpath 'g'


17     endif


   endfunction"/tmp/vBOyRTe/2" [noeol] 20L, 504C

17 substitutions on 17 lines

Pattern not found: ^\s*$
"/tmp/vBOyRTe/2" 17L, 445C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_func_abort()

Executing Test_if_bar_fail()

Executing Test_if_fail()

Executing Test_if_while()

Executing Test_num64()

Executing Test_return()

Executing Test_script_emty_line_continuation()

Executing Test_script_lines()

Executing Test_script_local_func():[?2004hcall <SNR>5_DoNothing()|call <SNR>5_DoLast()|delfunc <SNR>5_DoNothing|delfunc <SNR>5_DoLast


Executing Test_skip()

Executing Test_type()

Executing Test_user_command_with_bang()

Executing Test_while_fail()
"test_vimscript.res" [New File][New] 0L, 0C written

Executed 27 tests
"messages" 940L, 25626C970L, 26500C written

[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_visual.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_visual.vim" 93 lines, 1991 characters


Executing Test_Visual_ctrl_o():[?2004hset tw=88


Executing Test_Visual_inner_quote()


Executing Test_Visual_vapo()


Executing Test_block_shift_multibyte()


Executing Test_block_shift_overflow()


Executing Test_dotregister_paste()


Executing Test_visual_mode_reset():[?2004h'<,'>call TriggerTheProblem()
"test_visual.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"970L, 26500C980L, 26783C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_winbar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_winbar.vim" 23 lines, 426 characters


Executing Test_add_remove_menu():[?2004hlet g:did_next = 11
:[?2004hlet g:did_cont = 12


"test_winbar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"980L, 26783C984L, 26855C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_window_id.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_window_id.vim" 103 lines, 2714 characters


Executing Test_win_getid()
"one" [New File]twohree" [New File]
"four" [New File]ive


Executing Test_win_getid_curtab()
"X" [New File]test_window_id.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"984L, 26855C989L, 26959C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_windows_home.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_windows_home.vim" 121 lines, 3249 characters
"test_windows_home.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"989L, 26959C992L, 27004C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_writefile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_writefile.vim" 51 lines, 1496 characters


Executing Test_writefile()


Executing Test_writefile_fails_conversion()
"Xfile" 2L, 18C

WARNING: Original file may be lost or damaged


don't quit the editor until the file is successfully written!


Executing Test_writefile_fails_gently()


"test_writefile.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"992L, 27004C998L, 27158C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_latin.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_latin.vim" 7 lines, 280 characters


Executing Test_backref()


Executing Test_eow_with_optional()


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_nested_backrefs()


Executing Test_recursive_substitute()
"test_alot_latin.res" [New File][New] 0L, 0C written


Executed 6 tests
"messages"[converted] 998L, 27158C[converted] 1007L, 27399C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_utf8.vim" 15 lines, 542 characters[?2004l[?1l>[?25h[?1049lExecuting Test_classes_re1()


Executing Test_classes_re2()


Executing Test_comparisons()


Executing Test_customlist_completion():Test1 ...
:"Test1
:"
:Test2 ...あた
:"Test2 あた
:"
:Test3 ...N
:"Test3 N
:"


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_gap()etvcol()


Executing Test_large_class()


Executing Test_match_using_multibyte_conceal_char()#ˑThisˑisˑaˑTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " A series of tests that can run in one Vim invocation.

" This makes testing go faster, since Vim doesn't need to restart.



" These tests use utf8 'encoding'.  Setting 'encoding' is already done in

" runtest.vim.  Checking for the multi_byte feature is in the individual

" files, so that they can be run by themselves.



set belloff=all

source test_charsearch_utf8.vim

source test_expr_utf8.vim

test_alot_utf8.vim                                                              Executing Test_reversed_range()


Executing Test_search_cmds()


Executing Test_source_latin()
"Xscript"[New] 2L, 44C written
Executing Test_source_utf8()"Xscript"[New] 2L, 42C written:%s/àx/--à1234--/g
:%s/Àx/--À1234--/g


Executing Test_strcharpart()


Executing Test_strchars()


Executing Test_strgetchar()


Executing Test_visual_block_insert()
"test_alot_utf8.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 1007L, 27399C1028L, 28002C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot.vim" 62 lines, 1523 characters


Executing Test_abbr_after_line_join()


Executing Test_abbreviation()s()

Executing Test_acos()


Executing Test_asin()


Executing Test_atan()


Executing Test_atan2()


Executing Test_auto_partial_rebind()


Executing Test_balloon_show()


Executing Test_bind_in_python()


Executing Test_break_undo()ufexists()"Xfoo" [New File]

Executing Test_byte2line_line2byte()


Executing Test_cancel_ptjump()


Already only one window:[?2004hptjump word
  # pri kind tagfile


  1 Fwordfile1


cmd1


  2 Fwordfile2


cmd2


Type number and <Enter> (empty cancels): 
"help.txt" [readonly] 225L, 8437C


Executing Test_caught_error_in_statusline()source test_reltime.vim

source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



                                                                                Executing Test_caught_error_in_tabline()                                                                                source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



test_alot.vim                                                                   Executing Test_cd_large_path()


Executing Test_cd_up_and_down()


Executing Test_ceil()


Executing Test_changedtick_bdel()


Executing Test_changedtick_dict_entry()


Executing Test_changedtick_fixed()


Executing Test_changedtick_increments()


1 line less; before #1  0 seconds ago


Executing Test_changedtick_islocked()


Executing Test_changenr()
"Xchangenr" [New File]

1 change; before #2  0 seconds ago


1 change; after #2  0 seconds ago


Executing Test_close_on_quitpre()
"tab1" [New File]2est_alot.vim" 62L, 1523C


Executing Test_closure_counter()


Executing Test_closure_refcount()


Executing Test_closure_unlet()


Executing Test_col()


Executing Test_color_names()


Executing Test_compare_null_dict()


Executing Test_compare_partials()


Executing Test_compl_vim_cmds_after_register_expr()=[?2004hs:test_func()
 AAAAA_Group             tBufAdd                  BufCreate               BufDelete               BufEnter                BufFilePost             BufFilePre              BufHidden               BufLeave                BufNew                  BufNewFile              BufRead                 BufReadCmd              BufReadPost             BufReadPre              BufUnload               BufWinEnter             BufWinLeave             BufWipeout              BufWrite                BufWriteCmd             BufWritePost           

match 1 of 92

Executing Test_complete_CTRLN_startofbuffer()organize       

cupboard       match 2prioritize     

bureau         Scanning: test_alot.vimab2 tags.
match 2 of 90cupboard.organize(3, 2);

bureauprioritize(bureau, 8, 7);

realize(bannister, 4, 4);

moralize(railing, 3,9);

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

test_alot.vim                                                                   prioritize                          

bureau                              

realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

series              test_alot.vim   

ofo                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   

testing             test_alot.vim   



realize        

bannister      Scanning: test_alot.vimab2 tags.
match 2 of 90.prioritize(8, 7);bannisterrealize(bannister, 4, 4);moralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

seriesm              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   moralize       

railing        Scanning: test_alot.vimab2 tags.
match 2 of 90.realize(4, 4);railingmoralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

bannister                           

realizee                             

series              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   Executing Test_complete_func_mess()Jan~                                                                               ~                                                                               ~                                                                               ~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       match 1 of 3
Oct

Oct            

Nov            

Dec            Oct

~              

~              

~              Oct            

Nov            

Dec            

Executing Test_complete_no_undo()=[?2004hUndoComplete()
match 1 of 12xxx

aaayyy~              January        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       1 change; before #2  0 seconds ago=[?2004hUndoComplete()
match 1 of 12
bbb

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       

January        1 change; before #4  0 seconds ago=[?2004hUndoComplete()
match 1 of 12

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December           
January



~              

~              

~              

~              

~              

~              

~              

~              February       

March          

April          

May            

June           

July           

August         

September      January        1 change; before #5  0 seconds ago


Executing Test_completefunc_opens_new_window_one()


search hit BOTTOM, continuing at TOP
Pattern not found

Executing Test_completefunc_opens_new_window_two()


search hit BOTTOM, continuing at TOPExecuting Test_completefunc_with_scratch_buffer()January        

February  

March   

April    

May      January        

February       match 2 of 5info2-1

2-2

2-3



February

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vimJanuary        

February       

March          

April          

May            



[Scratch]                                                                       test_alot.vim                                                                   [Scratch] [Preview]                                                             [Scratch]                                                                       match 3 of 5
March~              

~              

~              

~              

~              January        

February       

March          

April          

May            3

3

3[Scratch]                                                                        [Scratch]                                                                       February       

March          4
April

~              

~              

~              

~              

~              January        

February       

March          

April          

May            4

4

4[Scratch]                                                                        [Scratch]                                                                       March          

April          

Executing Test_completefunc_works()


search hit BOTTOM, continuing at TOPthreedef       

threeDEF       threedef       

threeDEF       match 2 of 2
threeDEF

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~              

~              

~              

~              

~              threedef       

threeDEF       

Executing Test_completion_can_undo()=[?2004hCompleteUndo()
match 1 of 12~              

~              No Name]January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       

1 line less; before #1  0 seconds ago


Executing Test_completion_clear_candidate_list()
Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~                                                                               ~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tabHello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          match 1 of 2
Hello~              

~              Hello          

World          Hello          

Executing Test_completion_comment_formatting()Executing Test_completion_ctrl_e_without_autowrap()
match 1

Executing Test_completion_respect_bs_option()
Back at originalBack at original

Executing Test_conf_type()
"Xfile" 2L, 28C


Executing Test_cos()


Executing Test_cosh()


Executing Test_count()


Executing Test_cursorline_keep_col()


Executing Test_curswant_with_autocommand()


Executing Test_cycle_partial_job()


Executing Test_cyclic_dict_arg()


Executing Test_cyclic_list_arg()


Executing Test_delete_myself()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_detection()
"something.vim" [New File]


Executing Test_dict()


Executing Test_dir_delete()


Executing Test_duplicate_tagjump()
"Xfile1" [New File][New] 3L, 38C written


tag 2 of 3
tag 3
Executing Test_empty()


Executing Test_empty_buffer()


Executing Test_empty_concatenate()


Executing Test_equal()


Executing Test_equalalways_on_close()


Executing Test_ex_mode()
Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sleep 100m


[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h:vi




[?25lExecuting Test_ex_undo()
"ex-undo" [New File]

1 line less; before #3  0 seconds ago


1 line less; after #1  0 seconds ago


2 fewer lines; before #1  0 seconds ago


Executing Test_execute_list()


Executing Test_execute_string()


this


theend


something


Executing Test_existing()


Executing Test_exp()


Executing Test_expand()


Executing Test_feedkeys_x_with_empty_string()ile_delete()"Xfile" [New File][New] 2L, 4C written


Executing Test_file_perm()


Executing Test_fileformat_after_bw()
"tab2" [New File]ex-undo" [New File]


Executing Test_fileformat_autocommand()
"Xfile" [CR missing][dos] 8L, 39C


Executing Test_filetype_detection()
"file.slt" [New File]uil
"/etc/slp.reg" [New File]
"file.sa" [New File]sbclrc" [New File].sbclrc" [New File]
"file.fal" [New File]drac" [New File]c" [New File]lvs" [New File]pe
".reminders" [New File]
"file.remind" [New File]" [New File]x" [New File]m2" [New File]i
"/etc/dnsmasq.conf" [New File]
"file.feature" [New File]odl" [New File]mof
".gdbinit
".gtkrc" [New File]gtkrc" [New File]file.ave" [New File]st" [New File]cala" [New File]
"/etc/man.conf" [New File]
"man.config" [New File]file.plx" [New File]al" [New File]psgi" [New File]
"gitolite.rc" [New File]
".gitolite.rc" [New File]
"example.gitolite.rc" [New File]
"file.lss" [New File]git-rebase-todo" [New File]
"file.dcd" [New File].inputrc
"inputrc" [New File]file.sci" [New File]edesktop" [New File]
".directory" [New File]/etc/elinks.conf" [New File]
"/.elinks/elinks.conf" [New DIRECTORY]
"texmf.cnf" [New File]file.abc" [New File]strl" [New File]mt" [New File]ith" [New File]lot" [New File]os" [New File]sqlj" [New File]/boot/grub/menu.lst" [New DIRECTORY]grub.conf" [New DIRECTORY]
"/etc/grub.conf" [New File]file.v" [New File]hog" [New File]
"snort.conf" [New File]
"vision.conf" [New File]
"file.sst" [New File]mi-sst" [New File]_sst.meta" [New File]-sst.meta" [New File]_
"/etc/apt/sources.list" [readonly] 2L, 104C.d/file.list" [New File]
"file.page" [New File]ecd" [New File]mchrefimp
"enlightenment/file.cfg" [New DIRECTORY]
"file.qc" [New File]c" [New File]ec" [New File]EClite" [New File]t" [New File]php" [New File]9" [New File]tml" [New File]ctp" [New File].cvsrc" [New File]file.ijs" [New File]
"fdrupstream.log" [New File]
"upstream.log" [New File]UPSTREAM.LOG
"upstream.file.log" [New File]
"UPSTREAM.FILE.LOG
"file.upstream.log
"FILE.UPSTREAM.LOG
"UPSTREAM-file.logFILE.LOG
"file.haml" [New File].screenrc
"screenrc" [New File]file.riboramglrcpmghex32
".mailcap
"mailcap" [New File].pinerc
"pinerc" [New File].pinercex" [New File]
"pinercex" [New File]file.occ
"/etc/a2ps.cfg" [New File]/file.cfg" [New DIRECTORY]
"a2psrc" [New File].a2psrc" [New File]
".procmail" [New File]rc" [New File]
"file.ttl" [New File]anyXmodmap" [New File]
"file.s19" [New File]2837motsrec" [New File]edf" [New File]if" [New File]o" [New File].Xdefaults" [New File]
".Xpdefaults" [New File]
".Xresource
"xdm-config" [New File]file.ad" [New File]squid.conf" [New File]
"file.lid" [New File]pf.conf" [New File]file.awk" [New File]tr" [New File]nroff" [New File]tmacmom" [New File]wrl
"catalog" [New File]file.lhs" [New File]proto" [New File]aml" [New File]kv" [New File]less" [New File]
"namedfile.conf" [New File]
"rndcfile.conf" [New File]file.gretl" [New File]stp" [New File]/etc/initng/any/file.i" [New DIRECTORY]
"file.ii" [New File]bat" [New File]syspsf
"denyhosts.conf" [New File]
"/etc/login.access" [New File]
"mrxvtrc" [New File].mrxvtrc" [New File]
"file.cdlrtfxpmldif" [New File]abl" [New File]p6" [New File]m6" [New File]ltssop" [New File]
"file,v" [New File].ml" [New File]i" [New File]ly
".ocamlinit" [New File]
"file.erl" [New File]hyaws" [New File]pod6
"/log/authDIRECTORY]crondaemon" [New DIRECTORY]ebug" [New DIRECTORY]kern" [New DIRECTORY]lpr" [New DIRECTORY]mail" [New DIRECTORY]essages" [New DIRECTORY]news/news" [New DIRECTORY]syslog" [New DIRECTORY]user" [New DIRECTORY]auth.log" [New DIRECTORY]crondaemon.log" [New DIRECTORY]ebug.log" [New DIRECTORY]kern.log" [New DIRECTORY]lpr.log" [New DIRECTORY]mail.log" [New DIRECTORY]essages.log" [New DIRECTORY]news/news.log" [New DIRECTORY]syslog.log" [New DIRECTORY]user.log" [New DIRECTORY]auth.errcrondaemon.err" [New DIRECTORY]ebug.err" [New DIRECTORY]kern.err" [New DIRECTORY]lpr.err" [New DIRECTORY]mail.err" [New DIRECTORY]essages.err" [New DIRECTORY]news/news.err" [New DIRECTORY]syslog.err" [New DIRECTORY]user.err" [New DIRECTORY]auth.info" [New DIRECTORY]crondaemon.info" [New DIRECTORY]ebug.info" [New DIRECTORY]kern.info" [New DIRECTORY]lpr.info" [New DIRECTORY]mail.info" [New DIRECTORY]essages.info" [New DIRECTORY]news/news.info" [New DIRECTORY]syslog.info" [New DIRECTORY]user.info" [New DIRECTORY]auth.warncrondaemon.warn" [New DIRECTORY]ebug.warn" [New DIRECTORY]kern.warn" [New DIRECTORY]lpr.warn" [New DIRECTORY]mail.warn" [New DIRECTORY]essages.warn" [New DIRECTORY]news/news.warn" [New DIRECTORY]syslog.warn" [New DIRECTORY]user.warn" [New DIRECTORY]auth.critcrondaemon.crit" [New DIRECTORY]ebug.crit" [New DIRECTORY]kern.crit" [New DIRECTORY]lpr.crit" [New DIRECTORY]mail.crit" [New DIRECTORY]essages.crit" [New DIRECTORY]news/news.crit" [New DIRECTORY]syslog.crit" [New DIRECTORY]user.crit" [New DIRECTORY]auth.notice" [New DIRECTORY]crondaemon.notice" [New DIRECTORY]ebug.notice" [New DIRECTORY]kern.notice" [New DIRECTORY]lpr.notice" [New DIRECTORY]mail.notice" [New DIRECTORY]essages.notice" [New DIRECTORY]news/news.notice" [New DIRECTORY]syslog.notice" [New DIRECTORY]user.notice" [New DIRECTORY]file.xsd" [New File]/.gnupg/options" [New DIRECTORY]gpg.conf" [New DIRECTORY]
"/usr/any/gnupg/options.skel" [New DIRECTORY]
"file.bdf" [New File]/etc/services" [New File]
"file.ice" [New File]mu" [New File]fsl" [New File]t.html" [New File]n1ql" [New File]ql" [New File]exports" [New File]file.def" [New File]takchopro" [New File]rd" [New File]hordpro" [New File]hordpro" [New File]mv" [New File]pl" [New File]wssqriadbsagpro" [New File]build.xml" [New File]
"/debian/control" [New DIRECTORY]
"ipf.conf" [New File]6.conf" [New File]
"ipf.rules
".zprofile
"/etc/zprofile" [New File]
".zfbfmarks" [New File]file.zsh" [New File]sig
"ssh_config" [New File]
"/.ssh/config" [New DIRECTORY]
"main.cf" [New File]file.clj" [New File]s" [New File]xc
"/etc/blkid.tab" [New File].old" [New File]
"file.xmi" [New File]csproj" [New File].user" [New File]ts" [New File]uitpm" [New File]
"/etc/xdg/menus/file.menu" [New DIRECTORY]
"fglrxrc" [New File]ile.xlf" [New File]iff" [New File]ul" [New File]upstream.dat" [New File]
"UPSTREAM.DAT
"upstream.file.dat" [New File]
"UPSTREAM.FILE.DAT
"file.upstream.dat
"FILE.UPSTREAM.DAT
"/etc/serial.conf" [New File]file.java" [New File]" [New File]cfengine.conf" [New File]
"/etc/host.conf" [readonly] 1L, 9C
".povrayrc" [New File]smb.conf" [New File]fstab" [New File]mtab" [New File]file.sas" [New File]miby" [New File]ahk" [New File]infINFvc" [New File]evsum" [New File]errsum" [New File]
"anyEterm/file.cfg" [New DIRECTORY]
"/etc/nanorc" [New File]file.scss" [New File]nqc" [New File]CMakeLists.txt" [New File]
"file.cmake" [New File].in" [New File]
"lilo.conf" [New File]named.root" [New File]
"anyesmtprc
"file.sim" [New File]wmlmysql" [New File]text" [New File]README" [New File]file.lsl" [New File]tli
".tidyrc" [New File]tidyrc" [New File]file.con" [New File]rc" [New File]h" [New File]
"configure.in" [New File]ac
"filter-rules
"file.wm" [New File]lftp.conf" [New File]
".lftprc" [New File]anylftp/rc" [New DIRECTORY]
"file.hlp" [New File]ihlp" [New File]smcltpl" [New File]hb" [New File]chs" [New File]scms" [New File]rkt" [New File]ps" [New File]fa" [New File]afmepsf" [New File]iai" [New File]svg" [New File]
"tags" [New File]/.icewm/menu" [New DIRECTORY]
"svn-commitfile.tmp" [New File]
"file.wrm" [New File]exim.conf" [New File]
"file.4gl" [New File]hm4gl" [New File]frt" [New File]bl" [New File]icn" [New File]cxx++hh" [New File]xx" [New File]ppimoctcinltlhcbloblicfghgrc" [New File]
"filehgrc" [New File].sass" [New File]
".arch-inventory" [New File]
".wgetrc" [New File]wgetrc" [New File]file.kix" [New File]sbt
"inittab" [New File].slrnrc
"file.nsi" [New File]h
"bzr_log.any" [New File]
"apt.conf" [New File]/.aptitude/config" [New DIRECTORY]
"file.jsp" [New File]gkrellmrc" [New File]_x" [New File]
"/etc/sensors.conf" [New File]3.conf" [New File]
"file.tsscl" [New File]spec" [New File]atl" [New File]s" [New File]/etc/updatedb.conf" [New File]
"file.dcl" [New File]i
"/etc/pinforc" [New File]
"/.pinforc" [New File]file.isc" [New File]monk" [New File]ssc" [New File]tsd" [New File]ado" [New File]do" [New File]imata" [New File]mata" [New File]/etc/limits" [New File]anylimits.conf" [New File]d/file.conf" [New DIRECTORY]udev/cdsymlinks.conf" [New File]sendmail.cf" [New File]file.mason" [New File]htmlcomp" [New File]tcl" [New File]k" [New File]itcl" [New File]k" [New File]jacl" [New File]spy" [New File]i
".asoundrc" [New File]
"/usr/share/alsa/alsa.conf" [New DIRECTORY]
"/etc/asound.conf" [New File]file.ist" [New File]m
"gitolite.conf" [New File]
"/etc/libao.conf" [New File]
"/.libao" [New File]any/etc/passwd" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/passwd.bak" [New DIRECTORY]shadow
"file.vroom" [New File]scoretexinfo" [New File]" [New File]xi" [New File]latte" [New File]te" [New File]it" [New File]hsml" [New File]rs" [New File]snd.123
".letter.123" [New File]
".followup" [New File]article" [New File].123" [New File]
"pico.123" [New File]mutt-xx-xxx" [New File]
"muttng-xx-xxx" [New File]
"ae123.txt" [New File]file.eml" [New File]sdc
"/etc/modules.conf" [New File]" [readonly] 5L, 195Cconf.modules" [New File]file.pli" [New File]1diff" [New File]rej" [New File]/etc/sysctl.conf" [readonly] 77L, 2683Cd/file.conf" [New File]file.ll" [New File]plp" [New File]msql" [New File]liquid" [New File]gpi" [New File]va" [New File]ms" [New File]ht" [New File].editorconfig" [New File]
"/etc/yum.conf
"file.ini" [New File]jj" [New File]t" [New File]expdothtpp" [New File]lua" [New File]rockspec" [New File]nse" [New File]manpgs
"resolv.conf" [New File]
"file.hs" [New File]-boot" [New File]zut" [New File]tf" [New File].tfrc" [New File]tfrc" [New File]file.obj" [New File]
".viminfo
"_xorg.conf" [New File]-4" [New File]
"robots.txt" [New File]mplayer.conf" [New File]
"/.mplayer/config" [New DIRECTORY]
"file.cyn" [New File]/etc/udev/permissions.d/file.permissions" [New DIRECTORY]
"file.fex" [New File]ocexec" [New File]si" [New File]task" [New File]xom" [New File]in
"trustees.conf" [New File]
"file.crm" [New File]pdbor" [New File]git/config" [New DIRECTORY]
".gitconfig" [New File]modules" [New File]
"file.git/modules//config" [New DIRECTORY]
"/.config/git/config" [New DIRECTORY]file.vr" [New File]i" [New File]hrexorrxojjrexx" [New File]rexxj" [New File]testGroup" [New File]Unit" [New File]jgr" [New File]sdlpr" [New File]svh" [New File]
"help.txt[readonly] 225L, 8437C
"file.hsc" [New Filemxpm2" [New File]hdl" [New File]vhdl" [New File]be" [New File]stmaster" [New File]
"pending.data" [New File]
"completed.data" [New File]
"undo.data" [New File]file.rnc" [New File]gnashrc" [New File].gnashrc" [New File]
"gnashpluginrc" [New File]
".gnashpluginrc" [New File]
"file.rng" [New File]tex/context/any/file.tex" [New DIRECTORY]
"file.mkii" [New File]vvigp" [New File].gprc" [New File]itsendemail.msg.xxxxxx" [New File]
"file.action" [New File]recipetmpl" [New File]xhtml" [New File]" [New File]pc" [New File]slpapp" [New File]xmlsjal" [New File]JALjplrdslzu" [New File]upstreaminstall.log" [New File]
"UPSTREAMINSTALL.LOG
"upstreaminstall.file.log" [New File]
"UPSTREAMINSTALL.FILE.LOG
"file.upstreaminstall.log
"FILE.UPSTREAMINSTALL.LOG
"file.dylan" [New File]/etc/hosts.allow" [New File]deny" [New File]any/etc/sudoersDIRECTORY]
"sudoers.tmp" [New File]file.iba" [New File]icscmk" [New File]ak" [New File]dsptoc
"/etc/slp.conf" [New File]
"file.ncf" [New File]ks" [New File]sed" [New File]cu" [New File]sp" [New File]fdr
"GNUmakefile.am" [New File]
"file.a65" [New File]cssinopderstsin85nb" [New File]wbt" [New File]pdfmush" [New File]
"calendar" [New File]file.mmptwig" [New File]
".dir_colors" [New File]
".dircolors" [New File]/etc/DIR_COLORS" [New File]
"file.properties_xx" [New File]_xx" [New File]
"/etc/slp.spi" [New File]file.yy" [New File]xx" [New File]++bibwsml" [New File]bst" [New File]fs" [New File]tace" [New File]ACE
"Muttngrcrc" [New File]file.dtd" [New File]iss
"/etc/cdrdao.conf" [New File]defaults/cdrdao" [New DIRECTORY]/cdrdao" [New File].cdrdao" [New File]file.sba" [New File]vb" [New File]s" [New File]dsmctlintr" [New File]
"dict.conf
".dictrc" [New File]file.dstpp" [New File]
"anybaseq2/file.cfg" [New DIRECTORY]
"anyid1/file.cfg" [New DIRECTORY]quake3
"file.ti" [New File]dts" [New File]i" [New File]
"tmuxfile.conf" [New File]
".tmuxfile.conf" [New File]
"wvdial.conf" [New File].wvdialrc" [New File]file.ged" [New File]lltxxxxx.txt" [New File]
"file.ld" [New File]gsjavascript" [New File]es" [New File]jsx" [New File]mjs.chasn1" [New File]xq" [New File]l" [New File]muery" [New File]y" [New File]bc" [New File]csdl" [New File]k" [New File]rad" [New File]mat
"/etc/pam.conf"[readonly] 15L, 552C
"file.pod" [New File]cm" [New File]xsl" [New File]t" [New File]mp" [New File]ar" [New File]plsql" [New File]fan" [New File]wt
"/LiteStep/any/file.rc" [New DIRECTORY]
"any/systemd/file.automount" [New DIRECTORY]mount" [New DIRECTORY]path" [New DIRECTORY]service" [New DIRECTORY]ocket" [New DIRECTORY]wap" [New DIRECTORY]target" [New DIRECTORY]imer" [New DIRECTORY]/etc/udev/udev.conf" [readonly] 6L, 153C
".netrc" [New File]file.pov" [New File]scpt" [New File]at" [New File]u3" [New File]siv
".htaccess" [New File]
"/etc/httpd/file.conf" [New DIRECTORY]
"file.pml" [New File]rpjov73ovial" [New File]lgt" [New File]abap" [New File]msc" [New File]ftssgm" [New File]uc" [New File]atg" [New File]pike" [New File]lpc" [New File]ulpc" [New File]pmoderb" [New File]rhtml" [New File]htt" [New File]bsnoptz8a
"any/.cmus/autosave" [New DIRECTORY]rc" [New DIRECTORY]command-history" [New DIRECTORY]file.theme" [New DIRECTORY]cmus/rc" [New DIRECTORY]file.theme" [New DIRECTORY]
"file.html.m4" [New File]yaml" [New File]ml" [New File].irbrc" [New File]irbrc" [New File]file.rb" [New File]w" [New File]gemspec" [New File]ru" [New File]Gemfile
"file.builder" [New File]rxml" [New File]js" [New File]ant" [New File]kemo" [New File]gdmo" [New File]ninja" [New File]
".ratpoisonrc" [New File]
"ratpoisonrc" [New File]file.chai" [New File]mf" [New File]spice" [New File]
"COMMIT_EDITMSG" [New File]
"MERGE_MSG" [New File]TAG_EDITMSG" [New File]
"file.clp" [New File]abal" [New File]fm" [New File]ic
"dictd.conf" [New File]
"file.chf" [New File]Dockerfile" [New File]
"file.Dockerfile" [New File]eni" [New File]tybpcpkbsrunpldcs" [New File]ils" [New File]cdfppdtdf
"/etc/protocols" [New File]xinetd.conf" [New File]
".fetchmailrc" [New File]any/etc/group" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/group.bak" [New DIRECTORY]shadow.bak" [New DIRECTORY]
"auto.master" [New File]/usr/share/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/etc/init/file.conf" [New File]override" [New File]
"/.init/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/.config/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"file.py" [New File]w" [New File]
".pythonstartup" [New File]rc" [New File]file.ptl" [New File]moo
"vgrindefs" [New File]
"file.pas" [New File]dprmel
"lynx.cfg
"file.desc" [New File]jsonp" [New File]webmanifest" [New File]g" [New File]po" [New File]t" [New File]mixal" [New File]
"hg-editor-file.txt" [New File]
"file.speedup" [New File]data" [New File]" [New File]sshd_config" [New File]
".indent.pro
"indentrc" [New File]file.fb" [New File]biasciidoc" [New File]doc" [New File]xs" [New File]/etc/mail/aliases" [New DIRECTORY]aliases" [New File]file.markdown" [New File]down" [New File]kd" [New File]n" [New File]dw" [New File]plm" [New File]36aclex" [New File]xx" [New File]++atex" [New File]sty" [New File]dtxlbblvimba
".exrc" [New File]_Kconfig" [New File].debug" [New File]
"/etc/login.defs" [readonly] 340L, 10477C
"file.pyx" [New File]xdart
"cvs123" [New File]usserver.log" [New File]
"USSERVER.LOG
"usserver.file.log" [New File]
"USSERVER.FILE.LOG
"file.usserver.log
"FILE.USSERVER.LOG
"file.aap" [New File]lout" [New File]gradle" [New File]oovyfactortreetop" [New File]f" [New File]or" [New File]tran" [New File]pp" [New File]tn77905038
"usw2kagt.log" [New File]
"USW2KAGT.LOG
"usw2kagt.file.log" [New File]
"USW2KAGT.FILE.LOG
"file.usw2kagt.log
"FILE.USW2KAGT.LOG
"file.DEF" [New File]MOD


Executing Test_filewritable()
"Xfilewritable" [New File][New] 0L, 0C written


Executing Test_filter()
"Xdoesnotmatch" [New File]
"Xwillmatch" [New File]ex-undo" [New File]

Executing Test_filter_cmd_completion():[?2004hfilter ^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter ^I:[?2004hfilter pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat^I:[?2004hfilter /pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat^I:[?2004hfilter /pat/^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/^I:[?2004hfilter pat pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat print:[?2004hfilter /pat/ pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/ print:[?2004hfilter #pat# pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter #pat# printExecuting Test_filter_fails()


Executing Test_filter_map_dict_expr_funcref()


Executing Test_filter_map_dict_expr_string()


Executing Test_filter_map_list_expr_funcref()


Executing Test_filter_map_list_expr_string()


Executing Test_findfile()


Executing Test_float2nr()


Executing Test_float_misc()


Executing Test_floor()


Executing Test_fmod()


Executing Test_fnamemodify()
"test_alot.vim" 62L, 1523C


Executing Test_func_unref()


Executing Test_funcref()


0

Executing Test_function_in_dict()


Executing Test_function_with_funcref()


Executing Test_gD()


Executing Test_gD_char()


Executing Test_gD_comment()


Executing Test_gD_inline_comment()


Executing Test_gD_string()


Executing Test_gD_string_same_line()


Executing Test_gD_too()


Executing Test_ga_command()


Executing Test_gd()


Executing Test_gd_comment()


Executing Test_gd_comment_in_string()


Executing Test_gd_inline_comment()


Executing Test_gd_inline_comment_body()


Executing Test_gd_inline_comment_only()


Executing Test_gd_kr_style()


Executing Test_gd_local_block()


Executing Test_gd_missing_braces()


Executing Test_gd_not_local()


Executing Test_gd_string()


Executing Test_gd_string_in_comment()


Executing Test_gd_string_only()


Executing Test_gd_trailing_comment()


Executing Test_gd_trailing_multiline_comment()


Executing Test_get_partial_items()


Executing Test_getbufvar()


Executing Test_getpid()[?2004l[?2004h


Executing Test_getreg_empty_list()


Executing Test_global_local_lispwords()


Executing Test_help_complete()


Executing Test_help_respect_current_file_lang()
"testdoc.abx" [readonly] 2L, 25Cja[readonly] 2L, 25Cline 1 of 2 --50%-- col 2-9txt[readonly] 2L, 25C
Executing Test_help_tagjump()"help.txt" [readonly] 225L, 8437C
"motion.txt" [readonly] 1337L, 51313C
"gui.txt" [readonly] 1048L, 44040C
"index.txt" [readonly] 1660L, 76442C
"cmdline.txt" [readonly] 1156L, 47238C
"autocmd[readonly] 1487L, 61609C
"windows[readonly] 1312L, 53080C
"change.txt" [readonly] 1832L, 74819C
"insert[readonly] 2004L, 82939C
"visual[readonly] 541L, 21843C
"options.txt" [readonly] 8980L, 380531Cline 7850 of 8980 --87%-- col 7-49
"eval.txt" [readonly][converted] 11161L, 430353C line 2464 of 11161 --22%-- col 1
"options.txt" [readonly] line 1359 of 8980 --15%-- col 4-25
"cmdline675 of 1156 --58%-- col 2-9index.txt" [readonly] line 1069 of 1660 --64%-- col 172


Executing Test_hlexists()


Executing Test_hostname()[?2004l[?2004h


Executing Test_if()


Executing Test_info()


Executing Test_input_in_timer()[?25h


[?25l?[?2004h[?25h[?25l[?25hhello
[?25l?helloExecuting Test_invalid()


Executing Test_invalid_submatch()


Executing Test_isnan()


Executing Test_join_with_count()


Executing Test_keyword_jump()
"Xtestfile" 9L, 141C


Executing Test_lambda_call_lambda_from_lambda()


Executing Test_lambda_capture_by_reference()


Executing Test_lambda_circular_reference()


Executing Test_lambda_closure_counter()


Executing Test_lambda_combination()


Executing Test_lambda_delfunc()


Executing Test_lambda_do_not_share_local_variable()


Executing Test_lambda_fails()


Executing Test_lambda_feature()


Executing Test_lambda_refer_local_variable_from_other_scope()


Executing Test_lambda_scope()


Executing Test_lambda_share_scope()


Executing Test_lambda_side_effect()


Executing Test_lambda_with_a_var()


Executing Test_lambda_with_filter()


Executing Test_lambda_with_map()


Executing Test_lambda_with_partial()


Executing Test_lambda_with_sort()


Executing Test_lambda_with_timer()[?25h[?2004l[?2004h


[?25l1[?25h[?2004l[?2004h

[?25l2[?25h[?2004l[?2004h

[?25l3[?25h[?2004l[?2004h

[?25l4[?25h[?2004l[?2004h[?2004l[?2004h

[?25l5[?25h[?2004l[?2004h

[?25l6[?25h[?2004l[?2004h

[?25l7[?25h[?2004l[?2004h

[?25l8[?25h[?2004l[?2004h

[?25lExecuting Test_last_buffer_nr()


Executing Test_len()


Executing Test_let_termcap()


Executing Test_load_menu()


Executing Test_log()


Executing Test_log10()


Executing Test_loop_over_null_list()


Executing Test_map_ctrl_c_insert()visual:[?2004h'<,'>$put ='vmap works'


Executing Test_map_cursor()
1 line less; before #8  0 seconds ago


Executing Test_map_feedkeys():[?2004hcall feedkeys(".", "in")
:[?2004hcall feedkeys(".", "in")
Executing Test_map_langmap():[?2004hcall append(line('$'), '+')


Executing Test_map_meta_quotes()timeout()[?25h[?25ltch()

abcdefghijklmnopq

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   abcdΣabcdef

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_match_func()


Executing Test_matchaddpos()12345

NP

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   12345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   012345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchaddpos_using_negative_priority()x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchend()


Executing Test_matchlist()


Executing Test_matchstr()


Executing Test_matchstrpos()


Executing Test_max()


Executing Test_max_min_errors()


Executing Test_messages()


hello0x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)    hello1234567898


hello9xhello9
Executing Test_min()


Executing Test_missing_attr()


Executing Test_mode()=[?2004hSave_mode()
match 1 of 2Blue Ball Black

Brown Band Bowl

Band~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap worksTest1: text with a (here some more text)

Test1: text with a (here some more text)Test2: text wit a (here some more text [und undo])fooc d[No Name]                                                                        Ball           

Band           =[?2004hSave_mode()
1 change; before #2  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #3  0 seconds ago=[?2004hSave_mode()
1 change; before #4  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #5  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #6  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #7  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #8  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #9  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #10  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #11  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #12  0 seconds ago
match 1 of 2
Band~               Ball           

Band           =[?2004hSave_mode()
1 change; before #13  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #14  0 seconds ago=[?2004hSave_mode()
1 change; before #15  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #16  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #17  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #18  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #19  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #20  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #21  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #22  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #23  0 seconds ago:[?2004hecho "=[?2004hSave_mode():echo Entering Ex mode.  Type "visual" to go to Normal mode.


:[?2004hecho "=[?2004hSave_mode()
:echo 


:[?2004hvi


Executing Test_move_cursor()


Executing Test_named_function_closure()


Executing Test_nested_global()




Executing Test_next_split_all()
"x" [New File]Xtestfile" [New File]


Executing Test_nextnonblank_prevnonblank()


Executing Test_no_type_checking()


Executing Test_noinsert_complete()=[?2004hs:complTest1()
match 1 of 2~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtestfile                                                                       source         

soundfold      ndfold=[?2004hs:complTest2()
match 1 of 2

~              

~              source         

soundfold      

Executing Test_non_zero_arg()


Executing Test_not_existing()


Executing Test_not_lamda()


Executing Test_omnifunc_with_check()


search hit BOTTOM, continuing at TOPfour1

~                                                                               ~                                                                               ~                                                                               ~                                                                               [+]four1          

four2          2

~              

~              four1          

four2          four1          

four2          match 2 of 6

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          match 3 of 6

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          four3          

four4          

four5          

four6          match 4 of 64

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          55

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          four4          

four5          

Executing Test_oneshot()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_option_value()


Executing Test_other_type()
"Xfile" 2L, 28C


Executing Test_partial_args()


Executing Test_partial_dict()


Executing Test_partial_exists()


Executing Test_partial_implicit()


Executing Test_partial_string()


Executing Test_paste_end_of_line():[?2004hnormal! "agP


Executing Test_paused()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_peek_and_get_char()[?25h


[?25lExecuting Test_popup_complete()=[?2004hListMonths()
match 1 of 2
June

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   June           

July           match 2 of 2

June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           7June           

July           8July           

August         =[?2004hListMonths()
match 1 of 3

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           =[?2004hListMonths()
match 1 of 12

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 2
June~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 2ne

~              

~              June           

July           Back at original~              

~              June           

July           June           

Julymatch 2 of 2ly

~              

~              July           
July           =[?2004hListMonths()
match 1 of 2ne

~              
June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       =[?2004hListMonths()
match 1 of 3
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           =[?2004hListMonths()
match 1 of 3
January

~              

~              

~              January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           match 1 of 3
January

~              

~              

~              January        

June           

July           January        =[?2004hListMonths()
match 1 of 3

~              

~              

~              January        

June           

July           =[?2004hListMonths()
match 1 of 2
June~              

~              

~              June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       2 of 12



February       December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       match 10 of 12October        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       1
Nov

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       0
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       9 of 12
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        =[?2004hListMonths()
match 1 of 12
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       0October        

November       9 of 12September      

October        =[?2004hListMonths()
The only match=[?2004hListMonths()
The only matchDecember2015

December~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  December       =[?2004hListMonths()
match 1 of 2
March~                                                                               ~              March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2March~              
March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2
March

~                                                                               ~              

~              March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            

Executing Test_popup_complete2()=[?2004hListMonths()
The only match

Executing Test_popup_completion_insertmode()=[?2004hListMonths()
match 1 of 12~                                                                               ~                                                                               ~              

~                  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       match 2 of 12

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       3
March~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        February       

March          4
April

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        March          

April          5
May~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        April          

May            6
June

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        May            

June           7ly

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        June           

July           8
August

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        July           

August         9
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        August         

September      10 of 12
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        1
November

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       2
Dec

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       

Executing Test_pow()


Executing Test_printf_64bit()


Executing Test_printf_errors()


0

0

1

0

0

Executing Test_printf_float()


0.000000


Executing Test_printf_misc()


Executing Test_printf_spec_b()


Executing Test_printf_spec_s()


Executing Test_ptag_with_notagstack()


Executing Test_put_block()char_block()


"Xfile_put" [Modified][Not edited] line 1 of 2 --50%-- col 1


Executing Test_put_char_block2()


Executing Test_put_lines()


Executing Test_read_only()


Executing Test_recover_root_dir()
"Xtest" [New File]

"Xtest" [New File]


Executing Test_recursive_delete()
"Xdir1/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written


Executing Test_redefine_dict_func()


Executing Test_redo_in_nested_functions():[?2004hset opfunc=Operator


Executing Test_ref_job_partial_dict()


Executing Test_reltime()[?25h[?2004l[?2004h


[?25lExecuting Test_repeat_many()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_repeat_three()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_retain_partial()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_round()


Executing Test_script_detection()
"Xtest" 1L, 64C1L, 77C1L, 32C1L, 9C2L, 10C3L, 11C4L, 12C5L, 13C


Executing Test_script_function_in_dict()


Executing Test_script_function_in_dict_arg()


Executing Test_searchpos()
"one" [New File]

Executing Test_set_add()


Executing Test_set_backslash()


Executing Test_set_reg_null_list()


Executing Test_set_tagcase()


Executing Test_setbufline_getbufline()
"Xtest" [New File]

Executing Test_setbufvar_options()
"dummy_preview" [New File]buf1" [New File]2


Executing Test_setline_startup()[?2004l[?2004h


Executing Test_setmatches()


Executing Test_sha256()


Executing Test_shellescape()


Executing Test_simplify()


Executing Test_sin()


Executing Test_sinh()


Executing Test_sort_cmd()


Executing Test_sort_default()


Executing Test_sort_float()


Executing Test_sort_nested()


Executing Test_sort_numbers()


Executing Test_sort_numeric()


Executing Test_sort_strings()


Executing Test_special_char()


Executing Test_sqrt()


Executing Test_static_tagjump()
"Xfile1" [New File][New] 3L, 18C written


Executing Test_statusline()
"Xstatusline" [New File]170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

56,38                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

789,315                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

Xstatusline                                                                     170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

/<<PKGBUILDDIR>>/src/vim-gtk/testdir/Xstatusline                  170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1175

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[Help],HLP                                                                      170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

<Eo>                                                                            170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

180/200,2                                                                       170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+],+                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+-],+-                                                                         "Xstatusline" [New] 200L, 692C written170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[-],-                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

                                                                                170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

1119                                                                            1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

0,Top                                                                           179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

100,Bot                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

90,Bot                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 (1 of 2): 1179

180

181

182

183

184

185

186

187

188

189

                                                                                || 1                                                                            || 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1179

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[RO],RO                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

Xstatusline                                                                     179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

2,                                                                              179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10,-10                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                "Xstatusline" 200L, 692C179

180

181

182

183

184

185

186

187

                                                                                175

176

177

178

179

180

181

182

183

184

185

186

[Preview],PRV                                                                   179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

[vim] VIM                                                                       179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

foo                                                                          bar179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

0038                                                                            179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#  38#                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#38  #                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

<sline                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

a<cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccd179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb>179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimNumber                                                                       179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimLineComment                                                                  179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abde                                                                            179

"180

181

182

183

184

185

186

187

188

189

abde                                                                            ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               abcd[Quickfix List]de                                                           179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abcdef                                                                          179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abc                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10%                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

7                                                                               179|

"180|

181|

182|

183|

184|

185|

186|

187|

188|

189|

190|

191|

192|

193|

194|

195|

196|

197|

198|

199|

200|

x^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^y^179"180181182183184185186187188189190191192193194195196197198199200x=====================================y92 buffers wiped out


Executing Test_statusline_will_be_disabled_with_error()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                                                                                                               

Executing Test_stop_all_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stop_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stopall()


Executing Test_str2float()


Executing Test_str2nr()


Executing Test_strcharpart()


Executing Test_strftime()


Executing Test_strgetchar()


Executing Test_stridx()


Executing Test_strridx()


Executing Test_substitute_expr()


Executing Test_substitute_expr_arg()


Executing Test_symlink_delete()
"Xfile" [New File][New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_dir_delete()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_recursive_delete()
"Xdir3/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written
"Xdir4/Xfile" [New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_tabline_will_be_disabled_with_error()                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_tabnext_on_buf_unload1()


Executing Test_tabnext_on_buf_unload2()


"x" [Not edited] --No lines in buffer--
"y" [New File]

Executing Test_tabpage()
"x" [New File]

2 fewer lines; before #1  0 seconds ago
"test1" [New File]newfile" [New File]
"test1" [New File]file] --No lines in buffer--F

Executing Test_tabpage_with_autocmd()


Executing Test_tabpage_with_tab_modifier()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1


Executing Test_tabpage_with_tabclose()


Already only one tab page
"n0" [New File]1234


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabnext()


Executing Test_tabpage_with_tabonly()


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabprevious()


Executing Test_tagcase()
"Xtext" [New File]

Executing Test_tagjump_switchbuf()


Already only one window
"Xfile1" 3L, 19C3L, 19C3L, 19C


Already only one window


Executing Test_taglist()
"Xtext" [New File]

Executing Test_taglist_ctags_etags()


Executing Test_taglist_native_etags()


Executing Test_tan()


Executing Test_tanh()


Executing Test_timer_catch_error()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_timer_errors()[?25h[?2004l[?2004h


[?25lError detected while processing function RunTheTest[24]..Test_timer_errors[4]..


WaitFor[21]..FuncWithError:


line    5:


E492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_tolower()


Executing Test_tostring()


Executing Test_toupper()


Executing Test_translate_menu()


Executing Test_true_false_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?2004h[?25l"colored" [New File]

Executing Test_trunc()


Executing Test_unlet_fails()


Executing Test_valid()


Executing Test_version()


Executing Test_window_cmd_cmdwin_with_vsp()


Executing Test_window_cmd_ls0_with_split()


Executing Test_window_cmd_wincmd_gf()
"test_gf.txt" 0L, 0C
W19: Deleting augroup that is still in use
Executing Test_window_contents()Already only one window1

2

3

4

5

6

7

8

9

10

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       50

51

52

53

54

55

56

57

58

59

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       59

60

61

62

63

64

65

66

67

68

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_window_exchange()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_height()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_horizontal_split()jump_tag()"help.txt" [readonly] line 1 of 225 --0%-- col 1
"uganda.txt" [readonly] 288L, 14024C
"intro.txt" [readonly] 909L, 39223C
52 buffers wiped outExecuting Test_window_newtab()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_preview()
"Xa" [New File]Executing Test_window_quit()
"Xa" [New File]b
2 buffers wiped out
Executing Test_window_rotate()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_split_edit_alternate()
"Xa" [New File]ba
2 buffers wiped out
Executing Test_window_vertical_split()width()"Xa" [New File]bc
3 buffers wiped out
Executing Test_with_directories()
"Xdir1/file" [New File][New] 2L, 4C written
"Xdir3/Xdir4/file"[New] 2L, 4C written2L, 4C
"Xdir?/*/nofile" [New DIRECTORY]
"foo" [New File]Executing Test_with_partial_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25ltilde()rong_arguments()yank_move_change():[?2004h'<,'>call MoveSelectionDown(v:count1)
Executing Test_yank_put_clipboard()
3 more linesExecuting Test_z()
"Xdir?/*/nofile" [New DIRECTORY]
Executing Test_z_negative_lnum()overflow()"test_alot.res" [New File][New] 0L, 0C written
Executed 328 tests"messages" 1028L, 28002C1359L, 38618C written
[?2004l

[?2004l[?1l>[?25h[?1049l

From test_arabic.vim:
Executing Test_arabic_input()
Executing Test_arabic_toggle()
Executing Test_arabic_toggle_keymap()
Executing Test_delcombine()
Executing Test_shape_combination_final()
Executing Test_shape_combination_isolated()
Executing Test_shape_final()
Executing Test_shape_final_to_medial()
Executing Test_shape_initial()
Executing Test_shape_iso_to_medial()
Executing Test_shape_isolated()
Executed 11 tests

From test_arglist.vim:
Executing Test_arg_all_expand()
Executing Test_argadd()
Executing Test_argc()
Executing Test_argdelete()
Executing Test_argedit()
Executing Test_argidx()
Executing Test_arglist_autocmd()
Executing Test_arglistid()
Executing Test_argpos()
Executing Test_argument()
Executing Test_argv()
Executing Test_zero_argadd()
Executed 12 tests

From test_assert.vim:
Executing Test_assert_equal()
Executing Test_assert_exception()
Executing Test_assert_fail_fails()
Executing Test_assert_false()
Executing Test_assert_inrange()
Executing Test_assert_notequal()
Executing Test_assert_report()
Executing Test_assert_true()
Executing Test_assert_with_msg()
Executing Test_compare_fail()
Executing Test_match()
Executing Test_notmatch()
Executing Test_override()
Executing Test_user_is_happy()
Executing Test_wrong_error_type()
Executed 15 tests

From test_autochdir.vim:
Executing Test_set_filename()
Executed 1 test

From test_autocmd.vim:
Executing Test_BufEnter()
Executing Test_BufleaveWithDelete()
Executing Test_OptionSet()
Executing Test_OptionSet_diffmode()
Executing Test_OptionSet_diffmode_close()
Executing Test_augroup_deleted()
Executing Test_augroup_warning()
Executing Test_autocmd_bufunload_avoiding_SEGV_01()
Executing Test_autocmd_bufunload_avoiding_SEGV_02()
Executing Test_autocmd_bufunload_with_tabnext()
Executing Test_autocmd_bufwinleave_with_tabfirst()
Executing Test_autocmd_bufwipe_in_SessLoadPost()
Executing Test_autocmd_bufwipe_in_SessLoadPost2()
Executing Test_bufunload()
Executing Test_cursorhold_insert()
Executing Test_cursorhold_insert_ctrl_x()
Executing Test_early_bar()
Executing Test_empty_doau()
Executing Test_three_windows()
Executing Test_vim_did_enter()
Executing Test_win_tab_autocmd()
Executed 21 tests

From test_backspace_opt.vim:
Executing Test_backspace_option()
Executed 1 test

From test_breakindent.vim:
Executing Test_breakindent01()
Executing Test_breakindent02()
Executing Test_breakindent03()
Executing Test_breakindent04()
Executing Test_breakindent05()
Executing Test_breakindent06()
Executing Test_breakindent07()
Executing Test_breakindent07a()
Executing Test_breakindent08()
Executing Test_breakindent08a()
Executing Test_breakindent09()
Executing Test_breakindent10()
Executing Test_breakindent11()
Executing Test_breakindent12()
Executing Test_breakindent13()
Executing Test_breakindent14()
Executing Test_breakindent15()
Executing Test_breakindent16()
Executed 18 tests

From test_bufwintabinfo.vim:
Executing Test_get_buf_options()
Executing Test_get_win_options()
Executing Test_getbufwintabinfo()
Executed 3 tests

From test_cdo.vim:
Executing Test_cdo()
Executing Test_ldo()
Executed 2 tests

From test_channel.vim:
Executed 0 test

From test_charsearch.vim:
Executing Test_charsearch()
Executing Test_search_cmds()
Executed 2 tests

From test_cindent.vim:
Executing Test_cindent_expr()
Executing Test_cindent_rawstring()
Executing Test_cino_extern_c()
Executing Test_cino_hash()
Executed 4 tests

From test_clientserver.vim:
Executing Test_client_server()
    Skipped
Executed 1 test
SKIPPED Test_client_server(): $DISPLAY is not set

From test_cmdline.vim:
Executing Test_cmdline_complete_user_cmd()
Executing Test_cmdline_complete_wildoptions()
Executing Test_cmdline_search_range()
Executing Test_complete_list()
Executing Test_complete_tab()
Executing Test_complete_wildmenu()
Executing Test_expand_star_star()
Executing Test_expr_completion()
Executing Test_getcmdtype()
Executing Test_getcompletion()
Executing Test_highlight_completion()
Executing Test_illegal_address1()
Executing Test_illegal_address2()
Executing Test_map_completion()
Executing Test_match_completion()
Executing Test_paste_in_cmdline()
Executing Test_remove_char_in_cmdline()
Executing Test_verbosefile()
Executed 18 tests

From test_command_count.vim:
Executing Test_command_count_0()
Executing Test_command_count_1()
Executing Test_command_count_2()
Executing Test_command_count_3()
Executing Test_command_count_4()
Executed 5 tests

From test_crypt.vim:
Executing Test_crypt_blowfish()
Executing Test_crypt_blowfish2()
Executing Test_crypt_zip()
Executing Test_head_only_2()
Executing Test_head_only_3()
Executing Test_uncrypt_blowfish()
Executing Test_uncrypt_blowfish2()
Executing Test_uncrypt_zip()
Executed 8 tests

From test_cscope.vim:
Executed 0 test

From test_curswant.vim:
Executing Test_curswant()
Executed 1 test

From test_diffmode.vim:
Executing Test_diff_fold_sync()
Executing Test_diff_lastline()
Executing Test_diff_move_to()
Executing Test_diff_nomodifiable()
Executing Test_diff_too_many_buffers()
Executing Test_diffexpr()
Executing Test_diffget_diffput()
Executing Test_diffoff()
Executing Test_diffoff_hidden()
Executing Test_diffopt_context()
Executing Test_diffopt_horizontal()
Executing Test_diffopt_icase()
Executing Test_diffopt_iwhite()
Executing Test_diffopt_vertical()
Executing Test_diffpatch()
Executing Test_dp_do_buffer()
Executing Test_filler_lines()
Executing Test_setting_cursor()
Executing Test_vert_split()
Executed 19 tests

From test_digraph.vim:
Executing Test_digraph_cmndline()
Executing Test_digraphs()
Executing Test_digraphs_option()
Executing Test_digraphs_output()
Executing Test_loadkeymap()
Executed 5 tests

From test_display.vim:
Executing Test_display_foldcolumn()
Executing Test_display_foldtext_mbyte()
Executed 2 tests

From test_edit.vim:
Executing Test_edit_00a_CTRL_A()
Executing Test_edit_00b()
Executing Test_edit_01()
Executing Test_edit_02()
Executing Test_edit_03()
Executing Test_edit_04()
Executing Test_edit_05()
Executing Test_edit_06()
Executing Test_edit_07()
Executing Test_edit_08()
Executing Test_edit_09()
Executing Test_edit_10()
Executing Test_edit_11()
Executing Test_edit_12()
Executing Test_edit_13()
Executing Test_edit_CR()
Executing Test_edit_CTRL_()
Executing Test_edit_CTRL_EY()
Executing Test_edit_CTRL_G()
Executing Test_edit_CTRL_I()
Executing Test_edit_CTRL_K()
Executing Test_edit_CTRL_L()
Executing Test_edit_CTRL_N()
Executing Test_edit_CTRL_O()
Executing Test_edit_CTRL_R()
Executing Test_edit_CTRL_S()
Executing Test_edit_CTRL_T()
Executing Test_edit_CTRL_U()
Executing Test_edit_CTRL_V()
Executing Test_edit_CTRL_Z()
Executing Test_edit_DROP()
Executing Test_edit_F1()
Executing Test_edit_F21()
Executing Test_edit_HOME_END()
Executing Test_edit_INS()
Executing Test_edit_LEFT_RIGHT()
Executing Test_edit_MOUSE()
Executing Test_edit_PAGEUP_PAGEDOWN()
Executing Test_edit_complete_very_long_name()
Executing Test_edit_forbidden()
Executing Test_edit_rightleft()
Executed 41 tests

From test_farsi.vim:
Executing Test_command_line_farsi()
Executing Test_farsi_map()
Executing Test_farsi_toggle()
Executing Test_input_farsi()
Executed 4 tests

From test_file_size.vim:
Executing Test_File_Size()
Executed 1 test

From test_fnameescape.vim:
Executing Test_fnameescape()
Executed 1 test

From test_fold.vim:
Executing Test_address_fold()
Executing Test_combining_folds_indent()
Executing Test_combining_folds_marker()
Executing Test_fold_error()
Executing Test_folddoopen_folddoclosed()
Executing Test_folds_marker_in_comment()
Executing Test_foldtext_recursive()
Executing Test_indent_fold()
Executing Test_indent_fold2()
Executing Test_indent_fold_with_read()
Executing Test_manual_fold_with_filter()
Executing Test_move_folds_around_indent()
Executing Test_move_folds_around_manual()
Executing Test_update_folds_expr_read()
Executed 14 tests

From test_getvar.vim:
Executing Test_var()
Executed 1 test

From test_gf.vim:
Executing Test_gF()
Executing Test_gf_url()
Executed 2 tests

From test_gn.vim:
Executing Test_gn_command()
Executed 1 test

From test_gui.vim:
Executed 0 test

From test_gui_init.vim:
Executed 0 test

From test_hardcopy.vim:
Executing Test_fname_with_spaces()
Executing Test_printheader_parsing()
Executing Test_printmbfont_parsing()
Executing Test_printoptions_parsing()
Executing Test_with_syntax()
Executed 5 tests

From test_help.vim:
Executing Test_help_errors()
Executing Test_help_keyword()
Executing Test_help_restore_snapshot()
Executed 3 tests

From test_hide.vim:
Executing Test_hide()
Executed 1 test

From test_highlight.vim:
Executing Test_highlight()
Executed 1 test

From test_history.vim:
Executing Test_History()
Executing Test_Search_history_window()
Executed 2 tests

From test_hlsearch.vim:
Executing Test_hlsearch()
Executing Test_hlsearch_hangs()
Executed 2 tests

From test_increment.vim:
Executing Test_normal_increment_01()
Executing Test_normal_increment_02()
Executing Test_normal_increment_03()
Executing Test_visual_increment_01()
Executing Test_visual_increment_02()
Executing Test_visual_increment_03()
Executing Test_visual_increment_04()
Executing Test_visual_increment_05()
Executing Test_visual_increment_06()
Executing Test_visual_increment_07()
Executing Test_visual_increment_08()
Executing Test_visual_increment_09()
Executing Test_visual_increment_10()
Executing Test_visual_increment_11()
Executing Test_visual_increment_12()
Executing Test_visual_increment_13()
Executing Test_visual_increment_14()
Executing Test_visual_increment_15()
Executing Test_visual_increment_16()
Executing Test_visual_increment_17()
Executing Test_visual_increment_18()
Executing Test_visual_increment_19()
Executing Test_visual_increment_20()
Executing Test_visual_increment_21()
Executing Test_visual_increment_22()
Executing Test_visual_increment_23()
Executing Test_visual_increment_24()
Executing Test_visual_increment_25()
Executing Test_visual_increment_26()
Executing Test_visual_increment_27()
Executing Test_visual_increment_28()
Executing Test_visual_increment_29()
Executing Test_visual_increment_30()
Executing Test_visual_increment_31()
Executing Test_visual_increment_32()
Executing Test_visual_increment_33()
Executing Test_visual_increment_34()
Executing Test_visual_increment_35()
Executing Test_visual_increment_36()
Executing Test_visual_increment_37()
Executing Test_visual_increment_38()
Executed 41 tests

From test_increment_dbcs.vim:
Executing Test_increment_dbcs_1()
Executed 1 test

From test_job_fails.vim:
Executing Test_job_start_fails()
Executed 1 test

From test_json.vim:
Executing Test_js_decode()
Executing Test_js_encode()
Executing Test_json_decode()
Executing Test_json_encode()
Executed 4 tests

From test_langmap.vim:
Executing Test_langmap()
Executed 1 test

From test_let.vim:
Executing Test_let()
Executed 1 test

From test_lineending.vim:
Executing Test_lineending()
Executed 1 test

From test_listlbr.vim:
Executing Test_block_replace_after_wrapping()
Executing Test_linebreak_with_conceal()
Executing Test_linebreak_with_list()
Executing Test_linebreak_with_nolist()
Executing Test_list_with_listchars()
Executing Test_list_with_tab_and_skipping_first_chars()
Executing Test_norm_after_block_visual()
Executing Test_set_linebreak()
Executing Test_should_break()
Executing Test_undo_after_block_visual()
Executing Test_virtual_block()
Executing Test_virtual_block_and_vbA()
Executing Test_virtual_char_and_block()
Executed 13 tests

From test_listlbr_utf8.vim:
Executing Test_chinese_char_on_wrap_column()
Executing Test_colorcolumn_priority()
Executing Test_illegal_byte_and_breakat()
Executing Test_linebreak_with_fancy_listchars()
Executing Test_linebreak_with_nolist()
Executing Test_list_and_concealing1()
Executing Test_list_and_concealing2()
Executing Test_multibyte_sign_and_colorcolumn()
Executing Test_multibyte_wrap_and_breakat()
Executing Test_nolinebreak_with_list()
Executing Test_screenattr_for_comment()
Executing Test_visual_block_and_selection_exclusive()
Executed 12 tests

From test_lua.vim:
Executing Test_luado()
Executed 1 test

From test_makeencoding.vim:
Executed 0 test

From test_man.vim:
Executing Test_g_ft_man_open_mode()
Executing Test_nomodifiable()
Executed 2 tests

From test_marks.vim:
Executing Test_Incr_Marks()
Executing Test_Restore_DelMark()
Executing Test_setpos()
Executed 3 tests

From test_matchadd_conceal.vim:
Executing Test_clearmatches()
Executing Test_default_conceal_char()
Executing Test_matchadd_and_conceallevel_3()
Executing Test_matchadd_and_syn_conceal()
Executing Test_matchadd_repeat_conceal_with_syntax_off()
Executing Test_simple_matchadd()
Executing Test_simple_matchadd_and_conceal()
Executing Test_syn_and_match_conceal()
Executing Test_using_matchaddpos()
Executed 9 tests

From test_mksession.vim:
Executing Test_mksession()
Executing Test_mksession_arglist()
Executing Test_mksession_one_buffer_two_windows()
Executing Test_mksession_winheight()
Executed 4 tests

From test_mksession_utf8.vim:
Executing Test_mksession_utf8()
Executed 1 test

From test_nested_function.vim:
Executing Test_max_nesting()
Executing Test_nested_argument()
Executing Test_nested_functions()
Executed 3 tests

From test_netbeans.vim:
Executed 0 test

From test_normal.vim:
Executing Test_delete_until_paragraph()
Executing Test_normal00_optrans()
Executing Test_normal01_keymodel()
Executing Test_normal02_selectmode()
Executing Test_normal02_selectmode2()
Executing Test_normal03_join()
Executing Test_normal04_filter()
Executing Test_normal05_formatexpr()
Executing Test_normal05_formatexpr_newbuf()
Executing Test_normal05_formatexpr_setopt()
Executing Test_normal06_formatprg()
Executing Test_normal07_internalfmt()
Executing Test_normal08_fold()
Executing Test_normal09_operatorfunc()
Executing Test_normal09a_operatorfunc()
Executing Test_normal10_expand()
Executing Test_normal11_showcmd()
Executing Test_normal12_nv_error()
Executing Test_normal13_help()
Executing Test_normal14_page()
Executing Test_normal14_page_eol()
Executing Test_normal15_z_scroll_vert()
Executing Test_normal16_z_scroll_hor()
Executing Test_normal17_z_scroll_hor2()
Executing Test_normal18_z_fold()
Executing Test_normal19_z_spell()
Executing Test_normal20_exmode()
Executing Test_normal21_nv_hat()
Executing Test_normal22_zet()
Executing Test_normal23_K()
Executing Test_normal24_rot13()
Executing Test_normal25_tag()
Executing Test_normal26_put()
Executing Test_normal27_bracket()
Executing Test_normal28_parenthesis()
Executing Test_normal29_brace()
Executing Test_normal30_changecase()
    Skipped
Executing Test_normal31_r_cmd()
Executing Test_normal32_g_cmd1()
Executing Test_normal33_g_cmd2()
Executing Test_normal34_g_cmd3()
Executing Test_normal35_g_cmd4()
    Skipped
Executing Test_normal36_g_cmd5()
Executing Test_normal37_g_cmd6()
Executing Test_normal38_nvhome()
Executing Test_normal39_cw()
Executing Test_normal40_ctrl_bsl()
Executing Test_normal41_insert_reg()
Executing Test_normal42_halfpage()
Executing Test_normal43_textobject1()
Executing Test_normal44_textobjects2()
Executing Test_normal45_drop()
Executing Test_normal46_ignore()
Executing Test_normal47_autocmd()
    Skipped
Executing Test_normal47_visual_buf_wipe()
Executing Test_normal48_wincmd()
Executing Test_normal49_counts()
Executing Test_normal50_commandline()
Executing Test_normal51_FileChangedRO()
Executing Test_normal52_rl()
Executing Test_normal53_digraph()
Executing Test_normal54_Ctrl_bsl()
Executing Test_normal_8g8()
Executing Test_normal_large_count()
Executed 64 tests
SKIPPED Test_normal30_changecase(): Turkish locale not available
SKIPPED Test_normal35_g_cmd4(): output of g< can't be tested currently
SKIPPED Test_normal47_autocmd(): not possible to test cursorhold autocmd while waiting for input in normal_cmd

From test_number.vim:
Executing Test_number()
Executing Test_number_with_linewrap1()
Executing Test_number_with_relativenumber()
Executing Test_numberwidth()
Executing Test_numberwidth_adjusted()
Executing Test_relativenumber()
Executing Test_set_global_and_local()
Executing Test_set_options()
Executed 8 tests

From test_options.vim:
Executing Test_cinkeys()
Executing Test_complete()
Executing Test_dictionary()
Executing Test_filetype_valid()
Executing Test_isfname()
Executing Test_keymap_valid()
Executing Test_options()
Executing Test_path_keep_commas()
Executing Test_set_all()
Executing Test_set_completion()
Executing Test_set_errors()
Executing Test_set_indentexpr()
Executing Test_set_ttytype()
Executing Test_set_values()
Executing Test_signcolumn()
Executing Test_syntax_valid()
Executing Test_thesaurus()
Executing Test_whichwrap()
Executing Test_wildchar()
Executed 19 tests

From test_packadd.vim:
Executing Test_colorscheme()
Executing Test_colorscheme_completion()
Executing Test_helptags()
Executing Test_packadd()
Executing Test_packadd_completion()
Executing Test_packadd_noload()
Executing Test_packadd_symlink_dir()
Executing Test_packloadall()
Executing Test_runtime()
Executed 9 tests

From test_paste.vim:
Executing Test_paste_cmdline()
Executing Test_paste_insert_mode()
Executing Test_paste_normal_mode()
Executing Test_paste_visual_mode()
Executed 4 tests

From test_perl.vim:
Executing Test_SvREFCNT()
Executing Test_VIM_Buffers()
Executing Test_VIM_Windows()
Executing Test_VIM_package()
Executing Test_buffer_Append()
Executing Test_buffer_Count()
Executing Test_buffer_Delete()
Executing Test_buffer_Get()
Executing Test_buffer_Name()
Executing Test_buffer_Number()
Executing Test_buffer_Set()
Executing Test_change_buffer()
Executing Test_evaluate_list()
Executing Test_perldo()
Executing Test_perleval()
Executing Test_stdio()
Executing Test_window_Cursor()
Executing Test_window_SetHeight()
Executed 18 tests

From test_preview.vim:
Executing Test_Psearch()
Executed 1 test

From test_profile.vim:
Executing Test_profile_completion()
Executing Test_profile_errors()
Executing Test_profile_file()
Executing Test_profile_func()
Executed 4 tests

From test_python2.vim:
Executed 0 test

From test_python3.vim:
Executing Test_py3do()
Executed 1 test

From test_pyx2.vim:
Executed 0 test

From test_pyx3.vim:
Executing Test_has_pythonx()
Executing Test_pyx()
Executing Test_pyxdo()
Executing Test_pyxeval()
Executing Test_pyxfile()
Executed 5 tests

From test_quickfix.vim:
Executing Test_Autocmd()
Executing Test_Autocmd_Exception()
Executing Test_Multi_LL_Help()
Executing Test_Qf_Size()
Executing Test_add_qf()
Executing Test_adjust_lnum()
Executing Test_browse()
Executing Test_bufoverflow()
Executing Test_caddbuffer_to_empty()
Executing Test_caddbuffer_wrong()
Executing Test_caddexpr_wrong()
Executing Test_cage()
Executing Test_cbottom()
Executing Test_cbuffer()
Executing Test_cclose_from_copen()
Executing Test_cclose_in_autocmd()
Executing Test_cexpr()
Executing Test_cfile()
Executing Test_cgetexpr_works()
Executing Test_changedtick()
Executing Test_clist()
Executing Test_cwindow()
Executing Test_cwindow_jump()
Executing Test_dirstack_cleanup()
Executing Test_duplicate_buf()
Executing Test_efm()
Executing Test_efm1()
Executing Test_efm2()
Executing Test_efm_dirstack()
Executing Test_efm_ignore_continuations()
Executing Test_errortitle()
Executing Test_get_list_from_lines()
Executing Test_grep()
Executing Test_helpgrep()
Executing Test_history()
Executing Test_invalid_efm()
Executing Test_locationlist()
Executing Test_locationlist_cross_tab_jump()
Executing Test_locationlist_curwin_was_closed()
Executing Test_long_lines()
Executing Test_multidirstack()
Executing Test_multifilestack()
Executing Test_nomem()
Executing Test_perbuf_efm()
Executing Test_qf_free()
Executing Test_qf_id()
Executing Test_qf_property()
Executing Test_qf_title()
Executing Test_quickfix_set_list_with_act()
Executing Test_quickfix_was_changed_by_autocmd()
Executing Test_resize_from_copen()
Executing Test_setexpr()
Executing Test_setqflist()
Executing Test_setqflist_empty_middle()
Executing Test_setqflist_empty_older()
Executing Test_switchbuf()
Executing Test_two_windows()
Executing Test_vimgrep()
Executing Test_vimgreptitle()
Executed 59 tests

From test_quotestar.vim:
Executing Test_quotestar()
    Skipped
Executed 1 test
SKIPPED Test_quotestar(): Test can only run when $DISPLAY is set.

From test_retab.vim:
Executing Test_retab()
Executing Test_retab_error()
Executed 2 tests

From test_registers.vim:
Executing Test_yank_shows_register()
Executed 1 test

From test_ruby.vim:
Executing Test_ruby_change_buffer()
Executing Test_ruby_evaluate_dict()
Executing Test_ruby_evaluate_list()
Executing Test_rubydo()
Executed 4 tests

From test_scrollbind.vim:
Executing Test_scrollbind()
Executed 1 test

From test_search.vim:
Executing Test_search_cmdline()
Executing Test_search_cmdline2()
Executing Test_search_cmdline3()
Executing Test_search_cmdline4()
Executing Test_searchc()
Executing Test_searchpair()
Executing Test_use_sub_pat()
Executed 7 tests

From test_signs.vim:
Executing Test_sign()
Executing Test_sign_completion()
Executing Test_sign_delete_buffer()
Executing Test_sign_invalid_commands()
Executing Test_sign_undefine_still_placed()
Executed 5 tests

From test_smartindent.vim:
Executing Test_nosmartindent()
Executing Test_smartindent_has_no_effect()
Executed 2 tests

From test_spell.vim:
Executing Test_spellreall()
Executing Test_wrap_search()
Executing Test_z_equal_on_invalid_utf8_word()
Executing Test_zeq_crash()
Executing Test_zz_NOSLITSUGS()
Executing Test_zz_Numbers()
Executing Test_zz_affix()
Executing Test_zz_basic()
Executing Test_zz_compound()
Executing Test_zz_prefixes()
Executing Test_zz_sal_and_addition()
Executed 11 tests

From test_startup.vim:
Executing Test_after_comes_later()
Executing Test_compatible_args()
Executing Test_default_term()
Executing Test_file_args()
Executing Test_help_arg()
Executing Test_pack_in_rtp_when_plugins_run()
Executing Test_progpath()
Executing Test_read_stdin()
Executing Test_silent_ex_mode()
Executing Test_startup_script()
Executing Test_startuptime()
Executed 11 tests

From test_startup_utf8.vim:
Executing Test_read_fifo_utf8()
Executing Test_read_stdin_utf8()
Executed 2 tests

From test_stat.vim:
Executing Test_checktime()
Executing Test_existent_directory()
Executing Test_existent_file()
Executing Test_nonexistent_file()
Executing Test_win32_symlink_dir()
Executed 5 tests

From test_substitute.vim:
Executing Test_multiline_subst()
Executing Test_sub_replace_1()
Executing Test_sub_replace_10()
Executing Test_sub_replace_2()
Executing Test_sub_replace_3()
Executing Test_sub_replace_4()
Executing Test_sub_replace_5()
Executing Test_sub_replace_6()
Executing Test_sub_replace_7()
Executing Test_sub_replace_8()
Executing Test_sub_replace_9()
Executing Test_substitute_repeat()
Executing Test_substitute_variants()
Executed 13 tests

From test_syntax.vim:
Executing Test_bg_detection()
Executing Test_conceal()
Executing Test_highlight_invalid_arg()
Executing Test_invalid_name()
Executing Test_ownsyntax()
Executing Test_ownsyntax_completion()
Executing Test_syn_clear()
Executing Test_syn_iskeyword()
Executing Test_syn_sync()
Executing Test_synstack_synIDtrans()
Executing Test_syntax_after_reload()
Executing Test_syntax_arg_skipped()
Executing Test_syntax_completion()
Executing Test_syntax_hangs()
Executing Test_syntax_invalid_arg()
Executing Test_syntax_list()
Executing Test_syntime()
Executed 17 tests

From test_system.vim:
Executing Test_System()
Executing Test_system_exmode()
Executed 2 tests

From test_tcl.vim:
Executing Test_tcldo()
Executed 1 test

From test_terminal.vim:
Executing Test_finish_open_close()
Executing Test_terminal_basic()
Executing Test_terminal_curwin()
Executing Test_terminal_cwd()
Executing Test_terminal_env()
Executing Test_terminal_hide_buffer()
Executing Test_terminal_list_args()
Executing Test_terminal_make_change()
Executing Test_terminal_nasty_cb()
Executing Test_terminal_no_cmd()
Executing Test_terminal_noblock()
Executing Test_terminal_redir_file()
Executing Test_terminal_scrape_123()
Executing Test_terminal_scrape_multibyte()
Executing Test_terminal_scroll()
Executing Test_terminal_size()
Executing Test_terminal_special_chars()
Executing Test_terminal_split_quit()
Executing Test_terminal_tmap()
Executing Test_terminal_wipe_buffer()
Executing Test_terminal_write_stdin()
Executing Test_terminal_wrong_options()
Executing Test_zz_terminal_in_gui()
Executed 23 tests

From test_terminal_fail.vim:
Executing Test_terminal_redir_fails()
Executed 1 test

From test_textobjects.vim:
Executing Test_inner_block_with_cpo_M_left_backslash()
Executing Test_inner_block_with_cpo_M_right_backslash()
Executing Test_inner_block_without_cpo_M()
Executing Test_quote_selection_selection_exclusive()
Executed 4 tests

From test_undo.vim:
Executing Test_U_command()
Executing Test_global_local_undolevels()
Executing Test_insert_expr()
Executing Test_undo_del_chars()
Executing Test_undo_write()
Executing Test_undofile_earlier()
Executing Test_undojoin()
Executing Test_undojoin_redo()
Executing Test_undolist()
Executing Test_undotree()
Executed 10 tests

From test_usercommands.vim:
Executing Test_Ambiguous()
Executing Test_CmdCompletion()
Executing Test_CmdErrors()
Executing Test_CmdUndefined()
Executing Test_cmdmods()
Executed 5 tests

From test_viminfo.vim:
Executing Test_cmdline_history()
Executing Test_cmdline_history_order()
Executing Test_global_vars()
Executing Test_viminfo_bad_syntax()
Executing Test_viminfo_encoding()
Executing Test_viminfo_file_mark_tabclose()
Executing Test_viminfo_file_mark_zero_time()
Executing Test_viminfo_file_marks()
Executing Test_viminfo_jumplist()
Executing Test_viminfo_marks()
Executing Test_viminfo_oldfiles()
Executing Test_viminfo_read_and_write()
Executing Test_viminfo_registers()
Executed 13 tests

From test_vimscript.vim:
Executing Test_arg_abort()
Executing Test_bitwise_functions()
Executing Test_braces_skipped()
Executing Test_curlies()
Executing Test_defining_functions()
Executing Test_delfunction_force()
Executing Test_echo_and_string()
Executing Test_endfunction_trailing()
Executing Test_endwhile_function()
Executing Test_endwhile_script()
Executing Test_error_in_function()
Executing Test_error_in_script()
Executing Test_expr_parsing()
Executing Test_finish()
Executing Test_func_abort()
Executing Test_if_bar_fail()
Executing Test_if_fail()
Executing Test_if_while()
Executing Test_num64()
Executing Test_return()
Executing Test_script_emty_line_continuation()
Executing Test_script_lines()
Executing Test_script_local_func()
Executing Test_skip()
Executing Test_type()
Executing Test_user_command_with_bang()
Executing Test_while_fail()
Executed 27 tests

From test_visual.vim:
Executing Test_Visual_ctrl_o()
Executing Test_Visual_inner_quote()
Executing Test_Visual_vapo()
Executing Test_block_shift_multibyte()
Executing Test_block_shift_overflow()
Executing Test_dotregister_paste()
Executing Test_visual_mode_reset()
Executed 7 tests

From test_winbar.vim:
Executing Test_add_remove_menu()
Executed 1 test

From test_window_id.vim:
Executing Test_win_getid()
Executing Test_win_getid_curtab()
Executed 2 tests

From test_windows_home.vim:
Executed 0 test

From test_writefile.vim:
Executing Test_writefile()
Executing Test_writefile_fails_conversion()
Executing Test_writefile_fails_gently()
Executed 3 tests

From test_alot_latin.vim:
Executing Test_backref()
Executing Test_eow_with_optional()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_nested_backrefs()
Executing Test_recursive_substitute()
Executed 6 tests

From test_alot_utf8.vim:
Executing Test_classes_re1()
Executing Test_classes_re2()
Executing Test_comparisons()
Executing Test_customlist_completion()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_gap()
Executing Test_getvcol()
Executing Test_large_class()
Executing Test_match_using_multibyte_conceal_char()
Executing Test_reversed_range()
Executing Test_search_cmds()
Executing Test_source_latin()
Executing Test_source_utf8()
Executing Test_strcharpart()
Executing Test_strchars()
Executing Test_strgetchar()
Executing Test_visual_block_insert()
Executed 18 tests

From test_alot.vim:
Executing Test_abbr_after_line_join()
Executing Test_abbreviation()
Executing Test_abs()
Executing Test_acos()
Executing Test_asin()
Executing Test_atan()
Executing Test_atan2()
Executing Test_auto_partial_rebind()
Executing Test_balloon_show()
Executing Test_bind_in_python()
Executing Test_break_undo()
Executing Test_bufexists()
Executing Test_byte2line_line2byte()
Executing Test_cancel_ptjump()
Executing Test_caught_error_in_statusline()
Executing Test_caught_error_in_tabline()
Executing Test_cd_large_path()
Executing Test_cd_up_and_down()
Executing Test_ceil()
Executing Test_changedtick_bdel()
Executing Test_changedtick_dict_entry()
Executing Test_changedtick_fixed()
Executing Test_changedtick_increments()
Executing Test_changedtick_islocked()
Executing Test_changenr()
Executing Test_close_on_quitpre()
Executing Test_closure_counter()
Executing Test_closure_refcount()
Executing Test_closure_unlet()
Executing Test_col()
Executing Test_color_names()
Executing Test_compare_null_dict()
Executing Test_compare_partials()
Executing Test_compl_vim_cmds_after_register_expr()
Executing Test_complete_CTRLN_startofbuffer()
Executing Test_complete_func_mess()
Executing Test_complete_no_undo()
Executing Test_completefunc_opens_new_window_one()
Executing Test_completefunc_opens_new_window_two()
Executing Test_completefunc_with_scratch_buffer()
Executing Test_completefunc_works()
Executing Test_completion_can_undo()
Executing Test_completion_clear_candidate_list()
Executing Test_completion_comment_formatting()
Executing Test_completion_ctrl_e_without_autowrap()
Executing Test_completion_respect_bs_option()
Executing Test_conf_type()
Executing Test_cos()
Executing Test_cosh()
Executing Test_count()
Executing Test_cursorline_keep_col()
Executing Test_curswant_with_autocommand()
Executing Test_cycle_partial_job()
Executing Test_cyclic_dict_arg()
Executing Test_cyclic_list_arg()
Executing Test_delete_myself()
Executing Test_detection()
Executing Test_dict()
Executing Test_dir_delete()
Executing Test_duplicate_tagjump()
Executing Test_empty()
Executing Test_empty_buffer()
Executing Test_empty_concatenate()
Executing Test_equal()
Executing Test_equalalways_on_close()
Executing Test_ex_mode()
Executing Test_ex_undo()
Executing Test_execute_list()
Executing Test_execute_string()
Executing Test_existing()
Executing Test_exp()
Executing Test_expand()
Executing Test_feedkeys_x_with_empty_string()
Executing Test_file_delete()
Executing Test_file_perm()
Executing Test_fileformat_after_bw()
Executing Test_fileformat_autocommand()
Executing Test_filetype_detection()
Executing Test_filewritable()
Executing Test_filter()
Executing Test_filter_cmd_completion()
Executing Test_filter_fails()
Executing Test_filter_map_dict_expr_funcref()
Executing Test_filter_map_dict_expr_string()
Executing Test_filter_map_list_expr_funcref()
Executing Test_filter_map_list_expr_string()
Executing Test_findfile()
Executing Test_float2nr()
Executing Test_float_misc()
Executing Test_floor()
Executing Test_fmod()
Executing Test_fnamemodify()
Executing Test_func_unref()
Executing Test_funcref()
Executing Test_function_in_dict()
Executing Test_function_with_funcref()
Executing Test_gD()
Executing Test_gD_char()
Executing Test_gD_comment()
Executing Test_gD_inline_comment()
Executing Test_gD_string()
Executing Test_gD_string_same_line()
Executing Test_gD_too()
Executing Test_ga_command()
Executing Test_gd()
Executing Test_gd_comment()
Executing Test_gd_comment_in_string()
Executing Test_gd_inline_comment()
Executing Test_gd_inline_comment_body()
Executing Test_gd_inline_comment_only()
Executing Test_gd_kr_style()
Executing Test_gd_local_block()
Executing Test_gd_missing_braces()
Executing Test_gd_not_local()
Executing Test_gd_string()
Executing Test_gd_string_in_comment()
Executing Test_gd_string_only()
Executing Test_gd_trailing_comment()
Executing Test_gd_trailing_multiline_comment()
Executing Test_get_partial_items()
Executing Test_getbufvar()
Executing Test_getpid()
Executing Test_getreg_empty_list()
Executing Test_global_local_lispwords()
Executing Test_help_complete()
Executing Test_help_respect_current_file_lang()
Executing Test_help_tagjump()
Executing Test_hlexists()
Executing Test_hostname()
Executing Test_if()
Executing Test_info()
Executing Test_input_in_timer()
Executing Test_invalid()
Executing Test_invalid_submatch()
Executing Test_isnan()
Executing Test_join_with_count()
Executing Test_keyword_jump()
Executing Test_lambda_call_lambda_from_lambda()
Executing Test_lambda_capture_by_reference()
Executing Test_lambda_circular_reference()
Executing Test_lambda_closure_counter()
Executing Test_lambda_combination()
Executing Test_lambda_delfunc()
Executing Test_lambda_do_not_share_local_variable()
Executing Test_lambda_fails()
Executing Test_lambda_feature()
Executing Test_lambda_refer_local_variable_from_other_scope()
Executing Test_lambda_scope()
Executing Test_lambda_share_scope()
Executing Test_lambda_side_effect()
Executing Test_lambda_with_a_var()
Executing Test_lambda_with_filter()
Executing Test_lambda_with_map()
Executing Test_lambda_with_partial()
Executing Test_lambda_with_sort()
Executing Test_lambda_with_timer()
Executing Test_last_buffer_nr()
Executing Test_len()
Executing Test_let_termcap()
Executing Test_load_menu()
Executing Test_log()
Executing Test_log10()
Executing Test_loop_over_null_list()
Executing Test_map_ctrl_c_insert()
Executing Test_map_ctrl_c_visual()
Executing Test_map_cursor()
Executing Test_map_feedkeys()
Executing Test_map_langmap()
Executing Test_map_meta_quotes()
Executing Test_map_timeout()
Executing Test_match()
Executing Test_match_func()
Executing Test_matchaddpos()
Executing Test_matchaddpos_using_negative_priority()
Executing Test_matchend()
Executing Test_matchlist()
Executing Test_matchstr()
Executing Test_matchstrpos()
Executing Test_max()
Executing Test_max_min_errors()
Executing Test_messages()
Executing Test_min()
Executing Test_missing_attr()
Executing Test_mode()
Executing Test_move_cursor()
Executing Test_named_function_closure()
Executing Test_nested_global()
Executing Test_next_split_all()
Executing Test_nextnonblank_prevnonblank()
Executing Test_no_type_checking()
Executing Test_noinsert_complete()
Executing Test_non_zero_arg()
Executing Test_not_existing()
Executing Test_not_lamda()
Executing Test_omnifunc_with_check()
Executing Test_oneshot()
Executing Test_option_value()
Executing Test_other_type()
Executing Test_partial_args()
Executing Test_partial_dict()
Executing Test_partial_exists()
Executing Test_partial_implicit()
Executing Test_partial_string()
Executing Test_paste_end_of_line()
Executing Test_paused()
Executing Test_peek_and_get_char()
Executing Test_popup_complete()
Executing Test_popup_complete2()
Executing Test_popup_completion_insertmode()
Executing Test_pow()
Executing Test_printf_64bit()
Executing Test_printf_errors()
Executing Test_printf_float()
Executing Test_printf_misc()
Executing Test_printf_spec_b()
Executing Test_printf_spec_s()
Executing Test_ptag_with_notagstack()
Executing Test_put_block()
Executing Test_put_char_block()
Executing Test_put_char_block2()
Executing Test_put_lines()
Executing Test_read_only()
Executing Test_recover_root_dir()
Executing Test_recursive_delete()
Executing Test_redefine_dict_func()
Executing Test_redo_in_nested_functions()
Executing Test_ref_job_partial_dict()
Executing Test_reltime()
Executing Test_repeat_many()
Executing Test_repeat_three()
Executing Test_retain_partial()
Executing Test_round()
Executing Test_script_detection()
Executing Test_script_function_in_dict()
Executing Test_script_function_in_dict_arg()
Executing Test_searchpos()
Executing Test_set_add()
Executing Test_set_backslash()
Executing Test_set_reg_null_list()
Executing Test_set_tagcase()
Executing Test_setbufline_getbufline()
Executing Test_setbufvar_options()
Executing Test_setline_startup()
Executing Test_setmatches()
Executing Test_sha256()
Executing Test_shellescape()
Executing Test_simplify()
Executing Test_sin()
Executing Test_sinh()
Executing Test_sort_cmd()
Executing Test_sort_default()
Executing Test_sort_float()
Executing Test_sort_nested()
Executing Test_sort_numbers()
Executing Test_sort_numeric()
Executing Test_sort_strings()
Executing Test_special_char()
Executing Test_sqrt()
Executing Test_static_tagjump()
Executing Test_statusline()
Executing Test_statusline_will_be_disabled_with_error()
Executing Test_stop_all_in_callback()
Executing Test_stop_in_callback()
Executing Test_stopall()
Executing Test_str2float()
Executing Test_str2nr()
Executing Test_strcharpart()
Executing Test_strftime()
Executing Test_strgetchar()
Executing Test_stridx()
Executing Test_strridx()
Executing Test_substitute_expr()
Executing Test_substitute_expr_arg()
Executing Test_symlink_delete()
Executing Test_symlink_dir_delete()
Executing Test_symlink_recursive_delete()
Executing Test_tabline_will_be_disabled_with_error()
Executing Test_tabnext_on_buf_unload1()
Executing Test_tabnext_on_buf_unload2()
Executing Test_tabpage()
Executing Test_tabpage_with_autocmd()
Executing Test_tabpage_with_tab_modifier()
Executing Test_tabpage_with_tabclose()
Executing Test_tabpage_with_tabnext()
Executing Test_tabpage_with_tabonly()
Executing Test_tabpage_with_tabprevious()
Executing Test_tagcase()
Executing Test_tagjump_switchbuf()
Executing Test_taglist()
Executing Test_taglist_ctags_etags()
Executing Test_taglist_native_etags()
Executing Test_tan()
Executing Test_tanh()
Executing Test_timer_catch_error()
Executing Test_timer_errors()
Executing Test_tolower()
Executing Test_tostring()
Executing Test_toupper()
Executing Test_translate_menu()
Executing Test_true_false_arg()
Executing Test_trunc()
Executing Test_unlet_fails()
Executing Test_valid()
Executing Test_version()
Executing Test_window_cmd_cmdwin_with_vsp()
Executing Test_window_cmd_ls0_with_split()
Executing Test_window_cmd_wincmd_gf()
Executing Test_window_contents()
Executing Test_window_exchange()
Executing Test_window_height()
Executing Test_window_horizontal_split()
Executing Test_window_jump_tag()
Executing Test_window_newtab()
Executing Test_window_preview()
Executing Test_window_quit()
Executing Test_window_rotate()
Executing Test_window_split_edit_alternate()
Executing Test_window_vertical_split()
Executing Test_window_width()
Executing Test_with_directories()
Executing Test_with_partial_callback()
Executing Test_with_tilde()
Executing Test_wrong_arguments()
Executing Test_yank_move_change()
Executing Test_yank_put_clipboard()
Executing Test_z()
Executing Test_z_negative_lnum()
Executing Test_z_overflow()
Executed 328 tests

Test results:
ALL DONE
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk/testdir'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json_test.o json_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o json_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/memfile.o objects/message.o objects/json_test.o   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./json_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/kword_test.o kword_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o kword_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/json.o objects/memfile.o objects/message.o objects/kword_test.o   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./kword_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile_test.o memfile_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o memfile_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/message.o objects/memfile_test.o   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./memfile_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message_test.o message_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o message_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/gui_gtk_gresources.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/memfile.o objects/message_test.o   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./message_test || exit 1; echo  passed;
passed
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-gtk'
touch build-stamp-vim-gtk
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena'
/usr/bin/make -f Makefile vim
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena'
make[2]: 'vim' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena'
if test -n "yes" -a -f po/Makefile; then \
	cd po; /usr/bin/make -f Makefile check VIM=../vim; \
fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq af.po
touch af.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ca.po
touch ca.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.po
touch cs.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq de.po
touch de.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq en_GB.po
touch en_GB.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq eo.po
touch eo.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq es.po
touch es.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fi.po
touch fi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fr.po
touch fr.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ga.po
touch ga.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq it.po
touch it.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.po
touch ja.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.po
touch ko.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.UTF-8.po
touch ko.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nb.po
touch nb.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nl.po
touch nl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq no.po
touch no.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.po
touch pl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pt_BR.po
touch pt_BR.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.po
touch ru.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.po
touch sk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sv.po
touch sv.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.po
touch uk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq vi.po
touch vi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.UTF-8.po
touch zh_CN.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.po
touch zh_CN.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.UTF-8.po
touch zh_TW.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.po
touch zh_TW.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.cp1250.po
touch cs.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.sjis.po
touch ja.sjis.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.euc-jp.po
touch ja.euc-jp.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.cp1250.po
touch pl.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.UTF-8.po
touch pl.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.cp1251.po
touch ru.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.cp1250.po
touch sk.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.cp1251.po
touch uk.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.cp936.po
touch zh_CN.cp936.ck
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena/po'
if test vim != vim -a ! -r vim; then \
	ln -s vim vim; \
fi
cd testdir; /usr/bin/make -f Makefile gui VIMPROG=../vim  SCRIPTSOURCE=../../runtime
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-athena/testdir'
rm -f test.log messages
rm -rf test1.failed test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out wrongtermsize
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test1.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test1.in" 57 lines, 2069 charactersFirst 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 1133 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l





/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" If columns or lines are too small, create wrongtermsize.
[?25l[?25h[?25l:[?2004h[?25h" (Some tests will fail. When columns and/or lines are small)
[?25l[?25h[?25l:[?2004h[?25hif &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Write a single line to test.out to check if testing works at all.
[?25l[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lthis is a test[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 15 characters written[?25h[?25l:[?2004h[?25h" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?25h
[?25l[?25h[?25l:[?2004h[?25hw! small.vim
[?25l"small.vim" [New File] 1 line, 1 character written[?25h[?25l:[?2004h[?25hw! tiny.vim
[?25l"tiny.vim" [New File] 1 line, 1 character written[?25h[?2004l[?2004h[?25le! test.ok

w! test.outqa![?25h[?25l:[?2004h[?25hw! mbyte.vim
[?25l"mbyte.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! mzscheme.vim
[?25l"mzscheme.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! lua.vim
[?25l"lua.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l"another" [New File]

"mbyte.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +lua feature supported, make lua.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("lua") | sp another | w! lua.vim | q | endif
[?25l"another" [New File]

"lua.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?25h[?25l:[?2004h[?25h" Otherwise write small.vim to skip the test.
[?25l[?25h[?25l:[?2004h[?25hif 1 | q! | endif
[?25l[?2004l[?2004l[?1l>[?25h[?1049lrm -rf X* 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test3.in" 2344 lines, 23156 characters/* vim: set cin ts=4 sw=4 : */



Test for 'cindent'.

For new tests, consider putting them in test_cindent.vim.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo 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;[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 : */[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 125 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo modeline
[?25l[?25h[?25l:[?2004h[>ce[?25hdit                " read modeline
[?25l"test3.in"2344L, 23156CTest for 'cindent'.

For new tests, consider putting them in test_cindent.vim.STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo modeline

:edit                " read modeline/start of AUTO=/end of AUTOENDTEST/* start of AUTO matically checked vim: set ts=4 : */

{    if (test)cmd1;cmd2;}{

    if (test)cmd1;else[?25h[?25l/[?2004h[?25hstart of AUTO
[?25l[?25h[?25l/[?2004h[?25hend of AUTO
[?25l956 lines to indent...
9500
850
750
650
550
450
350
250
150
50 lines to indent... 
957 lines indented [?25h[?25l/[?2004h^STARTTEST
}break;default:baz();baz();break;

    }

}



/* end of AUTO */



STARTTEST

:set tw=0 noai fo=croq

:let &wm = &columns - 20

/serious/e

a about life, the universe, and the rest^[

ENDTEST



{



/* this is

 * a real serious important big

 * comment[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 101C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset tw=0 noai fo=croq
[?25l[?25h[?25l:[?2004h[?25hlet &wm = &columns - 20
[?25l[?25h[?25l/[?2004h[?25hserious/e
[?25l[?25h[?25l



-- INSERT --about life, the

 * universe, and the

 * rest important big[?25h[?25l

* comment[?25h[?25l

/[?2004h^STARTTEST
*/

    /* insert " about life, the universe, and the rest" after "serious" */

}



STARTTEST[?25h[?25l

:set nocin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 6L, 78C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comments

joabout life^[/happens

jothere^[/below

oline^[/this

Ohello^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nocin
[?25l[?25h[?25l/[?2004h[?25hcomments
[?25l{

    /** Testing for comments, without 'cin' set[?25h[?25l

*/[?25h[?25l

-- INSERT --

about life[?25h[?25l

/[?2004h[?25hhappens
[?25l/*

* what happens here?[?25h[?25l

*/[?25h[?25l

-- INSERT --

there[?25h[?25l

/[?2004h[?25hbelow
[?25l/*the end of the comment, try inserting a line below */[?25h[?25l

-- INSERT --

line[?25h[?25l

/[?2004h[?25hthis
[?25l/* how aboutthis one */[?25h[?25l

-- INSERT --hello[?25h[?25l

this one */[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 18C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/vec2

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l/[?2004h[?25hvec2
[?25l{

    var = this + that + vec[0] * vec[0]+ vec[1] * vec[1]+ vec2[2] * vec[2];[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5L, 51C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=}4

/testing1

k2==/testing2

k2==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=}4
[?25l[?25h[?25l/[?2004h[?25htesting1
[?25l{asdf asdflkajds f;

    if (tes & ting) {asdf asdf asdf ;asdfa sdf asdf;}

    testing1;[?25h [?25l



/[?2004h[?25htesting2
[?25lif (tes & ting)

    {asdf asdf asdf ;asdfa sdf asdf;}

    testing2;[?25h [?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=(0,)20

/main

=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=(0,)20
[?25l[?25h[?25l/[?2004h[?25hmain
[?25lmain ( int first_par, /*[?25h[?25l

19 lines to indent...
20indented [?25h[?25l

* Comment for[?25h[?25l

/[?2004h^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();[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=es,n0s
[?25l[?25h[?25l/[?2004h[?25hmain
[?25l[?25h[?25l8 lines to indent...
9indented [?25h

[?25l/[?2004h^STARTTEST
else

    {bar();

    }

}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l{[?25h[?25l

11 lines to indent...
12indented [?25h[?25l

do[?25h[?25l

/[?2004h^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();

    }[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 1L, 6C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h





[?25l8 lines to indent...
9indented [?25h

   [?25l/[?2004h^STARTTEST
n();

}



STARTTEST[?25h[?25l

:set cino={s,e-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,e-s
[?25l[?25h[?25lvoid f()

{[?25h[?25l

7 lines to indent...
8indented     {[?25h[?25l

if ( k() )[?25h[?25l

/[?2004h^STARTTEST
{l();} else { /* Start (two words) end */m();}

    n();    /* should be under the if () */

}



STARTTEST[?25h[?25l

:set cino={s,fs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=/ foo[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,fs
[?25l[?25h[?25lvoid bar(void)

{[?25h[?25l

/[?2004h[?25h foo
[?25l30 lines to indent...
31indented     {[?25h[?25l/[?2004h^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 */[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l/[?2004h[?25hwhile
[?25l[?25h[?25l

-- INSERT --

here[?25h[?25l

if ( a )
    i[?25h[?25l

/[?2004h^STARTTEST
a;

}



STARTTEST[?25h[?25l

:set cino= com=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 109C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comment

olabel2: b();^Mlabel3 /* post */:^M/* pre */ label4:^Mf(/*com*/);^Mif (/*com*/)^^Mcmd();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino= com=
[?25l[?25h[?25l/[?2004h[?25hcomment
[?25la()

{

label1:/* hmm */// comment[?25h[?25l

-- INSERT --label2: b();

label3 /* post */:

/* pre */ label4:f(/*com*/);if (/*com*/)cmd();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set comments& comments^=s:/*,m:**,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 53C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/simple

=5j[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset comments& comments^=s:/*,m:**,ex:*/
[?25l[?25h[?25l/[?2004h[?25hsimple
[?25l/*

  * A simple comment[?25h[?25l

5 lines to indent...
6indented * A simple comment[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
/*

** A different comment

*/



STARTTEST[?25h[?25l

:set cino=c0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 70C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=c0,C1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 73C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0,C1
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********

    A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 17C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s,U1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,U1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(0,w1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,w1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3) && c4;

    if (c1 && c2)foo;

}



STARTTEST[?25h[?25l

:set cino=(s,m1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,m1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3

    ) && c4;

    if (c1 && c2

    )foo;

}



STARTTEST[?25h[?25l

:set cino=b1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=b1
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

9 lines to indent...
10 lines indented [?25h[?25l

switch (x)[?25h[?25l

/[?2004h^STARTTEST
{case 1:a = b;break;default:a = 0;break;

    }

}



STARTTEST[?25h[?25l

:set cino=(0,W5
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W5
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

10 lines to indent...
11indented [?25h[?25l

invokeme([?25h[?25l

/[?2004h^STARTTEST
argu,ment);

    invokeme(argu,ment);

    invokeme(argu,ment);

}



STARTTEST[?25h[?25l

:set cino=/6
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=/6
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

3 lines to indent...
4indented [?25h[?25l

statement;[?25h[?25l

/[?2004h^STARTTEST
// comment 1// comment 2

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 34C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-12kdd]]/comment 1/+1

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l==ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

/[?2004h[?25hcomment 1/+1
[?25lstatement;// comment 1

    // comment 2[?25h[?25l    // comment 2[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino=g0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=g0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass CAbc

{[?25h[?25l

6 lines to indent...
7indented [?25h[?25l

int Test() { return FALSE; }[?25h[?25l

/[?2004h^STARTTEST
public: // comment

    void testfall();

protected:

    void testfall();

};



STARTTEST[?25h[?25l

:set cino=(0,gs,hs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 29C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,gs,hs
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass Foo : public Bar

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

public:[?25h[?25l

/[?2004h^STARTTEST
virtual void method1(void) = 0;virtual void method2(int arg1,int arg2,int arg3) = 0;

};



STARTTEST[?25h[?25l

:set cino=+20
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 24C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=+20
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid

foo()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (a)[?25h[?25l

/[?2004h^STARTTEST
{

    } elseasdf;

}



STARTTEST[?25h[?25l

:set cino=(0,W2s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W2s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25l

{[?25h[?25l

34 lines to indent...
35indented [?25h[?25l

averylongfunctionnamelongfunctionnameaverylongfunctionname()->asd([?25h[?25l

/[?2004h^STARTTEST
dec)->asdfasdfasdf(asdfadsf,asdfasdf,asdfasdf,),func(asdfadf,asdfasdf),asdasdf);

}



STARTTEST

:set cino=M1

2kdd]]=][

ENDTEST



int main ()

{

    if (cond1 &&cond2)foo;

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=M1
[?25l[?25h[?25l

[?25h[?25l4 lines to indent...
5indented [?25h

   [?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set cino=(0,ts
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,ts
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

7 lines to indent...
8indented [?25h[?25l

void func(int a[?25h[?25l

/[?2004h^STARTTEST
#if defined(FOO), int b, int c

#endif)

{

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void[?25h[?25l

/[?2004h^STARTTEST
func(int a

#if defined(FOO), int b, int c

#endif

    )

{

}



STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 22C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=7][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=7][

ENDTEST[?25h



[?25l

69 lines to indent...
50
7indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^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};[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l:[?2004h[?25hset cino+=l1
[?25l[?25h[?25l

[?25h



[?25l22 lines to indent...
23indented [?25h

[?25l/[?2004h^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";

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l

[?25h



[?25l6 lines to indent...
7indented     << "b"

        << ") :"

        << "c";[?25h

[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set com=s1:/*,m:*,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]3jofoo();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset com=s1:/*,m:*,ex:*/
[?25l[?25h[?25lvoid func(void)

{[?25h[?25l/** This is a comment.*/[?25h[?25l

-- INSERT --

foo();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^STARTTEST
{

    for (int i = 0; i < 10; ++i)if (i & 1) {foo(1);} elsefoo(0);

    baz();

}



STARTTEST[?25h[?25l

:set cino=k2s,(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd3j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0
[?25l[?25h[?25l2kdd3j=][ENDTEST[?25h[?25l

void func(void)[?25h[?25l

23 lines to indent...
24indented [?25h[?25l

{[?25h[?25l

/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s
[?25l[?25h[?25l

[?25h





[?25l23 lines to indent...
24indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s,U1
[?25l[?25h[?25l

[?25h





[?25l24 lines to indent...
25indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,W4
[?25l[?25h[?25l

[?25h





[?25l29 lines to indent...
30indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,u2
[?25l[?25h[?25l

[?25h





[?25l18 lines to indent...
19indented         && condition2)

        action();        && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,w1
[?25l[?25h[?25l

[?25h





[?25l27 lines to indent...
28indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2,(s
[?25l[?25h[?25l

[?25h





[?25l14 lines to indent...
15indented [?25h

[?25l/[?2004h^STARTTEST
if (c1 && (c2 ||c3))foo;

    if (c1 &&(c2 || c3))

    {

    }

}



STARTTEST[?25h[?25l

:set cino=N-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 47C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^NAMESPACESTART

=/^NAMESPACEEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=N-s
[?25l[?25h[?25l/[?2004h[?25h^NAMESPACESTART
[?25lNAMESPACESTART[?25h[?25l

/[?2004h[?25h^NAMESPACEEND
[?25l81 lines to indent...
50
82indented [?25h[?25l/[?2004h^STARTTEST
namespace test test2

{

    1111111111111111111;

}

namespace111111111

{

    111111111111111111;

}

NAMESPACEEND





STARTTEST

:set cino=j1,J1

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

var bar = {

foo: {

that: this,

some: ok,

},[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l12 lines to indent...
13indented     foo: {

        that: this,

        some: ok,

    },[?25h[?25l/[?2004h^STARTTEST
"bar":{a : 2,b: "123abc",x: 4,"y": 5

    }

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l5 lines to indent...
6indented [?25h[?25l/[?2004h^STARTTEST
var foo = [

    1,

    2,

    3

];

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l7 lines to indent...
8indented [?25h[?25l/[?2004h^STARTTEST
function bar() {

    var foo = [1,2,3

    ];

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l58 lines to indent...
509indented [?25h[?25l/[?2004h^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: [[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l14 lines to indent...
15indented     $(this).data(class_name+'_public',$.extend({},{

        foo: 'bar',

        bar: 2,

        foobar: [[?25h[?25l/[?2004h^STARTTEST
1,2,3],callback: function(){return true;}

    }, options||{}));

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l16 lines to indent...
17indented [?25h[?25l/[?2004h^STARTTEST
2,3],callback: function(){return true;}}, options||{}));

    }

})(jQuery);

JSEND



STARTTEST

:set cino=j1,J1,+2

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

// Results of JavaScript indent

// 1

(function(){

var a = [

'a',[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1,+2
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l149 lines to indent...
100
50 lines to indent... 
150 lines indented     var a = [

      'a',[?25h[?25l/[?2004h^STARTTEST
var a,

    b,

    c,

    d,

    e,

    f,

    g,

    h,

    i;

JSEND



STARTTEST

:set cin cino&

/start of define

=/end of define

ENDTEST



/* start of define */

{

}

#define AAA \

BBB\

CCC[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 48C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin cino&
[?25l[?25h[?25l/[?2004h[?25hstart of define
[?25l[?25h[?25l/[?2004h[?25hend of define
[?25l11 lines to indent...
12indented     BBB\

    CCC[?25h[?25l/[?2004h^STARTTEST
#define CNT \

    1 + \

    2 + \

    4

/* end of define */



STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 61C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l227 fewer lines    c,

    d,

    e,    f,    g,    h,    i;JSEND/* start of define */

{}#define AAA \

    BBB\

    CCC#define CNT \

    1 + \

    2 + \4

/* end of define */[?25h[?25l:[?2004h[?25h1;/start of AUTO/,$wq! test.out
[?25l[?2004l"test.out" [New] 2096L, 20188C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test3 = test61; then \
#	  if diff test.out test3.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test3.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test4.failed test.ok test.out X* viminfo
cp test4.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test4.in" 34 lines, 960 charactersTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew

/start of

:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx" split to Xxx, autocmd will do :brew

G?this is a

othis should be auto-indented^[

:" Append text with autoindent to this file

:au! BufEnter Xxx

:buf Xxx" go to Xxx, no autocmd anymore

G?this is a

othis should be in column 1^[:wq " append text without autoindent to Xxx

G:r Xxx" include Xxx in the current file

:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is sset

Go# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes current buffer on BufEnter event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 20 lines, 678 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:?startstart?,$w! test.out

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>ca[?25hu BufEnter Xxx brew
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25lstartstart

start of test file Xxx[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx   " write test file Xxx
[?25l"Xxx" [New] 7L, 124C written[?25h[?25l:[?2004h[?25hset ai modeline modelines=3
[?25l[?25h[?25l:[?2004h[?25hsp Xxx             " split to Xxx, autocmd will do :brew
[?25l"Xxx" 7L, 124CTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.STARTTESTo small.vim:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew/start of.,/end of/w!" write test file Xxx

:set ai modeline modelines=3:sp Xxx    " split to Xxx, autocmd will do :brew

test4.in                                                                        :set fo+=rssue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.outqa!ENDTESTstartstart of test file Xxx

test4.in                                                                        test4.in" line 1 of 34 --2%-- col 1[?25h[?25l:qa!ENDTESTstartstart

start of test file Xxx

vim: set noai :        this is a test

        this is a test

        this is a test        this is a testend of test file Xxx[?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --        this should be auto-indented[+][+][?25h[?25l

end of test file Xxx[?25h[?25l:[?2004h[?25h                   " Append text with autoindent to this file
[?25l[?25h[?25l:[?2004h[?25hau! BufEnter Xxx
[?25l[?25h[?25l:[?2004h[?25hbuf Xxx            " go to Xxx, no autocmd anymore
[?25l"Xxx" 7L, 124Cstart of test file Xxx

vim: set noai :

        this is a test

        this is a test

        this is a test



end of test file Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxxt          [?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --this should be in column 1[+][?25h[?25l:[?2004h[?25hwq " append text without autoindent to Xxx
[?25l"Xxx8L, 151C written:au BufEnter Xxx brew/start of:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx             " split to Xxx, autocmd will do :brew

G?this is aothis should be auto-indented^[

:                   " Append text with autoindent to this file

:au! BufEnter Xxx:buf Xxx            " go to Xxx, no autocmd anymoreG?this is aothis should be in column 1^[:wq " append text without autoindent to XxxG:r Xxx   nclude Xxx in the current file:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.out

:qa!ENDTESTstarstart of test file Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a testthis should be auto-indented

end of test file Xxx[?25h[?25l

:[?2004h[?25hr Xxx             " include Xxx in the current file
[?25l"Xxx" 8L, 151C

start of test file Xxx[?25h[?25l

:[?2004h[?25hset fo+=r          " issue #57 do not move cursor on <c-o> when autoindent is 


set
[?25l:au! BufEnter Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

this should be in column 1

end of test file Xxx
[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --

# def[?25h[?25lINSERTt --defo[?25hd[?25l[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --[?25h[?25l

-- INSERTt --def:[?25hd[?25l[?25h[?25l

:[?2004h[?25h[?25l:[?2004h[?25h?startstart?,$w! test.out
[?25l"test.out" [New] 20L, 330C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test4 = test61; then \
#	  if diff test.out test4.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test4.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test5.failed test.ok test.out X* viminfo
cp test5.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test5.in" 29 lines, 949 charactersTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.



STARTTEST

:so small.vim

:au BufLeave Xxx bwipe

/start of

:.,/end of/w! Xxx" write test file Xxx

:sp Xxx" split to Xxx

:bwipe" delete buffer Xxx, now we're back here

G?this is a

othis is some more text^[

:" Append some text to this file

:?start?,$w! test.out" Write current file contents

:bwipe test.out" delete alternate buffer

:au bufleave test5.in bwipe

:bwipe!" delete current buffer, get an empty one

ithis is another test line^[:w >>test.out

:" append an extra line to the output file

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that deletes the current buffer on BufLeave event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 664 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufLeave Xxx bwipe
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25l[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx               " write test file Xxx
[?25l"Xxx" [New File] 7 lines, 124 characters written[?25h[?25l:[?2004h[?25hsp Xxx                         " split to Xxx
[?25l"Xxx" 7 lines, 124 charactersstart of test file Xxxvim: set noai :this is a test

        this is a test

        this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx                                                                             ?start?,$w! test.outWrite current file contentsbwipe test.out      delete alternate bufferau bufleave test5.in bwipebwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out:                               " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx

test5.in                                                                        [?25h[?25l:[?2004h[?25hbwipe                          " delete buffer Xxx, now we're back here
[?25lTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.STARTTEST:so small.vim:au BufLeave Xxx bwipe

/start of:.,/end of/w! Xxx               " write test file Xxx:sp Xxx                         " split to Xxx:bwipe                          " delete buffer Xxx, now we're back hereG?this is aothis is some more text^[                    Append some text to this file

:?start?,$w! test.outWrite current file contents

:bwipe test.out                 " delete alternate buffer

:au bufleave test5.in bwipe:bwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out   " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx"test5.in" line 23 of 29 --79%-- col 1[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

end of test file Xxx[?25h[?25l

?[?2004h[?25hthis is a
[?25l[?25h[?2004l[?2004h[?25l

this is some more text[?25h[?25l

end of test file Xxx[?25h[?25l

:[?2004h[?25h                               " Append some text to this file
[?25l[?25h[?25l:[?2004h[?25h?start?,$w! test.out           " Write current file contents
[?25l"test.out" [New File] 8 lines, 147 characters written[?25h[?25l:[?2004h[?25hbwipe test.out                 " delete alternate buffer
[?25l[?25h[?25l:[?2004h[?25hau bufleave test5.in bwipe
[?25l[?25h[?25l:[?2004h[?25hbwipe!                         " delete current buffer, get an empty one
[?25lError detected while processing BufLeave Auto commands for "test5.in":

E89: No write since last change for buffer 1 (add ! to override)


Press ENTER or type command to continue[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lthis is another test line[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 26 characters appended[?25h[?25l:[?2004h[?25h                               " append an extra line to the output file
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test5 = test61; then \
#	  if diff test.out test5.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test5.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test7.failed test.ok test.out X* viminfo
cp test7.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test7.in" 26 lines, 675 charactersTest for autocommand that changes the buffer list, when doing ":ball".



STARTTEST

:so small.vim

/^start of

A1^[:.,/end of/w! Xxx1   " write test file Xxx1

:sp Xxx1

:close

$r2:.,/end of/w! Xxx2    " write test file Xxx2

:sp Xxx2

:close

$r3:.,/end of/w! Xxx3    " write test file Xxx3

:sp Xxx3

:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes the buffer list, when doing ":ball".[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 508 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx1   " write test file Xxx1
[?25l"Xxx1" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx1
[?25l"Xxx1" 4 lines, 77 charactersstart of test file Xxx1this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2    " write test file Xxx2
[?25l"Xxx2" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx2
[?25l"Xxx2" 4 lines, 77 charactersstart of test file Xxx2this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx2                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2[?25h[?25l3[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx3    " write test file Xxx3
[?25l"Xxx3" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx3
[?25l"Xxx3" 4 lines, 77 charactersstart of test file Xxx3this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx3                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3[?25h[?25l:[?2004h[?25hau BufReadPost Xxx2 bwipe
[?25l[?25h[?25l4[?25h[?25l:[?2004h[?25hball                 " open window for all args, close Xxx2
[?25l"Xxx1"4 lines, 77 characters


"Xxx2" 4 lines, 77 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h.,$w! test.out          " Write contents of this file
[?25l"test.out" [New File] 4 lines, 77 characters written


Press ENTER or type command to continue[?25h[?25l:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx4

test7.in [+]                                                                    start of test file Xxx1this is a testthis is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            [?25h

test7.in [+]                                                                     Xxx1                                                                            [?25l:[?2004h[?25hw >>test.out        " Append contents of second window (Xxx1)
[?25l"test.out" 4 lines, 77 characters appended[?25htest7.in [+]                                                                    Xxx1                                                                             [?25l:[?2004h[?25h/^start of/,$w >>test.out   " Append contents of last window (this file)
[?25lsearch hit BOTTOM, continuing at TOP"test.out" 4 lines, 77 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test7 = test61; then \
#	  if diff test.out test7.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test7.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test8.in" 46 lines, 1236 charactersTest 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('$')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1054 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTif 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,nviminfo

:au BufUnload * call CloseAll()

:au VimLeave * call WriteToOut()

:e small.vim

:sp mbyte.vim

:q

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx1 bunload
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx2 bwipe
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l

start of Xxx[?25h[?2004l[?2004h[?25l1[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx1  " write test file Xxx1
[?25l"Xxx1" [New File] 3 lines, 31 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2   " write test file Xxx2
[?25l"Xxx2" [New File] 3 lines, 31 characters written[?25h[?25l:[?2004h[?25he! Xxx2                " edit Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2

        testend of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbdel test8.in^I^I" delete this file from the buffer list
[?25l[?25h[?25l:[?2004h[?25he Xxx1                 " edit Xxx1
[?25l"Xxx1" 3 lines, 31 characters1
[?25h[?25l:[?2004h[?25hw                      " write it, will unload it and give an error msg
[?25l"Xxx2"3 lines, 31 characters


E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! test.out            " Write contents of this file
[?25l"test.out" [New File] 3 lines, 31 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he! Xxx2                " start editing Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2test

end of Xxx"Xxx2" 3 lines, 31 characters[?25h[?25l:[?2004h[?25hbwipe test.out         " remove test.out from the buffer list
[?25l[?25h[?25l:[?2004h[?25hw                      " write it, will delete the buffer and give an error ms


g[?25l"Xxx1"3 lines, 31 characters

E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out           " Append contents of this file
[?25l"test.out" 3 lines, 31 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! BufWritePre
[?25lstart of Xxx1test

end of Xxx[?25h[?25l:[?2004h[?25hfunc CloseAll()
[?25l

:[?2004h  [?25h  let i = 0


[?25l:[?2004h  [?25h  while i <= bufnr('$')


[?25l:[?2004h    [?25h    if i != bufnr('%') && bufloaded(i)


[?25l:[?2004h      [?25h      exe  i . "bunload"


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let i += 1


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfunc WriteToOut()
[?25l

:[?2004h  [?25h  edit! test.out


[?25l:[?2004h  [?25h  $put ='VimLeave done'


[?25l:[?2004h  [?25h  write


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               [?25h[?25l:[?2004h[?25hset viminfo='100,nviminfo
[?25l[?25h[?25l:[?2004h[?25hau BufUnload * call CloseAll()
[?25l[?25h[?25l:[?2004h[?25hau VimLeave * call WriteToOut()
[?25l[?25h[?25l:[?2004h[?25he small.vim
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"small.vim" 1 line, 1 character


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp mbyte.vim
[?25l"mbyte.vim" 0 lines, 0 characters~                                                                               ~                                                                               ~                                                                               mbyte.vim                                                                       small.vim                                                                       "mbyte.vim" 0 lines, 0 characters[?25h[?25l:[?2004h[?25hq
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"test.out" 6 lines, 62 characters[?2004l


"test.out" 7 lines, 76 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test8 = test61; then \
#	  if diff test.out test8.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test8.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test14.in" 100 lines, 1623 charactersTests 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

:set belloff=all

/Start cursor here

vaBiBD:?Bug?,/Piece/-2w! test.out

/^- Bug

:s/u/~u~/

:s/i/~u~/

:s/o/~~~/

:.w >>test.out

:if has("ebcdic")

: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>"

:else

: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"

:endif

:exe "normal " . tt

:unlet tt[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1158 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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 */{}}}[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25hStart cursor here
[?25l[?25h[?25l[?25h[?25l{ 

                        cmd;    /* <-- Start cursor here */ 

                        { 

                        } 

                [?25h[?25l                cmd; 

                }[?25h[?25l





6 fewer lines        }Piece of Java{        tt m1 {                t1;e1[?25h[?25l:[?2004h[?25h?Bug?,/Piece/-2w! test.out
[?25l"test.out" [New File] 3 lines, 44 characters written[?25h[?25l/[?2004h[?25h^- Bug
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/u/~u~/
[?25l[?25h[?25l:[?2004h[?25hs/i/~u~/
[?25luuun "vPPPP" on this text (Webb):
[?25h[?25l:[?2004h[?25hs/o/~~~/
[?25luuuuuuuuun this text (Webb):
[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 48 characters appended[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>


"

[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"


[?25l:[?2004h  [?25h:endif
[?25l:$put =@/

/^substitute

:keeppatterns s/asdf/xyz/

:$put =@/

/^substitute[?25h[?25l:[?2004h[?25hexe "normal " . tt
[?25l[?2004l[?2004hABC !a^Og^G8[?25h[?25l:[?2004h[?25hunlet tt
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset vb
[?25l[?25h[?25l/[?2004h[?25h^Piece
[?25l[?25h[?2004l[?2004h[?25l{A[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25ltt m2 {[?25h[?2004l[?2004h[?25l{B[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25lt2;} e2tt m3 {[?25h[?2004l[?2004h[?25l{C[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?2004l[?2004h[?25l{DC[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{EA[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{F[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}G e1[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h

[?25lif (x){t3;}} e3[?25h[?2004l[?2004h[?25l}H e3[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?25l

}[?25h[?2004l[?2004h[?25l}I[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}JH e3[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?25h[?2004l[?2004h[?25l}K e2[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?2004l[?2004h[?25l{LF[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^foobar
[?25lfoobar[?25h[?25l

:[?2004h[?25hlet startline = line('.')
[?25l[?25h[?25l:[?2004h[?25hcall search('foobar', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l

[?25h[?25l

:[?2004h[?25hcall search('^$', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l:[?2004h[?25hcall search('^$', 'bc')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l/[?2004h[?25htwo
[?25lsubstitute foo asdf



one two[?25h[?25l

:[?2004h[?25hcall search('.', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), getline('.')[col('.') - 1:])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/foo/bar/
[?25lbar
[?25h[?25l:[?2004h[?25h$put =@/
[?25lsearch()

0

1

1

two

foo[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hkeeppatterns s/asdf/xyz/
[?25lxyz[?25h[?25l:[?2004h[?25h$put =@/
[?25l

^substitute[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l

/[?2004h[?25hbar /e
[?25l[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l



:[?2004h[?25hkeeppatterns /xyz
[?25l[?25h[?25l

/bar /exyz[?25h[?25l:[?2004h[?25h/^search()/,$w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 9 lines, 58 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test14 = test61; then \
#	  if diff test.out test14.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test14.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test15.in" 136 lines, 2246 charactersTests 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

:set nocp viminfo+=nviminfo

:" 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 401 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset tw=65
[?25l[?25h[?25l

test for :left[?25h[?25l

:[?2004h[?25h/^\s*test for :left/,/^\s*test for :center/ left
[?25lsearch hit BOTTOM, continuing at TOPtest for :left[?25h[?25l:[?2004h[?25h/^\s*test for :center/,/^\s*test for :right/ center
[?25l[?25h[?25l:[?2004h[?25h/^\s*test for :right/,/^xxx/-1 right
[?25l[?25h[?25l:[?2004h[?25hset fo+=tcroql tw=72
[?25l[?25h[?25l/[?2004h[?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[?25h
[?25l

 xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xxxx xxxxxxx.

xxxx xxxx.xxxxxxx: xxxx xxxxxxx, xx xxxx xxxxxxx~                                                                               [?25h

[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h undo/redo here to make the next undo only work on the following changes
[?25l[?25h[?25l1 more line; before #1  0 seconds ago0gq6kk

:set nocp viminfo+=nviminfo

:" 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 :centeraafaafd asdf[?25h[?25l1 line less; after #1  0 seconds agotest for :lefta      afa    adfa      asdfaaasdfa           axasdfaa                test for :center  aa  fa        afd asdf[?25h

[?25l:[?2004h[?25hmap gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
[?25l[?25h[?25l/[?2004h[?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[?25h[?25l





:[?2004h.,.+2s/^/x/
3 substitutions on 3 linesxaa aa aa aa

xbb bb bb bb

xcc cc cc cc
[?25h[?25l:[?2004hset tw=3
[?25h[?25l





3 more lines

aaaaaa3 more lines[?25h[?25l

3 fewer lines; before #2  0 seconds agoaa aa aa aa

bb bb bb bb

cc cc cc cc

~                                                                               [?25h

[?25l:[?2004h[?25h?test for :left?,$w! test.out
[?25l"test.out"[New] 111L, 2304C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test15 = test61; then \
#	  if diff test.out test15.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test15.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test19.in" 33 lines, 692 charactersTests 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![?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 447 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset smarttab expandtab ts=8 sw=4
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25lSTARTTEST

: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

[?25h[?25l

/[?2004h[?25hsome
[?25lstart textsome test text[?25h[?2004l[?2004h[?25l    ome test text[?25h[?25l

:[?2004h[?25hset noexpandtab
[?25l[?25h[?25l/[?2004h[?25hother
[?25ltest textother test text[?25h[?2004l[?2004h[?25l    ther test text[?25h[?25l

a cde[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs and then backspacing to undo it
[?25l[?25h
    [?2004l[?2004h[?25l[?25h[?25l

f ghi[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs
[?25l[?25h
    [?2004l[?2004h[?25l     hi[?25h[?25l

test text[?25h[?25l

:[?2004h[?25h" Test that copyindent works with expandtab set
[?25l[?25h[?25l:[?2004h[?25hset expandtab smartindent copyindent ts=8 sw=8 sts=8
[?25l[?25h[?2004l[?2004h[?25l{x[?25h[?25l

:[?2004h[?25hset nosol
[?25l[?25h[?25l/[?2004h[?25hSecond line/
[?25l

Second line beginning with whitespace[?25h[?25l
  with whitespace[?25h[?25l

:[?2004h[?25h?^start?,$w! test.out
[?25l"test.out" [New File] 10 lines, 121 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test19 = test61; then \
#	  if diff test.out test19.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test19.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test20.failed test.ok test.out X* viminfo
cp test20.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test20.in" 28 lines, 398 charactersTests Blockwise Visual when there are TABs before the text.

First test for undo working properly when executing commands from a register.

Also test this in an empty buffer.



STARTTEST

:so tiny.vim

G0"ay$k@au

:new

@auY:quit!

GP

/start here$

"by$^Vjjlld

/456$

^Vjj"bP

:/56$/,$-1w! test.out

:qa!

ENDTEST



123456

234567

345678



test text test tex start here[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests Blockwise Visual when there are TABs before the text.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 107 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso tiny.vim
[?25l[?25h[?25lsome texttest text

test text



Ox^[jAy^[kdd[?25h[?2004l[?2004h[?25lx[?25h

[?2004l[?2004h[?25ly[?25h[?25ly

Ox^[jAy^[kdd[?25h[?25l



2 changes; before #1  0 seconds ago[?25h

[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       123456

234567

345678test text test tex start here

                some texttest

test textOx^[jAy^[kdd

test20.in                                                                       [?25h[?2004l[?2004h[?25lx[+][?25h

[?2004l[?2004h[?25ly[?25h[?25l

~                                                                               [?25h[?25l1 line less; before #1  0 seconds ago    [?25h[?25l:[?2004h[?25hquit!
[?25l:so tiny.vim

G0"ay$k@au:new@auY:quit!GP/start here$"by$^Vjjlld/456$^Vjj"bP:/56$/,$-1w! test.out:qa!ENDTEST123456

234567

345678test text test tex start heresome

         test text

test textOx^[jAy^[kdd[?25h[?25l[?25h[?25l

Ox^[jAy^[kdd[?25h[?25l

/[?2004h[?25hstart here$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25ls[?25h[?25le[?25h[?25lt t[?25h[?25lat [?25h[?25lrt hereextex[?25h[?25l/[?2004h[?25h456$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25l4

234[?25h[?25l5

345[?25h[?25l[?25h[?25lstart here56

234start here67

345start here78[?25h[?25l:[?2004h[?25h/56$/,$-1w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 10 lines, 106 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test20 = test61; then \
#	  if diff test.out test20.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test20.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test28.failed test.ok test.out X* viminfo
cp test28.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test28.in" 23 lines, 364 charactersTest for sourcing a file with CTRL-V's at the end of the line



STARTTEST

:/firstline/+1,/lastline/-1w! Xtestfile

:so Xtestfile

Gmm__1^[^[__2^[__3^[^[__4^[__5^[:'m,$s/^@/0/g

:'m,$w! test.out

:qa!

ENDTEST



firstline

map __1 afirst

map __2 asecond

map __3 athird

map __4 afourth

map __5 afifth

map __1 asd^V

map __2 asd^V^V

map __3 asd^V^V

map __4 asd^V^V^V

map __5 asd^V^V^V

lastline[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 sourcing a file with CTRL-V's at the end of the line[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 114 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h/firstline/+1,/lastline/-1w! Xtestfile
[?25l"Xtestfile" [New File] 10 lines, 148 characters written[?25h[?25l:[?2004h[?25hso Xtestfile
[?25l[?25h[?2004l[?2004h[?25l

sd

map __2 asd^[[?25h[?2004l[?2004h[?25lsecond[?25h[?2004ld  [?2004h[?25lsd^[[?25h[?2004l^[  [?2004h[?25lsd^@map __5 asd^@[?25h[?2004l[?2004h[?25lfifth[?25h[?25l

:[?2004h[?25h'm,$s/^@/0/g
[?25l0map __5 asd0fifth[?25h[?25l:[?2004h[?25h'm,$w! test.out
[?25l"test.out" [New File] 2 lines, 45 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test28 = test61; then \
#	  if diff test.out test28.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test28.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test29.in" 231 lines, 4278 charactersTest 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 nocompatible viminfo+=nviminfo

: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 cpoptions-=j nojoinspaces compatible

j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2

ENDTEST



firstline

asdfasdf.

asdf[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 478 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het nojoinspaces
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j
[?25l[?25h[?25l/[?2004h[?25hfirstline/
[?25l[?25h

[?25l/[?2004h[?25h^STARTTEST/-1
[?25l+-1
37 fewer linesSTARTTEST

/^{/+1[?25h[?25lmore linesasdfasdf.

asdf[?25h[?25lasdf

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop!

ert[?25h
hjkl i[?25l. as dfg? hjkl iop! ert

zx cvn.

as dfg?hjkl iop![?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv
hjkl i[?25l. as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop![?25h
hjkl i[?25l.  as dfg?  hjkl iop!  ert

zx cvn.

as dfg?[?25h  er[?25lt  e[?25h
zx cv[?25len[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv[?25l

hjkl iop![?25h
hjkl i[?25l.  as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions-=j nojoinspaces compatible
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h[?25l.  as dfg? hjkl iop! ert[?25h[?25lt  a[?25h[?25l

zx cvn.[?25h[?25l

/[?2004h[?25hSTARTTEST/-2
[?25l+-2
4 fewer lines[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 12 lines, 147 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset comments=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset nojoinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();
[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:" Test with backspace set to the non-compatible setting
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 18 lines, 364 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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 backspace= visualbell

A vim5^[A^U^U^[

A vim6^[Azwei^Gu^U^[

:inoremap <c-u> <left><c-u>

A vim7^U^U^[

:set compatible novisualbell

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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" Test with backspace set to the non-compatible setting
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25h^\d\+ this
[?25l[?25h[?25l:[?2004h[?25hset cp bs=2
[?25l[?25h[?2004l[?2004h[?25l[?25h[?2004ld    [?25lvim2[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hset cpo-=<
[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25ld3[?25h[?25l:[?2004h[?25hiunmap <c-u>
[?25l[?25h[?2004l[?2004h[?25l[?25h

[?25l:[?2004h[?25h" Test with backspace set to the compatible setting
[?25l[?25h[?25l:[?2004h[?25hset backspace= visualbell
[?25l[?25h[?2004l[?2004h[?25lvim5[?25h[?2004l[?2004h[?2004l[?2004h[?25ld vim6[?25h[?2004l6    [?25lzwei[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25lvim7[?25h

[?25l:[?2004h[?25hset compatible novisualbell
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 21 lines, 356 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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.

 */[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset comments=sO:*\ -,mO:*\ \ ,exO:*/
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:>#,mb:#,ex:#<,:<
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed.  *//* List:

 * - item1

 *   foo bar baz[?25h

[?25l/* Make sure the previous comment leader is not removed.  */*   foo bar baz

 * - item2

 *   foo bar baz[?25h

[?25l:[?2004h[?25h.,+8join
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz *//* List:- item1  foo bar baz

 * - item2[?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?[?25h

[?25l:[?2004h[?25h.,+2join
[?25lShould the next comment leader be left alone?  Yes.





// Yes.[?25h

[?25l// Should the next comment leader be left alone?  Yes.* Here the comment leader should be left intact. */

// And so should this one.[?25h

[?25l





:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.* Here the comment leader should be left intact. */[?25h

[?25l/* Here the comment leader should be left intact. */ // And so should this one.[?25h

[?25l:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;[?25h[?25l

[?25h[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;
[?25h[?25l

[?25h[?25l

:[?2004h[?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.[?25h[?25l

[?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.[?25h[?25l

[?25h[?2004l[?2004h[?25lSome code!

// Make sure backspacing does not remove this comment leader.[?25h
[?2004l[?2004h[?25l// Make sure backspacing does not remove this comment leader.

}[?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 61 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:?firstline?+1,$w! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l75 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.

}[?25h[?25l:[?2004h[?25h?firstline?+1,$w! test.out
[?25l"test.out" [New File] 97 lines, 3018 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test29 = test61; then \
#	  if diff test.out test29.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test29.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test31.in" 95 lines, 1832 charactersTest for commands that close windows and/or buffers:

:quit

:close

:hide

:only

:sall

:all

:ball

:buf

:edit



STARTTEST

:so small.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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 80 lines, 1697 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" test ":q!" and hidden buffer.

:bw! Xtest1 Xtest2 Xtest3 Xtest4

:sp Xtest1

:wincmd w

:bw!

:set modified

:bot sp Xtest2

:set modified

:bot sp Xtest3

:set modified

:wincmd t

:hide

:q!

:w >>test.out

:q!

:w >>test.out

:q!

:call append(line('$'), "Oh, Not finished yet.")

:w >>test.out

:qa!

ENDTEST



testtext[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h

[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h$w! Xtest1
[?25l"Xtest1" [New File] 1 line, 11 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h$w! Xtest2
[?25l"Xtest2" [New File] 1 line, 11 characters written[?25h[?25l3[?25h[?25l:[?2004h[?25h$w! Xtest3
[?25l"Xtest3" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hn! Xtest1 Xtest2
[?25l"Xtest1" 1 line, 11 characterstesttext 1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" test for working :n when hidden set; write "testtext 2"
[?25l[?25h[?25l:[?2004h[?25hn
[?25l"Xtest2" 1 line, 11 characters2[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25h" test for failing :rew when hidden not set; write "testtext 2 2"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hrew
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for working :rew when hidden set; write "testtext 1 1"
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hrew
[?25l"Xtest1" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)1 1
[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for :all keeping a buffer when it's modified; write "testtext 1 1 1"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hsp
[?25lXtest1 [+]                                                                      testtext 1 1 1Xtest1 [+]                                                                      [?25h[?25l:[?2004h[?25hn Xtest2 Xtest3
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)2 22 [?25h[?25l:[?2004h[?25hall
[?25l"Xtest3" 1 line, 11 characterstesttext 1 1 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25h1wincmd w
[?25lXtest1 [+]                                                                      Xtest2 [+]                                                                       [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test abandoning changed buffer, should be unloaded even when 'hidden' set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 2 2" twice
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?2004l[?2004h[?25l1 1[?25h[?25l:[?2004h[?25hq!
[?25ltesttext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25hunhide
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":hide" hides anyway when 'hidden' not set; write "testtext 3"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hhide
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" failing in modified buffer when 'hidden' not set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3"
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25he Xtest1
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" working in modified buffer when 'hidden' set; write "testtext 1


"[?25ltesttext 3 3[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 1 line, 11 characters1[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":close" not hiding when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3 3"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest3
[?25l"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)3 3Xtest3 [+]                                                                      testtext 1Xtest1                                                                          [?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test ":close!" does hide when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 1"
[?25l[?25h[?2004l[?2004h[?25l3 3[?25h[?25l:[?2004h[?25hclose!
[?25l1~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?25l:[?2004h[?25h" test ":all!" hides changed buffer; write "testtext 2 2 2"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest4
[?25l"Xtest4" [New File]Xtest4                                                                          testtext 1Xtest1                                                                          [?25h[?2004l[?2004h[?25l 4[+][?25h[?25l:[?2004h[?25hall!
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)


"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h1wincmd w
[?25ltesttext 2 2 2

~                                                                               Xtest2 [+]                                                                      testtext 3 3 3 3~                                                                               3 [+][?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test ":q!" and hidden buffer.
[?25l[?25h[?25l:[?2004h[?25hbw! Xtest1 Xtest2 Xtest3 Xtest4
[?25l"test31.in"95 lines, 1832 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp Xtest1
[?25l"Xtest1" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               Xtest1                                                                          :w >>test.out:q!:w >>test.out:q!:call append(line('$'), "Oh, Not finished yet."):w >>test.out:qa!ENDTESTtesttexttest31.in "Xtest1" 1 line, 11 characters[?25h[?25l:[?2004h[?25hwincmd w
[?25lXtest1                                                                           test31.in                                                                       [?25h[?25l:[?2004h[?25hbw!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset modified
[?25l[?25h[?25l:[?2004h[?25hbot sp Xtest2
[?25l"Xtest2" 1 line, 11 charactersXtest1 [+]                                                                      testtext 2Xtest2                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hbot sp Xtest3
[?25l"Xtest3" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hwincmd t
[?25lXtest1 [+]                                                                      Xtest3 [+]                                                                       [?25h[?25l:[?2004h[?25hhide
[?25ltesttext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3 [+]                                                                      [?25h[?25l:[?2004h[?25hq!
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hq!
[?25lE37: No write since last change


E162: No write since last change for buffer "Xtest1"[?2004h


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test31 = test61; then \
#	  if diff test.out test31.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test31.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test33.failed test.ok test.out X* viminfo
cp test33.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test33.in" 34 lines, 616 charactersTest for 'lisp'

If the lisp feature is not enabled, this will fail!



STARTTEST

:so small.vim

:set lisp

/^(defun

=G:/^(defun/,$w! test.out

:q!

ENDTEST



(defun html-file (base)

(format nil "~(~A~).html" base))



(defmacro page (name title &rest body)

(let ((ti (gensym)))

`(with-open-file (*standard-output*

(html-file ,name)

:direction :output

:if-exists :supersede)

(let ((,ti ,title))

(as title ,ti)

(with center[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'lisp'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 63 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset lisp
[?25l[?25h[?25l/[?2004h[?25h^(defun
[?25l[?25h[?25l22 lines to indent...
23indented   (format nil "~(~A~).html" base))





  (let ((ti (gensym)))

       `(with-open-file (*standard-output*

                 (html-file ,name)

                  :direction :output

                         :if-exists :supersede)

                        (let ((,ti ,title))

              (as title ,ti)

            (with center[?25h[?25l:[?2004h[?25h/^(defun/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 23 lines, 544 characters written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test33 = test61; then \
#	  if diff test.out test33.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test33.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test34.in" 87 lines, 1833 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1621 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction Table(title, ...)
[?25l

:[?2004h  [?25h:  let ret = a:title


[?25l:[?2004h  [?25h:  let idx = 1


[?25l:[?2004h  [?25h:  while idx <= a:0


[?25l:[?2004h    [?25h:    exe "let ret = ret . a:" . idx


[?25l:[?2004h    [?25h:    let idx = idx + 1


[?25l:[?2004h    [?25h:  endwhile


[?25l:[?2004h  [?25h:  return ret


[?25l:[?2004h  [?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[?25h[?25l



:[?2004h[?25hfunction Compute(n1, n2, divname)
[?25l

:[?2004h  [?25h:  if a:n2 == 0


[?25l:[?2004h    [?25h:    return "fail"


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  exe "let g:" . a:divname . " = ". a:n1 / a:n2


[?25l:[?2004h  [?25h:  return "ok"


[?25l:[?2004h  [?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))[?25h[?25l



:[?2004h[?25hfunc Expr1()
[?25l

:[?2004h  [?25h:  normal! v


[?25l:[?2004h  [?25h:  return "111"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc Expr2()
[?25l

:[?2004h  [?25h:  call search('XX', 'b')


[?25l:[?2004h  [?25h:  return "222"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListItem()
[?25l

:[?2004h  [?25h:  let g:counter += 1


[?25l:[?2004h  [?25h:  return g:counter . '. '


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListReset()
[?25l

:[?2004h  [?25h:  let g:counter = 0


[?25l:[?2004h  [?25h:  return ''


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc FuncWithRef(a)
[?25l

:[?2004h  [?25h:  unlet g:FuncRef


[?25l:[?2004h  [?25h:  return a:a


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hlet g:FuncRef=function("FuncWithRef")
[?25l[?25h[?25l:[?2004h[?25hlet counter = 0
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> ( ListItem()
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> [ ListReset()
[?25l[?25h[?25l:[?2004h[?25himap <expr> + Expr1()
[?25l[?25h[?25l:[?2004h[?25himap <expr> * Expr2()
[?25l[?25h[?25l:[?2004h[?25hlet retval = "nop"
[?25l[?25h[?25l/[?2004h[?25h^here
[?25l[?25h[?25lher$[?2004l=[?2004h[?25hTable("xxx", 4, "asdf")
[?25l=[?2004h[?25hCompute(45, 0, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hCompute(45, 5, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hg:FuncRef(333)


[?25lError detected while processing function Expr1:


line    1:


E523: Not allowed here


Press ENTER or type command to continue[?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[?25h[?2004h[?25l1. one again[?25h[?25l

:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25hcall extend(g:, {'max': function('min')})
[?25lE704: Funcref variable name must start with a capital: max[?25h[?25l:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:    " Regression: the first line below used to throw ?E110: Missing ')'?


[?25l:[?2004h  [?25h:    " Second is here just to prove that this line is correct when not skipp


ing


[?25l:[?2004h  [?25h:    " rhs of &&.


[?25l:[?2004h  [?25h:    $put =(0&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:    $put =(1&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:    $put ='!!! Unexpected exception:'


[?25l:[?2004h  [?25h:    $put =v:exception


[?25l:[?2004h  [?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[?25h[?25l

:[?2004h[?25h$-9,$w! test.out
[?25l"test.out" [New File] 10 lines, 81 characters written[?25h[?25l:[?2004h[?25hdelfunc Table
[?25l[?25h[?25l:[?2004h[?25hdelfunc Compute
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr1
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr2
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListItem
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListReset
[?25l[?25h[?25l:[?2004h[?25hunlet retval counter
[?25l[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test34 = test61; then \
#	  if diff test.out test34.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test34.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test36.in" 114 lines, 2136 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 107 lines, 1961 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTp: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\%210l^\t...//g

p:s/\%#=1\%211l^\t...//g

p:s/\%#=2\%212l^\t...//g

p:s/\%#=0[0-z]//g

p:s/\%#=1[0-z]//g

p:s/\%#=2[0-z]//g

p:s/\%#=0[^0-z]//g

p:s/\%#=1[^0-z]//g

p:s/\%#=2[^0-z]//g

:/^start-here/+1,$wq! test.out

ENDTEST




[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^start-here/+1
[?25l[?25h[?25l:[?2004h[?25hs/\%#=0\d//g



:[?2004h[?25hs/\%#=1\d//g



:[?2004h[?25hs/\%#=2\d//g



:[?2004h[?25hs/\%#=0[0-9]//g



:[?2004h[?25hs/\%#=1[0-9]//g



:[?2004h[?25hs/\%#=2[0-9]//g



:[?2004h[?25hs/\%#=0\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\o//g



:[?2004h[?25hs/\%#=1\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l

[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\x//g




:[?2004h[?25hs/\%#=1\x//g




:[?2004h[?25hs/\%#=2\x//g




:[?2004h[?25hs/\%#=0[0-9A-Fa-f]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-9A-Fa-f]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\w//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\w//g





:[?2004h[?25hs/\%#=1[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=2[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=0\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\h//g




:[?2004h[?25hs/\%#=1\h//g




:[?2004h[?25hs/\%#=2\h//g




:[?2004h[?25hs/\%#=0[A-Za-z_]//g




:[?2004h[?25hs/\%#=1[A-Za-z_]//g




:[?2004h[?25hs/\%#=2[A-Za-z_]//g




:[?2004h[?25hs/\%#=0\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\a//g




:[?2004h[?25hs/\%#=1\a//g




:[?2004h[?25hs/\%#=2\a//g




:[?2004h[?25hs/\%#=0[A-Za-z]//g




:[?2004h[?25hs/\%#=1[A-Za-z]//g




:[?2004h[?25hs/\%#=2[A-Za-z]//g




:[?2004h[?25hs/\%#=0\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\l//g



:[?2004h[?25hs/\%#=1\l//g



:[?2004h[?25hs/\%#=2\l//g



:[?2004h[?25hs/\%#=0[a-z]//g



:[?2004h[?25hs/\%#=1[a-z]//g



:[?2004h[?25hs/\%#=2[a-z]//g



:[?2004h[?25hs/\%#=0\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\u//g



:[?2004h[?25hs/\%#=1\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l

[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\%210l^\t...//g



:[?2004h[?25hs/\%#=1\%211l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\%212l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-z]//g
[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l

[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l:[?2004h[?25h/^start-here/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 105 lines, 4521 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test36 = test61; then \
#	  if diff test.out test36.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test36.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test37.in" 116 lines, 3262 charactersTest 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 --[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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![?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 72 lines, 1498 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTHk^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

. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25hset scrollopt=ver,jump
[?25l[?25h[?25l:[?2004h[?25hset scrolloff=2
[?25l[?25h[?25l:[?2004h[?25hset nowrap
[?25l[?25h[?25l:[?2004h[?25hset noequalalways
[?25l[?25h[?25l:[?2004h[?25hset splitbelow
[?25l[?25h[?25l:[?2004h[?25h" TEST using two windows open to one buffer, one extra empty window
[?25l[?25h[?25l:[?2004h[?25hsplit
[?25l^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

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02test37.in                                                                       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 11122

test37.in                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l:w! test.out             " Write contents of this file

:qa!ENDTESTtest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 8
[?25l:" ***** done with tests *****w! test.out             " Write contents of this file

:qa!ENDTESTstart of window 1

. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01

test37.in                                                                       :" ***** done with tests *****:w! test.out             " Write contents of this fileqa!ENDTESTstart of window 1[?25h[?25l/[?2004h[?25h^start of window 1$/
[?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 7
[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lend of window 1start of window 2

. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03[?25h[?25l

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25htest37.in                                                                        [No Name]                                                                       [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[+][?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l2[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        test37.in                                                                       test37.in                                                                       test37.in                                                                        test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       test37.in                                                                        test37.in                                                                        test37.in                                                                       test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0656789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415UTSRQPONMLKJIHGREDCBA9876543210 09101112131415[?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[?25h[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" ****** tests using two different buffers *****
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hclose
[?25lstart of window 20000000000[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25h/^start of window 2$/,/^end of window 2$/y
[?25l18 lines yanked[?25h[?25l:[?2004h[?25hnew
[?25ltest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        test37.in                                                                        [No Name]                                                                       [?25l4 more lines[+][?25h





[?25l18 more linesstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l/[?2004h[?25h^start of window 1$/
[?25lsearch hit BOTTOM, continuing at TOPENDTESTstart of window 1010102020303[?25h[?25l

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
[?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
[?25h[?25l2[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11

46 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

56 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06UTSRQPONMLKJIHGREDCBA9876543210 07[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415



UTSRQPONMLKJIHGREDCBA9876543210 0910111213141516[?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[?25h[?25l[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" TEST syncbind
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 201010202[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25h[?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25h[?25l



:[?2004h[?25h[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

^Wj:
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" ***** done with tests *****
[?25l[?25h[?25l:[?2004h[?25hw! test.out             " Write contents of this file
[?25l"test.out" [New File] 33 lines, 1329 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test37 = test61; then \
#	  if diff test.out test37.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test37.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test38.in" 35 lines, 455 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 29 lines, 407 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTopq 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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25l^[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

[?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

^Duvwxyz[?25h[?25l

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25l

abcdefghijk      lmn    opq rstuvwxyz[?25h[?25l:[?2004h[?25hset ai
[?25l[?25h[?25l:[?2004h[?25hset bs=2
[?25l[?25h[?2004l[?2004h[?25l 1

 A BCDEFGHIJ    KL        MNOPQR[?25h[?25l:[?2004h[?25hka
[?25l[?25h[?2004l[?2004h[?25labcdefghijk      lmn    opq rstuvwxyz[?25h

[?2004l[?2004h[?25l 1[?25h[?25l:[?2004h[?25h$
[?25l[?25h[?2004l[?2004h[?25lab      cdefghi jkl[?25h
[?2004l[?2004h[?25lAB......CDEFGHI.J[?25h[?2004l[?2004h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?2004l[?2004h[?25labcdefghijklmnopqrst[?25h
[?2004l[?2004h[?25lAB      IJKLMNO QR[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 13 lines, 107 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test38 = test61; then \
#	  if diff test.out test38.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test38.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test39.in" 118 lines, 2435 charactersTest Visual block mode commands

And test "U" in Visual mode, also on German sharp S.



#define BO_ALL      0x0001

#define BO_BS0x0002

#define BO_CRSR     0x0004



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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 2061 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" This only works when 'encoding' is "latin1", don't depend on the environment
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h[?25l/[?2004h[?25h^abcde
[?25lbbbb

cccc

dddd



yaaa


bbb



A23

4567



B23

4567



C23

4567



abcdefghijklm[?25h[?25l

:[?2004h[?25h" Test shift-right of a block
[?25l[?25h[?25l

abcdefghijklm[?25habcd[?25l[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

3 lines >ed 1 time        efghijklm

abcd        efghijklm

abcd        efghijklm[?25h     ef[?25l[?25h[?25lg[?25h[?25lhg[?25h[?25lih[?25h[?25lji[?25h[?25l        ghijklm        ghijklm[?25h[?25l:[?2004h[?25h" Test shift-left of a block
[?25l[?25h[?25l

abcdefghijklm[?25h[?25l[?25h[?25li[?25h[?25l [?25h[?25l





3 lines <ed 1 timeef    efghijklmi[?25h[?25l:[?2004h[?25h" Test block-insert
[?25l[?25h

a[?25l[?25h[?25lb[?25h[?25lb[?25h[?25lb[?25h[?25l

ab

ab

ab[?2004l[?2004hxyzbcdefghijklm

axyzbcd

axyzbcd

axyzbcd[?25h

a[?25l:[?2004h[?25h" Test block-replace
[?25l[?25h





abcd[?25l[?25h[?25le[?25h[?25lb[?25h[?25lb[?25h[?25lbccf[?25h[?25lcddg[?25h[?25ld  h[?25h[?25lqqqq

axyzqqqq

axyzqqqq

abcdqqqq[?25h

axyz[?25l:[?2004h[?25h" Test block-change
[?25l[?25h



[?25l[?25h[?25lj[?25h[?25li[?25h[?25l     ghijkl[?25h[?25lef  gkl[?25h[?2004l[?2004h[?25lmnomnomno[?25h[?25l:[?2004h[?25h$-4,$w! test.out
[?25l"test.out" [New File] 5 lines, 108 characters written[?25h[?25l:[?2004h[?25h" Test block-insert using cursor keys for movement
[?25l[?25h[?25l/[?2004h[?25h^aaaa/
[?25lsearch hit BOTTOM, continuing at TOPaaaaaa

bbbbbb

cccccc

ddddddsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>jjjlllI\<Right>\<Right>  \<Esc>"
[?25l[?2004l[?2004h  aaa

bbb  bbb

ccc  ccc

ddd  ddd[?25h[?25l:[?2004h[?25h/^aa/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 37 characters appended[?25h[?25l/[?2004h[?25hxaaa$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! \<C-V>jjjI<>\<Left>p\<Esc>"
[?25l[?2004l[?2004h<p>xaaa

<p>bbbb

<p>cccc

<p>dddd[?25h[?25l:[?2004h[?25h/xaaa$/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 33 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the last <C-v>$
[?25l[?25h[?25l/[?2004h[?25h^A23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$Aab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (1)
[?25l[?25h[?25l/[?2004h[?25h^B23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hAab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 15 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (2)
[?25l[?25h[?25l/[?2004h[?25h^C23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hhAab\<Esc>"
[?25l[?2004l[?2004hab

456ab7[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block insert when virtualedit=all and utf-8 encoding
[?25l[?25h[?25l:[?2004h[?25hset ve=all enc=utf-8
[?25laaa  aaa

bbb  bbb

ccc  ccc

ddd  ddd



<p>xaaa

<p>bbbb

<p>cccc

<p>dddd



yaaa

<bf><bf><bf>

bbb



A23ab

4567ab



B23 ab

4567ab



C23ab

456ab7[?25h[?25l





:[?2004h[?25h/\t\tline
[?25lsearch hit BOTTOM, continuing at TOPline1line2line3search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! 07l\<C-V>jjIx\<Esc>"
[?25l[?2004l[?2004hxxx[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 4 lines, 49 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block append when virtualedit=all
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 012l\<C-v>jjAx\<Esc>"
[?25l[?2004l[?2004hx   line1x   line2x   line3[?25h[?25l:[?2004h[?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



yaaa


bbb



A23ab

4567ab



B23 ab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l[?25h[?25lC23ab

456ab7



axyzbcdefghijklm

axyzqqqq   mnoghijklm

axyzqqqqef mnoghijklm

axyzqqqqefgmnoklm

abcdqqqqijklm[?25h[?2004l[?2004h[?25l


[?25hthe [?25lYOUTUSSEUU end
the [?25h

the [?25l

:[?2004h[?25h" gUfx must uppercase until x, inclusive.
[?25l[?25h[?2004l[?2004h[?25l
- y[?25lOUSSTUSSEXu -
- y[?25h[?25l


:[?2004h[?25h" VU must uppercase a whole line
[?25l[?25h[?25l

[?25h[?25lTHE YOUTUSSEUU END
[?25h

[?25l

:[?2004h[?25h" same, when it's the last line in the buffer
[?25l[?25h[?25l[?25h[?25l

11[?25h[?25l
11[?25h[?25l
111THE YOUTUSSEUU END
[?25h[?25l~                                                                               [?25h[?25l111THE YOUTUSSEUU END


[?25l

:[?2004h[?25h" Uppercase two lines
[?25l[?25h[?2004l[?2004h[?25l

blah didoh dut[?25h[?25l
doh dut [?25h[?25lblah di t[?25h[?25l
BLAH DIDOH DUT[?25h[?25l


:[?2004h[?25h" Uppercase part of two lines
[?25l[?25h[?25l
~                                                                               [?25h[?25l


33[?25h

333the yo[?25h[?25lut[?25h[?25lUTUSSEUU END

333THE YOUTU[?25h[?25l



:[?2004h[?25h" visual replace using Enter or NL
[?25l[?25h

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^M65

98^M65

98^M65[?25h

98

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^@65

98^@65

98^@65[?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test cursor position. When ve=block and Visual block mode and $gj
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 2k\<C-V>$gj\<Esc>"
[?25l[?25h[?25l:[?2004h[?25hlet cpos=getpos("'>")
[?25l[?25h[?25l:[?2004h[?25h$put ='col:'.cpos[2].' off:'.cpos[3]
[?25l

col:4 off:0[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" block_insert when replacing spaces in front of the block with tabs
[?25l[?25h[?25l:[?2004h[?25hset ts=8 sts=4 sw=4
[?25l[?25h[?25l:[?2004h[?25h4,7y
[?25l4 lines yanked[?25h[?25l

4 more lines

4 more lines[?25h[?25l

#define BO_ALL      0x0001[?25h[?25l

:[?2004h[?25hexe ":norm! f0\<C-V>2jI\<tab>\<esc>"
[?25l[?2004l[?2004h    0x0001

#define BO_BS0x0002

#define BO_CRSR0x0004[?25h[?25l





:[?2004h[?25h/^the/,$w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 31 lines, 322 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test39 = test61; then \
#	  if diff test.out test39.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test39.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test40.in" 63 lines, 1536 charactersTest for "*Cmd" autocommands



STARTTEST

:so small.vim

:/^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

:" 6     end of Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1455 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^start/,$w! Xxx^I^I" write lines below to Xxx
[?25l"Xxx" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25hau BufReadCmd XtestA 0r Xxx|$del
[?25l[?25h[?25l:[?2004h[?25he XtestA^I^I^I" will read text of Xxd instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxx        test40end of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau BufWriteCmd XtestA call append(line("$"), "write")
[?25l[?25h[?25l:[?2004h[?25hw^I^I^I^I" will append a line to the file
[?25lwrite[?25h[?25l:[?2004h[?25hr XtestA^I^I^I" should not read anything
[?25lE484: Can't open file XtestA[?25h[?25l:[?2004h[?25h^I^I^I^I" now we have:
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileReadCmd XtestB '[r Xxx
[?25l[?25h[?25l:[?2004h[?25h2r XtestB^I^I^I" will read Xxx below line 2 instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxxtest40

end of Xxx[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileWriteCmd XtestC '[,']copy $
[?25l[?25h[?2004l[?2004h[?25ltest401[?25h[?25l:[?2004h[?25h4,5w XtestC^I^I^I" will copy lines 4 and 5 to the end
[?25l        test401end of Xxx[?25h[?25l:[?2004h[?25hr XtestC^I^I^I" should not read anything
[?25lE484: Can't open file XtestC[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hau FILEAppendCmd XtestD '[,']w! test.out
[?25l[?25h[?25l:[?2004h[?25hw >>XtestD^I^I^I" will write all lines to test.out
[?25l"test.out" [New File] 9 lines, 91 characters written[?25h[?25l:[?2004h[?25h$r XtestD^I^I^I" should not read anything
[?25lE484: Can't open file XtestD[?25h[?25l:[?2004h[?25h$w >>test.out^I^I^I" append "end of Xxx" to test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hau BufReadCmd XtestE 0r test.out|$del
[?25l[?25h[?25l:[?2004h[?25hsp XtestE^I^I^I" split window with test.out
[?25l"test.out" 10 lines, 102 charactersend of XxxXtestE                                                                          end of Xxxwrite        test401end of XxxXtestA                                                                          [?25h[?2004l[?2004h[?25lasdf[+][?25hXtestE [+]                                                                       XtestA                                                                          [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hau BufWriteCmd XtestE w! test.out
[?25l[?25h[?25l:[?2004h[?25hwall^I^I^I^I" will write other window to test.out
[?25l"test.out" 11 lines, 107 characters written   [?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iasdf
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 10^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 11^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test40 = test61; then \
#	  if diff test.out test40.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test40.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test41.failed test.ok test.out X* viminfo
cp test41.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test41.in" 24 lines, 421 charactersTest for writing and reading a file of over 100 Kbyte



1 line: "This is the start"

3001 lines: "This is the leader"

1 line: "This is the middle"

3001 lines: "This is the trailer"

1 line: "This is the end"



STARTTEST

:%d

aThis is the start

This is the leader

This is the middle

This is the trailer

This is the end^[kY3000p2GY3000p

:w! Xtest

:%d

:e! Xtest

:.w! test.out

3003G:.w >>test.out

6005G:.w >>test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 of over 100 Kbyte[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 196 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lThis is the start

This is the leaderThis is the middleThis is the trailerThis is the end[?25h[?25l3000 more linestrailer

This is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailer[?25h[?25lleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleader[?25h

[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 6005 lines, 117092 characters written[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25he! Xtest
[?25l"Xtest" 6005 lines, 117092 charactersThis is the start

This is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leader[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 18 characters written[?25h[?25lThis is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the middle

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 19 characters appended[?25h[?25lThis is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the end
[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 16 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test41 = test61; then \
#	  if diff test.out test41.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test41.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test42.in" 130 lines, 2368 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 111 lines, 2116 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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


utf-8

utf-8

utf-8-err

utf-8~@err

ucs-2


ucs-2le


[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25l: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

<fe><fe>latin-1

utf-8

<feff>utf-8

utf-8-err

<feff>utf-8<80>err

ucs-2

<fe><ff>^@u^@c^@s^@-^@2^@

ucs-2le

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l:[?2004h[?25hset fileencodings=ucs-bom,latin-1
[?25l[?25h[?25l:[?2004h[?25hset ff=unix ffs=unix           " This changes the file for DOS and MAC
[?25l[?25h[?25l:[?2004h[?25h" --- Write the test files
[?25l[?25h[?25l:[?2004h[?25h/^latin-1$/+1w! Xtest0
[?25l"Xtest0" [New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h/^utf-8$/+1w! Xtest1
[?25l"Xtest1" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h/^utf-8-err$/+1w! Xtest2
[?25l"Xtest2" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25h/^ucs-2$/+1w! Xtest3
[?25l"Xtest3" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25h/^ucs-2le$/+1w! Xtest4
[?25l"Xtest4" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h" Need to add a NUL byte after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest4                      " Ignore change from setting 'ff'
[?25l"Xtest4" 1 line, 17 characters<ff><fe>u^@c^@s^@-^@2^@l^@e^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

[?2004h[?25l^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest4" [Incomplete last line] 2 lines, 18 characters written[?25h[?25l:[?2004h[?25hset ffs& nobinary              " Allow default test42.in format
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25hset ff=unix                    " Format for files to write
[?25l[?25h[?25l:[?2004h[?25h/^ucs-4$/+1w! Xtest5
[?25l"Xtest5" [converted][New File] 1 line, 30 characters written[?25h[?25l:[?2004h[?25h/^ucs-4le$/+1w! Xtest6
[?25l"Xtest6" [converted][New File] 1 line, 35 characters written[?25h[?25l:[?2004h[?25h" Need to add three NUL bytes after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest6                      " ! for when setting 'ff' is a change
[?25l"Xtest6" 1 line, 33 characters<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

~   [?2004h[?25l
^@^@^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest6" [Incomplete last line] 2 lines, 36 characters written[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check that editing a latin-1 file doesn't see a BOM
[?25l[?25h[?25l:[?2004h[?25he! Xtest0
[?25l"Xtest0" [converted] 1 line, 12 charactersþþlatin-1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hredir! >test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lþþlatin-1

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 12 characters appended[?25h[?25l:[?2004h[?25hset bomb fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw! Xtest0x
[?25l"Xtest0x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8
[?25l[?25h[?25l:[?2004h[?25he! Xtest1
[?25l"Xtest1" 1 line, 9 charactersutf-8[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-8


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest1x
[?25l"Xtest1x" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8 with an error (will fall back to latin-1)
[?25l[?25h[?25l:[?2004h[?25he! Xtest2
[?25l"Xtest2" [converted] 1 line, 17 charactersutf-8<80>err
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8<80>err

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 17 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest2x
[?25l"Xtest2x" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2
[?25l[?25h[?25l:[?2004h[?25he! Xtest3
[?25l"Xtest3" [converted] 1 line, 8 charactersucs-2[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2
[?25l[?25h[?25l:[?2004h[?25hw! Xtest3x
[?25l"Xtest3x" [converted][New File] 1 line, 8 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2le
[?25l[?25h[?25l:[?2004h[?25he! Xtest4
[?25l"Xtest4" [converted] 1 line, 10 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest4x
[?25l"Xtest4x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4
[?25l[?25h[?25l:[?2004h[?25he! Xtest5
[?25l"Xtest5" [converted] 1 line, 10 characters4[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4
[?25l[?25h[?25l:[?2004h[?25hw! Xtest5x
[?25l"Xtest5x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4le
[?25l[?25h[?25l:[?2004h[?25he! Xtest6
[?25l"Xtest6" [converted] 1 line, 12 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest6x
[?25l"Xtest6x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check the files written with BOM
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 35 lines, 275 characters  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[?25h[?25l:[?2004h[?25h$r Xtest0x
[?25l"Xtest0x" 1 line, 10 charactersbomb

ucs-2lefileencoding=ucs-4

  bomb

ucs-4fileencoding=ucs-4le

  bomb

ucs-4le

<fe><fe>latin-1[?25h[?25l

:[?2004h[?25h$r Xtest1x
[?25l"Xtest1x" 1 line, 9 characters

<feff>utf-8[?25h[?25l

:[?2004h[?25h$r Xtest2x
[?25l"Xtest2x" 1 line, 17 characters

utf-8<80>err[?25h[?25l

:[?2004h[?25h$r Xtest3x
[?25l"Xtest3x" 1 line, 14 characters

<fe><ff>^@u^@c^@s^@-^@2^@[?25h[?25l

:[?2004h[?25h$r Xtest4x
[?25l"Xtest4x" [Incomplete last line] 2 lines, 18 characters

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l

:[?2004h[?25h$r Xtest5x
[?25l"Xtest5x" 1 line, 28 characters^@

^@^@<fe><ff>^@^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@[?25h[?25l

:[?2004h[?25h$r Xtest6x
[?25l"Xtest6x" [Incomplete last line] 2 lines, 36 characters

<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@[?25h[?25l

:[?2004h[?25hset nobin ff&               " Write the file in default format
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 44 lines, 409 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test42 = test61; then \
#	  if diff test.out test42.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test42.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test43.failed test.ok test.out X* viminfo
cp test43.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test43.in" 34 lines, 473 charactersTests for regexp with various magic settings.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

/^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:$

:set undolevels=100

dv?bar?

Yup:"

:?^1?,$w! test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various magic settings.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 268 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l/[?2004h[>c^[?25h1
[?25l

1 a aa abb abbccc[?25h[?25l

/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l

2 d dd dee deefff[?25h[?25l[?25h[?25l

:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l

3 g gg ghh ghhiii[?25h[?25l[?25h[?25l

/[?2004h[?25h\mj*k\{2}l\+/e
[?25l

4 j jj jkk jkklll[?25h[?25l[?25h[?25l

/[?2004h[?25h\vm*n{2}o+/e
[?25l

5 m mm mnn mnnooo[?25h[?25l[?25h[?25l

/[?2004h[?25h\V^aa$
[?25l

6 x ^aa$ x[?25h[?25laa$ x[?25h[?25l

:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l

7 (a)(b) abbaa[?25h[?25l[?25h[?25l

/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l

8 axx [ab]xx[?25h[?25lab]x[?25h[?25l

:[?2004h[?25h$
[?25l9 foobar[?25h[?25l

:[?2004h[?25hset undolevels=100
[?25l[?25h[?25l?[?2004h[?25hbar?
[?25l~                                                                               [?25h[?25l



1 more line; before #2  0 seconds agobar[?25h[?25l

9 foo
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 11L, 137C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test43 = test61; then \
#	  if diff test.out test43.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test43.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test44.in" 81 lines, 1492 charactersTests 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 nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

: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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1023 characters written[?25h[?25l:[?2004hset ff& cpo+=A



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l:[?2004h[?25h" c
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


:[?2004h[?25h" d
[?25l[?25h[?25l/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


:[?2004h[?25h" e
[?25l[?25h[?25l/[?2004h[?25h\%U12345678
[?25l


:[?2004h[?25h" f
[?25l[?25h[?25l/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


:[?2004h[?25h" g
[?25l[?25h[?25l/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" j Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       e y f z

g abb



test.out [+]                                                                    [?25h[?25l:[?2004h[?25h$put =['dog(a', 'cat(']
[?25ldog(acat([+][?25h[?25l/[?2004h[?25h(/e+
[?25l/(/e+1
[?25h[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hbd!
[?25l1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii


e y



[?25l

[?25h[?25la[?25h[?25l

cat(
[?25h[?25l

:[?2004h[?25hw!
[?25l"test.out" 25L, 271C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test44 = test61; then \
#	  if diff test.out test44.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test44.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test45.in" 92 lines, 1979 charactersTests for folding. vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:" 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("."))[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 1846 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:new

iTest fdm=indent and :move bug END

line2Test fdm=indent STARTline3line4^[

:set fdm=indent

:1m1

2jzc:m0

:%w >> test.out

:qa!

ENDTEST



1 aa

2 bb

3 cc

4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" We also need the +syntax feature here.
[?25l[?25h[?25l:[?2004h[?25hif !has("syntax")
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   w! test.out


[?25l:[?2004h  [?25h   qa!


[?25l:[?2004h  [?25h:endif
[?25l:new

iTest fdm=indent and :move bug END

line2Test fdm=indent START[?25h[?25l:[?2004h[?25h" basic test if a fold can be created, opened, moving to the end and closed
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", "manual " . getline(foldclosed(".")))
[?25l[?25h[?25l1 aa2 bb3 cc4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h[?25l:[?2004h[?25hcall append("$", foldclosed("."))
[?25l[?25h



[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", getline(foldclosed(".")))
[?25l[?25h[?25l:[?2004h[?25h" test folding with markers.
[?25l[?25h[?25l:[?2004h[?25hset fdm=marker fdl=1 fdc=3
[?25l   :new

   iTest fdm=indent and :move bug END

   line2

           Test fdm=indent START

           line3

           line4^[

   :set fdm=indent

   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa   2 bb   3 cc-  4 dd {{{

|- 5 ee {{{ }}}

|  6 ff }}}

   7 gg

   8 hh

   9 ii

   a jj[?25h[?25l/[?2004h[?25h^5
[?25l[?25h[?25l:[?2004h[?25hcall append("$", "marker " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?2004l[?2004h[?25l{{ |  6 ff }}}[?25h[?25l-{|

|

|

|[?25h[?25l





:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l6 ff }}}

 7 gg

 8 hh[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h" test folding with indent
[?25l[?25h[?25l:[?2004h[?25hset fdm=indent sw=2
[?25l-++---  3 lines: Test fdm=indent START-----------------------------------------:set fdm=indent:1m12jzc:m0%w >> test.out:qa!ENDTEST1 aa2 bb3 cc4 dd {{{5 ee {{{ }}}

 {{{  6 ff }}}  6 ff }}}

  7 gg 8 hh9 iia jj[?25h[?25l/[?2004h[?25h^2 b
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?2004l[?2004h[?25l
-  2 bb[?25h[?2004l[?2004h[?25l
|-    3 cc[?25h[?25l:[?2004h[?25hcall append("$", "indent " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hset sw&
[?25l         Test fdm=indent START|        line3|        line4^[:set fdm=indent1m12jzc:m0:%w >> test.out:qa!ENDTEST

   1 aa  2 bb    3 cc4 dd {{{5 ee {{{ }}}{{{6 ff }}}6 ff }}}7 gg8 hh[?25h[?25l:[?2004h[?25h" test syntax folding
[?25l[?25h[?25l:[?2004h[?25hset fdm=syntax fdl=0
[?25l 

 

 [?25h[?25l:[?2004h[?25hsyn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
[?25l++--  8 lines: 4 dd ----------------------------------------------------------a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hsyn region Fd1 start="ee" end="ff" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd2 start="gg" end="hh" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd3 start="commentstart" end="commentend" fold contained
[?25l[?25h[?25l   1 aa

   marker 2

   1

   1

   0

   indent 2

   1[?25h[?25l:[?2004h[?25hcall append("$", "folding " . getline("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?2004l[?2004h[?25l
--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[?25h[?2004l[?2004h[?25l commentend- 

|-



| 

  

  

  

  

  

  [?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25hset fdl=0
[?25l++--  8 lines: 4 dd commentstart  commentend----------------------------------  a jj b kk  last manual 1 aa-13 cc1 aarker 2110indent[?25h[?25l
-4 dd {{{commentstart  commentend|-5 ee {{{ }}}

||{{{||6 ff }}}

|6 ff }}}|-7 gg

||8 hh

|9 iia jjb kklastmanual 1 aa-13 cc[?25h[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25h" test expression folding
[?25l[?25h[?25l:[?2004h[?25hfun Flvl()
[?25l

:[?2004h  [?25h  let l = getline(v:lnum)


[?25l:[?2004h  [?25h  if l =~ "bb$"


[?25l:[?2004h    [?25h    return 2


[?25l:[?2004h    [?25h  elseif l =~ "gg$"


[?25l:[?2004h    [?25h    return "s1"


[?25l:[?2004h    [?25h  elseif l =~ "ii$"


[?25l:[?2004h    [?25h    return ">2"


[?25l:[?2004h    [?25h  elseif l =~ "kk$"


[?25l:[?2004h    [?25h    return "0"


[?25l:[?2004h    [?25h  endif


[?25l:[?2004h  [?25h  return "="


[?25l:[?2004h  [?25hendfun
[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa

     2 bb

       3 cc

-  4 dd {{{commentstart  commentend

|- 5 ee {{{ }}}

|| {{{[?25h[?25l:[?2004h[?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---------------------------------------------------~                                                                            ~                                                                            [?25h[?25l/[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", "expr " . foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hhh$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hii$
[?25l-9 ii||a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hkk$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h/^last/+1,$w! test.out
[?25l"test.out" [New File] 18 lines, 96 characters written[?25h[?25l:[?2004h[?25hdelfun Flvl
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l   

   

   

   ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            [No Name]                                                                       5 ee {{{ }}}{{{6 ff }}}|6 ff }}}|7 gg 8 hh

|-9 ii

||a jjb kklast

test45.in [+]                                                                   [?25h[?2004l[?2004h[?25lTest fdm=indent and :move bug ENDline2        Test fdm=indent START        line3        line4[+][?25h[?25l:[?2004h[?25hset fdm=indent
[?25l++--  3 lines: Test fdm=indent START------------------------------------------~                                                                            ~                                                                            [?25h[?25l:[?2004h[?25h1m1
[?25l[?25h[?25l:[?2004h[?25hm0
[?25l3 lines moved++--  3 lines: Test fdm=indent START------------------------------------------Test fdm=indent and :move bug END

 line2[?25h[?25l:[?2004h[?25h%w >> test.out
[?25l"test.out" 5 lines, 77 characters appendedtest.out [+]]  [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test45 = test61; then \
#	  if diff test.out test45.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test45.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test48.in" 83 lines, 1658 charactersThis is a test of 'virtualedit'.



STARTTEST

:so small.vim

:set noswf

:set ve=all

-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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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'.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 61 lines, 1442 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

this is a test[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswf
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l65 fewer linesthis is a test

"r"

"r"

a^Vb^Msd

abcv6efi.him0kl





~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               65 fewer lines[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
[?25l[?25h[?25l:[?2004h[?25h"    Repeating CTRL-N fixes it. (Mary Ellen Foster)
[?25l[?25h[?25l/[?2004h[?25hw
[?25l[?25h[?25l$[?2004lScanning tags.
The only match[?2004hword[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Using "C" then then <CR> moves the last remaining character to the next
[?25l[?25h[?25l:[?2004h[?25h"    line.  (Mary Ellen Foster)
[?25l[?25h
[?25l/[?2004h[?25hare
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l$[?2004l[?2004hare belong to vim

1 2 3 4 5 6

'i

'C

'a

'A

'D'this is a test



"r"     

a^Vb^Msdabcv6efi.him0kl[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   When past the end of a line that ends in a single character "b" skips
[?25l[?25h[?25l:[?2004h[?25h"    that word.
[?25l[?25h
[?25l$[?2004l[?2004h7[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'i' works
[?25l[?25h
'i'   [?2004l[?2004h[?25l<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'C' works
[?25l[?25h
'C'   [?25l$[?2004l[?2004h<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'a' works
[?25l[?25h
'a'   [?2004l[?2004h[?25l <-- should be 4 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'A' works
[?25l[?25h
'A'   [?2004l[?2004h[?25l<-- should be 0 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'D' works
[?25l[?25h
'D'   [?2004l[?2004h[?25l<-- 'D' should be intact[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for yank bug reported by Mark Waggoner.
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h
[?25l[?25h[?25laaa[?25h[?25laaablock of 4 lines yanked[?25h[?25l3 more linesa

aa [?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" beyond the end of the line
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l/[?2004h[?25h^"r"
[?25lsearch hit BOTTOM, continuing at TOP[?25h"r"    [?25lx[?25h[?2004l[?2004h[?25lx<-- should be 'x'[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" on a tab
[?25l[?25h[?25l:[?2004h[?25h" Note that for this test, 'ts' must be 8 (the default).
[?25l[?25h
"r"  [?25lx[?25h[?2004l[?2004h[?25lx  <-- should be '  x  '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test to make sure 'x' can delete control characters
[?25l[?25h[?25l:[?2004h[?25hset display=uhex
[?25l<16>b<0d>sd[?25h
[?25l<16>b<0d>sd[?25h[?25lb<0d>sd[?25h[?25l<0d>sd[?25h[?25lsd[?25h[?25ld[?25h[?25l[?25h[?2004l[?2004h[?25l[This line should contain only the text between the brackets.][?25h[?25l:[?2004h[?25hset display=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for ^Y/^E due to bad w_virtcol value, reported by
[?25l[?25h[?25l:[?2004h[?25h"   Roy <royl@netropolis.net>.
[?25l[?25h
[?2004l[?2004h[?25l[?25h   [?2004l[?2004h[?25lv[?25hv   [?2004l[?2004h[?25li[?25hi   [?2004l[?2004h[?25lm   <-- should show the name of a noted text editor[?25h
[?2004l[?2004h[?25l[?25h    [?2004l[?2004h[?25l6[?25h6   [?2004l[?2004h[?25l.[?25h.   [?2004l[?2004h[?25l0   <-- and its version number[?25h[?25l

[?25h

    [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test for yanking and pasting using the small delete register
[?25l[?25h[?25l/[?2004h[?25h^foo
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l, bar[?25h, [?25l[?25h[?25lba[?25h[?25l[?25h[?25lfoo[?25h

keyw[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 23 lines, 479 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test48 = test61; then \
#	  if diff test.out test48.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test48.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test53.failed test.ok test.out X* viminfo
cp test53.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test53.in" 75 lines, 1763 charactersTests for string and html text objects. vim: set ft=vim :



Note that the end-of-line moves the cursor to the next test line.



Also test match() and matchstr()



STARTTEST

:so small.vim

/^start:/

da"

0va'a'rx

02f`da`

0fXdi"

03f'vi'ry

:set quoteescape=+*-

di`

$F"va"oha"i"rz

:"

/^<begin

jfXdit

0fXdit

fXdat

0fXdat[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 string and html text objects. vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 47 lines, 1237 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:put =match('abc', '$', 4, 1) " -1

:put =match('abc', '\zs', 0, 1) " 0

:put =match('abc', '\zs', 0, 2) " 1

:put =match('abc', '\zs', 0, 3) " 2

:put =match('abc', '\zs', 0, 4) " 3

:put =match('abc', '\zs', 0, 5) " -1

:put =match('abc', '\zs', 1, 1) " 1

:put =match('abc', '\zs', 2, 1) " 2

:put =match('abc', '\zs', 3, 1) " 3

:put =match('abc', '\zs', 4, 1) " -1

:/^start:/,/^end:/wq! test.out

ENDTEST



start: "wo\"rd\\" foo

'foo' 'bar' 'piep'

bla bla `quote` blah

out " in "noXno"

"'" 'blah' rep 'buh'

bla `s*`d-`+++`l**` b`la

voo "nah" sdf " asdf" sdf " sdf" sd



<begin>

-<b>asdf<i>Xasdf</i>asdf</b>-[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l[?25h[?25lfo[?25h
[?25l[?25h[?25l'foo'[?25h[?25l 'bar'[?25h[?25l
xxxxxxxxxxxx
[?25h

[?25lblah[?25h
[?25l"[?25h
[?25l[?25h[?25l' rep[?25h[?25lyyyyy[?25h[?25l:[?2004h[?25hset quoteescape=+*-
[?25l[?25h[?25l` b`la[?25h[?25l[?25h[?25l" sdf"[?25h[?25l" [?25h[?25l"[?25h[?25l asdf" sdf [?25h[?25lah" sdf "
voo "[?25h[?25lzzzzzzzzzzzzzzzzzzzzzzzzzzzz
voo "[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^<begin
[?25l[?25h

[?25l</i>asdf</b>-[?25h[?25l

-<b>asdX<i>a<i />sdf</i>asdf</b>-[?25h
[?25l</b>-[?25h[?25l

-<b>asdf<i>Xasdf</i>asdf</b>-
-<b>[?25h[?25lasdf</b>-[?25h[?25l

-<b>asdX<i>as<b />df</i>asdf</b>-[?25h
[?25l
--[?25h[?25l

-<b>
-[?25h[?25l<b></b>[?25h[?25l

</begin>[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, 2) " b
[?25l

b[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \"..\", 0, 2) " bc
[?25l

bc[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
[?25l

c[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, -1) " a
[?25l

a[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, -1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 4) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 3, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 2) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 1, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 2, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 4) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25h/^start:/,/^end:/wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 45 lines, 284 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test53 = test61; then \
#	  if diff test.out test53.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test53.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test55.failed test.ok test.out X* viminfo
cp test55.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test55.in" 586 lines, 12256 charactersTests for List and Dictionary types.     vim: set ft=vim :



STARTTEST

:so small.vim

:fun Test(...)

:lang C

:" Creating List directly with different types

:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]

:$put =string(l)

:$put =string(l[-1])

:$put =string(l[-4])

:try

:  $put =string(l[-5])

:catch

:  $put =v:exception[:14]

:endtry

:" List slices

:$put =string(l[:])

:$put =string(l[1:])

:$put =string(l[:-2])

:$put =string(l[0:8])

:$put =string(l[8:-1])

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 List and Dictionary types.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 580 lines, 12170 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfun Test(...)
[?25l

:[?2004h  [?25h:lang C


[?25l:[?2004h  [?25h:" Creating List directly with different types


[?25l:[?2004h  [?25h:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:$put =string(l[-4])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-5])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List slices


[?25l:[?2004h  [?25h:$put =string(l[:])


[?25l:[?2004h  [?25h:$put =string(l[1:])


[?25l:[?2004h  [?25h:$put =string(l[:-2])


[?25l:[?2004h  [?25h:$put =string(l[0:8])


[?25l:[?2004h  [?25h:$put =string(l[8:-1])


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" List identity


[?25l:[?2004h  [?25h:let ll = l


[?25l:[?2004h  [?25h:let lx = copy(l)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(l == ll) . (l isnot ll) . (l is ll) . (l == lx) . (l is lx) . (l


isnot lx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Creating Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {001: 'asd', 'b': [1, 2, function('strlen')], -1: {'a': 1},}


[?25l:[?2004h  [?25h:$put =string(d) . d.1


[?25l:[?2004h  [?25h:$put =string(sort(keys(d)))


[?25l:[?2004h  [?25h:$put =string (values(d))


[?25l:[?2004h  [?25h:for [key, val] in items(d)


[?25l:[?2004h    [?25h:  $put =key . ':' . string(val)


[?25l:[?2004h    [?25h:  unlet key val


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:call extend  (d, {3:33, 1:99})


[?25l:[?2004h  [?25h:call extend(d, {'b':'bbb', 'c':'ccc'}, "keep")


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  call extend(d, {3:333,4:444}, "error")


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:call filter(d, 'v:key =~ ''[ac391]''')


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary identity


[?25l:[?2004h  [?25h:let dd = d


[?25l:[?2004h  [?25h:let dx = copy(d)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(d == dd) . (d isnot dd) . (d is dd) . (d == dx) . (d is dx) . (d


isnot dx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items with :unlet


[?25l:[?2004h  [?25h:unlet l[2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:let l = range(8)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:unlet l[:3]


[?25l:[?2004h    [?25h:unlet l[1:]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:$put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:unlet d.c


[?25l:[?2004h  [?25h:unlet d[-1]


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:1]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:3]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:4]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:5]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-1:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-3:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-4:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-5:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-6:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" assignment to a list


[?25l:[?2004h  [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:let [va, vb] = l[2:3]


[?25l:[?2004h  [?25h:$put =va


[?25l:[?2004h  [?25h:$put =vb


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l[1:1]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" manipulating a big Dictionary (hashtable.c has a border of 1000 entries)


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: let d[i] = 3000 - i


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:$put =d[0] . ' ' . d[100] . ' ' . d[999] . ' ' . d[1400] . ' ' . d[1499]


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let n = d[1500]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" lookup each items


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h: let i += 1


[?25l:[?2004h  [?25h:" delete even items


[?25l:[?2004h  [?25h:while i >= 2


[?25l:[?2004h    [?25h: let i -= 2


[?25l:[?2004h    [?25h: unlet d[i]


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =get(d, 1500 - 100, 'NONE') . ' ' . d[1]


[?25l:[?2004h  [?25h:" delete odd items, checking value, one intentionally wrong


[?25l:[?2004h  [?25h:let d[33] = 999


[?25l:[?2004h  [?25h:let i = 1


[?25l:[?2004h  [?25h:while i < 1500


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =i . '=' . d[i]


[?25l:[?2004h      [?25h: else


[?25l:[?2004h      [?25h:  unlet d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h: let i += 2


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =string(d)  " must be almost empty now


[?25l:[?2004h  [?25h:unlet d


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary function


[?25l:[?2004h  [?25h:let dict = {}


[?25l:[?2004h  [?25h:func dict.func(a) dict


[?25l:[?2004h    [?25h:  $put =a:a . len(self.data)


[?25l:[?2004h    [?25h:endfunc


[?25l:[?2004h    [?25h:let dict.data = [1,2,3]


[?25l:[?2004h    [?25h:call dict.func("len: ")


[?25l:[?2004h    [?25h:let x = dict.func("again: ")


[?25l:[?2004h    [?25h:let Fn = dict.func


[?25l:[?2004h    [?25h:call Fn('xxx')


[?25l:[?2004h    [?25h:" 


[?25l:[?2004h    [?25h:" Function in script-local List or Dict


[?25l:[?2004h    [?25h:let g:dict = {}


[?25l:[?2004h    [?25h:function g:dict.func() dict


[?25l:[?2004h      [?25h:  $put ='g:dict.func'.self.foo[1].self.foo[0]('asdf')


[?25l:[?2004h      [?25h:endfunc


[?25l:[?2004h      [?25h:let g:dict.foo = ['-', 2, 3]


[?25l:[?2004h      [?25h:call insert(g:dict.foo, function('strlen'))


[?25l:[?2004h      [?25h:call g:dict.func()


[?25l:[?2004h      [?25h:" 


[?25l:[?2004h      [?25h:" Nasty: remove func from Dict that's being called (works)


[?25l:[?2004h      [?25h:let d = {1:1}


[?25l:[?2004h      [?25h:func d.func(a)


[?25l:[?2004h[?25h:  return "a:". a:a


[?25l:[?2004h[?25h:endfunc


[?25l:[?2004h[?25h:$put =d.func(string(remove(d, 'func')))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Nasty: deepcopy() dict that refers to itself (fails when noref used


)

[?25l:[?2004h[?25h:let d = {1:1, 2:2}


[?25l:[?2004h[?25h:let l = [4, d, 6]


[?25l:[?2004h[?25h:let d[3] = l


[?25l:[?2004h[?25h:let dc = deepcopy(d)


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let dc = deepcopy(d, 1)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:let l2 = [0, l, l, 3]


[?25l:[?2004h[?25h:let l[1] = l2


[?25l:[?2004h[?25h:let l3 = deepcopy(l2)


[?25l:[?2004h[?25h:$put ='same list: ' . (l3[1] is l3[2])


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1][0] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2]['6'][7] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2][6] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Unletting locked variables


[?25l:[?2004h[?25h:$put ='Unletting:'


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]['6'][7]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2][6]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1][0]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables and :unlet or list / dict functions


[?25l:[?2004h[?25h:$put ='Locks and commands or functions:'


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put =':unlet after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='filter() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call filter(d, 'v:key != "a"')


[?25l:[?2004h[?25h:  $put ='did filter()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='map() after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call map(d, 'v:val + 200')


[?25l:[?2004h[?25h:  $put ='did map()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  $put =string(extend(d, {'a': 123}))


[?25l:[?2004h[?25h:  $put ='did extend()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No remove() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(remove(a:, 'this_is_a_loooooooooong_parameter_na


me'))


[?25l:[?2004h[?25h:    $put ='did remove()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(extend(a:, {'this_is_a_loooooooooong_parameter


_name': 1234}))


[?25l:[?2004h[?25h:    $put ='did extend()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet of variable in locked scope:'


[?25l:[?2004h[?25h:let b:testvar = 123


[?25l:[?2004h[?25h:lockvar 1 b:


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet b:testvar


[?25l:[?2004h[?25h:  $put ='b:testvar was :unlet: '. (!exists('b:testvar'))


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:unlockvar 1 b:


[?25l:[?2004h[?25h:unlet! b:testvar


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :let += of locked list variable:'


[?25l:[?2004h[?25h:let l = ['a', 'b', 3]


[?25l:[?2004h[?25h:lockvar 1 l


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let l += ['x']


[?25l:[?2004h[?25h:  $put ='did :let +='


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:lockvar! l


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:unlet l[0:1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l[1:2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:let l[0:1] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let l[1:2] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:" :lockvar/islocked() triggering script autoloading


[?25l:[?2004h[?25h:set rtp+=./sautest


[?25l:[?2004h[?25h:lockvar g:footest#x


[?25l:[?2004h[?25h:unlockvar g:footest#x


[?25l:[?2004h[?25h:$put ='locked g:footest#x:'.islocked('g:footest#x')


[?25l:[?2004h[?25h:$put ='exists g:footest#x:'.exists('g:footest#x')


[?25l:[?2004h[?25h:$put ='g:footest#x: '.g:footest#x


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" a:000 function argument


[?25l:[?2004h[?25h:" first the tests that should fail


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000 = [1, 2]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[0] = 9


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[0]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2] = [9, 10]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[2]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[3] = {9: 10}


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[3]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:" now the tests that should pass


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2][1] = 9


[?25l:[?2004h[?25h:  call extend(a:000[2], [5, 6])


[?25l:[?2004h[?25h:  let a:000[3][5] = 8


[?25l:[?2004h[?25h:  let a:000[3]['a'] = 12


[?25l:[?2004h[?25h:  $put =string(a:000)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught ' . v:exception


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" reverse(), sort(), uniq()


[?25l:[?2004h[?25h:let l = ['-0', 'A11', 2, 2, 'xaaa', 4, 'foo', 'foo6', 'foo', [0, 


1, 2], 'x8', [0, 1, 2], 1.5]


[?25l:[?2004h[?25h:$put =string(uniq(copy(l)))


[?25l:[?2004h[?25h:$put =string(reverse(l))


[?25l:[?2004h[?25h:$put =string(reverse(reverse(l)))


[?25l:[?2004h[?25h:$put =string(sort(l))


[?25l:[?2004h[?25h:$put =string(reverse(sort(l)))


[?25l:[?2004h[?25h:$put =string(sort(reverse(sort(l))))


[?25l:[?2004h[?25h:$put =string(uniq(sort(l)))


[?25l:[?2004h[?25h:let l=[7, 9, 'one', 18, 12, 22, 'two', 10.0e-16, -1, 'three', 0xf


f, 0.22, 'four']


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'n'))


[?25l:[?2004h[?25h:let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'bar', 


'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', {}, []]


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 1))


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'i'))


[?25l:[?2004h[?25h:$put =string(sort(copy(l)))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" splitting a string to a List


[?25l:[?2004h[?25h:$put =string(split('  aa  bb '))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 0))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 1))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W', 1))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 0))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 1))


[?25l:[?2004h[?25h:$put =string(split('aa,,bb, cc,', ',\s*', 1))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs'))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs', 1))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare recursively linked list and dict


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:let d = {'1': 1, '2': l, '3': 3}


[?25l:[?2004h[?25h:let l[1] = d


[?25l:[?2004h[?25h:$put =(l == l)


[?25l:[?2004h[?25h:$put =(d == d)


[?25l:[?2004h[?25h:$put =(l != deepcopy(l))


[?25l:[?2004h[?25h:$put =(d != deepcopy(d))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare complex recursively linked list and dict


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:call add(l, l)


[?25l:[?2004h[?25h:let dict4 = {"l": l}


[?25l:[?2004h[?25h:call add(dict4.l, dict4)


[?25l:[?2004h[?25h:let lcopy = deepcopy(l)


[?25l:[?2004h[?25h:let dict4copy = deepcopy(dict4)


[?25l:[?2004h[?25h:$put =(l == lcopy)


[?25l:[?2004h[?25h:$put =(dict4 == dict4copy)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same List to extend()


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4, 5]


[?25l:[?2004h[?25h:call extend(l, l)


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend()


[?25l:[?2004h[?25h:let d = { 'a': {'b': 'B'}}


[?25l:[?2004h[?25h:call extend(d, d)


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend() with "error"


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call extend(d, d, "error")


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" test for range assign


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:let l[:] = [1, 2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:endfun
[?25l:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test(1, 2, [3, 4], {5: 6})  " This may take a while
[?25lError detected while processing function Test:

line   76:


E684: list index out of range: 1


line   91:


E684: list index out of range: 2


line  271:


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


line  441:


E741: Value is locked: l[0:1]


line  443:


E741: Value is locked: l[1:2]


line  446:


E741: Value is locked: l[0:1] = [0, 1]


line  448:


E741: Value is locked: l[1:2] = [0, 1]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb']

['aa', 'bb']

['', 'aa', 'bb', '']

['', '', 'aa', '', 'bb', '', '']

['aa', '', 'bb']

['', 'aa', '', 'bb', '']

['aa', '', 'bb', 'cc', '']

['a', 'b', 'c']

['', 'a', '', 'b', '', 'c', '']

1

1

0

0

1

1

[1, 2, 3, 4, 5, 1, 2, 3, 4, 5]

{'a': {'b': 'B'}}

Vim(call):E737: a

{'a': {'b': 'B'}}

[1, 2]

~                                                                               [?25h[?25l



:[?2004h[?25hdelfunc Test
[?25l[?25h[?25l:[?2004h[?25hunlet dict
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test for patch 7.3.637
[?25l[?25h[?25l:[?2004h[?25hlet a = 'No error caught'
[?25l[?25h[?25l:[?2004h[?25htry|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25l[?25h[?2004l[?25l=[?2004h[?25ha
[?2004h[?25lVim(foldopen):E490:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hredir => a
[?25l[?25h[?25l:[?2004h[?25htry|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'


)|endtry


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb'][?25h[?2004l[?25l

=[?2004h[?25ha
[?2004h[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'))|endtry

[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 197 lines, 3821 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test55 = test61; then \
#	  if diff test.out test55.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test55.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test60.failed test.ok test.out X* viminfo
cp test60.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test60.in" 601 lines, 13116 charactersTests for the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :



STARTTEST

:so small.vim

:function! RunTest(str, result)

    if exists(a:str) == a:resultecho "OK"

    elseecho "FAILED: Checking for " . a:str

    endif

endfunction

:function! TestExists()

    augroup myagroupautocmd! BufEnter*.my     echo "myfile edited"autocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"

    augroup END

    set rtp+=./sautestlet test_cases = []" valid autocmd group

    let test_cases += [['#myagroup', 1]]

    " valid autocmd group with garbage[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 596 lines, 13023 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction! RunTest(str, result)
[?25l

:[?2004h  [?25h    if exists(a:str) == a:result


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED: Checking for " . a:str


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x[?25h[?25l

:[?2004h[?25hfunction! TestExists()
[?25l

:[?2004h  [?25h    augroup myagroup


[?25l:[?2004h  [?25h^Iautocmd! BufEnter       *.my     echo "myfile edited"


[?25l:[?2004h  [?25h^Iautocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"


[?25l:[?2004h  [?25h    augroup END


[?25l:[?2004h  [?25h    set rtp+=./sautest


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    let test_cases = []


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " valid autocmd group


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup', 1]]


[?25l:[?2004h  [?25h    " valid autocmd group with garbage


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup+b', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group or event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup', 0]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group and valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup#BufEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event with no matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#CmdwinEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#xyzacmd', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['###', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group and event or empty event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['##', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##FileReadCmd', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##MySpecialCmd', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&textwidth', 1]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&tw', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['&tw-', 0]]


[?25l:[?2004h  [?25h    " Global option


[?25l:[?2004h  [?25h    let test_cases += [['&g:errorformat', 1]]


[?25l:[?2004h  [?25h    " Local option


[?25l:[?2004h  [?25h    let test_cases += [['&l:errorformat', 1]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojoinspaces', 0]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojs', 0]]


[?25l:[?2004h  [?25h    " Non-existing option


[?25l:[?2004h  [?25h    let test_cases += [['&myxyzoption', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch!1', 0]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['+is', 1]]


[?25l:[?2004h  [?25h    " Existing option that is hidden.


[?25l:[?2004h  [?25h    let test_cases += [['+autoprint', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing environment variable


[?25l:[?2004h  [?25h    let $EDITOR_NAME = 'Vim Editor'


[?25l:[?2004h  [?25h    let test_cases += [['$EDITOR_NAME', 1]]


[?25l:[?2004h  [?25h    " Non-existing environment variable


[?25l:[?2004h  [?25h    let test_cases += [['$NON_ENV_VAR', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal function


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr', 1]]


[?25l:[?2004h  [?25h    " Valid internal function with ()


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr()', 1]]


[?25l:[?2004h  [?25h    " Non-existing internal function


[?25l:[?2004h  [?25h    let test_cases += [['*myxyzfunc', 0]]


[?25l:[?2004h  [?25h    " Valid internal function with garbage


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr&6', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*TestExists', 1]]


[?25l:[?2004h  [?25h    " Non-existing user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*MyxyzFunc', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function that may be created by FuncUndefined event


[?25l:[?2004h  [?25h    let test_cases += [['*UndefFun', 0]]


[?25l:[?2004h  [?25h    " Function that may be created by script autoloading


[?25l:[?2004h  [?25h    let test_cases += [['*footest#F', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    redir! > test.out


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    for [test_case, result] in test_cases


[?25l:[?2004h    [?25h        echo test_case . ": " . result


[?25l:[?2004h    [?25h        call RunTest(test_case, result)


[?25l:[?2004h    [?25h    endfor


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match)


[?25l:[?2004h  [?25h    echo ':edit: 2'


[?25l:[?2004h  [?25h    if exists(':edit') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match) with garbage


[?25l:[?2004h  [?25h    echo ':edit/a: 0'


[?25l:[?2004h  [?25h    if exists(':edit/a') == 0


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (partial match)


[?25l:[?2004h  [?25h    echo ':q: 1'


[?25l:[?2004h  [?25h    if exists(':q') == 1


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing internal command


[?25l:[?2004h  [?25h    echo ':invalidcmd: 0'


[?25l:[?2004h  [?25h    if !exists(':invalidcmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (full match)


[?25l:[?2004h  [?25h    command! MyCmd :echo 'My command'


[?25l:[?2004h  [?25h    echo ':MyCmd: 2'


[?25l:[?2004h  [?25h    if exists(':MyCmd') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (partial match)


[?25l:[?2004h  [?25h    command! MyOtherCmd :echo 'Another command'


[?25l:[?2004h  [?25h    echo ':My: 3'


[?25l:[?2004h  [?25h    if exists(':My') == 3


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Command modifier


[?25l:[?2004h  [?25h    echo ':rightbelow: 2'


[?25l:[?2004h  [?25h    if exists(':rightbelow') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (full match)


[?25l:[?2004h  [?25h    delcommand MyCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':MyCmd: 0'


[?25l:[?2004h  [?25h    if !exists(':MyCmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (partial match)


[?25l:[?2004h  [?25h    delcommand MyOtherCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':My: 0'


[?25l:[?2004h  [?25h    if !exists(':My')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var: 1'


[?25l:[?2004h  [?25h    if exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable with garbage


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var%n: 0'


[?25l:[?2004h  [?25h    if !exists('local_var%n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local variable


[?25l:[?2004h  [?25h    unlet local_var


[?25l:[?2004h  [?25h    echo 'local_var: 0'


[?25l:[?2004h  [?25h    if !exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing autoload variable that may be autoloaded


[?25l:[?2004h  [?25h    echo 'footest#x: 0'


[?25l:[?2004h  [?25h    if !exists('footest#x')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list


[?25l:[?2004h  [?25h    let local_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'local_list: 1'


[?25l:[?2004h  [?25h    if exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item


[?25l:[?2004h  [?25h    echo 'local_list[1]: 1'


[?25l:[?2004h  [?25h    if exists('local_list[1]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item with garbage


[?25l:[?2004h  [?25h    echo 'local_list[1]+5: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[1]+5')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Invalid local list item


[?25l:[?2004h  [?25h    echo 'local_list[2]: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[2]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local list


[?25l:[?2004h  [?25h    unlet local_list


[?25l:[?2004h  [?25h    echo 'local_list: 0'


[?25l:[?2004h  [?25h    if !exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local dictionary


[?25l:[?2004h  [?25h    let local_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'local_dict: 1'


[?25l:[?2004h  [?25h    if exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local dictionary


[?25l:[?2004h  [?25h    unlet local_dict


[?25l:[?2004h  [?25h    echo 'local_dict: 0'


[?25l:[?2004h  [?25h    if !exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing local curly-brace variable


[?25l:[?2004h  [?25h    let str = "local"


[?25l:[?2004h  [?25h    let curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local curly-brace variable


[?25l:[?2004h  [?25h    unlet curly_{str}_var


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable


[?25l:[?2004h  [?25h    let g:global_var = 1


[?25l:[?2004h  [?25h    echo 'g:global_var: 1'


[?25l:[?2004h  [?25h    if exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable with garbage


[?25l:[?2004h  [?25h    echo 'g:global_var-n: 1'


[?25l:[?2004h  [?25h    if !exists('g:global_var-n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global variable


[?25l:[?2004h  [?25h    unlet g:global_var


[?25l:[?2004h  [?25h    echo 'g:global_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global list


[?25l:[?2004h  [?25h    let g:global_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'g:global_list: 1'


[?25l:[?2004h  [?25h    if exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global list


[?25l:[?2004h  [?25h    unlet g:global_list


[?25l:[?2004h  [?25h    echo 'g:global_list: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global dictionary


[?25l:[?2004h  [?25h    let g:global_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'g:global_dict: 1'


[?25l:[?2004h  [?25h    if exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global dictionary


[?25l:[?2004h  [?25h    unlet g:global_dict


[?25l:[?2004h  [?25h    echo 'g:global_dict: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global curly-brace variable


[?25l:[?2004h  [?25h    let str = "global"


[?25l:[?2004h  [?25h    let g:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global curly-brace variable


[?25l:[?2004h  [?25h    unlet g:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window variable


[?25l:[?2004h  [?25h    echo 'w:window_var: 1'


[?25l:[?2004h  [?25h    let w:window_var = 1


[?25l:[?2004h  [?25h    if exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window variable


[?25l:[?2004h  [?25h    unlet w:window_var


[?25l:[?2004h  [?25h    echo 'w:window_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window list


[?25l:[?2004h  [?25h    let w:window_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'w:window_list: 1'


[?25l:[?2004h  [?25h    if exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window list


[?25l:[?2004h  [?25h    unlet w:window_list


[?25l:[?2004h  [?25h    echo 'w:window_list: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window dictionary


[?25l:[?2004h  [?25h    let w:window_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'w:window_dict: 1'


[?25l:[?2004h  [?25h    if exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window dictionary


[?25l:[?2004h  [?25h    unlet w:window_dict


[?25l:[?2004h  [?25h    echo 'w:window_dict: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window curly-brace variable


[?25l:[?2004h  [?25h    let str = "window"


[?25l:[?2004h  [?25h    let w:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window curly-brace variable


[?25l:[?2004h  [?25h    unlet w:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer variable


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 1'


[?25l:[?2004h  [?25h    let b:buffer_var = 1


[?25l:[?2004h  [?25h    if exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer variable


[?25l:[?2004h  [?25h    unlet b:buffer_var


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer list


[?25l:[?2004h  [?25h    let b:buffer_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer list


[?25l:[?2004h  [?25h    unlet b:buffer_list


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer dictionary


[?25l:[?2004h  [?25h    let b:buffer_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer dictionary


[?25l:[?2004h  [?25h    unlet b:buffer_dict


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer curly-brace variable


[?25l:[?2004h  [?25h    let str = "buffer"


[?25l:[?2004h  [?25h    let b:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer curly-brace variable


[?25l:[?2004h  [?25h    unlet b:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Script-local tests


[?25l:[?2004h  [?25h    source test60.vim


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:version: 1'


[?25l:[?2004h  [?25h    if exists('v:version')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:non_exists_var: 0'


[?25l:[?2004h  [?25h    if !exists('v:non_exists_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function arguments


[?25l:[?2004h  [?25h    function TestFuncArg(func_arg, ...)


[?25l:[?2004h    [?25h        echo 'a:func_arg: 1'


[?25l:[?2004h    [?25h        if exists('a:func_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:non_exists_arg: 0'


[?25l:[?2004h    [?25h        if !exists('a:non_exists_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:1: 1'


[?25l:[?2004h    [?25h        if exists('a:1')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:2: 0'


[?25l:[?2004h    [?25h        if !exists('a:2')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h    endfunction


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    call TestFuncArg("arg1", "arg2")


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    echo ' g:footest#x =' g:footest#x


[?25l:[?2004h    [?25h    echo '   footest#F()' footest#F()


[?25l:[?2004h    [?25h    echo 'UndefFun()' UndefFun()


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    redir END


[?25l:[?2004h    [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hcall TestExists()
[?25l#myagroup: 1

OK


#myagroup+b: 0


OK


#myagroup#BufEnter: 1


OK


#myagroup#BufEnter#*.my: 1


OK


#BufEnter: 1


OK


#BufEnter#*.my: 1


OK


#xyzagroup: 0


OK


#xyzagroup#BufEnter: 0


OK


#myagroup#CmdwinEnter: 0


OK


#myagroup#xyzacmd: 0


OK


#myagroup#BufEnter#xyzpat: 0


OK


#BufEnter#xyzpat: 0


OK


###: 0


OK


##: 0


OK


##FileReadCmd: 1


OK


##MySpecialCmd: 0


OK


&textwidth: 1


OK


&tw: 1


OK


&tw-: 0


OK


&g:errorformat: 1


OK


&l:errorformat: 1


OK


&nojoinspaces: 0


OK


&nojs: 0


OK


&myxyzoption: 0


OK


+incsearch: 1


OK


+incsearch!1: 0


OK


+is: 1


OK


+autoprint: 0


OK


$EDITOR_NAME: 1


OK


$NON_ENV_VAR: 0


OK


*bufnr: 1


OK


*bufnr(): 1


OK


*myxyzfunc: 0


OK


*bufnr&6: 0


OK


*TestExists: 1


OK


*MyxyzFunc: 0


OK


*UndefFun: 0


OK


*footest#F: 0


OK


:edit: 2


OK


:edit/a: 0


OK


:q: 1


OK


:invalidcmd: 0


OK


:MyCmd: 2


OK


:My: 3


OK


:rightbelow: 2


OK


:MyCmd: 0


OK


:My: 0


OK


local_var: 1


OK


local_var%n: 0


OK


local_var: 0


OK


footest#x: 0


OK


local_list: 1


OK


local_list[1]: 1


OK


local_list[1]+5: 0


OK


local_list[2]: 0


OK


local_list: 0


OK


local_dict: 1


OK


local_dict: 0


OK


curly_local_var: 1


OK


curly_local_var: 0


OK


g:global_var: 1


OK


g:global_var-n: 1


OK


g:global_var: 0


OK


g:global_list: 1


OK


g:global_list: 0


OK


g:global_dict: 1


OK


g:global_dict: 0


OK


g:curly_global_var: 1


OK


g:curly_global_var: 0


OK


w:window_var: 1


OK


w:window_var: 0


OK


w:window_list: 1


OK


w:window_list: 0


OK


w:window_dict: 1


OK


w:window_dict: 0


OK


w:curly_window_var: 1


OK


w:curly_window_var: 0


OK


b:buffer_var: 1


OK


b:buffer_var: 0


OK


b:buffer_list: 1


OK


b:buffer_list: 0


OK


b:buffer_dict: 1


OK


b:buffer_dict: 0


OK


b:curly_buffer_var: 1


OK


b:curly_buffer_var: 0


OK


s:script_var: 1


OK


s:script_var: 0


OK


s:script_list: 1


OK


s:script_list: 0


OK


s:script_dict: 1


OK


s:script_dict: 0


OK


s:curly_script_var: 1


OK


s:curly_script_var: 0


OK


*s:my_script_func: 1


OK


*s:my_script_func: 0


OK


v:version: 1


OK


v:non_exists_var: 0


OK


a:func_arg: 1


OK


a:non_exists_arg: 0


OK


a:1: 1


OK


a:2: 0


OK


 g:footest#x = 1


   footest#F() 0


UndefFun() 0


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hdelfunc TestExists
[?25l[?25h[?25l:[?2004h[?25hdelfunc RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestFuncArg
[?25l[?25h[?25l:[?2004h[?25hedit! test.out
[?25l"test.out" [Incomplete last line] 206 lines, 1940 characters#myagroup: 1OK

#myagroup+b: 0OK

#myagroup#BufEnter: 1OK#myagroup#BufEnter#*.my: 1OK

#BufEnter: 1OK#BufEnter#*.my: 1OK

#xyzagroup: 0OK#xyzagroup#BufEnter: 0

OK#myagroup#CmdwinEnter: 0

OK

#myagroup#xyzacmd: 0

OK#myagroup#BufEnter#xyzpat: 0

OK[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 206 lines, 1941 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test60 = test61; then \
#	  if diff test.out test60.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test60.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test64.failed test.ok test.out X* viminfo
cp test64.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test64.in" 654 lines, 27565 charactersTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns without multi-byte support.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 621 lines, 27090 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:for pat in [' \ze*', ' \zs*']

:  try

:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" tl is a List of Lists with:
[?25l[?25h[?25l:[?2004h[?25h"    regexp engine
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"""" Previously written tests """"""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b', 'abcdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abbdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'ccc', 'ccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'abdef', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abdef']) "no match
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"operator \|
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\|ab', 'cabd', 'a']) "alternation is ordered
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c\?', 'ccb', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abd', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abccd', 'bc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}', 'ab', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'caad', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vb{1}', 'abca', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{2}', 'abaa', 'baa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{3}', 'aabaac'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'dabc', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'acb'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'acb', "", ""])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ababc', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'ababcab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'abcababa', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'cdababe', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abacabab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abacabababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'daaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'daaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'adaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaabaaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){2}', 'dadaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3}){2}', 'aaaaaaa', 'aaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'daaac', 'aaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaac', 'aaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaaac', 'aaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){3}', 'daac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'dac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'daac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){1,2}', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)(a+)', 'aaa', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3})+', 'daaaac', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c)+', 'aacb', 'aacb', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c){2}', 'abcb', 'ab', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abcabd', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abdabcabc','abcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a*', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+)+', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'ab', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'dababc', 'abab', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{0,2})+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a*)+)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1,3}', 'aab', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2,3}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})|(b{3})', 'bbabbbb', 'bbb', '', 'bbb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}|b{2}', 'abab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)+|(c)+', 'bbacbaacbbb', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbccccccccccccc', 'abbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbbccccccccccccc', 'abbbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}cd{2,3}e', 'aabbbcddee', 'abbbcdde'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va(bc){2}d', 'aabcbfbc' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'a', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aa', 'aa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aaa', 'aaa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'bbbabcc', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*b*|a*c*', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}b{1}|a{1}b{1}', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)(b)', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab)(b)(c)', 'abbc', 'abbc', 'ab', 'b', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a)(b))', 'ab', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)|(b)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x', 'abcdef'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""" Simple tests """""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search single groups
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'baced'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', '                    ab           ', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search multi-modifiers
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xcd', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xxxxxxxxxxxxxxxxsofijiojgf', 'xxxxxxxxxxxxxxxx'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'abcdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" no match here
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdoin'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdeoijdfxxiuhfij', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'xxxxx', 'xxxxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abc x siufhiush xxxxxxxxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'abc sfoij', '']) " empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'xxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'abc sfoij', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'xxxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,1}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a\{0,1}'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{1,0}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaa asfoij afaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaaaaa', 'aaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'iuash fiusahfliusah fiushfilushfi uhsaifuh askfj na


sfvius afg aaaa sfiuhuhiushf', 'aa'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'aaaaa aa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'aaaaasfoij ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaxxx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaaxxx ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'aaaaaaaaaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25h" leading star as normal char when \{} follows
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '***'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '****', '****'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '*****', '*****'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'aaaaioudfh coisf jda', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,1}', 'asiubid axxxaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaa asfoij afaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'aaaaa aa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'aaaaasfoij ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'aaaaaaaaaa', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'aaaaioudfh coisf jda', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test groups of characters and submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abc\)*', 'abcabcabc', 'abcabcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(ab\)\+', 'abababaaaaa', 'ababab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abaaaaa\)*cd', 'cd', 'cd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\? \(test2\)\?', 'test1 test3', 'test1 ', 'test1', 


''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\= \(test2\) \(test4443\)\=', ' test2 test4443 yupi


iiiiiiiiii', ' test2 test4443', '', 'test2', 'test4443'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(sub1\) hello \(sub 2\)\)', 'asterix sub1 hello sub 2 obe


lix', 'sub1 hello sub 2', 'sub1 hello sub 2', 'sub1', 'sub 2'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(\(yyxxzz\)\)\)', 'abcdddsfiusfyyzzxxyyxxzz', 'yyxxzz', '


yyxxzz', 'yyxxzz', 'yyxxzz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c+)+', 'abcccaba', 'abcccab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a(c*)+b)+', 'acbababaaa', 'acbabab', 'ab', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aá ^I', 'aá '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test greedy-ness and lazy-ness
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}','aaaaaaaaaaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}','aaaaaaaaaaaaaaaaaaaa', 'aaaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.{-,8})yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz','ayxa


','xayzxayz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.*)yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz', 'ayxayzx


ayzxa',''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){-2,3}','aaaaaaa','aaaa','aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{-1,3})+', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\( x\|x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\(x\| x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\ze\(x\| x$\)', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(\s\{-}\)\(x\| x$\)', ' x', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test Character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\d\+e\d\d','test 10e23 fd','10e23'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test collections and character range []
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[a]', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[bcd]', 'abcd', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[b-d]', 'acbd', 'ac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-d][e-f][x-x]d', 'cexdxx', 'cexd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[[:alpha:]]+', 'abcdefghijklmnopqrstuvwxyz6','abcdefghijkl


mnopqrstuvwxyz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]\+]', '6x8','x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','abcabcabc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]','defghiasijvoinasoiunbvb','d'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','ddddddda','ddddddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-d]\+','aaaAAAZIHFNCddd','AAAZIHFNC'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','iiiiiiii',''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','abcdefgh','abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-f]\+','abcdefgh','gh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-c]\{-3,6}','abcabc','abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[:alpha:]]\+','abcccadfoij7787ysf287yrnccdu','7787'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-a]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*\c','ABCDEFGH','ABCDEF'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[abc][xyz]\c','-af-AF-BY--','BY'])
[?25l[?25h[?25l:[?2004h[?25h" filename regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-./[:alnum:]_~]\+', 'log13.file', 'log13.file'])
[?25l[?25h[?25l:[?2004h[?25h" special chars
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[\]\^\-\\]\+', '\^\\\-\---^', '\^\\\-\---^'])
[?25l[?25h[?25l:[?2004h[?25h" collation elem
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[.a.]]\+', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" middle of regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'siuhabc ii'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'adf abc44482ddd oijs', 'abc44482ddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9\n]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', "asfi\n9888u", "\n9888"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f', "  \na ", "\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f\+', "  \na ", "\na"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9A-Za-z-_.]\+', " @0_a.A-{ ", "0_a.A-"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test start/end of line, start/end of file
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "a_\nb ", "a_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "b a \na_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a b\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a.', "a a\na", "a "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a', " a \na "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-7]\+', 'x0123456789x', '01234567'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-7]\+', '0a;X+% 897', 'a;X+% 89'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9]\+', 'x0123456789x', '0123456789'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9]\+', '0a;X+% 9', 'a;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-fA-F]\+', 'x0189abcdefg', '0189abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9A-Fa-f]\+', '0189g;X+% ab', 'g;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z0-9]\+', ';+aso_SfOij ', 'aso_SfOij'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z0-9]\+', 'aSo_;+% sfOij', ';+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z]\+', '0abyz_ABYZ;', 'abyz_ABYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z]\+', 'abAB_09;+% yzYZ', '09;+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', '0abcxyz1', 'abcxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', 'AabxyzZ', 'abxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'a;X09+% x', ';X09+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'abX0;%yz', 'X0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-zA-Z]\+', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-zA-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+', 'aABXYZz', 'ABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^A-Z]\+', 'ABx0;%YZ', 'x0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+\c', '0abxyzABXYZ;', 'abxyzABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+\c', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^a-z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^A-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \z features
[?25l[?25h[?25l:[?2004h[?25h" match ends at \ze
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'xx \ze test', 'xx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zeend', 'oij abcend', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aaxx ', 'aaxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aabb\|aa\zebb', ' aabb ', 'aabb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaebb', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" match starts at \zs
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zsdd', 'ddabcddxyzt', 'dd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa \zsax', ' ax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc \zsmatch\ze abc', 'abc abc abc match abc abc', 'match'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a \zsif .*){2}', 'a if then a if last', 'if last', 'a if 


last'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\>\zs.', 'aword. ', '.'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\s\+\ze\[/\|\s\zs\s\+', 'is   [a t', '  '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \@= and \& features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'abc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=cd', 'abcd', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'ababc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h" will never match, no matter the input text
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25h" will never match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'any text in here ... '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc)@=..', 'xabcd', 'ab', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.*John\)\@=.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(John.*\)\@=.*Bob', 'John is Bobs friend', 'John is Bob', '


John is Bobs friend'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\S\+\())\)\@=', '$((i=i+1))', 'i=i+1', '))'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'John is Bobs friend', 'John is Bob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test1)@=.*yep', 'this is a test1, yep it is', 'test1, yep


', 'test1'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if then else'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if else ', 'if else ', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!bar', 'foobar', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!...bar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' bar foo '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo bar '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo xxx ', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\%([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:']


)[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:', 


's'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'm\k\+_\@=\%(_\@!\k\)\@<=\k\+e', 'mx__xe', 'mx__xe'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%(\U\@<=S\k*\|S\l\)R', 'SuR', 'SuR'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(())', 'any possible text', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v%(ab(xyz)c)', '   abxyzc ', 'abxyzc', 'xyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test|)empty', 'tesempty', 'empty', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|aa)(a|aa)', 'aaa', 'aa', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" \%u and friends
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d32', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%o40', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%x20', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%u0020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%U00000020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d0', "yes\x0ano", "\x0a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \%[abc]
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fooxx', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobxx', 'foob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobaxx', 'fooba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobarxx', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobxx', 'foobx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobarxx', 'foobarx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'barxx', 'barx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'bxx', 'bx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'xxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[]]r]', 'b]r bor', 'b]r'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '@\%[\w\-]*', '<http://john.net/pandoc/>[@pandoc]', '@pandoc'


])[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Alternatives, must use first longest match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|\<go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', ' abc abc', 'abc abc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', 'xgoo goox', 'goo goo', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7


\8\9', 'xabcddefghiabcddefghix', 'abcddefghiabcddefghi', 'a', 'b', 'c', 'dd', 'e


', 'f', 'g', 'h', 'i'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\d*\)a \1b', ' a b ', 'a b', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', "aaa\naaa\nb", "aaa\naaa", 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo


.com', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo


.bat', 'bat', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}', '2013-06-27${0}', '$


{0}', '0'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a*\)\1$', 'aaaaaaaa', 'aaaaaaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a\{-2,}\)\1\+$', 'aaaaaaaaa', 'aaaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Look-behind with limit
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@1<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@2<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<


'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<


<'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<!bar.', 'xx foobar1 xbar2 xx', 'bar2'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" look-behind match in front of a zero-width item
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" test header'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" Last Changed: 1970', '19


70'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'barfoo', '', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=.*', 'foobar', 'bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" complicated look-behind match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(r\@<=\|\w\@<!\)\/', 'x = /word/;', '/'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^[a-z]\+\ze \&\(asdf\)\@<!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \@>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>a', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>b', 'aaab', 'aaab', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(.\{-}b\)\@>.', '  abcbd', '  abc', '  ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.\{-}\)\(\)\@>$', 'abc', 'abc', 'abc', ''])
[?25l[?25h[?25l:[?2004h[?25h" TODO: BT engine does not restore submatch after failure
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, '\(a*\)\@>a\|a\+', 'aaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" "\_" prepended negated collection matches EOL
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^8-9]\+', "asfi\n9888", "asfi\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^a]\+', "asfi\n9888", "sfi\n9888"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Requiring lots of states.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}', "


12345678-1234-1234-1234-123456789012 ", "12345678-1234-1234-1234-123456789012",


"1234-"])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Skip adding state twice
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=', "#if FOO", 


"#if", ' FOO'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""" Test \%V atom
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%>70vGesamt', 'Jean-Michel Charlier & Victor Hubinon\Gesamt


ausgabe [Salleck]    Buck Danny {Jean-Michel Charlier & Victor Hubinon}\Gesamtau


sgabe', 'Gesamt'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.

OK 2 - ^\(.\{-}b\)\@>.

OK 0 - \(.\{-}\)\(\)\@>$

OK 1 - \(.\{-}\)\(\)\@>$

OK 2 - \(.\{-}\)\(\)\@>$

OK 0 - \(a*\)\@>a\|a\+

OK 2 - \(a*\)\@>a\|a\+

OK 0 - \_[^8-9]\+

OK 1 - \_[^8-9]\+

OK 2 - \_[^8-9]\+

OK 0 - \_[^a]\+

OK 1 - \_[^a]\+

OK 2 - \_[^a]\+

OK 0 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 1 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 0 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 1 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 0 - \%>70vGesamt

OK 1 - \%>70vGesamt

OK 2 - \%>70vGesamt
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""""" multi-line tests """"""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', ['aaa', 'aaa', 'b'], ['XX', 'b']])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v.*\/(.*)\n.*\/\1$', ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/D


ir2/abcdefgh.bat', '', './Dir1/Dir2/file1.txt', './OtherDir1/OtherDir2/file1.txt


'], ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/Dir2/abcdefgh.bat', '', 'XX']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" line breaks
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\S.*\nx', ['abc', 'def', 'ghi', 'xjk', 'lmn'], ['abc', 'def'


, 'XXjk', 'lmn']])
[?25lOK 0 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that \_[0-9] matching EOL does not break a following \>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)


\.\)\{3\}\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>', ['', 'loca


lnet/192.168.0.1', ''], ['', 'localnet/XX', '']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a line break and ^ and $
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\n^b$\n^c', ['a', 'b', 'c'], ['XX']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(^.\+\n\)\1', [' dog', ' dog', 'asdf'], ['XXasdf']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the multi-line tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='multi-line tests'
[?25l

multi-line tests[?25h[?25l

:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let before = t[2]


[?25l:[?2004h  [?25h:  let after = t[3]


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re ==1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    new


[?25l:[?2004h    [?25h:    call setline(1, before)


[?25l:[?2004h    [?25h:    exe '%s/' . pat . '/XX/'


[?25l:[?2004h    [?25h:    let result = getline(1, '$')


[?25l:[?2004h    [?25h:    q!


[?25l:[?2004h    [?25h:    if result != after


[?25l:[?2004h      [?25h:      $put ='ERROR: pat: \"' . pat . '\", text: \"' . string(before) . 


'\", expected: \"' . string(after) . '\", got: \"' . string(result) . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?25l

:[?2004h[?25hunlet t tl
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that using a pattern on two lines doesn't get messed up by using
[?25l[?25h[?25l:[?2004h[?25h" matchstr() with \ze in between.
[?25l[?25h[?25l:[?2004h[?25hset re=0
[?25l[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2s/""/\='"'.matchstr(getline("."), '\d\+\ze<').'"'
[?25l5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2yank
[?25l[?25h[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?2004l[?2004h[?25l

[?25h[?25l

<T="5">Ta 5</Title>
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a look beind crossing a line boundary
[?25l[?25h[?25l/[?2004h[?25h^Behind:
[?25lsearch hit BOTTOM, continuing at TOP:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

search hit BOTTOM, continuing at TOP[?25h[?25l/[?2004h[?25h\(<\_[xy]\+\)\@3<=start
[?25l[?25h[?25l:[?2004h[?25h.yank
[?25l[?25h[?25lOK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?2004l[?2004h[?25l

[?25h[?25l

xxstart3
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching Visual area
[?25l[?25h[?25l/[?2004h[?25h^Visual:
[?25lsearch hit BOTTOM, continuing at TOP<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

oooxofor foroxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

search hit BOTTOM, continuing at TOP[?25h

the[?25l[?25h[?25lxe the the[?25h[?25l:[?2004h'<,'>[?25hs/\%Ve/E/g
[?25l3 substitutions on 1 linexE thE thE
[?25h

[?25landaxand andaxand 
[?25h[?25l:[?2004h'<,'>[?25hs/\%Va/A/g
[?25l6 substitutions on 1 lineAndAxAnd AndAxAnd[?25h

ooo[?25l[?25h[?25lxofor foro[?25h[?25lx

oooxofor foro[?25h[?25l:[?2004h'<,'>[?25hs/\%Vo/O/g
[?25l8 substitutions on 2 linesxOfOr fOrOx

oooxOfOr fOrO
[?25h[?25l:[?2004h[?25h/^Visual/+1,/^Visual/+4yank
[?25lsearch hit BOTTOM, continuing at TOP
4 lines yanked[?25h[?25lOK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3
[?25h[?2004l[?2004h[?25l

[?25h[?25l

4 more lines

thexE thE thExethe4 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching marks
[?25l[?25h[?25l/[?2004h[?25h^Marks:
[?25lsearch hit BOTTOM, continuing at TOPasdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

OK 0 - ab

OK 1 - ab

OK 2 - ab

OK 0 - b

OK 1 - b

OK 2 - b

search hit BOTTOM, continuing at TOP[?25h

asdf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s.*\%<'e../here/
[?25lhereasdf[?25h

asdf

dfsa
dfsadf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s\_.*\%<'e../again/
[?25l

asdfagainasdfOK 0 - bc*[?25h[?25l:[?2004h[?25h/^Marks:/+1,/^Marks:/+3yank
[?25lsearch hit BOTTOM, continuing at TOP
3 lines yanked[?25h[?25lOK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo
[?25h[?2004l[?2004h[?25l

[?25h[?25l

3 more linesasdfhereasdf

asdfagainasdf3 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check patterns matching cursor position.
[?25l[?25h[?25l:[?2004h[?25hfunc! Postest()
[?25l

:[?2004h  [?25h new


[?25l:[?2004h  [?25h call setline(1, ['ffooooo', 'boboooo', 'zoooooo', 'koooooo', 'moooooo', "\t


\t\tfoo", 'abababababababfoo', 'bababababababafoo', '********_', '        xxxxxx


xxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxx xx xxxx


xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxx xxxxxxxxxx


xxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxx xxxxxxxxxxx


x xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx xxxxxxxxx xxxx


xxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxx xxx xxx xx


xxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx xxxxxxxxxxxx x


xxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxxxxx


xxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx'])


[?25l:[?2004h  [?25h call setpos('.', [0, 1, 0, 0])


[?25l:[?2004h  [?25h s/\%>3c.//g


[?25l:[?2004h  [?25h call setpos('.', [0, 2, 4, 0])


[?25l:[?2004h  [?25h s/\%#.*$//g


[?25l:[?2004h  [?25h call setpos('.', [0, 3, 0, 0])


[?25l:[?2004h  [?25h s/\%<3c./_/g


[?25l:[?2004h  [?25h %s/\%4l\%>5c./_/g


[?25l:[?2004h  [?25h %s/\%6l\%>25v./_/g


[?25l:[?2004h  [?25h %s/\%>6l\%3c./!/g


[?25l:[?2004h  [?25h %s/\%>7l\%12c./?/g


[?25l:[?2004h  [?25h %s/\%>7l\%<9l\%>5v\%<8v./#/g


[?25l:[?2004h  [?25h $s/\%(|\u.*\)\@<=[^|\t]\+$//ge


[?25l:[?2004h  [?25h 1,$yank


[?25l:[?2004h  [?25h quit!


[?25l:[?2004h  [?25hendfunc
[?25lOK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf[?25h[?25l~                                                                               [?25h[?2004l[?2004h[?25l

-0-[?25h[?25l

:[?2004h[?25hset re=0
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25loooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf-0-ffobob__ooooo

koooo__moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx[?25h[?2004l[?2004h[?25l

-1-[?25h[?25l

:[?2004h[?25hset re=1
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l-1-

ffo

bob

__ooooo

koooo__

moooooo

   f__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxx xxxx xx xxxxxxxx xxx xxxxxxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l-2-[?25h[?25l:[?2004h[?25hset re=2
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l-2-

ffo

bob~                                                                               [?25h[?25l:[?2004h[?25h" start and end of buffer
[?25l[?25h[?25l/[?2004h[?25h\%^
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 2 - \v(a*)+

OK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}[?25h[?25l/[?2004h[?25h\%^..
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?2004l[?2004h[?25lt END[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}

OK 1 - \va{1,3}[?25h[?25l/[?2004h[?25h\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h[?25l:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

:call add(tl, [2, 'ab', 'aab', 'ab'])

:call add(tl, [2, 'b', 'abcdef', 'b'])

:call add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])

:call add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])

:call add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])

:call add(tl, [2, 'bc*', 'abbdef', 'b'])

:call add(tl, [2, 'c*', 'ccc', 'ccc'])

:call add(tl, [2, 'bc*', 'abdef', 'b'])[?25h[?25l/[?2004h[?25h..\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h
[?2004l[?2004h[?25l[?25h[?25lEN[?25h[?2004l[?2004h[?25l[?25h[?25lE[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check for detecting error
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=2
[?25l[?25h[?25l:[?2004h[?25hfor pat in [' \ze*', ' \zs*']
[?25l

:[?2004h  [?25h:  try


[?25l:[?2004h    [?25h:    let l = matchlist('x x', pat)


[?25l:[?2004h    [?25h:    $put ='E888 NOT detected for ' . pat


[?25l:[?2004h    [?25h:  catch


[?25l:[?2004h    [?25h:    $put ='E888 detected for ' . pat


[?25l:[?2004h    [?25h:  endtry


[?25l:[?2004h  [?25h:endfor
[?25lffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?ba

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxxxxxxx xxx xxxxxxx xxxxxxxxx  xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxx xxxx xxx xxxx xxx xxx xxxxxx x xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x x xx xxxxxx xxxxxxx  xxxxxxxxxx xxxxxxxxx xxx xxx xxxxxxxx   xxxx xxx xxxxxx xxxxx xxxxx xx   xxxxxxxxxxxx xxxx xxxxxxxxx xxxxx xxxxx xx xxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxTestEND

EN888 detected for  \ze*

E888 detected for  \zs*[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" Write the results """""""""""""
[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1107 lines, 22167 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test64 = test61; then \
#	  if diff test.out test64.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test64.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test66.failed test.ok test.out X* viminfo
cp test66.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test66.in" 33 lines, 509 charactersTest for visual block shift and tab characters.



STARTTEST

:so small.vim

/^one

fe^V4jR^[ugvr1:'<,'>w! test.out

/^abcdefgh

^V4jI    ^[j<<11|D

7|a^[

7|a^[

7|a^[4k13|^V4j<

:$-5,$w >> test.out

:$-4,$s/\s\+//g

^V4kI    ^[j<<

7|a^[

7|a^[

7|a^[4k13|^V4j3<

:$-4,$w >> test.out

:qa!

ENDTEST



one two three[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 234 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^one
[?25l[?25hon[?25l[?25h[?25le

one two three

one two three

one two three

one two three[?25h[?25l

4 fewer lines[?2004l[?2004habcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz[?25h[?25lmore lines; before #1  0 seconds agoone two three

one two three

one two threeone two threeone two three[?25h[?25le

one

one

one

on[?25h[?25l1

on1

on1

on1

on1[?25h[?25l:[?2004h[?25h'<,'>w! test.out
[?25l"test.out" [New File] 5 lines, 70 characters written[?25h[?25l/[?2004h[?25h^abcdefgh
[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz
[?25h[?25la

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc            defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 1 timeidefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-5,$w >> test.out
[?25l"test.out"6 lines, 151 characters appended[?25h[?25l:[?2004h[?25h$-4,$s/\s\+//g
[?25l7 substitutions on 4 linesabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

a

a

a[?25h[?25l

a

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghij

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghij[?25h

    ab[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                       defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                 defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 3 timesidefghijklmnopqrstuvwxyz    defghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-4,$w >> test.out
[?25l"test.out"5 lines, 147 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test66 = test61; then \
#	  if diff test.out test66.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test66.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test68.failed test.ok test.out X* viminfo
cp test68.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test68.in" 131 lines, 1004 charactersTest for text formatting.



Results of test68:



STARTTEST

:so small.vim

/^{/+1

:set noai tw=2 fo=t

gRa b^[

ENDTEST



{





}



STARTTEST

/^{/+1

:set ai tw=2 fo=tw

gqgqjjllab^[

ENDTEST



{[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 4 lines, 48 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset noai tw=2 fo=t
[?25l[?25h[?2004l[?2004h[?25la

b[?25h

[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 38 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l

a  b[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tw
[?25l[?25h[?25l

b[?25h[?25l

[?25h[?25l

a[?25ha [?2004l[?2004h[?25l

b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=3 fo=t

gqgqo

a ^V^A^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a ^A[?25h[?25l

:[?2004h[?25hset tw=3 fo=t
[?25l[?25h[?25l

^A[?25h[?2004l[?2004h[?25la

^A
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tcq1 comments=:#

gqgqjgqgqo

a b

#a b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a b[?25h[?25l

:[?2004h[?25hset tw=2 fo=tcq1 comments=:#
[?25l[?25h[?25l

#a b[?25h[?2004l[?2004h[?25la b

#a b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 46 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=tcn comments=:#

A b^[jA b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  1 a[?25h[?25l

:[?2004h[?25hset tw=5 fo=tcn comments=:#
[?25l[?25h[?2004l[?2004h[?25l

b[?25h[?25l

# 1 a[?25h[?2004l[?2004h[?25l

#   b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+3
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 35 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=t2a si

i  ^[A_^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+3
[?25l{



  x a

  b[?25h[?25l

:[?2004h[?25hset tw=5 fo=t2a si
[?25l[?25h[?2004l[?2004h[?25l    b[?25h[?2004l[?2004h[?25l b_[?25h[?25l

c[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=qn comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# 1 a b[?25h[?25l

:[?2004h[?25hset tw=5 fo=qn comments=:#
[?25l[?25h[?25l[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=q2 comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# x[?25h[?25l

:[?2004h[?25hset tw=5 fo=q2 comments=:#
[?25l[?25h[?25l# x a
[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+2
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 26 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw& fo=a

I^^^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+2
[?25l{

   1aa

   2bb[?25h[?25l

:[?2004h[?25hset tw& fo=a
[?25l[?25h[?2004l[?2004h[?25l1aa ^^2bb }STARTTEST[?25h

[?25l/[?2004h^STARTTEST
[?25h[?25l

/mno pqr/[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 69 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/

A vwx yz^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25hmno pqr/
[?25l/* abc def ghi jkl

 *    mno pqr stu[?25h[?25l

:[?2004h[?25hsetl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
[?25l[?25h[?2004l[?2004h[?25l

*    vwx yz[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^#/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=12 fo=tqnc comments=:#

A foobar^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^#/
[?25l

# 1 xxxxx[?25h[?25l

:[?2004h[?25hsetl tw=12 fo=tqnc comments=:#
[?25l[?25h[?2004l[?2004h[?25l

#   foobar[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l63 fewer lines# 1 a#   b}{

# x a#   b}{ 1aa ^^2bb }/* abc def ghi jkl

 *    mno pqr stu

 *    vwx yz

 */# 1 xxxxx

#   foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 77 lines, 281 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test68 = test61; then \
#	  if diff test.out test68.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test68.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test69.failed test.ok test.out X* viminfo
cp test69.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test69.in" 192 lines, 2185 charactersTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 multi-byte text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 2 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=t
[?25l[?25h

[?25l

XYZ[?25h[?2004l[?25l[?25h[?25lX[?25h[?25lY[?25h[?25l

Z

abc [?25h[?25l

X[?25h[?25lY[?25h[?2004h[?25lZ[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=1 fo=tm

gqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

X[?25h[?25l

:[?2004h[?25hset tw=1 fo=tm
[?25l[?25h[?25l

Xa[?25h[?25l

a[?25h[?25l

X a
[?25h[?25l

a[?25h[?25l

XY
[?25h[?25l

Y
[?25h[?25l

X Y
[?25h[?25l

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c

abXY^[

ENDTEST



{

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h

[?25la[?25h

[?25la[?25h

[?25lY
[?25h

[?25lY 
[?25h[?25l

aX
[?25h[?25l

X
[?25h[?25l

abX
[?25h[?25l

X
[?25h[?25l

abcX
[?25h[?25l

X
[?25h[?25l

abX c
[?25h[?25lX

c[?25h[?25l

abXY
[?25h[?25lX

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?25lY

a[?25h[?25lX

ab[?25h[?25lX

abc[?25h[?25lX

ab[?25h[?25lX

c

ab[?25h[?25l

X[?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set ai tw=2 fo=tm

gqgqjgqgqo

X

Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

  a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 53 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set noai tw=2 fo=tm

gqgqjgqgqo

  X

  Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset noai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 169 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa

XXY^[

ENDTEST



{

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=cqm comments=n:X
[?25l[?25h



[?25lXY[?25h



[?25lXZ
[?25h



[?25l

X Z
[?25h[?25l

XX
[?25h[?25l

XXa
[?25h[?25l

XXY
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25l

Xa

[?25h[?25lXa[?25h[?25lXY

[?25h[?25lX[?25h[?25l

Y

[?25h[?25lX[?25h[?25lY[?25h[?25lXZ

[?25h[?25lX [?25h[?25l

Y

[?25h[?25lX [?25h[?25lY[?25h[?25lX Z

[?25h[?25lX[?25h[?25l

X

[?25h[?25lX[?25h[?25l

Xa

[?25h[?25lX[?25h[?25lX[?25h[?2004h[?25lY[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 30 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tm

RXa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h[?2004l[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set mps+=^Vu2018:^Vu2019

d%

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

‘two three ’four[?25h[?25l

:[?2004h[?25hset mps+=^‘:^’
[?25l[?25h[?25l four[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^ra test
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 16 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTjVjra

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^ra test
[?25l

ra test[?25h[?25l

abba
[?25h[?25lbba 
[?25h[?25l

a

aab 
[?25h[?25laaaaaaa [?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set whichwrap+=h
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 43 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^x

dh

:set whichwrap-=h

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset whichwrap+=h
[?25l[?25h[?25l/[?2004h[?25h^x
[?25láx[?25h[?25lx[?25h

[?25l

:[?2004h[?25hset whichwrap-=h
[?25l[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:let a = '.é.' " one char of two bytes
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 9 lines, 548 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let b = '.é.' " normal e with composing char

/^byteidx

:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)])

:put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])

/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)])

:let b = '.é.'

:put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet a = '.é.' " one char of two bytes
[?25l[?25h[?25l:[?2004h[?25hlet b = '.eé.' " normal e with composing char
[?25l[?25h[?25l/[?2004h[?25h^byteidx
[?25l

byteidx[?25h[?25l

:[?2004h[?25hput =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), bytei


dx(a, 4)])
[?25l:set whichwrap-=h

ENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hput =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), bytei


dx(b, 4)])
[?25lENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5[?25h[?25l

/[?2004h[?25h^byteidxcomp
[?25l

byteidxcomp[?25h[?25l

:[?2004h[?25hput =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxc


omp(a, 3), byteidxcomp(a, 4)])
[?25láxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hlet b = '.eé.'
[?25l[?25h[?25l:[?2004h[?25hput =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxc


omp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])
[?25lSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1]2, 4, 5, -1][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^substitute
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 75 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let y = substitute('123', '\zs', 'a', 'g')    | put =y

ENDTEST[?25h[?25lsubstitute[?25h[?25l



:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^substitute
[?25l[?25h[?25l:[?2004h[?25hlet y = substitute('123', '\zs', 'a', 'g')    | put =y
[?25la1a2a3a[?25h[?25l



/[?2004h^STARTTEST


STARTTEST[?25h[?25l:g/^STARTTEST/.,/^ENDTEST/d

:1;/^Results/,$wq! test.out[?25h[?25l



:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l



/ENDTEST[?25h
[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l104 fewer lines{ four}ra test

aaaaaaaáxbyteidx[0, 1, 3, 4, -1]

[0, 1, 4, 5, -1]byteidxcomp

[0, 1, 3, 4, -1]

[0, 1, 2, 4, 5, -1]substitute

a1a2a3a[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 166 lines, 730 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test69 = test61; then \
#	  if diff test.out test69.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test69.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test70.failed test.ok test.out X* viminfo
cp test70.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test70.in" 63 lines, 1501 charactersSmoke test for MzScheme interface and mzeval() function



STARTTEST

:so mzscheme.vim

:set nocompatible viminfo+=nviminfo

:function! MzRequire()

:redir => l:mzversion

:mz (version)

:redir END

:if strpart(l:mzversion, 1, 1) < "4"

:" MzScheme versions < 4.x:

:mz (require (prefix vim- vimext))

:else

:" newer versions:

:mz (require (prefix-in vim- 'vimext))

:mz (require r5rs)

:endif

:endfunction

:silent call MzRequire()

:mz (define l '("item0" "dictionary with list OK" "item2"))

:mz (define h (make-hash))

:mz (hash-set! h "list" l)

/^1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSmoke test for MzScheme interface and mzeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1398 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:if l2[2] == l2

:let res = "OK"

:else

:let res = "FAILED: " . l2[2]

:endif

:call setline(search("^3"), "circular test " . res)

:" funcrefs

:mz (define vim:max (vim-eval "function('max')"))

:mz (define m (vim:max '(1 100 8)))

:let m = mzeval('m')

:if m == 100

:let fref_res = "OK"

:else

:let fref_res = "FAILED: " . m

:end

:call append(line('$'), 'funcrefs '. fref_res)

:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mzscheme.vim
[?25l"test.ok" 6 lines, 94 characters


"test.out" [New File] 6 lines, 94 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test70 = test61; then \
#	  if diff test.out test70.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test70.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test73.failed test.ok test.out X* viminfo
cp test73.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test73.in" 170 lines, 3664 charactersTests for find completion.



STARTTEST

:so small.vim

:set belloff=all

:" Do all test in a separate window to avoid E211 when we recursively

:" delete the Xfind directory during cleanup

:"

:" This will cause a few errors, do it silently.

:set visualbell

:set nocp viminfo+=nviminfo

:"

:" On windows a stale "Xfind" directory may exist, remove it so that

:" we start from a clean state.

:call delete("Xfind", "rf")

:new

:let cwd=getcwd()

:let test_out = cwd . '/test.out'

:call mkdir('Xfind')

:cd Xfind

:set path=

:find

:exec "w! " . test_out[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 find completion.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 165 lines, 3617 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exec "cd " . cwd . "/Xfind/"

:set path=./path

:" Open the file where Jimmy Hoffa is found

:e in/file.txt

:" Find the file containing 'E.T.' in the Xfind/in/path directory

:find file

:exec "w >>" . test_out

:"

:" Test that completion works when path=.,,

:"

:set path=.,,

:" Open Jimmy Hoffa file

:e in/file.txt

:exec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu

:exec "w >>" . test_out

:q

:exec "cd " . cwd

:call delete("Xfind", "rf")

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" Do all test in a separate window to avoid E211 when we recursively
[?25l[?25h[?25l:[?2004h[?25h" delete the Xfind directory during cleanup
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" This will cause a few errors, do it silently.
[?25l[?25h[?25l:[?2004h[?25hset visualbell
[?25l[?25h[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h
[?25l[?25h[?25l:[?2004h[?25h" On windows a stale "Xfind" directory may exist, remove it so that
[?25l[?25h[?25l:[?2004h[?25h" we start from a clean state.
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTESTtest73.in                                                                       [?25h[?25l:[?2004h[?25hlet cwd=getcwd()
[?25l[?25h[?25l:[?2004h[?25hlet test_out = cwd . '/test.out'
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('Xfind')
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/<<PKGBUILDDIR>>/src/vim-athena/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE345: Can't find file "" in path[?25h[?25l:[?2004h[?25hexec "w! " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
</vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" [New] 0L, 0C written/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-athena/testdir/test73.in                 [?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-athena/testdir/test73.in                 [?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-athena/testdir/test73.in                 [?25h[?25l:[?2004h[?25hset path=./**
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-athena/testdir/test73.in                 [?25h[?25l:[?2004h[?25h" We shouldn't find any file at this point, test.out must be empty.
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('in')
[?25l[?25h[?25l:[?2004h[?25hcd in
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/in[?25h[?25l:[?2004h[?25hcall mkdir('path')
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdirtest73.in                                                      [?25h[?25l:[?2004h[?25he Xfind/file.txt
[?25l"Xfind/file.txt" [New File]Xfind/file.txt[?25h[?25l-- INSERT --Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/file.txt" [New] 1L, 11C written    [?25h[?25l:[?2004h[?25he Xfind/in/file.txt
[?25l"Xfind/in/file.txt" [New File]in/file.txt[?25h[?25l-- INSERT --Jimmy Hoffa[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/file.txt" [New] 1L, 12C written    [?25h[?25l:[?2004h[?25he Xfind/in/stuff.txt
[?25l"Xfind/in/stuff.txt" [New File]stuff.txt[?25h[?25l-- INSERT --Another Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/stuff.txt" [New] 1L, 19C written    [?25h[?25l:[?2004h[?25he Xfind/in/path/file.txt
[?25l"Xfind/in/path/file.txt" [New File]path/file.txt[?25h[?25l-- INSERT --E.T.[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/path/file.txt" [New] 1L, 5C written    [?25h[?25l:[?2004h[?25hset path=Xfind/**
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Rerun the previous three find completions, using fullpath in 'path'
[?25l[?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Same steps again, using relative and fullpath items that point to the same
[?25l[?25h[?25l:[?2004h[?25h" recursive location.
[?25l[?25h[?25l:[?2004h[?25h" This is to test that there are no duplicates in the completion list.
[?25l[?25h[?25l:[?2004h[?25hexec "set path+=Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25h" Test find completion for directory of current buffer, which at this point
[?25l[?25h[?25l:[?2004h[?25h" is Xfind/in/file.txt.
[?25l[?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind st...[?25luff.txt[?25h
[?25l"Xfind/in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25h" Test find completion for empty path item ",," which is the current directory
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfindin/stuff.txtf       /<<PKGBUILDDIR>>/src/vim-athena/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=,,
[?25l[?25h[?25l:[?2004h[?25hfind f...[?25lile.txt[?25h...[?25l[?25h
[?25l"file.txt" 1L, 11CHoly Grailfile.txt.     [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25h" Test shortening of
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    foo/x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    foo/y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is above foo/ they should be shortened to (in order
[?25l[?25h[?25l:[?2004h[?25h" of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('foo')
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/file.txt[?25h[?25l:[?2004h[?25hcall mkdir('x')
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('y')
[?25l[?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo/x[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfindfile.txti                                                             [?25h[?25l:[?2004h[?25h" We should now be in the Xfind directory
[?25l[?25h[?25l:[?2004h[?25he foo/x/bar/voyager.txt
[?25l"foo/x/bar/voyager.txt" [New File]oo/x/bar/voyager.txt[?25h[?25l-- INSERT --Voyager 1[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/x/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25he foo/y/bar/voyager.txt
[?25l"foo/y/bar/voyager.txt" [New File]y/[?25h[?25l-- INSERT --Voyager 2[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/y/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h
[?25l"foo/x/bar/voyager.txt" 1L, 10C1x/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h...[?25ly[?25h
[?25l"foo/y/bar/voyager.txt" 1L, 10C2y/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is .../foo/y/bar they should be shortened to (in
[?25l[?25h[?25l:[?2004h[?25h" order of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    ./voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/fooy/bar/voyager.txt.     [?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo/ybar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo/y/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25lx/bar/voyager.txt[?25h
[?25l<d/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/Xfind/foo/x/bar/voyager.txt"
<U59NL/vim-8.0.1144/src/vim-athena/testdir/Xfind/foo/x/bar/voyager.txt" 1L, 10C1<ild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/Xfind/foo/x/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check the opposite too:
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foox/bar/voyager.txti                                                               [?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo/xbar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/foo/x/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25ly/bar/voyager.txt[?25h
[?25l<d/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/Xfind/foo/y/bar/voyager.txt"
<U59NL/vim-8.0.1144/src/vim-athena/testdir/Xfind/foo/y/bar/voyager.txt" 1L, 10C2<ild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/Xfind/foo/y/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check for correct handling of shorten_fname()'s behavior on windows
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/in"
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfind/in[?25h[?25l:[?2004h[?25hfind file...[?25l./file.txt[?25h
[?25l"file.txt" 1L, 12CJimmy Hoffafile.txt-                                                                        [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Test for relative to current buffer 'path' item
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/"
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xfindin/file.txt[?25h[?25l:[?2004h[?25hset path=./path
[?25l[?25h[?25l:[?2004h[?25h" Open the file where Jimmy Hoffa is found
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12C[?25h[?25l:[?2004h[?25h" Find the file containing 'E.T.' in the Xfind/in/path directory
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25ltxt[?25h
[?25l"in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that completion works when path=.,,
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25h" Open Jimmy Hoffa file
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Search for the file containing Holy Grail in same directory as in/path.txt
[?25l[?25h[?25l:[?2004h[?25hfind stu...[?25lff.txt[?25h
[?25l"in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test.out"
<uild/vim-FU59NL/vim-8.0.1144/src/vim-athena/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25hq
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test73 = test61; then \
#	  if diff test.out test73.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test73.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test79.failed test.ok test.out X* viminfo
cp test79.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test79.in" 255 lines, 3381 charactersTest for *sub-replace-special* and *sub-replace-expression* on :substitute.

Test for submatch() on :substitue.

Test for *:s%* on :substitute.

Test for :s replacing \n with  line break.



STARTTEST

:so small.vim

ENDTEST



Results of test71:



STARTTEST

:set magic

:set cpo&

/^TEST/

j:s/A/&&/

j:s/B/\&/

j:s/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/

j:s/D/d/

j:s/E/~/

j:s/F/\~/

j:s/G/\ugg/

j:s/H/\Uh\Eh/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 *sub-replace-special* and *sub-replace-expression* on :substitute.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 14 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 347 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_1:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25lA
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l&[?25h

[?25l:[?2004h[?25hs/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25ld[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set nomagic
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 351 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_2:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25l&&
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l[?25h

[?25l:[?2004h[?25hs/\mC\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25l~[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 203 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\='\\'/

j:s/C/\='^V^M'/

j:s/D/\='\^V^M'/

j:s/E/\='\\^V^M'/

j:s/F/\='\r'/

j:s/G/\='^V^@'/

j:s/H/\='\^V^@'/

j:s/I/\='\\^V^@'/

j:s/J/\='\n'/

j:s/K/\="\r"/

j:s/L/\="\n"/

ENDTEST



TEST_3:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\='\'/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\='\\'/
[?25l\\b
[?25h

[?25l:[?2004h[?25hs/C/\='^^M'/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\='\^^M'/
[?25l\d[?25h

[?25l





:[?2004h[?25hs/E/\='\\^^M'/
[?25l\\

efFf[?25h

[?25l:[?2004h[?25hs/F/\='\r'/
[?25l\rf
[?25h[?25l

gGg[?25h[?25l

:[?2004h[?25hs/G/\='^^@'/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\='\^^@'/
[?25l

\h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\='\\^^@'/
[?25l

\\

i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\='\n'/
[?25l\nj
[?25h[?25l

kKk[?25h[?25l

:[?2004h[?25hs/K/\="\r"/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\="\n"/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 611 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\=substitute(submatch(0), '.', '\\', '')/

j:s/C/\=substitute(submatch(0), '.', '^V^M', '')/

j:s/D/\=substitute(submatch(0), '.', '\^V^M', '')/

j:s/E/\=substitute(submatch(0), '.', '\\^V^M', '')/

j:s/F/\=substitute(submatch(0), '.', '\r', '')/

j:s/G/\=substitute(submatch(0), '.', '^V^@', '')/

j:s/H/\=substitute(submatch(0), '.', '\^V^@', '')/

j:s/I/\=substitute(submatch(0), '.', '\\^V^@', '')/

j:s/J/\=substitute(submatch(0), '.', '\n', '')/

j:s/K/\=substitute(submatch(0), '.', "\r", '')/

j:s/L/\=substitute(submatch(0), '.', "\n", '')/

ENDTEST



TEST_4:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\=substitute(submatch(0), '.', '\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\=substitute(submatch(0), '.', '\\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/C/\=substitute(submatch(0), '.', '^^M', '')/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\=substitute(submatch(0), '.', '\^^M', '')/
[?25ld[?25h

[?25l





:[?2004h[?25hs/E/\=substitute(submatch(0), '.', '\\^^M', '')/
[?25l\efFf[?25h

[?25l:[?2004h[?25hs/F/\=substitute(submatch(0), '.', '\r', '')/
[?25l

f[?25h[?25l

gGg
[?25h[?25l

:[?2004h[?25hs/G/\=substitute(submatch(0), '.', '^^@', '')/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\=substitute(submatch(0), '.', '\^^@', '')/
[?25l

h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\=substitute(submatch(0), '.', '\\^^@', '')/
[?25l

\i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\=substitute(submatch(0), '.', '\n', '')/
[?25l

j[?25h[?25l

kKk
[?25h[?25l

:[?2004h[?25hs/K/\=substitute(submatch(0), '.', "\r", '')/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\=substitute(submatch(0), '.', "\n", '')/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 445 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST/

j:s/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .. submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch((3) . submatch(2) . submatch(1)/

j:s/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), subbmatch(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), subbmatch(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l

TEST_5:[?25h[?25l

A123456789
[?25h[?25l

:[?2004h[?25hs/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .


submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch(


3) . submatch(2) . submatch(1)/
[?25li\

i987654321[?25h[?25l

B123456789
[?25h[?25l

:[?2004h[?25hs/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), sub


match(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), sub


match(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/
[?25li

j[['B123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^TEST/

:set cpo+=/

j:s/A/a/

j:s/B/%/

:set cpo-=/

j:s/C/c/

j:s/D/%/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25lTEST_6:

A

B[?25h[?25l





:[?2004h[?25hset cpo+=/
[?25l[?25h

[?25l:[?2004h[?25hs/A/a/
[?25la[?25h

[?25l:[?2004h[?25hs/B/%/
[?25la[?25h[?25l:[?2004h[?25hset cpo-=/
[?25l[?25h[?25lC

D[?25h[?25l





:[?2004h[?25hs/C/c/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/%/
[?25l%[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 11 lines, 303 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST_7/

j:s/A./\=submatch(0)/

j:s/B./\=submatch(0)/

j:s/C./\=strtrans(string(submatch(0, 1)))/

j:s/D.\nD/\=strtrans(string(submatch(0, 1)))/

j:s/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/

/^Q$

:s/Q[^\n]Q/\=submatch(0)."foobar"/

:" Avoid :s error breaks dotest map on Windows.

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST_7/
[?25l

TEST_7:[?25h[?25l

A^MA
[?25h[?25l

:[?2004h[?25hs/A./\=submatch(0)/
[?25l

A[?25h[?25l

B^@B
[?25h[?25l

:[?2004h[?25hs/B./\=submatch(0)/
[?25l

B[?25h[?25l

C^@C
[?25h[?25l

:[?2004h[?25hs/C./\=strtrans(string(submatch(0, 1)))/
[?25l['C^@']C
[?25h[?25l

D^@[?25h[?25l

:[?2004h[?25hs/D.\nD/\=strtrans(string(submatch(0, 1)))/
[?25l['D^@', 'D']
[?25h[?25l

E^@[?25h[?25l

:[?2004h[?25hs/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/
[?25l['E^@', '^@', '^@', '^@', '^@E']
[?25h[?25l/[?2004h[?25h^Q$
[?25l

Q[?25h[?25l

:[?2004h[?25hs/Q[^\n]Q/\=submatch(0)."foobar"/
[?25lE486: Pattern not found: Q[^\n]Q[?25h[?25l:[?2004h[?25h" Avoid :s error breaks dotest map on Windows.
[?25l[?25h[?25l/[?2004h^STARTTEST
Q



STARTTEST[?25h[?25l

:function! TitleString()
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 177 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTlet check = 'foo' =~ 'bar'

  return ""

endfunction

:set titlestring=%{TitleString()}

:/^test_one/s/.*/\="foo\nbar"/

:/^test_two/s/.*/\="foo\nbar"/c

y

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hfunction! TitleString()
[?25l

:[?2004h  [?25h  let check = 'foo' =~ 'bar'


[?25l:[?2004h  [?25h  return ""


[?25l:[?2004h  [?25hendfunction
[?25lTEST_7:

A[?25h[?25l

:[?2004h[?25hset titlestring=%{TitleString()}
[?25l[?25h[?25l:[?2004h[?25h/^test_one/s/.*/\="foo\nbar"/
[?25lfoo

bar[?25h[?25l

:[?2004h[?25h/^test_two/s/.*/\="foo\nbar"/c
[?25l

test_tworeplace with \="foo\nbar" (y/n/a/q/l/^E/^Y)?[?25h[?25l

foobar
[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 72 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l136 fewer linesaa

c

%TEST_7:AABB['C^@']C['D^@', 'D']

['E^@', '^@', '^@', '^@', '^@E']

Q

Qfoo

bar

foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 134 lines, 574 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test79 = test61; then \
#	  if diff test.out test79.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test79.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test88.failed test.ok test.out X* viminfo
cp test88.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test88.in" 99 lines, 1449 charactersvim: set ft=vim



Tests for correct display (cursor column position) with +conceal and

tabulators.



STARTTEST

:so small.vim

:if !has('conceal')

   e! test.ok

   wq! test.out

:endif

:" Conceal settings.

:set conceallevel=2

:set concealcursor=nc

:syntax match test /|/ conceal

:" Save current cursor position. Only works in <expr> mode, can't be used

:" with :normal because it moves the cursor to the command line. Thanks to ZyX

:" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.

:let positions = []

:nnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"

:" Start test.

/^start:

:normal ztj[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 82 lines, 1216 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:normal W

GGk

:normal W

GGk

:normal W

GGk

:normal $

GGk

:" Display result.

:call append('$', 'end:')

:call append('$', positions)

:/^end/,$wq! test.out

ENDTEST



start:

.concealed.     text

|concealed|     text.concealed.     text|concealed|     text



.a.     .b.     .c.     .d.

|a|     |b|     |c|     |d|[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif !has('conceal')
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   wq! test.out


[?25l:[?2004h  [?25h:endif
[?25l:normal W

GGk

:normal W[?25h[?25l:[?2004h[?25h" Conceal settings.
[?25l[?25h[?25l:[?2004h[?25hset conceallevel=2
[?25l[?25h[?25l:[?2004h[?25hset concealcursor=nc
[?25l[?25h[?25l:[?2004h[?25hsyntax match test /|/ conceal
[?25lconcealed  concealed  





a       b       c       d[?25h[?25l:[?2004h[?25h" Save current cursor position. Only works in <expr> mode, can't be used
[?25l[?25h[?25l:[?2004h[?25h" with :normal because it moves the cursor to the command line. Thanks to ZyX
[?25l[?25h[?25l:[?2004h[?25h" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.
[?25l[?25h[?25l:[?2004h[?25hlet positions = []
[?25l[?25h[?25l:[?2004h[?25hnnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"
[?25l[?25h[?25l:[?2004h[?25h" Start test.
[?25l[?25h[?25l/[?2004h[?25h^start:
[?25l[?25h[?25l:[?2004h[?25hnormal ztj
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004hlet positions += ['2:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" We should end up in the same column when running these commands on the two
[?25l[?25h[?25l:[?2004h[?25h" lines.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['2:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['2:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['3:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['3:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['3:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['5:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Same for next test block.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['5:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['5:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['6:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['6:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['6:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['8:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" And check W with multiple tabs and conceals in a line.
[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['8:27']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset lbr
[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset list listchars=tab:>-
[?25l>------



>------->----

>------->------>----.b.>----.c.>----

a>------b>------c>------[?25h[?25l:[?2004h[?25hnormal 0
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Display result.
[?25l[?25h[?25l:[?2004h[?25hcall append('$', 'end:')
[?25lend:[?25h[?25l:[?2004h[?25hcall append('$', positions)
[?25l2:12:172:203:13:173:205:85:255:286:86:256:288:1[?25h[?25l:[?2004h[?25h/^end/,$wq! test.out
[?25l[?2004l"test.out" [New File] 29 lines, 135 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test88 = test61; then \
#	  if diff test.out test88.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test88.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test94.failed test.ok test.out X* viminfo
cp test94.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test94.in" 257 lines, 4841 charactersTest for Visual mode and operators



Tests for the two kinds of operations: Those executed with Visual mode

followed by an operator and those executed via Operator-pending mode. Also

part of the test are mappings, counts, and repetition with the . command.



Test cases:

- Visual modes (v V CTRL-V) followed by an operator; count; repeating

- Visual mode maps; count; repeating

  - Simple

  - With an Ex command (custom text object)

- Operator-pending mode maps

  - Simple

  - With Ex command moving the cursor

  - With Ex command and Visual selection (custom text object)

- Patch 7.3.879: Properly abort Ex command in Operator-pending mode



STARTTEST

:so small.vim

:set belloff=all

:set enc=utf-8 nocp viminfo+=nviminfo

:

:" User functions[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Visual mode and operators[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 212 lines, 3854 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hset enc=utf-8 nocp viminfo+=nviminfo
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h[?25l:[?2004h[>c[?25h[?25l:[?2004h[?25h" User functions
[?25l[?25h[?25l:[?2004h[?25hfunction MoveToCap()
[?25l

:[?2004h  [?25h:  call search('\u', 'W')


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'[?25h[?25l:[?2004h[?25hfunction SelectInCaps()
[?25l

:[?2004h  [?25h:  let [line1, col1] = searchpos('\u', 'bcnW')


[?25l:[?2004h  [?25h:  let [line2, col2] = searchpos('.\u', 'nW')


[?25l:[?2004h  [?25h:  call setpos("'<", [0, line1, col1, 0])


[?25l:[?2004h  [?25h:  call setpos("'>", [0, line2, col2, 0])


[?25l:[?2004h  [?25h:  normal! gv


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual modes followed by operator
[?25l[?25h[?25l/[?2004h[?25h^apple
[?25l[?25ha[?25l-- VISUAL --[?25h[?25lp[?25h[?25lle banana cherry[?25h[?25l banana cherry[?25h [?25lbanan-- VISUAL --[?25h[?25l
a  cherry[?25h[?25ly[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^line 1
[?25l[?25h[?25lline 1 line 1 -- VISUAL LINE --[?25h[?25lINSERT --Nnewline[?25h[?25l-- INSERT --newline[?25h[?25l
line 3 line 3 

line 4 line 4 





-- VISUAL LINE --[?25h[?25lline 5 line 5line 6 line 6xxxxxxxxxxxxx[?25h[?25lxxxxxxxxxxxxx

xxxxxxxxxxxxx[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^xxxx
[?25l[?25h[?25l





-- VISUAL BLOCK --[?25h[?25lx

[?25h[?25lx

x[?25h[?25lINSERT --O  

  [?25h [?25l





-- INSERT --  

    [?25h [?25l

xxxx

    xxxx

xxxxxxxx

xxxxxxxxxxxxx

-- VISUAL BLOCK --[?25h[?25l

-- INSERT --O----

    ----

xxxx----

xxxx----[?25h-[?25l-- INSERT ------------------[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25hvnoremap W /\u/s-1<CR>
[?25l[?25h[?25l:[?2004h[?25hvnoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Kiwi
[?25lKiwiRaspberryDateWatermelonPeach[?25h[?25l

-- VISUAL --[?25h[?25l/[?2004h\u/s-1
Kiw[?25h[?25l

-- INSERT --NoRaspberryDateWatermelonPeach[?25ho[?25l

-- INSERT --NoberryDateWatermelonPeach[?25hoberry[?25lDateWat

-- VISUAL --[?25h[?25lrmelonPeach[?25h[?25lach[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Jambu
[?25l

JambuRambutanBananaTangerineMango[?25hJa[?25l

-- VISUAL --[?25h[?25l:[?2004h'<,'>call SelectInCaps()
Jamb[?25h[?25l

-- INSERT ---RambutanBananaTangerineMango[?25h-[?25l

-- INSERT ---tanBananaTangerineMango[?25h-[?25ltanBanana

-- VISUAL --[?25h[?25l
--angerineMango[?25ha[?25lgo[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Operator-pending mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25honoremap W /\u/<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap <Leader>W :<C-U>call MoveToCap()<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Pineapple
[?25lPineappleQuinceLoganberryOrangeGrapefruitKiwiZ[?25h[?25l

/[?2004h\u/
-QuinceLoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---LoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---GrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---Z[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Juniper
[?25l

JuniperDurianZ[?25h[?25l

:[?2004hcall MoveToCap()
Whavcre
[?25h[?25l:[?2004hcall MoveToCap()
Qhevna[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Lemon
[?25l

LemonNectarineZ[?25h[?25l

:[?2004hcall SelectInCaps()
[?25h[?25lLemonLemonNectarineZ
Lemo[?25hn[?25l:[?2004hcall SelectInCaps()
NewNectarineZ[?25hwNecta[?25l

:[?2004hcall SelectInCaps()
wZ[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Patch 7.3.879: Properly abort Operator-pending mode for "dv:<Esc>" etc.
[?25l[?25h[?25l/[?2004h[?25h^zzzz
[?25lzzzz[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25lE21: Cannot make changes, 'modifiable' is off[?25h[?25l:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'ok' : 'failed'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'failed' : 'ok'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: replace last line'
[?25l

characterwise visual mode: replace last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25hlet @" = 'x'
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l

-- VISUAL --[?25h[?25la[?25h[?25lx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h$put ='v:errmsg='.v:errmsg
[?25l

v:errmsg=[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle line'
[?25l

characterwise visual mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle two line'
[?25l

characterwise visual mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise visual mode: delete last line'
[?25l

characterwise visual mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete last two line'
[?25l

characterwise visual mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- VISUAL --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Select mode maps
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>End> <End>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Down> <Down>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Del> <Del>
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle line'
[?25l

characterwise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle two line'
[?25l

characterwise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise select mode: delete last line'
[?25l

characterwise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- SELECT --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete last two line'
[?25l

characterwise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- SELECT --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle line'
[?25l

linewise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25lbc

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle two line'
[?25l

linewise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25la

b 
[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='linewise select mode: delete last line'
[?25l

linewise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lc 

-- SELECT LINE --[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete last two line'
[?25l

linewise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lb 



-- SELECT LINE --[?25h[?25lb

c 
[?25h[?25l~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='v_p: replace last character with line register at middle line'
[?25l

v_p: replace last character with line register at middle line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25laaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25lccc

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at middle line selecting


newline'
[?25llinewise select mode: delete middle two line

c---linewise select mode: delete last line

ab

---linewise select mode: delete last two line

a---v_p: replace last character with line register at middle line

aaabbaaaccc

---v_p: replace last character with line register at middle line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25lb[?25h[?25laaa[?25h[?25l

ccc
[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line'
[?25l

v_p: replace last character with line register at last line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line selecting n


ewline'
[?25laaa

bbaaaccc

---v_p: replace last character with line register at middle line selecting newline

aaabbaaa

ccc

---v_p: replace last character with line register at last line

aaabbb

ccaaa---v_p: replace last character with line register at last line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode after operation'
[?25l

gv in exclusive select mode after operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25h$put ='äà '
[?25l

äÃ[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l



-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h

[?25l

-- VISUAL --[?25h[?25läÃ[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode without operation'
[?25l

gv in exclusive select mode without operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l

-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h/^start:/+2,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 123L, 1328C written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test94 = test61; then \
#	  if diff test.out test94.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test94.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test95.failed test.ok test.out X* viminfo
cp test95.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test95.in" 141 lines, 5827 charactersTest for regexp patterns with multi-byte support, using utf-8.

See test64 for the non-multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:so mbyte.vim

:set nocp encoding=utf-8 viminfo+=nviminfo nomore

:" tl is a List of Lists with:

:"    2: test auto/old/new  0: test auto/old  1: test auto/new

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:

:"""" Multi-byte character tests. These will fail unless vim is compiled

:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns with multi-byte support, using utf-8.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 131 lines, 5590 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h

[?25l





:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp encoding=utf-8 viminfo+=nviminfo nomore
[?25l:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h[?25l





:[?2004h[>c" tl is a List of Lists with:
[?25h[?25l:[?2004h[?25h"    2: test auto/old/new  0: test auto/old  1: test auto/new
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Multi-byte character tests. These will fail unless vim is compiled
[?25l[?25h[?25l:[?2004h[?25h"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[=a=]]\+', 'ddaãâbcd', 'aãâ'])^I^I^I^I^I^I^I^I" equivalence


classes
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oij


asoifjos'])
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna']


)[?25l:endif[?25h[?25l





:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" this is not a normal "i" but 0xec
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p\+', 'ìa', 'ìa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aあ', 'aあ'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of some character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\f\+', '&*<9f>fname ', 'fname'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test composing character matching
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.ม', 'xมม่x yมy', 'yม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.มม่', 'xมม่x yมy', 'xมม่'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ca", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a\u0300", "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test \Z
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ú\Z', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְ\Z', 'ווְייַ', 'ייַ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" check that 'ambiwidth' does not change the meaning of \p
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=1 ambiwidth=single
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=1 ambiwidth=double
[?25lOK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi double: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=single
[?25lOK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=double
[?25lOK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0

eng 2 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi double: 0[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New] 140L, 2022C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test95 = test61; then \
#	  if diff test.out test95.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test95.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test99.failed test.ok test.out X* viminfo
cp test99.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test99.in" 69 lines, 1400 charactersTests for regexp with multi-byte encoding and various magic settings.

Test matchstr() with a count and multi-byte chars.

See test44 for exactly the same test with re=1.



STARTTEST

:so mbyte.vim

:set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

:set re=2

/^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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 43 lines, 931 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
[?25l:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


/[?2004h[?25h\%U12345678
[?25l


/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l"test.out" 23L, 264C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test99 = test61; then \
#	  if diff test.out test99.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test99.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test108.failed test.ok test.out X* viminfo
cp test108.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test108.in" 88 lines, 1329 charactersTests for backtrace debug commands.     vim: set ft=vim :



STARTTEST

:so small.vim

:lang mess C

:function! Foo()

:   let var1 = 1

:   let var2 = Bar(var1) + 9

:   return var2

:endfunction

:

:function! Bar(var)

:    let var1 = 2 + a:var

:    let var2 = Bazz(var1) + 4

:    return var2

:endfunction

:

:function! Bazz(var)

:    let var1 = 3 + a:var

:    let var3 = "another var"

:    return var1

:endfunction

:new[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 backtrace debug commands.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 83 lines, 1251 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTup

b

echo "fil is not frame or finish, it is file"

fil

echo "\n- relative backtrace movement\n"

fr -1

frame

fra +1

fram

echo "\n- go beyond limits does not crash\n"

fr 100

fra

frame -40

fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hlang mess C
[?25l[?25h[?25l:[?2004h[?25hfunction! Foo()
[?25l

:[?2004h  [?25h:   let var1 = 1


[?25l:[?2004h  [?25h:   let var2 = Bar(var1) + 9


[?25l:[?2004h  [?25h:   return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bar(var)
[?25l

:[?2004h  [?25h:    let var1 = 2 + a:var


[?25l:[?2004h  [?25h:    let var2 = Bazz(var1) + 4


[?25l:[?2004h  [?25h:    return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bazz(var)
[?25l

:[?2004h  [?25h:    let var1 = 3 + a:var


[?25l:[?2004h  [?25h:    let var3 = "another var"


[?25l:[?2004h  [?25h:    return var1


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       echo "\n- final result 19:"

cont:0debuggreedy

:redir END$put =out

:w! test.out

:qa!ENDTESTtest108.in                                                                      [?25h[?25l:[?2004h[?25hdebuggreedy
[?25l[?25h[?25l:[?2004h[?25hredir => out
[?25l[?25h[?25l:[?2004h[?25hdebug echo Foo()
[?25l[?2004hEntering Debug mode.  Type "cont" to continue.


cmd: echo Foo()


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 1: let var1 = 1


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 2: let var2 = Bar(var1) + 9


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 1: let var1 = 2 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 2: let var2 = Bazz(var1) + 4


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 1: let var1 = 3 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "- show backtrace:\n"


[?25l- show backtrace:


>[?2004h[?25hbacktrace


[?25l  2 function Foo[2]


  1 Bar[2]


->0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "\nshow variables on different levels:\n"


[?25l

show variables on different levels:


>[?2004h[?25hecho var1


[?25l6

>[?2004h[?25hup


[?25l>[?2004h[?25hback


[?25l  2 function Foo[2]


->1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l3

>[?2004h[?25hu


[?25l>[?2004h[?25hbt


[?25l->2 function Foo[2]


  1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l1

>[?2004h[?25hecho "\n- undefined vars:\n"


[?25l

- undefined vars:


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: return var1


>[?2004h[?25hframe 2


[?25l>[?2004h[?25hecho "undefined var3 on former level:"


[?25lundefined var3 on former level:


>[?2004h[?25hecho var3


[?25lError detected while processing function Foo[2]..Bar[2]..Bazz:


line    3:


E121: Undefined variable: var3


E15: Invalid expression: var3


>[?2004h[?25hfr 0


[?25l>[?2004h[?25hecho "here var3 is defined with \"another var\":"


[?25lhere var3 is defined with "another var":


>[?2004h[?25hecho var3


[?25lanother var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: End of function


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: return var2


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: End of function


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nundefined var2 on former level"


[?25l

undefined var2 on former level


>[?2004h[?25hecho var2


[?25lError detected while processing function Foo[2]..Bar:


line    3:


E121: Undefined variable: var2


E15: Invalid expression: var2


>[?2004h[?25hdown


[?25l>[?2004h[?25hecho "here var2 is defined with 10:"


[?25lhere var2 is defined with 10:


>[?2004h[?25hecho var2


[?25l10


>[?2004h[?25hecho "\n- backtrace movements:\n"


[?25l

- backtrace movements:


>[?2004h[?25hb


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\nnext command cannot go down, we are on bottom\n"


[?25l

next command cannot go down, we are on bottom


>[?2004h[?25hdown


[?25lframe is zero


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nnext command cannot go up, we are on top\n"


[?25l

next command cannot go up, we are on top


>[?2004h[?25hup


[?25lframe at highest level: 1


>[?2004h[?25hb


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "fil is not frame or finish, it is file"


[?25lfil is not frame or finish, it is file


>[?2004h[?25hfil


[?25l"[No Name]" --No lines in buffer--


>[?2004h[?25hecho "\n- relative backtrace movement\n"


[?25l

- relative backtrace movement


>[?2004h[?25hfr -1


[?25l>[?2004h[?25hframe


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hfra +1


[?25l>[?2004h[?25hfram


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- go beyond limits does not crash\n"


[?25l

- go beyond limits does not crash


>[?2004h[?25hfr 100


[?25lframe at highest level: 1


>[?2004h[?25hfra


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hframe -40


[?25lframe is zero


>[?2004h[?25hfram


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- final result 19:"


[?25l

- final result 19:


>[?2004h[?25hcont


[?25l19


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h0debuggreedy
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST



test108.in                                                                      [?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25h$put =out
[?25l83 more lines->1 function Foo[2]

  0 Barline 3: End of functionframe is zero  1 function Foo[2]->0 Barline 3: End of function- final result 19:19[+][?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 84 lines, 1390 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test108 = test61; then \
#	  if diff test.out test108.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test108.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_autoformat_join.failed test.ok test.out X* viminfo
cp test_autoformat_join.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autoformat_join.in" 23 lines, 524 charactersTests for setting the '[,'] marks when joining lines.



STARTTEST

:so small.vim

:/^\t\t/

0gqj:

:let a=string(getpos("'[")).'/'.string(getpos("']"))

:/^This line/;'}-join

:let b=string(getpos("'[")).'/'.string(getpos("']"))

:$put ='First test: Start/End '.string(a)

:$put ='Second test: Start/End '.string(b)

:/^\t\t/,$wq! test.out

ENDTESTO sodales, ludite, vos qui

attamen consulite per voster honur. Tua pulchra facies me fay planszer milies



This line.

Should be joined with the next line

and with this line



Results:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 setting the '[,'] marks when joining lines.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 9 lines, 265 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^\t\t/
[?25l[?25h[?25lattamen consulite per voster honur.

Tua pulchra facies me fay planszer milies[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hlet a=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h/^This line/;'}-join
[?25lThis line.  Should be joined with the next line and with this line





~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet b=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h$put ='First test: Start/End '.string(a)
[?25lFirst test: Start/End '[0, 16, 1, 0]/[0, 17, 1, 0]'[?25h[?25l:[?2004h[?25h$put ='Second test: Start/End '.string(b)
[?25lSecond test: Start/End '[0, 19, 11, 0]/[0, 19, 67, 0]'[?25h[?25l:[?2004h[?25h/^\t\t/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 8 lines, 292 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_autoformat_join = test61; then \
#	  if diff test.out test_autoformat_join.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_autoformat_join.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_changelist.failed test.ok test.out X* viminfo
cp test_changelist.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_changelist.in" 22 lines, 288 charactersTest changelist position after splitting window

Set 'undolevels' to make changelist for sourced file



STARTTEST

:so small.vim

Gkylp:set ul=100

Gylp:set ul=100

gg

:vsplit

:try

:  normal g;

:  normal ggVGcpass^[

:catch

:  normal ggVGcfail^[

:finally

:  %w! test.out

:endtry

:qa!

ENDTEST



1

2

~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest changelist position after splitting window[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 14 lines, 163 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h



[?25l11[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l22[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l:[?2004h[?25hvsplit
[?25l|

 window                                 |

Set 'undolevels' to make changelist for |

sourced file|

             |

STARTTEST       |

:so small.vim  |

Gkylp:set ul=100|

Gylp:set ul=100|

gg  |

:vsplit     |

:try                  |

:  normal g;|pass|

:catch  |

:  normal ggVGcfail^[|

:finally|

:  %w! test.out|

:endtry|

:qa!|

ENDTEST|

  |

test_changelist.in [+]                   Test changelist position after splitting windowSet 'undolevels' to make changelist forsourced fileSTARTTEST:so small.vimGkylp:set ul=100Gylp:set ul=100gg:vsplit:try:  normal g;:  normal ggVGcpass^[:catch:  normal ggVGcfail^[:finally:  %w! test.out:endtry:qa!ENDTESTtest_changelist.in [+]                 [?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:  normal g;


[?25l:[?2004h  [?25h:  normal ggVGcpass
[?25l21 fewer lines[?2004l[?2004h

:[?2004h  


:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:  normal ggVGcfail


[?25l:[?2004h  


:[?2004h  [?25h:finally


[?25l:[?2004h  [?25h:  %w! test.out


[?25l"test.out" [New File] 1 line, 5 characters written


:[?2004h  [?25h:endtry
[?25lpass||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                           pass~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                         [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_changelist = test61; then \
#	  if diff test.out test_changelist.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_changelist.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_close_count.failed test.ok test.out X* viminfo
cp test_close_count.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_close_count.in" 154 lines, 2682 charactersTests for :[count]close! and :[count]hide     vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:let tests = []

:for i in range(5)

:new

:endfor

:4wincmd w

:close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:$close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[count]close! and :[count]hide     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 42 lines, 766 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call add(tests, buffers)

:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:for i in range(5)

:new

:endfor

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:4wincmd w

:.hide[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hclose!
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File]test.out]  [?25h[?25l:[?2004h[?25hcall append(0, map(copy(tests), 'join(v:val, " ")'))
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5[+][?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 7 lines, 39 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 5~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l"test_close_count.in" 154 lines, 2682 characters:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w:only!:b1ENDTESTSTARTTEST:let tests = []:for i in range(5):new:endfor:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers):4wincmd w:.hide:let buffers = [][?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 44 lines, 815 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:2wincmd w

:+hide

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:1wincmd w

:$ hide

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                       test_close_count.in                                                              [?25h[?25l:[?2004h[?25h.hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h3wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 7 lines, 39 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l13 12 11 10 9 113 12 11 9 112 11 9 112 11 9[+][?25h[?25l12 9

15 12 9

15 12[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 15 lines, 106 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 9

15 12~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:+hide:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5):new:endfor:1wincmd w:$ hide:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 94 of 154 --61%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 448 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:1wincmd w

:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:4wincmd w

^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h1wincmd w
[?25l[?25h[?25l:[?2004h[?25h$ hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$-1 close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h.+close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 15 lines, 106 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l[+][?25h[?25l15 12 915 120 19 18 17 16

20 19 18 16

20 18 16
[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 19 lines, 143 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5



13 12 11 10 9 1

13 12 11 9 1

12 11 9 1

12 11 9

12 9

15 12 9

15 12



20 19 18 17 16

20 19 18 16

20 18 16



~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new:endfor:4wincmd w

^Wc:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 122 of 154 --79%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 28 lines, 511 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST1^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

9^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w

2^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:only!

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l

[?25h[?25l



:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" line 19 of 19 --100%-- col 16 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 915 1220 19 18 17 1620 19 18 1620 18 16[?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l25 24 23 21 124 23 21 124 23 2124 21[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 23 lines, 183 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_close_count = test61; then \
#	  if diff test.out test_close_count.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_close_count.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_erasebackword.failed test.ok test.out X* viminfo
cp test_erasebackword.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_erasebackword.in" 20 lines, 444 charactersTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G







:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 erasing backword[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 379 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G

o wwwこんにちわ世界ワールドvim ^W^[

o wwwこんにちわ世界ワールドvim ^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^W^[

:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h



[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25lド[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?25l

:[?2004h[?25h/^test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 8 lines, 111 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_erasebackword = test61; then \
#	  if diff test.out test_erasebackword.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_erasebackword.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_eval.in" 247 lines, 6201 charactersTest for various eval features.   vim: set ft=vim :



Note: system clipboard is saved, changed and restored.



clipboard contents

something else



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:lang C

:fun AppendRegContents(reg)

  call AppendRegParts(a:reg, getregtype(a:reg), getreg(a:reg), string(getreg(a:rreg, 0, 1)), getreg(a:reg, 1), string(getreg(a:reg, 1, 1)))

:endfun

:fun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)

  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:reg, aa:type, a:cont, a:strcont, a:cont1, a:strcont1))

endfun

:command -nargs=? AR :call AppendRegContents(<q-args>)

:fun SetReg(...)

    call call('setreg', a:000)[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 233 lines, 6010 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun AppendRegContents(reg)
[?25l

:[?2004h  [?25h  call AppendRegParts(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:[?2004h  [?25h:endfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hfun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)
[?25l

:[?2004h  [?25h  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:re


g, a:type, a:cont, a:strcont, a:cont1, a:strcont1))


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hcommand -nargs=? AR :call AppendRegContents(<q-args>)
[?25l[?25h[?25l:[?2004h[?25hfun SetReg(...)
[?25l

:[?2004h  [?25h    call call('setreg', a:000)


[?25l:[?2004h  [?25h    call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))


[?25l:[?2004h  [?25h    call AppendRegContents(a:1)


[?25l:[?2004h  [?25h    if a:1 isnot# '='


[?25l:[?2004h    [?25h        execute "silent normal! Go==\n==\e\"".a:1."P"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun ErrExe(str)
[?25l

:[?2004h  [?25h    call append('$', 'Executing '.a:str)


[?25l:[?2004h  [?25h    try


[?25l:[?2004h    [?25h        execute a:str


[?25l:[?2004h    [?25h    catch


[?25l:[?2004h    [?25h        $put =v:exception


[?25l:[?2004h    [?25h    endtry


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h$put ='{{{1 let tests'


[?25l:[?2004h  [?25hlet @" = 'abc'


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\n"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\<C-m>"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @= = '"abc"'


[?25l:[?2004h  [?25hAR =


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Basic setreg tests'


[?25l:[?2004h  [?25hcall SetReg('a', 'abcA', 'c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcB', 'v')


[?25l:[?2004h  [?25hcall SetReg('c', 'abcC', 'l')


[?25l:[?2004h  [?25hcall SetReg('d', 'abcD', 'V')


[?25l:[?2004h  [?25hcall SetReg('e', 'abcE', 'b')


[?25l:[?2004h  [?25hcall SetReg('f', 'abcF', "\<C-v>")


[?25l:[?2004h  [?25hcall SetReg('g', 'abcG', 'b10')


[?25l:[?2004h  [?25hcall SetReg('h', 'abcH', "\<C-v>10")


[?25l:[?2004h  [?25hcall SetReg('I', 'abcI')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending single lines with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc', 'c')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAl', 'l')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc2','c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc', 'ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb', 'ba')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc2','ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb2','b50a')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCl', 'l')


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCc', 'c')


[?25l:[?2004h  [?25hcall SetReg('D', 'abcDb', 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEb', 'b')


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEl', 'l')


[?25l:[?2004h  [?25hcall SetReg('F', 'abcFc', 'c')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending NL with setreg()'


[?25l:[?2004h  [?25hcall setreg('a', 'abcA2', 'c')


[?25l:[?2004h  [?25hcall setreg('b', 'abcB2', 'v')


[?25l:[?2004h  [?25hcall setreg('c', 'abcC2', 'l')


[?25l:[?2004h  [?25hcall setreg('d', 'abcD2', 'V')


[?25l:[?2004h  [?25hcall setreg('e', 'abcE2', 'b')


[?25l:[?2004h  [?25hcall setreg('f', 'abcF2', "\<C-v>")


[?25l:[?2004h  [?25hcall setreg('g', 'abcG2', 'b10')


[?25l:[?2004h  [?25hcall setreg('h', 'abcH2', "\<C-v>10")


[?25l:[?2004h  [?25hcall setreg('I', 'abcI2')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', "\n")


[?25l:[?2004h  [?25hcall SetReg('B', "\n", 'c')


[?25l:[?2004h  [?25hcall SetReg('C', "\n")


[?25l:[?2004h  [?25hcall SetReg('D', "\n", 'l')


[?25l:[?2004h  [?25hcall SetReg('E', "\n")


[?25l:[?2004h  [?25hcall SetReg('F', "\n", 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA3'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3'], 'l')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC3'], 'b')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD3'])


[?25l:[?2004h  [?25hcall SetReg('e', [1, 2, 'abc', 3])


[?25l:[?2004h  [?25hcall SetReg('f', [1, 2, 3])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3l'], 'la')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3b'], 'lb')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD32'])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA32'])


[?25l:[?2004h  [?25hcall SetReg('B', ['abcB3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3l'], 'l')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD3b'], 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with NL with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ["\n", 'abcA3l2'], 'l')


[?25l:[?2004h  [?25hcall SetReg('B', ["\n", 'abcB3c2'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ["\n", 'abcC3b2'], 'b')


[?25l:[?2004h  [?25hcall SetReg('D', ["\n", 'abcD3b50'],'b50')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with NLs with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA4-0', "\n", "abcA4-2\n", "\nabcA4-3", "abcA4-4\nabcA4


-4-2"])


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB4c-0', "\n", "abcB4c-2\n", "\nabcB4c-3", "abcB4c-4\na


bcB4c-4-2"], 'c')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC4l-0', "\n", "abcC4l-2\n", "\nabcC4l-3", "abcC4l-4\na


bcC4l-4-2"], 'l')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD4b-0', "\n", "abcD4b-2\n", "\nabcD4b-3", "abcD4b-4\na


bcD4b-4-2"], 'b')


[?25l:[?2004h  [?25hcall SetReg('e', ['abcE4b10-0', "\n", "abcE4b10-2\n", "\nabcE4b10-3", "abcE4


b10-4\nabcE4b10-4-2"], 'b10')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Search and expressions'


[?25l:[?2004h  [?25hcall SetReg('/', ['abc/'])


[?25l:[?2004h  [?25hcall SetReg('/', ["abc/\n"])


[?25l:[?2004h  [?25hcall SetReg('=', ['"abc/"'])


[?25l:[?2004h  [?25hcall SetReg('=', ["\"abc/\n\""])


[?25l:[?2004h  [?25h$put ='{{{1 System clipboard'


[?25l:[?2004h  [?25hif has('clipboard')


[?25l:[?2004h    [?25h" Save and restore system clipboard.


[?25l:[?2004h    [?25h" If no connection to X-Server is possible, test should succeed.


[?25l:[?2004h    [?25hlet _clipreg = ['*', getreg('*'), getregtype('*')]


[?25l:[?2004h    [?25hlet _clipopt = &cb


[?25l:[?2004h    [?25hlet &cb='unnamed'


[?25l:[?2004h    [?25h5y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25htabdo :windo :echo "hi"


[?25l:[?2004h    [?25h6y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25hlet &cb=_clipopt


[?25l:[?2004h    [?25hcall call('setreg', _clipreg)


[?25l:[?2004h    [?25helse


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "clipboard contents\n", "['clipboard conte


nts']", "clipboard contents\n", "['clipboard contents']")


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "something else\n", "['something else']", 


"something else\n", "['something else']")


[?25l:[?2004h    [?25hendif


[?25l:[?2004h  [?25h$put ='{{{1 Errors'


[?25l:[?2004h  [?25hcall ErrExe('call setreg()')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, 3, 4)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg([], 2)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, {})')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, [])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("/", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("=", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, ["", "", [], ""])')


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test()
[?25l[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004hhi*: type V; value: something else^@ (['something else']), expr: something else^@  (['something else'])

{{{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
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hdelfunction SetReg
[?25l[?25h[?25l:[?2004h[?25hdelfunction AppendRegContents
[?25l[?25h[?25l:[?2004h[?25hdelfunction ErrExe
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hdelcommand AR
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name not starting with capital
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! g:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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)8: Too many arguments for function: setreg[], 2)730: using List as a String1, {}1Dictionary as a String2, [])0List as a String"/", ["1", "2"])883: search pattern and expression register may not contain two or moore linesExecuting 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

Vim(function):E128: Function name must start with a capital or "s:": g:test()

~                                                                               [?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name includes a colon
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! b:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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(function):E128: Function name must start with a capital or "s:": b:test()[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name folowed by #
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! test2() "#


[?25l:[?2004h  [?25h:echo "test2"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name starting with/without "g:", buffer-local funcref.
[?25l[?25h[?25l:[?2004h[?25hfunction! g:Foo(n)
[?25l

:[?2004h  [?25h:  $put ='called Foo(' . a:n . ')'


[?25l:[?2004h  [?25h:endfunction
[?25lExecuting call setreg()

Vim(call):E119: Not enough arguments for function: setreg[?25h[?25l

:[?2004h[?25hlet b:my_func = function('Foo')
[?25l[?25h[?25l:[?2004h[?25hcall b:my_func(1)
[?25l

called Foo(1)[?25h[?25l

:[?2004h[?25hecho g:Foo(2)
[?25l0

called Foo(2)[?25h[?25l

:[?2004h[?25hecho Foo(3)
[?25l0

called Foo(3)[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" script-local function used in Funcref must exist.
[?25l[?25h[?25l:[?2004h[?25hso test_eval_func.vim
[?25ls:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Using $ instead of '$' must give an error
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h: call append($, 'foobar')


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#

called Foo(123

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1func Bar exists: 1

Vim(call):E116: Invalid arguments for function append[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='{{{1 getcurpos/setpos'
[?25l

{{{1 getcurpos/setpos[?25h[?25l

/[?2004h[?25h^012345678
[?25lsearch hit BOTTOM, continuing at TOP:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:

{{{1 let tests

": type v; value: abc (['abc']), expr: abc (['abc'])

": type V; value: abc^@ (['abc']), expr: abc^@ (['abc'])

": type V; value: abc^M^@ (['abc^M']), expr: abc^M^@ (['abc^M'])

=: type v; value: abc (['abc']), expr: "abc" (['"abc"'])

{{{1 Basic setreg tests

{{{2 setreg('a', 'abcA', 'c')

a: type v; value: abcA (['abcA']), expr: abcA (['abcA'])

search hit BOTTOM, continuing at TOP[?25h012345[?25l:[?2004h[?25hlet sp = getcurpos()
[?25l[?25h
[?25l:[?2004h[?25hcall setpos('.', sp)
[?25l[?25h[?25l:[?2004h[?25h$put
[?25lExecuting 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 lines

Executing call setreg(1, ["", "", [], ""])

Vim(call):E730: using List as a String

Vim(function):E128: Function name must start with a capital or "s:": g:test()

Vim(function):E128: Function name must start with a capital or "s:": b:test()

Vim(function):E128: Function name must start with a capital or "s:": test2() "#

called Foo(1)

called Foo(2)

called Foo(3)

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1

Vim(call):E116: Invalid arguments for function append

{{{1 getcurpos/setpos

6[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" substring and variable name
[?25l[?25h[?25l:[?2004h[?25hlet str = 'abcdef'
[?25l[?25h[?25l:[?2004h[?25hlet n = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[n:]
[?25l

def[?25h[?25l

:[?2004h[?25h$put =str[:n]
[?25l

abcd[?25h[?25l

:[?2004h[?25h$put =str[n:n]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet n
[?25l[?25h[?25l:[?2004h[?25hlet nn = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[nn:]
[?25ldef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:nn]
[?25labcd[?25h[?25l:[?2004h[?25h$put =str[nn:nn]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet nn
[?25l[?25h[?25l:[?2004h[?25hlet b:nn = 4
[?25l[?25h[?25l:[?2004h[?25h$put =str[b:nn:]
[?25lef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:b:nn]
[?25labcde[?25h[?25l:[?2004h[?25h$put =str[b:nn:b:nn]
[?25l

e[?25h[?25l

:[?2004h[?25hunlet b:nn
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 362 lines, 11279 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_eval = test61; then \
#	  if diff test.out test_eval.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_eval.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_fixeol.failed test.ok test.out X* viminfo
cp test_fixeol.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fixeol.in" 40 lines, 780 charactersTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol

:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol

:w! XXTestNoEol

:bwipe XXEol XXNoEol XXTestEol XXTestNoEol

:set fixeol[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'fixeol'vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 698 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:"

:" Append "END" to each file so that we can see what the last written char was.

ggdGaEND^[:w >>XXEol

:w >>XXNoEol

:w >>XXTestEol

:w >>XXTestNoEol

:"

:" Concatenate the results

:e! test.out

a0^[:$r XXEol

:$r XXNoEol

Go1^[:$r XXTestEol

:$r XXTestNoEol

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25l[?25h[?25l:[?2004h[?25h" use Unix fileformat for consistency
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lwith eol[?25h[?25l:[?2004h[?25hw! XXEol
[?25l"XXEol" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25henew!
[?25l[?25h[?25l:[?2004h[?25hset noeol nofixeol
[?25l[?25h[?2004l[?2004h[?25lwithout eol[?25h[?25l:[?2004h[?25hw! XXNoEol
[?25l"XXNoEol" [New File][Incomplete last line] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hset eol fixeol
[?25l[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


2 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h" try editing files with 'fixeol' disabled
[?25l[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" 1 line, 9 characterswith eol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l

stays eol[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestEol
[?25l"XXTestEol" [New File] 2 lines, 19 characters written[?25h[?25l:[?2004h[?25he! XXNoEol
[?25l"XXNoEol" [Incomplete last line] 1 line, 11 charactersout eol

~                                                                               [?25h[?2004l[?2004h[?25l

stays without[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestNoEol
[?25l"XXTestNoEol" [New File][Incomplete last line] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol XXTestEol XXTestNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fixeol
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25lTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXEol
[?25l"XXEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXNoEol
[?25l"XXNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestEol
[?25l"XXTestEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestNoEol
[?25l"XXTestNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File][?25h[?2004l[?2004h[?25l0[?25h[?25l:[?2004h[?25h$r XXEol
[?25l"XXEol" 2 lines, 13 characterswith eolEND[?25h[?25l:[?2004h[?25h$r XXNoEol
[?25l"XXNoEol" 1 line, 15 characterswithout eolEND[?25h[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXTestEol
[?25l"XXTestEol" 3 lines, 23 characterswith eolstays eolEND[?25h[?25l:[?2004h[?25h$r XXTestNoEol
[?25l"XXTestNoEol" 2 lines, 29 characterswithout eolstays withoutEND[?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 10 lines, 84 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_fixeol = test61; then \
#	  if diff test.out test_fixeol.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_fixeol.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_insertcount.failed test.ok test.out X* viminfo
cp test_insertcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_insertcount.in" 14 lines, 204 charactersTests for repeating insert and replace.



STARTTEST

:so small.vim

:/Second

4gro

:/^First/,$wq! test.out

:" get here when failed and in Insert mode

^[:.wq! test.out

ENDTEST



First line

Second line

Last line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 repeating insert and replace.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 111 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/Second
[?25l[?25h[?2004l[?2004h[?25looooecond line
ooo[?25h

Las[?25l:[?2004h[?25h/^First/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 3 lines, 36 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_insertcount = test61; then \
#	  if diff test.out test_insertcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_insertcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_listchars.failed test.ok test.out X* viminfo
cp test_listchars.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listchars.in" 54 lines, 705 charactersTests for 'listchars' display with 'list' and :list



STARTTEST

:so small.vim

:set ff=unix

:let g:lines = []

:function GetScreenCharsForLine(lnum)

:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val))')), '')

:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"

:set listchars+=tab:>-,space:.,trail:<

:set list

:

/^start:/

:normal! jzt

GG

GG

GG

GG

GGH:

:set listchars-=trail:<[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'listchars' display with 'list' and :list[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 25 lines, 431 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTGG

GG

GG

GG

GG:

:put =g:lines

:'[,']w! test.out

ENDTEST[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hlet g:lines = []
[?25l[?25h[?25l:[?2004h[?25hfunction GetScreenCharsForLine(lnum)
[?25l

:[?2004h  [?25h:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val


))'), '')


[?25l:[?2004h  [?25h:endfunction
[?25l:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"[?25h[?25l

:[?2004h[?25hnnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))


\<CR>"
[?25l:endfunction[?25h[?25l

:[?2004h[?25hset listchars+=tab:>-,space:.,trail:<
[?25l[?25h[?25l:[?2004h[?25hset list
[?25l$.<expr>.GG.":call..\\<CR>"$

:set.$

:set.list$

:$$.jzt$

GG$

GG$

GG$

GG$

GGH:$

:set.$

GG$

GG$

GG$

GG$

GG:$

:put.$.$$

$[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:$[?25h[?25l

:[?2004h[?25hnormal! jzt
[?25l>-------aa>-----$

..bb>---<<$

...cccc><$

dd........ee<<>-$

<$

$

$

STARTTEST$

:set.listchars+=trail:<$

:set.nolist$

:$

/^start:/$

:redir!.>>.test.out$

:+1,$list$

:redir.END$

:q!$

ENDTEST$

$

start:$

..fff>--<<$

>-------gg>-----$

.....h>-$

iii<<<<><<$[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset listchars-=trail:<
[?25l.....

.......>..[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hput =g:lines
[?25l10 more >-------aa>-----$$

..bb>---<<$$

...cccc><$$

dd........ee<<>-$$

<$$

>-------aa>-----$$

..bb>---..$$

...cccc>.$$

dd........ee..>-$$

.$$10 more lines[?25h[?25l:[?2004h[?25h'[,']w! test.out
[?25l"test.out" [New File] 10 lines, 124 characters written[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 93 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:+1,$list$

:redir.END$

:q!$

ENDTEST$[?25h[?25l

$[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset listchars+=trail:<
[?25l[?25h[?25l:[?2004h[?25hset nolist
[?25l   >>  [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:[?25h[?25l

:[?2004h[?25hredir! >> test.out
[?25l[?25h[?25l:[?2004h[?25h+1,$list
[?25l..fff>--<<$


>-------gg>-----$


.....h>-$


iii<<<<><<$


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l>-------aa>-----$

..bb>---..$

...cccc>.$

dd........ee..>-$

.$STARTTEST:set listchars+=trail:<

:set nolist

:

/^start:/

:redir! >> test.out+1,$listredir END

:q!ENDTESTstart:  fff

        ggh

iii   [?25h[?25l

:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_listchars = test61; then \
#	  if diff test.out test_listchars.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_listchars.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_search_mbyte.failed test.ok test.out X* viminfo
cp test_search_mbyte.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search_mbyte.in" 15 lines, 226 charactersTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 search('multi-byte char', 'bce')[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hsource small.vim
[?25l[?25h[?25l:[?2004h[?25hsource mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h/^Test bce:/+1
[?25l[?25h[?25l:[?2004h[?25h$put =search('A', 'bce', line('.'))
[?25l15[?25h[?25l:[?2004h[?25h1;/^Results:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 5 lines, 27 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_search_mbyte = test61; then \
#	  if diff test.out test_search_mbyte.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_search_mbyte.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_wordcount.failed test.ok test.out X* viminfo
cp test_wordcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_wordcount.in" 126 lines, 2815 charactersTest for wordcount() function



STARTTEST

:so small.vim

:so mbyte.vim

:set enc=utf8

:set selection=inclusive fileformat=unix fileformats=unix

:new

:fu DoRecordWin(...)

:wincmd k

:if exists("a:1")

:call cursor(a:1)

:endif

:let result=[]

:call add(result, g:test)

:call add(result, getline(1, '$'))

:call add(result, wordcount())

:wincmd j

:return result

:endfu

:fu PutInWindow(args)

:wincmd k

:%d _[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 wordcount() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 121 lines, 2753 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"


:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"

:call PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])

:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:
[?25h[?25l

:[?2004h[?25hset selection=inclusive fileformat=unix fileformats=unix
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])[2]=g:visual_statcall Log()"/^RESULT test/,$w! test.out

:qa!ENDTEST

RESULT test:

test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hfu DoRecordWin(...)
[?25l

:[?2004h  [?25h:^Iwincmd k


[?25l:[?2004h  [?25h:       if exists("a:1")


[?25l:[?2004h    [?25h:           call cursor(a:1)


[?25l:[?2004h    [?25h:       endif


[?25l:[?2004h  [?25h:       let result=[]


[?25l:[?2004h  [?25h:       call add(result, g:test)


[?25l:[?2004h  [?25h:       call add(result, getline(1, '$'))


[?25l:[?2004h  [?25h:       call add(result, wordcount())


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:       return result


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu PutInWindow(args)
[?25l

:[?2004h  [?25h:       wincmd k


[?25l:[?2004h  [?25h:       %d _


[?25l:[?2004h  [?25h:       call append(1, a:args)


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu Log()
[?25l

:[?2004h  [?25h:   $put ='----'


[?25l:[?2004h  [?25h:   $put =remove(g:log,0)


[?25l:[?2004h  [?25h:   $put =string(g:log)


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu! STL()
[?25l

:[?2004h  [?25h:    if mode() =~? 'V'


[?25l:[?2004h    [?25h:       let g:visual_stat=wordcount()


[?25l:[?2004h    [?25h:    endif


[?25l:[?2004h  [?25h:    return string(wordcount())


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet g:test="Test 1: empty window"
[?25l[?25h[?25l:[?2004h[?25hlet log=DoRecordWin()
[?25l[No Name]                                                                        test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 1: empty window

[[''], {'chars': 0, 'cursor_chars': 0, 'words': 0, 'cursor_words': 0, 'bytes': 00, 'cursor_bytes': 0}][+][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 2: some words, cursor at start"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25lone two three[+][?25h[?25l:[?2004h[?25hlet log=DoRecordWin([1,1,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 2: some words, cursor at start

[['', 'one two three'], {'chars': 15, 'cursor_chars': 1, 'words': 3, 'cursor_worrds': 0, 'bytes': 15, 'cursor_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 3: some words, cursor at end"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 3: some words, cursor at end

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 4: some words, cursor at end, ve=all"
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 4: some words, cursor at end, ve=all

[['', 'one two three'], {'chars': 15, 'cursor_chars': 15, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 15}][?25h[?25l





:[?2004h[?25hset ve=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 5: several lines with words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['one two three', 'one two three', 'one two three'])
[?25lone two threeone two three--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([4,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 5: several lines with words

[['', 'one two three', 'one two three', 'one two three'], {'chars': 43, 'cursor__chars': 42, 'words': 9, 'cursor_words': 9, 'bytes': 43, 'cursor_bytes': 42}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 6: one line with BOM set"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25l[No Name] [+]                                                                   test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset bomb
[?25l[?25h[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 2 lines, 18 characters writtenXtesta         [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 6: one line with BOM set

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 18, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25hwincmd k
[?25lXtest                                                                           test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset nobomb
[?25l[+][?25h[?25l:[?2004h[?25hw!
[?25l"Xtest" 2 lines, 15 characters written    [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 7: one line with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh'])
[?25lÄne M¤ne Müh[+]--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 7: one line with multibyte words

[['', 'Äne M¤ne Müh'], {'chars': 14, 'cursor_chars': 13, 'words': 3, 'cursor_worrds': 3, 'bytes': 17, 'cursor_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 8: several lines with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25lund raus bist dü!--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 8: several lines with multibyte words

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'cursor_chars': 31, 'wwords': 7, 'cursor_words': 7, 'bytes': 36, 'cursor_bytes': 35}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 9: visual mode, complete buffer"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 3985, 'words': 579, 'cursor_words': 560, 'bytes': 4153, 'cursor_bytes': 4007}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l 

Äne M¤ne Müh 

und raus bist dü! ds': 7, 'bytes': 36, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}[?25h[?25lÄne M¤ne Mühnd raus bist dü!3 lines yankedursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 9: visual mode, complete buffer

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 10: visual mode (empty)"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4170, 'words': 606, 'cursor_words': 587, 'bytes': 4342, 'cursor_bytes': 4196}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l[?25h[?25lursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 10: visual mode (empty)

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 1, 'visual_words': 0, 'visual_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 11: visual mode, single line"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4347, 'words': 632, 'cursor_words': 613, 'bytes': 4521, 'cursor_bytes': 4377}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h2
[?25l2,1,3}[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 1, 'visual_2}[?25h[?25lÄne M¤ne Mühds': 7, 'bytes': 36, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}[?25h[?25l
Äne M¤ne Mühursor_chars': 2, 'words': 7, 'cursor_words': 1, 'bytes': 36, 'cursor_bytes': 3}[?25hsor_chars': 15, 'words': 7, 'cursor_words': 4, 'bytes': 36, 'cursor_bytes': 18}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]s                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 11: visual mode, single line

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^RESULT test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 34 lines, 1905 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_wordcount = test61; then \
#	  if diff test.out test_wordcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_wordcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test11.in" 84 lines, 3366 charactersTests 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 48 lines, 2298 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" drop out when there is no gzip program
[?25l[?25h[?25l:[?2004h[?25hif !executable("gzip")
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l: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/[?25h[?25l:[?2004h[?25hlet $GZIP = ""
[?25l[?25h[?25l:[?2004h[?25hau FileChangedShell * echo "caught FileChangedShell"
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hau FileWritePre    *.gz   '[,']!gzip
[?25l[?25h[?25l:[?2004h[?25hau FileWritePost   *.gz   undo
[?25l[?25h[?25l:[?2004h[?25h/^start of testfile/,/^end of testfile/w! Xtestfile.gz
[?25l[?25h[?2004l[?2004h[?25l11 lines filtered

"Xtestfile.gz" [New File][Incomplete last line] 1 line, 111 characters written


10 more lines; before #1  0 seconds ago


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileReadPost    *.gz   '[,']!gzip -d
[?25l: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 autocommandse" Edit test.out againset nobin ff&   " use the default fileformat for writing

:wqa!ENDTESTstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx45678910

end of testfile[?25h[?25l

:[?2004h[?25h$r Xtestfile.gz                " Read and decompress the testfile
[?25l"Xtestfile.gz" [Incomplete last line] 1 line, 111 characters
[?25h[?2004l[?2004h[?25lstart of test.c

/*

 * Here is a new .c file

 */

end of test.c

start of testfile[?25h[?25l

:[?2004h[?25h?startstart?,$w! test.out      " Write contents of this file
[?25l"test.out" [New File] 29 lines, 788 characters written[?25h[?25l:[?2004h[?25hau BufNewFile      *.c    read Xtest.c
[?25l[?25h[?25l:[?2004h[?25h/^start of test.c/+1,/^end of test.c/-1w! Xtest.c
[?25lsearch hit BOTTOM, continuing at TOP"Xtest.c" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25he! foo.c                       " Will load Xtest.c
[?25l"foo.c" [New File]

"Xtest.c" 3 lines, 32 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileAppendPre   *.out  '[,']s/new/NEW/
[?25l/*

 * Here is a new .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FileAppendPost  *.out  !cat Xtest.c >>test.out
[?25l[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 4 lines, 33 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?25hau! FileAppendPre
[?25l/*

 * Here is a NEW .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" setup autocommands to decompress before reading and re-compress afterwards
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   call rename(expand("<afile>"), expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   exe '!gzip ' . shellescape(expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile.gz                " Edit compressed file
[?25l:!gzip -d 'Xtestfile.gz'


[?25h[?2004l[?2004h[?25l"Xtestfile.gz""Xtestfile.gz" 11 lines, 357 characters:!gzip 'Xtestfile'


[?25h[?2004l[?2004h[?25lcaught FileChangedShell


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 11 lines, 357 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  call rename(expand("<afile>"), expand("<afile>") . "


.t")
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !sed s/e/E/ ' . shellescape(expand("<afi


le>")) . ".t >" . shellescape(expand("<afile>"))
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !rm ' . shellescape(expand("<afile>")) .


'.t'
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPost  *.out  '[,']s/x/X/g
[?25l[?25h[?25l:[?2004h[?25he! test.out                    " Edit the output file
[?25l"test.out" 50 lines, 1242 charactersstarstart 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[?25h[?25l:[?2004h[?25h23,$!cat
[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25l218 substitutions on 15 lines


28 lines filtered


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h23,$s/\r$//                 " remove CR for when sed adds them
[?25lE486: Pattern not found: \r$

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! FileReadPre    *.gz   exe 'silent !gzip -d ' . shellescape(expand("<afile>


"))
[?25lstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxE 5  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[?25h[?25l

:[?2004h[?25hau  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau! FileReadPost   *.gz   '[,']s/l/L/
[?25l[?25h[?25l:[?2004h[?25h$r Xtestfile.gz             " Read compressed file
[?25l[?25h[?2004l[?2004h[?25l"Xtestfile.gz" 11 lines, 357 characters


11 substitutions on 11 lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw                           " write it, after filtering
[?25l"test.out"61 lines, 1599 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau!             " remove all autocommands
[?25lE216: No such group or event: " remove all autocommands


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he               " Edit test.out again
[?25l"test.out"61 lines, 1599 charactersstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"test.out" 61 lines, 1599 characters[?25h[?25l:[?2004h[?25hset nobin ff&   " use the default fileformat for writing
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 61 lines, 1599 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test11 = test61; then \
#	  if diff test.out test11.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test11.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test52.failed test.ok test.out X* viminfo
cp test52.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test52.in" 65 lines, 1645 charactersTests for reading and writing files with conversion for Win32.



STARTTEST

:so mbyte.vim

:" make this a dummy test for non-Win32 systems

:if !has("win32") | e! test.ok | wq! test.out | endif

:"

:" write tests:

:" combine three values for 'encoding' with three values for 'fileencoding'

:" also write files for read tests

/^1

:set encoding=utf-8

:.w! ++enc=utf-8 test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=utf-8 Xutf8

/^2

:set encoding=cp1251

:.w ++enc=utf-8 >>test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=cp1251 Xcp1251

/^3[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 reading and writing files with conversion for Win32.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1333 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:e Xcp1251

:.w ++enc=cp1251 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp1251 >>test.out

:"

:" read three 'fileencoding's with cp866 'encoding'

:set encoding=cp866 fencs=utf-8,cp1251

:e Xutf8

:.w ++enc=cp866 >>test.out

:e Xcp1251

:.w ++enc=cp866 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp866 >>test.out

:"

:qa!

ENDTEST






[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" make this a dummy test for non-Win32 systems
[?25l[?25h[?25l:[?2004h[?25hif !has("win32") | e! test.ok | wq! test.out | endif
[?25l"test.ok" 18 lines, 1374 characters[?2004l


"test.out" [New File] 18 lines, 1374 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test52 = test61; then \
#	  if diff test.out test52.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test52.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test85.failed test.ok test.out X* viminfo
cp test85.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test85.in" 86 lines, 1885 charactersTest for Lua interface and luaeval() function



STARTTEST

:so small.vim

:set belloff=all

:so lua.vim

:set nocompatible viminfo+=nviminfo

:lua l = vim.list():add"item0":add"dictionary with list OK":add"item2"

:lua h = vim.dict(); h.list = l

:call garbagecollect()

/^1

:" change buffer contents

:lua curbuf = vim.buffer()

:lua curline = vim.eval"line('.')"

:lua curbuf[curline] = "1 changed line 1"

:" scalar test

:let tmp_string = luaeval('"string"')

:let tmp_1000 = luaeval('1000')

:if printf("%s%.0f", tmp_string, tmp_1000) == "string1000"

:let scalar_res = "OK"

:else

:let scalar_res = "FAILED"

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Lua interface and luaeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1792 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")

:lua d[4] = d[0]

:lua d[5] = d[1]

:lua d[6] = d[2]

:lua d[7] = d[3]

:lua d[3] = nil

:lua d[2] = nil

:lua d[1] = nil

:lua d[0] = nil

:lua d = nil

:$put =string(d)



:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso lua.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hua l = vim.list():add"item0":add"dictionary with list OK":add"item2"
[?25l[?25h[?25l:[?2004h[?25hlua h = vim.dict(); h.list = l
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect()
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l:[?2004h[?25h" change buffer contents
[?25l[?25h[?25l:[?2004h[?25hlua curbuf = vim.buffer()
[?25l[?25h[?25l:[?2004h[?25hlua curline = vim.eval"line('.')"
[?25l[?25h[?25l:[?2004h[?25hlua curbuf[curline] = "1 changed line 1"
[?25lchanged line 1
[?25h[?25l:[?2004h[?25h" scalar test
[?25l[?25h[?25l:[?2004h[?25hlet tmp_string = luaeval('"string"')
[?25l[?25h[?25l:[?2004h[?25hlet tmp_1000 = luaeval('1000')
[?25l[?25h[?25l:[?2004h[?25hif printf("%s%.0f", tmp_string, tmp_1000) == "string1000"
[?25l

:[?2004h  [?25h:let scalar_res = "OK"


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:let scalar_res = "FAILED"


[?25l:[?2004h  [?25h:endif
[?25l:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")[?25h[?25l





:[?2004h[?25hcall append(search("^1"), "scalar test " . scalar_res)
[?25lscalar test OK

2 line 2[?25h[?25l:[?2004h[?25h" dictionary containing a list
[?25l[?25h[?25l:[?2004h[?25hlet tmp = luaeval("h").list[1]
[?25l[?25h[?25l:[?2004h[?25h/^2/put =tmp
[?25l

dictionary with list OK[?25h[?25l

:[?2004h[?25h" circular list (at the same time test lists containing lists)
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = l
[?25l[?25h[?25l:[?2004h[?25hlet l2 = luaeval("h").list
[?25l[?25h[?25l:[?2004h[?25hif l2[2] == l2
[?25l

:[?2004h  [?25h:let res = "OK"


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:let res = "FAILED"


[?25l:[?2004h  [?25h:endif
[?25l:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")[?25h[?25l

:[?2004h[?25hcall setline(search("^3"), "circular test " . res)
[?25l

circular test OK[?25h[?25l

:[?2004h[?25hlet l = []
[?25l[?25h[?25l:[?2004h[?25hlua l = vim.eval("l")
[?25l[?25h[?25l:[?2004h[?25hlua l:add(123)
[?25l[?25h[?25l:[?2004h[?25hlua l:add("abc")
[?25l[?25h[?25l:[?2004h[?25hlua l:add(vim.eval("[1, 2, 3]"))
[?25l[?25h[?25l:[?2004h[?25hlua l:add(vim.eval("{'a':1, 'b':2, 'c':3}"))
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(123)
[?25l[?25h[?25l:[?2004h[?25hlua l:insert("abc")
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(vim.eval("[1, 2, 3]"))
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(vim.eval("{'a':1, 'b':2, 'c':3}"))
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = l[0]
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = l[1]
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = l[2]
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = l[3]
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = 123
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = "abc"
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = vim.eval("[1, 2, 3]")
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l = nil
[?25l[?25h[?25l:[?2004h[?25h$put =string(l)
[?25l

[123.0, 'abc', [1, 2, 3], {'a': 1, 'b': 2, 'c': 3}][?25h[?25l

:[?2004h[?25hlet d = {}
[?25l[?25h[?25l:[?2004h[?25hlua d = vim.eval("d")
[?25l[?25h[?25l:[?2004h[?25hlua d[0] = 123
[?25l[?25h[?25l:[?2004h[?25hlua d[1] = "abc"
[?25l[?25h[?25l:[?2004h[?25hlua d[2] = vim.eval("[1, 2, 3]")
[?25l[?25h[?25l:[?2004h[?25hlua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
[?25l[?25h[?25l:[?2004h[?25hlua d[4] = d[0]
[?25l[?25h[?25l:[?2004h[?25hlua d[5] = d[1]
[?25l[?25h[?25l:[?2004h[?25hlua d[6] = d[2]
[?25l[?25h[?25l:[?2004h[?25hlua d[7] = d[3]
[?25l[?25h[?25l:[?2004h[?25hlua d[3] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[2] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[1] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[0] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d = nil
[?25l[?25h[?25l:[?2004h[?25h$put =string(d)
[?25l

{'4': 123.0, '5': 'abc', '6': [1, 2, 3], '7': {'a': 1, 'b': 2, 'c': 3}}[?25h[?25l

:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 7L, 206C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test85 = test61; then \
#	  if diff test.out test85.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test85.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test86.failed test.ok test.out X* viminfo
cp test86.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test86.in" 1711 lines, 48481 charactersTests for various python features.     vim: set ft=vim :



NOTE: This will cause errors when run under valgrind.

This would require recompiling Python with:

  ./configure --without-pymalloc

See http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:if !has('python') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py import vim

:py cb = vim.current.buffer

:let l = []

:py l=vim.bindeval('l')

:py f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py l.extend([1, "as'd", [1, 2, f, {'a': 1}]])

:$put =string(l)

:$put =string(l[-1])[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1700 lines, 48188 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python') | e! test.ok | wq! test.out | endif
[?25l"test.ok" 1445 lines, 67439 characters[?2004l


"test.out" [New File] 1445 lines, 67439 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test86 = test61; then \
#	  if diff test.out test86.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test86.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test87.failed test.ok test.out X* viminfo
cp test87.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test87.in" 1720 lines, 50002 charactersTests for various python features.     vim: set ft=vim :



STARTTEST

:so small.vim

:set noswapfile

:if !has('python3') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py3 import vim

:py3 cb = vim.current.buffer

:let l = []

:py3 l=vim.bindeval('l')

:py3 f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]

:$put =string(l)

:$put =string(l[-1])

:try

:  $put =string(l[-4])

:catch

:  $put =v:exception[:13]

:endtry

:" List assignment[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1714 lines, 49918 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python3') | e! test.ok | wq! test.out | endif
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h:py3 import vim


[?25l:[?2004h  [?25h:py3 cb = vim.current.buffer


[?25l:[?2004h  [?25h:let l = []


[?25l:[?2004h  [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h  [?25h:py3 f=vim.bindeval('function("strlen")')


[?25l:[?2004h  [?25h:" Extending List directly with different types


[?25l:[?2004h  [?25h:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-4])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:13]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List assignment


[?25l:[?2004h  [?25h:py3 l[0]=0


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:py3 l[-2]=f


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Extending Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:fun d.f()


[?25l:[?2004h    [?25h:  return 1


[?25l:[?2004h    [?25h:endfun


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25hd=vim.bindeval('d')


[?25l:[?2004h    [?25hd['1']='asd'


[?25l:[?2004h    [?25hd.update()  # Must not do anything, including throwing errors


[?25l:[?2004h    [?25hd.update(b=[1, 2, f])


[?25l:[?2004h    [?25hd.update((('-1', {'a': 1}),))


[?25l:[?2004h    [?25hd.update({'0': -1})


[?25l:[?2004h    [?25hdk = d.keys()


[?25l:[?2004h    [?25hdv = d.values()


[?25l:[?2004h    [?25hdi = d.items()


[?25l:[?2004h    [?25hdk.sort(key=repr)


[?25l:[?2004h    [?25hdv.sort(key=repr)


[?25l:[?2004h    [?25hdi.sort(key=repr)


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:$put =py3eval('d[''f''](self={})')


[?25l:[?2004h    [?25h:$put =py3eval('repr(dk)')


[?25l:[?2004h    [?25h:$put =substitute(py3eval('repr(dv)'),'0x\x\+','','g')


[?25l:[?2004h    [?25h:$put =substitute(py3eval('repr(di)'),'0x\x\+','','g')


[?25l:[?2004h    [?25h:for [key, Val] in sort(items(d))


[?25l:[?2004h      [?25h:  $put =string(key) . ' : ' . string(Val)


[?25l:[?2004h      [?25h:  unlet key Val


[?25l:[?2004h      [?25h:endfor


[?25l:[?2004h    [?25h:py3 del dk


[?25l:[?2004h    [?25h:py3 del di


[?25l:[?2004h    [?25h:py3 del dv


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" removing items with del


[?25l:[?2004h    [?25h:py3 del l[2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:try


[?25l:[?2004h      [?25h:   py3 del l[:3]


[?25l:[?2004h      [?25h:   py3 del l[1:]


[?25l:[?2004h      [?25h:catch


[?25l:[?2004h      [?25h:   $put =v:exception


[?25l:[?2004h      [?25h:endtry


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:py3 del d['-1']


[?25l:[?2004h    [?25h:py3 del d['f']


[?25l:[?2004h    [?25h:$put =string(py3eval('d.get(''b'', 1)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''b'')'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.get(''b'', 1)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''1'', 2)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''1'', 2)'))


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.has_key(''0''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.has_key(''1''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(''0'' in d)')


[?25l:[?2004h    [?25h:$put =py3eval('repr(''1'' in d)')


[?25l:[?2004h    [?25h:$put =py3eval('repr(list(iter(d)))')


[?25l:[?2004h    [?25h:$put =string(d)


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.popitem())')


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.get(''0''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(list(iter(d)))')


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:" The following two ranges delete nothing as they match empty list:


[?25l:[?2004h    [?25h:py3 del l[2:1]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[2:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[2:3]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:4]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:5]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:6]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:" The following two ranges delete nothing as they match empty list:


[?25l:[?2004h    [?25h:py3 del l[-1:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[-2:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[-3:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-4:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-5:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-6:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[::2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[3:0:-2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:4:-2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Slice assignment to a list


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[0:0]=['a']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[1:2]=['b']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:4]=['c']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[4:4]=['d']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[-1:2]=['e']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[-10:2]=['f']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:-10]=['g']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = []


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[0:0]=['h']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:6:2] = [10, 20]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2:-2] = [10, 20]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2:1] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:2:1] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Locked variables


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:lockvar! l


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25hdef emsg(ei):


[?25l:[?2004h    [?25h    return ei[0].__name__ + ':' + repr(ei[1].args)


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25htry:


[?25l:[?2004h    [?25h    l[2]='i'


[?25l:[?2004h    [?25hexcept vim.error:


[?25l:[?2004h    [?25h    cb.append('l[2] threw vim.error: ' + emsg(sys.exc_info()))


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:unlockvar! l


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Function calls


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25himport sys


[?25l:[?2004h    [?25himport re


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25hpy33_type_error_pattern = re.compile('^__call__\(\) takes (\d+) positional


argument but (\d+) were given$')


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25hdef ee(expr, g=globals(), l=locals()):


[?25l:[?2004h    [?25h    cb = vim.current.buffer


[?25l:[?2004h    [?25h    try:


[?25l:[?2004h    [?25h        try:


[?25l:[?2004h    [?25h            exec(expr, g, l)


[?25l:[?2004h    [?25h        except Exception as e:


[?25l:[?2004h    [?25h            if sys.version_info >= (3, 3) and e.__class__ is AttributeErro


r and str(e).find('has no attribute')>=0 and not str(e).startswith("'vim."):


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((e.__class__, AttributeError(s


tr(e)[str(e).rfind(" '") + 2:-1]))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 3) and e.__class__ is ImportError


and str(e).find('No module named \'') >= 0:


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((e.__class__, ImportError(str(


e).replace("'", '')))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 6) and e.__class__ is ModuleNotFo


undError:


[?25l:[?2004h    [?25h                # Python 3.6 gives ModuleNotFoundError, change it to an Im


portError


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((ImportError, ImportError(str(


e).replace("'", '')))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 3) and e.__class__ is TypeError:


[?25l:[?2004h    [?25h                m = py33_type_error_pattern.search(str(e))


[?25l:[?2004h    [?25h                if m:


[?25l:[?2004h    [?25h                    msg = '__call__() takes exactly {0} positional argumen


t ({1} given)'.format(m.group(1), m.group(2))


[?25l:[?2004h    [?25h                    cb.append(expr + ':' + repr((e.__class__, TypeError(ms


g))))


[?25l:[?2004h    [?25h                else:


[?25l:[?2004h    [?25h                    msg = repr((e.__class__, e))


[?25l:[?2004h    [?25h                    # Messages changed with Python 3.6, change new to old.


[?25l:[?2004h    [?25h                    newmsg1 = """'argument must be str, bytes or bytearray


, not None'"""


[?25l:[?2004h    [?25h                    oldmsg1 = '''"Can't convert 'NoneType' object to str i


mplicitly"'''


[?25l:[?2004h    [?25h                    if msg.find(newmsg1) > -1:


[?25l:[?2004h    [?25h                        msg = msg.replace(newmsg1, oldmsg1)


[?25l:[?2004h    [?25h                    newmsg2 = """'argument must be str, bytes or bytearray


, not int'"""


[?25l:[?2004h    [?25h                    oldmsg2 = '''"Can't convert 'int' object to str implic


itly"'''


[?25l:[?2004h    [?25h                    if msg.find(newmsg2) > -1:


[?25l:[?2004h    [?25h                        msg = msg.replace(newmsg2, oldmsg2)


[?25l:[?2004h    [?25h                    cb.append(expr + ':' + msg)


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 5) and e.__class__ is ValueError 


and str(e) == 'embedded null byte':


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((TypeError, TypeError('expecte


d bytes with no null'))))


[?25l:[?2004h    [?25h            else:


[?25l:[?2004h    [?25h                msg = repr((e.__class__, e))


[?25l:[?2004h    [?25h                # Some Python versions say can't, others cannot.


[?25l:[?2004h    [?25h                if msg.find('can\'t') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace('can\'t', 'cannot')


[?25l:[?2004h    [?25h                # Some Python versions use single quote, some double quote


[?25l:[?2004h    [?25h                if msg.find('"cannot ') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace('"cannot ', '\'cannot ')


[?25l:[?2004h    [?25h                if msg.find(' attributes"') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace(' attributes"', ' attributes\'')


[?25l:[?2004h    [?25h                cb.append(expr + ':' + msg)


[?25l:[?2004h    [?25h        else:


[?25l:[?2004h    [?25h            cb.append(expr + ':NOT FAILED')


[?25l:[?2004h    [?25h    except Exception as e:


[?25l:[?2004h    [?25h        cb.append(expr + '::' + repr((e.__class__, e)))


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:fun New(...)


[?25l:[?2004h      [?25h:   return ['NewStart']+a:000+['NewEnd']


[?25l:[?2004h      [?25h:endfun


[?25l:[?2004h      [?25h:fun DictNew(...) dict


[?25l:[?2004h[?25h:   return ['DictNewStart']+a:000+['DictNewEnd', self]


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:let l=[function('New'), function('DictNew')]


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25h:py3 l.extend(list(l[0](1, 2, 3)))


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 l.extend(list(l[1](1, 2, 3, self={'a': 'b'})))


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 l+=[l[0].name]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 ee('l[1](1, 2, 3)')


[?25l:[?2004h[?25h:py3 f=l[0]


[?25l:[?2004h[?25h:delfunction New


[?25l:[?2004h[?25h:py3 ee('f(1, 2, 3)')


[?25l:[?2004h[?25h:if has('float')


[?25l:[?2004h[?25h:   let l=[0.0]


[?25l:[?2004h[?25h:   py3 l=vim.bindeval('l')


[?25l:[?2004h[?25h:   py3 l.extend([0.0])


[?25l:[?2004h[?25h:   $put =string(l)


[?25l:[?2004h[?25h:else


[?25l:[?2004h[?25h:   $put ='[0.0, 0.0]'


[?25l:[?2004h[?25h:endif


[?25l:[?2004h[?25h:let messages=[]


[?25l:[?2004h[?25h:delfunction DictNew


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport sys


[?25l:[?2004h[?25hd=vim.bindeval('{}')


[?25l:[?2004h[?25hm=vim.bindeval('messages')


[?25l:[?2004h[?25hdef em(expr, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(expr, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        if sys.version_info >= (3, 5) and e.__class__ is ValueError an


d str(e) == 'embedded null byte':


[?25l:[?2004h[?25h            m.extend([TypeError.__name__])


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            m.extend([e.__class__.__name__])


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hem('d["abc1"]')


[?25l:[?2004h[?25hem('d["abc1"]="\\0"')


[?25l:[?2004h[?25hem('d["abc1"]=vim')


[?25l:[?2004h[?25hem('d[""]=1')


[?25l:[?2004h[?25hem('d["a\\0b"]=1')


[?25l:[?2004h[?25hem('d[b"a\\0b"]=1')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hem('d.pop("abc1")')


[?25l:[?2004h[?25hem('d.popitem()')


[?25l:[?2004h[?25hdel em


[?25l:[?2004h[?25hdel m


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put =messages


[?25l:[?2004h[?25h:unlet messages


[?25l:[?2004h[?25h:" locked and scope attributes


[?25l:[?2004h[?25h:let d={} | let dl={} | lockvar dl


[?25l:[?2004h[?25h:for s in split("d dl v: g:")


[?25l:[?2004h[?25h:    let name=tr(s, ':', 's')


[?25l:[?2004h[?25h:    execute 'py3 '.name.'=vim.bindeval("'.s.'")'


[?25l:[?2004h[?25h:    let toput=s.' : '.join(map(['locked', 'scope'], 'v:val.":".py3e


val(name.".".v:val)'), ';')


[?25l:[?2004h[?25h:    $put =toput


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:silent! let d.abc2=1


[?25l:[?2004h[?25h:silent! let dl.abc3=1


[?25l:[?2004h[?25h:py3 d.locked=True


[?25l:[?2004h[?25h:py3 dl.locked=False


[?25l:[?2004h[?25h:silent! let d.def=1


[?25l:[?2004h[?25h:silent! let dl.def=1


[?25l:[?2004h[?25h:put ='d:'.string(d)


[?25l:[?2004h[?25h:put ='dl:'.string(dl)


[?25l:[?2004h[?25h:unlet d dl


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:let l=[] | let ll=[] | lockvar ll


[?25l:[?2004h[?25h:for s in split("l ll")


[?25l:[?2004h[?25h:    let name=tr(s, ':', 's')


[?25l:[?2004h[?25h:    execute 'py3 '.name.'=vim.bindeval("'.s.'")'


[?25l:[?2004h[?25h:    let toput=s.' : locked:'.py3eval(name.'.locked')


[?25l:[?2004h[?25h:    $put =toput


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:silent! call extend(l, [0])


[?25l:[?2004h[?25h:silent! call extend(ll, [0])


[?25l:[?2004h[?25h:py3 l.locked=True


[?25l:[?2004h[?25h:py3 ll.locked=False


[?25l:[?2004h[?25h:silent! call extend(l, [1])


[?25l:[?2004h[?25h:silent! call extend(ll, [1])


[?25l:[?2004h[?25h:put ='l:'.string(l)


[?25l:[?2004h[?25h:put ='ll:'.string(ll)


[?25l:[?2004h[?25h:unlet l ll


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" py3eval()


[?25l:[?2004h[?25h:let l=py3eval('[0, 1, 2]')


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let d=py3eval('{"a": "b", "c": 1, "d": ["e"]}')


[?25l:[?2004h[?25h:$put =sort(items(d))


[?25l:[?2004h[?25h:let v:errmsg = ''


[?25l:[?2004h[?25h:$put ='py3eval(\"None\") = ' . py3eval('None') . v:errmsg


[?25l:[?2004h[?25h:if has('float')


[?25l:[?2004h[?25h:   let f=py3eval('0.0')


[?25l:[?2004h[?25h:   $put =string(f)


[?25l:[?2004h[?25h:else


[?25l:[?2004h[?25h:   $put ='0.0'


[?25l:[?2004h[?25h:endif


[?25l:[?2004h[?25h:" Invalid values:


[?25l:[?2004h[?25h:for e in ['"\0"', '{"\0": 1}', 'undefined_name', 'vim']


[?25l:[?2004h[?25h:   try


[?25l:[?2004h[?25h:      let v=py3eval(e)


[?25l:[?2004h[?25h:   catch


[?25l:[?2004h[?25h:      let toput=e.":\t".v:exception[:13]


[?25l:[?2004h[?25h:      $put =toput


[?25l:[?2004h[?25h:   endtry


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" threading


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport threading


[?25l:[?2004h[?25himport time


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass T(threading.Thread):


[?25l:[?2004h[?25h    def __init__(self):


[?25l:[?2004h[?25h        threading.Thread.__init__(self)


[?25l:[?2004h[?25h        self.t = 0


[?25l:[?2004h[?25h        self.running = True


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def run(self):


[?25l:[?2004h[?25h        while self.running:


[?25l:[?2004h[?25h            self.t += 1


[?25l:[?2004h[?25h            time.sleep(0.1)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25ht = T()


[?25l:[?2004h[?25hdel T


[?25l:[?2004h[?25ht.start()


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:sleep 1


[?25l:[?2004h[?25h:py3 t.running = False


[?25l:[?2004h[?25h:py3 t.join()


[?25l:[?2004h[?25h:" Check if the background thread is working.  Count should be 10, but


on a


[?25l:[?2004h[?25h:" busy system (AppVeyor) it can be much lower.


[?25l:[?2004h[?25h:py3 l[0] = t.t > 4


[?25l:[?2004h[?25h:py3 del time


[?25l:[?2004h[?25h:py3 del threading


[?25l:[?2004h[?25h:py3 del t


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" settrace


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport sys


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef traceit(frame, event, arg):


[?25l:[?2004h[?25h    global l


[?25l:[?2004h[?25h    if event == "line":


[?25l:[?2004h[?25h        l += [frame.f_lineno]


[?25l:[?2004h[?25h    return traceit


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef trace_main():


[?25l:[?2004h[?25h    for i in range(5):


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:py3 sys.settrace(traceit)


[?25l:[?2004h[?25h:py3 trace_main()


[?25l:[?2004h[?25h:py3 sys.settrace(None)


[?25l:[?2004h[?25h:py3 del traceit


[?25l:[?2004h[?25h:py3 del trace_main


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Slice


[?25l:[?2004h[?25h:py3 ll = vim.bindeval('[0, 1, 2, 3, 4, 5]')


[?25l:[?2004h[?25h:py3 l = ll[:4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[2:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[:-4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-2:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[2:4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-4:-2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-2:-4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[0:6]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-10:10]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2:-1]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[::2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2:1]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 del l


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Vars


[?25l:[?2004h[?25h:let g:foo = 'bac'


[?25l:[?2004h[?25h:let w:abc3 = 'def'


[?25l:[?2004h[?25h:let b:baz = 'bar'


[?25l:[?2004h[?25h:let t:bar = 'jkl'


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  throw "Abc"


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  put =py3eval('vim.vvars[''exception'']')


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:put =py3eval('vim.vars[''foo'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.window.vars[''abc3'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.buffer.vars[''baz'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.tabpage.vars[''bar'']')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Options


[?25l:[?2004h[?25h:" paste:          boolean, global


[?25l:[?2004h[?25h:" previewheight   number,  global


[?25l:[?2004h[?25h:" operatorfunc:   string,  global


[?25l:[?2004h[?25h:" number:         boolean, window-local


[?25l:[?2004h[?25h:" numberwidth:    number,  window-local


[?25l:[?2004h[?25h:" colorcolumn:    string,  window-local


[?25l:[?2004h[?25h:" statusline:     string,  window-local/global


[?25l:[?2004h[?25h:" autoindent:     boolean, buffer-local


[?25l:[?2004h[?25h:" shiftwidth:     number,  buffer-local


[?25l:[?2004h[?25h:" omnifunc:       string,  buffer-local


[?25l:[?2004h[?25h:" preserveindent: boolean, buffer-local/global


[?25l:[?2004h[?25h:" path:           string,  buffer-local/global


[?25l:[?2004h[?25h:let g:bufs=[bufnr('%')]


[?25l:[?2004h[?25h:new


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:wincmd j


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:wincmd l


[?25l:[?2004h[?25h:fun RecVars(opt)


[?25l:[?2004h[?25h:  let gval =string(eval('&g:'.a:opt))


[?25l:[?2004h[?25h:  let wvals=join(map(range(1, 4),  'v:val.":".string(getwinvar(v:va


l, "&".a:opt))'))


[?25l:[?2004h[?25h:  let bvals=join(map(copy(g:bufs), 'v:val.":".string(getbufvar(v:va


l, "&".a:opt))'))


[?25l:[?2004h[?25h:  put ='  G: '.gval


[?25l:[?2004h[?25h:  put ='  W: '.wvals


[?25l:[?2004h[?25h:  put ='  B: '.wvals


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef e(s, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(s, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        vim.command('return ' + repr(e.__class__.__name__))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef ev(s, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        return eval(s, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        vim.command('let exc=' + repr(e.__class__.__name__))


[?25l:[?2004h[?25h        return 0


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:fun E(s)


[?25l:[?2004h[?25h:   python3 e(vim.eval('a:s'))


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:fun Ev(s)


[?25l:[?2004h[?25h:   let r=py3eval('ev(vim.eval("a:s"))')


[?25l:[?2004h[?25h:   if exists('exc')


[?25l:[?2004h[?25h:       throw exc


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   return r


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:py3 gopts1=vim.options


[?25l:[?2004h[?25h:py3 wopts1=vim.windows[2].options


[?25l:[?2004h[?25h:py3 wopts2=vim.windows[0].options


[?25l:[?2004h[?25h:py3 wopts3=vim.windows[1].options


[?25l:[?2004h[?25h:py3 bopts1=vim.buffers[vim.bindeval("g:bufs")[2]].options


[?25l:[?2004h[?25h:py3 bopts2=vim.buffers[vim.bindeval("g:bufs")[1]].options


[?25l:[?2004h[?25h:py3 bopts3=vim.buffers[vim.bindeval("g:bufs")[0]].options


[?25l:[?2004h[?25h:$put ='wopts iters equal: '.py3eval('list(wopts1) == list(wopts


2)')


[?25l:[?2004h[?25h:$put ='bopts iters equal: '.py3eval('list(bopts1) == list(bopts


2)')


[?25l:[?2004h[?25h:py3 gset=set(iter(gopts1))


[?25l:[?2004h[?25h:py3 wset=set(iter(wopts1))


[?25l:[?2004h[?25h:py3 bset=set(iter(bopts1))


[?25l:[?2004h[?25h:set path=.,..,,


[?25l:[?2004h[?25h:let lst=[]


[?25l:[?2004h[?25h:let lst+=[['paste',          1,     0,     1,     2,      1,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['previewheight',  5,     1,     6,     'a',    0,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['operatorfunc',   'A',   'B',   'C',   2,      0,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['number',         0,     1,     1,     0,      1,   


0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['numberwidth',    2,     3,     5,     -100,   0,   


0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['colorcolumn',    '+1',  '+2',  '+3',  'abc4',  0,  


 0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['statusline',     '1',   '2',   '4',   0,      0,   


1,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['autoindent',     0,     1,     1,     2,      1,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['shiftwidth',     0,     2,     1,     3,      0,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['omnifunc',       'A',   'B',   'C',   1,      0,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['preserveindent', 0,     1,     1,     2,      1,   


1,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['path',           '.,,', ',,',  '.',   0,      0,   


1,      2    ]]


[?25l:[?2004h[?25h:for       [oname,            oval1, oval2, oval3, invval, bool,


global, local] in lst


[?25l:[?2004h[?25h:   py3 oname=vim.eval('oname')


[?25l:[?2004h[?25h:   py3 oval1=vim.bindeval('oval1')


[?25l:[?2004h[?25h:   py3 oval2=vim.bindeval('oval2')


[?25l:[?2004h[?25h:   py3 oval3=vim.bindeval('oval3')


[?25l:[?2004h[?25h:   if invval is 0 || invval is 1


[?25l:[?2004h[?25h:       py3 invval=bool(vim.bindeval('invval'))


[?25l:[?2004h[?25h:   else


[?25l:[?2004h[?25h:       py3 invval=vim.bindeval('invval')


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   if bool


[?25l:[?2004h[?25h:       py3 oval1=bool(oval1)


[?25l:[?2004h[?25h:       py3 oval2=bool(oval2)


[?25l:[?2004h[?25h:       py3 oval3=bool(oval3)


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   put ='>>> '.oname


[?25l:[?2004h[?25h:   $put ='  g/w/b:'.py3eval('oname in gset').'/'.py3eval('ona


me in wset').'/'.py3eval('oname in bset')


[?25l:[?2004h[?25h:   $put ='  g/w/b (in):'.py3eval('oname in gopts1').'/'.py3ev


al('oname in wopts1').'/'.py3eval('oname in bopts1')


[?25l:[?2004h[?25h:   for v in ['gopts1', 'wopts1', 'bopts1']


[?25l:[?2004h[?25h:       try


[?25l:[?2004h[?25h:           put ='  p/'.v.': '.Ev('repr('.v.'['''.oname.''


'])')


[?25l:[?2004h[?25h:       catch


[?25l:[?2004h[?25h:           put ='  p/'.v.'! '.v:exception


[?25l:[?2004h[?25h:       endtry


[?25l:[?2004h[?25h:       let r=E(v.'['''.oname.''']=invval')


[?25l:[?2004h[?25h:       if r isnot 0


[?25l:[?2004h[?25h:           put ='  inv: '.string(invval).'! '.r


[?25l:[?2004h[?25h:       endif


[?25l:[?2004h[?25h:       for vv in (v is# 'gopts1' ? [v] : [v, v[:-2].'2', v[


:-2].'3'])


[?25l:[?2004h[?25h:           let val=substitute(vv, '^.opts', 'oval', '')


[?25l:[?2004h[?25h:           let r=E(vv.'['''.oname.''']='.val)


[?25l:[?2004h[?25h:           if r isnot 0


[?25l:[?2004h[?25h:               put ='  '.vv.'! '.r


[?25l:[?2004h[?25h:           endif


[?25l:[?2004h[?25h:       endfor


[?25l:[?2004h[?25h:   endfor


[?25l:[?2004h[?25h:   call RecVars(oname)


[?25l:[?2004h[?25h:   for v in ['wopts3', 'bopts3']


[?25l:[?2004h[?25h:       let r=E('del '.v.'["'.oname.'"]')


[?25l:[?2004h[?25h:       if r isnot 0


[?25l:[?2004h[?25h:           put ='  del '.v.'! '.r


[?25l:[?2004h[?25h:       endif


[?25l:[?2004h[?25h:   endfor


[?25l:[?2004h[?25h:   call RecVars(oname)


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:delfunction RecVars


[?25l:[?2004h[?25h:delfunction E


[?25l:[?2004h[?25h:delfunction Ev


[?25l:[?2004h[?25h:py3 del ev


[?25l:[?2004h[?25h:py3 del e


[?25l:[?2004h[?25h:only


[?25l:[?2004h[?25h:for buf in g:bufs[1:]


[?25l:[?2004h[?25h:   execute 'bwipeout!' buf


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:py3 del gopts1


[?25l:[?2004h[?25h:py3 del wopts1


[?25l:[?2004h[?25h:py3 del wopts2


[?25l:[?2004h[?25h:py3 del wopts3


[?25l:[?2004h[?25h:py3 del bopts1


[?25l:[?2004h[?25h:py3 del bopts2


[?25l:[?2004h[?25h:py3 del bopts3


[?25l:[?2004h[?25h:py3 del oval1


[?25l:[?2004h[?25h:py3 del oval2


[?25l:[?2004h[?25h:py3 del oval3


[?25l:[?2004h[?25h:py3 del oname


[?25l:[?2004h[?25h:py3 del invval


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test buffer object


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:put ='First line'


[?25l:[?2004h[?25h:put ='Second line'


[?25l:[?2004h[?25h:put ='Third line'


[?25l:[?2004h[?25h:1 delete _


[?25l:[?2004h[?25h:py3 b=vim.current.buffer


[?25l:[?2004h[?25h:wincmd w


[?25l:[?2004h[?25h:mark a


[?25l:[?2004h[?25h:augroup BUFS


[?25l:[?2004h[?25h:   autocmd BufFilePost * python3 cb.append(vim.eval('expand("<a


buf>")') + ':BufFilePost:' + vim.eval('bufnr("%")'))


[?25l:[?2004h[?25h:   autocmd BufFilePre * python3 cb.append(vim.eval('expand("<ab


uf>")') + ':BufFilePre:' + vim.eval('bufnr("%")'))


[?25l:[?2004h[?25h:augroup END


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25h# Tests BufferAppend and BufferItem


[?25l:[?2004h[?25hcb.append(b[0])


[?25l:[?2004h[?25h# Tests BufferSlice and BufferAssSlice


[?25l:[?2004h[?25hcb.append('abc5') # Will be overwritten


[?25l:[?2004h[?25hcb[-1:] = b[:-2]


[?25l:[?2004h[?25h# Test BufferLength and BufferAssSlice


[?25l:[?2004h[?25hcb.append('def') # Will not be overwritten


[?25l:[?2004h[?25hcb[len(cb):] = b[:]


[?25l:[?2004h[?25h# Test BufferAssItem and BufferMark


[?25l:[?2004h[?25hcb.append('ghi') # Will be overwritten


[?25l:[?2004h[?25hcb[-1] = repr((len(cb) - cb.mark('a')[0], cb.mark('a')[1]))


[?25l:[?2004h[?25h# Test BufferRepr


[?25l:[?2004h[?25hcb.append(repr(cb) + repr(b))


[?25l:[?2004h[?25h# Modify foreign buffer


[?25l:[?2004h[?25hb.append('foo')


[?25l:[?2004h[?25hb[0]='bar'


[?25l:[?2004h[?25hb[0:0]=['baz']


[?25l:[?2004h[?25hvim.command('call append("$", getbufline(%i, 1, "$"))' % b.numbe


r)

[?25l:[?2004h[?25h# Test assigning to name property


[?25l:[?2004h[?25himport os


[?25l:[?2004h[?25hold_name = cb.name


[?25l:[?2004h[?25hcb.name = 'foo'


[?25l:[?2004h[?25hcb.append(cb.name[-11:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hb.name = 'bar'


[?25l:[?2004h[?25hcb.append(b.name[-11:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hcb.name = old_name


[?25l:[?2004h[?25hcb.append(cb.name[-17:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hdel old_name


[?25l:[?2004h[?25h# Test CheckBuffer


[?25l:[?2004h[?25hfor _b in vim.buffers:


[?25l:[?2004h[?25h    if _b is not cb:


[?25l:[?2004h[?25h        vim.command('bwipeout! ' + str(_b.number))


[?25l:[?2004h[?25hdel _b


[?25l:[?2004h[?25hcb.append('valid: b:%s, cb:%s' % (repr(b.valid), repr(cb.valid))


)

[?25l:[?2004h[?25hfor expr in ('b[1]','b[:] = ["A", "B"]','b[:]','b.append("abc6")


'):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(expr)


[?25l:[?2004h[?25h    except vim.error:


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        # Usually a SEGV here


[?25l:[?2004h[?25h        # Should not happen in any case


[?25l:[?2004h[?25h        cb.append('No exception for ' + expr)


[?25l:[?2004h[?25hvim.command('cd .')


[?25l:[?2004h[?25hdel b


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.buffers object


[?25l:[?2004h[?25h:set hidden


[?25l:[?2004h[?25h:edit a


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25h:edit b


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25h:edit c


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25h# Check GCing iterator that was not fully exhausted


[?25l:[?2004h[?25hi = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i:' + str(next(i)))


[?25l:[?2004h[?25h# and also check creating more than one iterator at a time


[?25l:[?2004h[?25hi2 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i2:' + str(next(i2)))


[?25l:[?2004h[?25hcb.append('i:' + str(next(i)))


[?25l:[?2004h[?25h# The following should trigger GC and not cause any problems


[?25l:[?2004h[?25hdel i


[?25l:[?2004h[?25hdel i2


[?25l:[?2004h[?25hi3 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i3:' + str(next(i3)))


[?25l:[?2004h[?25hdel i3


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hprevnum = 0


[?25l:[?2004h[?25hfor b in vim.buffers:


[?25l:[?2004h[?25h    # Check buffer order


[?25l:[?2004h[?25h    if prevnum >= b.number:


[?25l:[?2004h[?25h        cb.append('!!! Buffer numbers not in strictly ascending 


order')


[?25l:[?2004h[?25h    # Check indexing: vim.buffers[number].number == number


[?25l:[?2004h[?25h    cb.append(str(b.number) + ':' + repr(vim.buffers[b.number]) 


+ '=' + repr(b))


[?25l:[?2004h[?25h    prevnum = b.number


[?25l:[?2004h[?25hdel prevnum


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append(str(len(vim.buffers)))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hbnums = list(map(lambda b: b.number, vim.buffers))[1:]


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h# Test wiping out buffer with existing iterator


[?25l:[?2004h[?25hi4 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i4:' + str(next(i4)))


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(0)))


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    next(i4)


[?25l:[?2004h[?25hexcept vim.error:


[?25l:[?2004h[?25h    pass


[?25l:[?2004h[?25helse:


[?25l:[?2004h[?25h    cb.append('!!!! No vim.error')


[?25l:[?2004h[?25hi4 = iter(vim.buffers)


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(-1)))


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(-1)))


[?25l:[?2004h[?25hcb.append('i4:' + str(next(i4)))


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    next(i4)


[?25l:[?2004h[?25hexcept StopIteration:


[?25l:[?2004h[?25h    cb.append('StopIteration')


[?25l:[?2004h[?25hdel i4


[?25l:[?2004h[?25hdel bnums


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.{tabpage,window}list and vim.{tabpage,window} object


s

[?25l:[?2004h[?25h:tabnew 0


[?25l:[?2004h[?25h:tabnew 1


[?25l:[?2004h[?25h:vnew a.1


[?25l:[?2004h[?25h:tabnew 2


[?25l:[?2004h[?25h:vnew a.2


[?25l:[?2004h[?25h:vnew b.2


[?25l:[?2004h[?25h:vnew c.2


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hcb.append('Number of tabs: ' + str(len(vim.tabpages)))


[?25l:[?2004h[?25hcb.append('Current tab pages:')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef W(w):


[?25l:[?2004h[?25h    if '(unknown)' in repr(w):


[?25l:[?2004h[?25h        return '<window object (unknown)>'


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return repr(w)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef Cursor(w, start=len(cb)):


[?25l:[?2004h[?25h    if w.buffer is cb:


[?25l:[?2004h[?25h        return repr((start - w.cursor[0], w.cursor[1]))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return repr(w.cursor)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hfor t in vim.tabpages:


[?25l:[?2004h[?25h    cb.append('  ' + repr(t) + '(' + str(t.number) + ')' + ': ' 


+ str(len(t.windows)) + ' windows, current is ' + W(t.window))


[?25l:[?2004h[?25h    cb.append('  Windows:')


[?25l:[?2004h[?25h    for w in t.windows:


[?25l:[?2004h[?25h        cb.append('    ' + W(w) + '(' + str(w.number) + ')' + ':


displays buffer ' + repr(w.buffer) + '; cursor is at ' + Cursor(w))


[?25l:[?2004h[?25h        # Other values depend on the size of the terminal, so th


ey are checked partly:


[?25l:[?2004h[?25h        for attr in ('height', 'row', 'width', 'col'):


[?25l:[?2004h[?25h            try:


[?25l:[?2004h[?25h                aval = getattr(w, attr)


[?25l:[?2004h[?25h                if type(aval) is not int:


[?25l:[?2004h[?25h                    raise TypeError


[?25l:[?2004h[?25h                if aval < 0:


[?25l:[?2004h[?25h                    raise ValueError


[?25l:[?2004h[?25h            except Exception as e:


[?25l:[?2004h[?25h                cb.append('!!!!!! Error while getting attribute 


' + attr + ': ' + e.__class__.__name__)


[?25l:[?2004h[?25h        del aval


[?25l:[?2004h[?25h        del attr


[?25l:[?2004h[?25h        w.cursor = (len(w.buffer), 0)


[?25l:[?2004h[?25hdel W


[?25l:[?2004h[?25hdel Cursor


[?25l:[?2004h[?25hcb.append('Number of windows in current tab page: ' + str(len(vi


m.windows)))


[?25l:[?2004h[?25hif list(vim.windows) != list(vim.current.tabpage.windows):


[?25l:[?2004h[?25h    cb.append('!!!!!! Windows differ')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.current


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef H(o):


[?25l:[?2004h[?25h    return repr(o)


[?25l:[?2004h[?25hcb.append('Current tab page: ' + repr(vim.current.tabpage))


[?25l:[?2004h[?25hcb.append('Current window: ' + repr(vim.current.window) + ': ' +


H(vim.current.window) + ' is ' + H(vim.current.tabpage.window))


[?25l:[?2004h[?25hcb.append('Current buffer: ' + repr(vim.current.buffer) + ': ' +


H(vim.current.buffer) + ' is ' + H(vim.current.window.buffer)+ ' is ' + H(vim.c


urrent.tabpage.window.buffer))


[?25l:[?2004h[?25hdel H


[?25l:[?2004h[?25h# Assigning: fails


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    vim.current.window = vim.tabpages[0].window


[?25l:[?2004h[?25hexcept ValueError:


[?25l:[?2004h[?25h    cb.append('ValueError at assigning foreign tab window')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hfor attr in ('window', 'tabpage', 'buffer'):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        setattr(vim.current, attr, None)


[?25l:[?2004h[?25h    except TypeError:


[?25l:[?2004h[?25h        cb.append('Type error at assigning None to vim.current.'


+ attr)


[?25l:[?2004h[?25hdel attr


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h# Assigning: success


[?25l:[?2004h[?25hvim.current.tabpage = vim.tabpages[-2]


[?25l:[?2004h[?25hvim.current.buffer = cb


[?25l:[?2004h[?25hvim.current.window = vim.windows[0]


[?25l:[?2004h[?25hvim.current.window.cursor = (len(vim.current.buffer), 0)


[?25l:[?2004h[?25hcb.append('Current tab page: ' + repr(vim.current.tabpage))


[?25l:[?2004h[?25hcb.append('Current window: ' + repr(vim.current.window))


[?25l:[?2004h[?25hcb.append('Current buffer: ' + repr(vim.current.buffer))


[?25l:[?2004h[?25hcb.append('Current line: ' + repr(vim.current.line))


[?25l:[?2004h[?25hws = list(vim.windows)


[?25l:[?2004h[?25hts = list(vim.tabpages)


[?25l:[?2004h[?25hfor b in vim.buffers:


[?25l:[?2004h[?25h    if b is not cb:


[?25l:[?2004h[?25h        vim.command('bwipeout! ' + str(b.number))


[?25l:[?2004h[?25hdel b


[?25l:[?2004h[?25hcb.append('w.valid: ' + repr([w.valid for w in ws]))


[?25l:[?2004h[?25hcb.append('t.valid: ' + repr([t.valid for t in ts]))


[?25l:[?2004h[?25hdel w


[?25l:[?2004h[?25hdel t


[?25l:[?2004h[?25hdel ts


[?25l:[?2004h[?25hdel ws


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:tabonly!


[?25l:[?2004h[?25h:only!


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test types


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hfor expr, attr in (


[?25l:[?2004h[?25h    ('vim.vars',                         'Dictionary'),


[?25l:[?2004h[?25h    ('vim.options',                      'Options'),


[?25l:[?2004h[?25h    ('vim.bindeval("{}")',               'Dictionary'),


[?25l:[?2004h[?25h    ('vim.bindeval("[]")',               'List'),


[?25l:[?2004h[?25h    ('vim.bindeval("function(\'tr\')")', 'Function'),


[?25l:[?2004h[?25h    ('vim.current.buffer',               'Buffer'),


[?25l:[?2004h[?25h    ('vim.current.range',                'Range'),


[?25l:[?2004h[?25h    ('vim.current.window',               'Window'),


[?25l:[?2004h[?25h    ('vim.current.tabpage',              'TabPage'),


[?25l:[?2004h[?25h):


[?25l:[?2004h[?25h    cb.append(expr + ':' + attr + ':' + repr(type(eval(expr)) is


getattr(vim, attr)))


[?25l:[?2004h[?25hdel expr


[?25l:[?2004h[?25hdel attr


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test __dir__() method


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hfor name, o in (


[?25l:[?2004h[?25h        ('current',    vim.current),


[?25l:[?2004h[?25h        ('buffer',     vim.current.buffer),


[?25l:[?2004h[?25h        ('window',     vim.current.window),


[?25l:[?2004h[?25h        ('tabpage',    vim.current.tabpage),


[?25l:[?2004h[?25h        ('range',      vim.current.range),


[?25l:[?2004h[?25h        ('dictionary', vim.bindeval('{}')),


[?25l:[?2004h[?25h        ('list',       vim.bindeval('[]')),


[?25l:[?2004h[?25h        ('function',   vim.bindeval('function("tr")')),


[?25l:[?2004h[?25h        ('output',     sys.stdout),


[?25l:[?2004h[?25h    ):


[?25l:[?2004h[?25h    cb.append(name + ':' + ','.join(dir(o)))


[?25l:[?2004h[?25hdel name


[?25l:[?2004h[?25hdel o


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.*.__new__


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary({})'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary(a=1)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary(((''a'', 1),))'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.List()'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.List(iter(''abc7''))'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'')'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4])'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[])'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', self={})'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], se


lf={})'))


[?25l:[?2004h[?25h:$put ='auto_rebind'


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', auto_rebind=False)')


)

[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], au


to_rebind=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[], auto_rebind


=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', self={}, auto_rebind


=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], se


lf={}, auto_rebind=False)'))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.Function


[?25l:[?2004h[?25h:function Args(...)


[?25l:[?2004h[?25h:   return a:000


[?25l:[?2004h[?25h:endfunction


[?25l:[?2004h[?25h:function SelfArgs(...) dict


[?25l:[?2004h[?25h:   return [a:000, self]


[?25l:[?2004h[?25h:endfunction


[?25l:[?2004h[?25h:" The following four lines should not crash


[?25l:[?2004h[?25h:let Pt = function('tr', [[]], {'l': []})


[?25l:[?2004h[?25h:py3 Pt = vim.bindeval('Pt')


[?25l:[?2004h[?25h:unlet Pt


[?25l:[?2004h[?25h:py3 del Pt


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef ecall(out_prefix, func, *args, **kwargs):


[?25l:[?2004h[?25h    line = out_prefix + ': '


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        ret = func(*args, **kwargs)


[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        line += '!exception: ' + emsg(sys.exc_info())


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        line += '!result: ' + str(vim.Function('string')(ret


), 'utf-8')


[?25l:[?2004h[?25h    cb.append(line)


[?25l:[?2004h[?25ha = vim.Function('Args')


[?25l:[?2004h[?25hpa1 = vim.Function('Args', args=['abcArgsPA1'])


[?25l:[?2004h[?25hpa2 = vim.Function('Args', args=[])


[?25l:[?2004h[?25hpa3 = vim.Function('Args', args=['abcArgsPA3'], self={'abcSe


lfPA3': 'abcSelfPA3Val'})


[?25l:[?2004h[?25hpa4 = vim.Function('Args', self={'abcSelfPA4': 'abcSelfPA4Va


l'})


[?25l:[?2004h[?25hcb.append('a: ' + repr(a))


[?25l:[?2004h[?25hcb.append('pa1: ' + repr(pa1))


[?25l:[?2004h[?25hcb.append('pa2: ' + repr(pa2))


[?25l:[?2004h[?25hcb.append('pa3: ' + repr(pa3))


[?25l:[?2004h[?25hcb.append('pa4: ' + repr(pa4))


[?25l:[?2004h[?25hsa = vim.Function('SelfArgs')


[?25l:[?2004h[?25hpsa1 = vim.Function('SelfArgs', args=['abcArgsPSA1'])


[?25l:[?2004h[?25hpsa2 = vim.Function('SelfArgs', args=[])


[?25l:[?2004h[?25hpsa3 = vim.Function('SelfArgs', args=['abcArgsPSA3'], self={


'abcSelfPSA3': 'abcSelfPSA3Val'})


[?25l:[?2004h[?25hpsa4 = vim.Function('SelfArgs', self={'abcSelfPSA4': 'abcSel


fPSA4Val'})


[?25l:[?2004h[?25hpsa5 = vim.Function('SelfArgs', self={'abcSelfPSA5': 'abcSel


fPSA5Val'}, auto_rebind=0)


[?25l:[?2004h[?25hpsa6 = vim.Function('SelfArgs', args=['abcArgsPSA6'], self={


'abcSelfPSA6': 'abcSelfPSA6Val'}, auto_rebind=())


[?25l:[?2004h[?25hpsa7 = vim.Function('SelfArgs', args=['abcArgsPSA7'], auto_r


ebind=[])


[?25l:[?2004h[?25hpsa8 = vim.Function('SelfArgs', auto_rebind=False)


[?25l:[?2004h[?25hpsa9 = vim.Function('SelfArgs', self={'abcSelfPSA9': 'abcSel


fPSA9Val'}, auto_rebind=True)


[?25l:[?2004h[?25hpsaA = vim.Function('SelfArgs', args=['abcArgsPSAA'], self={


'abcSelfPSAA': 'abcSelfPSAAVal'}, auto_rebind=1)


[?25l:[?2004h[?25hpsaB = vim.Function('SelfArgs', args=['abcArgsPSAB'], auto_r


ebind={'abcARPSAB': 'abcARPSABVal'})


[?25l:[?2004h[?25hpsaC = vim.Function('SelfArgs', auto_rebind=['abcARPSAC'])


[?25l:[?2004h[?25hcb.append('sa: ' + repr(sa))


[?25l:[?2004h[?25hcb.append('psa1: ' + repr(psa1))


[?25l:[?2004h[?25hcb.append('psa2: ' + repr(psa2))


[?25l:[?2004h[?25hcb.append('psa3: ' + repr(psa3))


[?25l:[?2004h[?25hcb.append('psa4: ' + repr(psa4))


[?25l:[?2004h[?25hcb.append('psa5: ' + repr(psa5))


[?25l:[?2004h[?25hcb.append('psa6: ' + repr(psa6))


[?25l:[?2004h[?25hcb.append('psa7: ' + repr(psa7))


[?25l:[?2004h[?25hcb.append('psa8: ' + repr(psa8))


[?25l:[?2004h[?25hcb.append('psa9: ' + repr(psa9))


[?25l:[?2004h[?25hcb.append('psaA: ' + repr(psaA))


[?25l:[?2004h[?25hcb.append('psaB: ' + repr(psaB))


[?25l:[?2004h[?25hcb.append('psaC: ' + repr(psaC))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hpsar = vim.Function('SelfArgs', args=[{'abcArgsPSAr': 'abcAr


gsPSArVal'}], self={'abcSelfPSAr': 'abcSelfPSArVal'})


[?25l:[?2004h[?25hpsar.args[0]['abcArgsPSAr2'] = [psar.self, psar.args[0]]


[?25l:[?2004h[?25hpsar.self['rec'] = psar


[?25l:[?2004h[?25hpsar.self['self'] = psar.self


[?25l:[?2004h[?25hpsar.self['args'] = psar.args


[?25l:[?2004h[?25h


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    cb.append('psar: ' + repr(psar))


[?25l:[?2004h[?25hexcept Exception:


[?25l:[?2004h[?25h    cb.append('!!!!!!!! Caught exception: ' + emsg(sys.exc_i


nfo()))


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put ='s(a): '.string(py3eval('a'))


[?25l:[?2004h[?25h:$put ='s(pa1): '.string(py3eval('pa1'))


[?25l:[?2004h[?25h:$put ='s(pa2): '.string(py3eval('pa2'))


[?25l:[?2004h[?25h:$put ='s(pa3): '.string(py3eval('pa3'))


[?25l:[?2004h[?25h:$put ='s(pa4): '.string(py3eval('pa4'))


[?25l:[?2004h[?25h:$put ='s(sa): '.string(py3eval('sa'))


[?25l:[?2004h[?25h:$put ='s(psa1): '.string(py3eval('psa1'))


[?25l:[?2004h[?25h:$put ='s(psa2): '.string(py3eval('psa2'))


[?25l:[?2004h[?25h:$put ='s(psa3): '.string(py3eval('psa3'))


[?25l:[?2004h[?25h:$put ='s(psa4): '.string(py3eval('psa4'))


[?25l:[?2004h[?25h:$put ='s(psa5): '.string(py3eval('psa5'))


[?25l:[?2004h[?25h:$put ='s(psa6): '.string(py3eval('psa6'))


[?25l:[?2004h[?25h:$put ='s(psa7): '.string(py3eval('psa7'))


[?25l:[?2004h[?25h:$put ='s(psa8): '.string(py3eval('psa8'))


[?25l:[?2004h[?25h:$put ='s(psa9): '.string(py3eval('psa9'))


[?25l:[?2004h[?25h:$put ='s(psaA): '.string(py3eval('psaA'))


[?25l:[?2004h[?25h:$put ='s(psaB): '.string(py3eval('psaB'))


[?25l:[?2004h[?25h:$put ='s(psaC): '.string(py3eval('psaC'))


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:for v in ['sa', 'psa1', 'psa2', 'psa3', 'psa4', 'psa5', 'ps


a6', 'psa7', 'psa8', 'psa9', 'psaA', 'psaB', 'psaC']


[?25l:[?2004h[?25h:   let d = {'f': py3eval(v)}


[?25l:[?2004h[?25h:   $put ='d.'.v.'(): '.string(d.f())


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a()', a, )


[?25l:[?2004h[?25h:py3 ecall('pa1()', pa1, )


[?25l:[?2004h[?25h:py3 ecall('pa2()', pa2, )


[?25l:[?2004h[?25h:py3 ecall('pa3()', pa3, )


[?25l:[?2004h[?25h:py3 ecall('pa4()', pa4, )


[?25l:[?2004h[?25h:py3 ecall('sa()', sa, )


[?25l:[?2004h[?25h:py3 ecall('psa1()', psa1, )


[?25l:[?2004h[?25h:py3 ecall('psa2()', psa2, )


[?25l:[?2004h[?25h:py3 ecall('psa3()', psa3, )


[?25l:[?2004h[?25h:py3 ecall('psa4()', psa4, )


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(42, 43)', a, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa1(42, 43)', pa1, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa2(42, 43)', pa2, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa3(42, 43)', pa3, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa4(42, 43)', pa4, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('sa(42, 43)', sa, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa1(42, 43)', psa1, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa2(42, 43)', psa2, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa3(42, 43)', psa3, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa4(42, 43)', psa4, 42, 43)


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(42, self={"20": 1})', a, 42, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa1(42, self={"20": 1})', pa1, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa2(42, self={"20": 1})', pa2, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa3(42, self={"20": 1})', pa3, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa4(42, self={"20": 1})', pa4, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('sa(42, self={"20": 1})', sa, 42, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa1(42, self={"20": 1})', psa1, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa2(42, self={"20": 1})', psa2, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa3(42, self={"20": 1})', psa3, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa4(42, self={"20": 1})', psa4, 42, self={'20':


1})


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(self={"20": 1})', a, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa1(self={"20": 1})', pa1, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa2(self={"20": 1})', pa2, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa3(self={"20": 1})', pa3, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa4(self={"20": 1})', pa4, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('sa(self={"20": 1})', sa, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa1(self={"20": 1})', psa1, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa2(self={"20": 1})', psa2, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa3(self={"20": 1})', psa3, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa4(self={"20": 1})', psa4, self={'20': 1})


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef s(v):


[?25l:[?2004h[?25h    if v is None:


[?25l:[?2004h[?25h        return repr(v)


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return str(vim.Function('string')(v), 'utf-8')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.args: ' + s(a.args))


[?25l:[?2004h[?25hcb.append('pa1.args: ' + s(pa1.args))


[?25l:[?2004h[?25hcb.append('pa2.args: ' + s(pa2.args))


[?25l:[?2004h[?25hcb.append('pa3.args: ' + s(pa3.args))


[?25l:[?2004h[?25hcb.append('pa4.args: ' + s(pa4.args))


[?25l:[?2004h[?25hcb.append('sa.args: ' + s(sa.args))


[?25l:[?2004h[?25hcb.append('psa1.args: ' + s(psa1.args))


[?25l:[?2004h[?25hcb.append('psa2.args: ' + s(psa2.args))


[?25l:[?2004h[?25hcb.append('psa3.args: ' + s(psa3.args))


[?25l:[?2004h[?25hcb.append('psa4.args: ' + s(psa4.args))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.self: ' + s(a.self))


[?25l:[?2004h[?25hcb.append('pa1.self: ' + s(pa1.self))


[?25l:[?2004h[?25hcb.append('pa2.self: ' + s(pa2.self))


[?25l:[?2004h[?25hcb.append('pa3.self: ' + s(pa3.self))


[?25l:[?2004h[?25hcb.append('pa4.self: ' + s(pa4.self))


[?25l:[?2004h[?25hcb.append('sa.self: ' + s(sa.self))


[?25l:[?2004h[?25hcb.append('psa1.self: ' + s(psa1.self))


[?25l:[?2004h[?25hcb.append('psa2.self: ' + s(psa2.self))


[?25l:[?2004h[?25hcb.append('psa3.self: ' + s(psa3.self))


[?25l:[?2004h[?25hcb.append('psa4.self: ' + s(psa4.self))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.name: ' + s(a.name))


[?25l:[?2004h[?25hcb.append('pa1.name: ' + s(pa1.name))


[?25l:[?2004h[?25hcb.append('pa2.name: ' + s(pa2.name))


[?25l:[?2004h[?25hcb.append('pa3.name: ' + s(pa3.name))


[?25l:[?2004h[?25hcb.append('pa4.name: ' + s(pa4.name))


[?25l:[?2004h[?25hcb.append('sa.name: ' + s(sa.name))


[?25l:[?2004h[?25hcb.append('psa1.name: ' + s(psa1.name))


[?25l:[?2004h[?25hcb.append('psa2.name: ' + s(psa2.name))


[?25l:[?2004h[?25hcb.append('psa3.name: ' + s(psa3.name))


[?25l:[?2004h[?25hcb.append('psa4.name: ' + s(psa4.name))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.auto_rebind: ' + s(a.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa1.auto_rebind: ' + s(pa1.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa2.auto_rebind: ' + s(pa2.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa3.auto_rebind: ' + s(pa3.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa4.auto_rebind: ' + s(pa4.auto_rebind))


[?25l:[?2004h[?25hcb.append('sa.auto_rebind: ' + s(sa.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa1.auto_rebind: ' + s(psa1.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa2.auto_rebind: ' + s(psa2.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa3.auto_rebind: ' + s(psa3.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa4.auto_rebind: ' + s(psa4.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa5.auto_rebind: ' + s(psa5.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa6.auto_rebind: ' + s(psa6.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa7.auto_rebind: ' + s(psa7.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa8.auto_rebind: ' + s(psa8.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa9.auto_rebind: ' + s(psa9.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaA.auto_rebind: ' + s(psaA.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaB.auto_rebind: ' + s(psaB.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaC.auto_rebind: ' + s(psaC.auto_rebind))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel s


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel a


[?25l:[?2004h[?25hdel pa1


[?25l:[?2004h[?25hdel pa2


[?25l:[?2004h[?25hdel pa3


[?25l:[?2004h[?25hdel pa4


[?25l:[?2004h[?25hdel sa


[?25l:[?2004h[?25hdel psa1


[?25l:[?2004h[?25hdel psa2


[?25l:[?2004h[?25hdel psa3


[?25l:[?2004h[?25hdel psa4


[?25l:[?2004h[?25hdel psa5


[?25l:[?2004h[?25hdel psa6


[?25l:[?2004h[?25hdel psa7


[?25l:[?2004h[?25hdel psa8


[?25l:[?2004h[?25hdel psa9


[?25l:[?2004h[?25hdel psaA


[?25l:[?2004h[?25hdel psaB


[?25l:[?2004h[?25hdel psaC


[?25l:[?2004h[?25hdel psar


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel ecall


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test stdout/stderr


[?25l:[?2004h[?25h:redir => messages


[?25l:[?2004h[?25h:py3 sys.stdout.write('abc8') ; sys.stdout.write('def')


[?25l:[?2004h[?25h:py3 sys.stderr.write('abc9') ; sys.stderr.write('def')


[?25l:[?2004h[?25h:py3 sys.stdout.writelines(iter('abcA'))


[?25l:[?2004h[?25h:py3 sys.stderr.writelines(iter('abcB'))


[?25l:[?2004h[?25h:redir END


[?25l:[?2004h[?25h:$put =string(substitute(messages, '\d\+', '', 'g'))


[?25l:[?2004h[?25h:" Test subclassing


[?25l:[?2004h[?25h:fun Put(...)


[?25l:[?2004h[?25h:   $put =string(a:000)


[?25l:[?2004h[?25h:   return a:000


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hclass DupDict(vim.Dictionary):


[?25l:[?2004h[?25h    def __setitem__(self, key, value):


[?25l:[?2004h[?25h        super(DupDict, self).__setitem__(key, value)


[?25l:[?2004h[?25h        super(DupDict, self).__setitem__('dup_' + key, val


ue)


[?25l:[?2004h[?25hdd = DupDict()


[?25l:[?2004h[?25hdd['a'] = 'b'


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass DupList(vim.List):


[?25l:[?2004h[?25h    def __getitem__(self, idx):


[?25l:[?2004h[?25h        return [super(DupList, self).__getitem__(idx)] * 2


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdl = DupList()


[?25l:[?2004h[?25hdl2 = DupList(iter('abcC'))


[?25l:[?2004h[?25hdl.extend(dl2[0])


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass DupFun(vim.Function):


[?25l:[?2004h[?25h    def __call__(self, arg):


[?25l:[?2004h[?25h        return super(DupFun, self).__call__(arg, arg)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdf = DupFun('Put')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put =string(sort(keys(py3eval('dd'))))


[?25l:[?2004h[?25h:$put =string(py3eval('dl'))


[?25l:[?2004h[?25h:$put =string(py3eval('dl2'))


[?25l:[?2004h[?25h:$put =string(py3eval('df(2)'))


[?25l:[?2004h[?25h:$put =string(py3eval('dl') is# py3eval('dl'))


[?25l:[?2004h[?25h:$put =string(py3eval('dd') is# py3eval('dd'))


[?25l:[?2004h[?25h:$put =string(py3eval('df'))


[?25l:[?2004h[?25h:delfunction Put


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdel DupDict


[?25l:[?2004h[?25hdel DupList


[?25l:[?2004h[?25hdel DupFun


[?25l:[?2004h[?25hdel dd


[?25l:[?2004h[?25hdel dl


[?25l:[?2004h[?25hdel dl2


[?25l:[?2004h[?25hdel df


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test chdir


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25himport os


[?25l:[?2004h[?25hfnamemodify = vim.Function('fnamemodify')


[?25l:[?2004h[?25hcb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25hcb.append(vim.eval('@%'))


[?25l:[?2004h[?25hos.chdir('..')


[?25l:[?2004h[?25hpath = fnamemodify('.', ':p:h:t')


[?25l:[?2004h[?25hif path != b'src':


[?25l:[?2004h[?25h  # Running tests from a shadow directory, so move up anot


her level


[?25l:[?2004h[?25h  # This will result in @% looking like shadow/testdir/tes


t87.in, hence the


[?25l:[?2004h[?25h  # slicing to remove the leading path and path separator


[?25l:[?2004h[?25h  os.chdir('..')


[?25l:[?2004h[?25h  cb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25h  cb.append(vim.eval('@%')[len(path)+1:].replace(os.path.s


ep, '/'))


[?25l:[?2004h[?25h  os.chdir(path)


[?25l:[?2004h[?25helse:


[?25l:[?2004h[?25h  cb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25h  cb.append(vim.eval('@%').replace(os.path.sep, '/'))


[?25l:[?2004h[?25hdel path


[?25l:[?2004h[?25hos.chdir('testdir')


[?25l:[?2004h[?25hcb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25hcb.append(vim.eval('@%'))


[?25l:[?2004h[?25hdel fnamemodify


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test errors


[?25l:[?2004h[?25h:fun F() dict


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:fun D()


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hd = vim.Dictionary()


[?25l:[?2004h[?25hned = vim.Dictionary(foo='bar', baz='abcD')


[?25l:[?2004h[?25hdl = vim.Dictionary(a=1)


[?25l:[?2004h[?25hdl.locked = True


[?25l:[?2004h[?25hl = vim.List()


[?25l:[?2004h[?25hll = vim.List('abcE')


[?25l:[?2004h[?25hll.locked = True


[?25l:[?2004h[?25hnel = vim.List('abcO')


[?25l:[?2004h[?25hf = vim.Function('string')


[?25l:[?2004h[?25hfd = vim.Function('F')


[?25l:[?2004h[?25hfdel = vim.Function('D')


[?25l:[?2004h[?25hvim.command('delfunction D')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef subexpr_test(expr, name, subexprs):


[?25l:[?2004h[?25h    cb.append('>>> Testing %s using %s' % (name, expr)


)

[?25l:[?2004h[?25h    for subexpr in subexprs:


[?25l:[?2004h[?25h        ee(expr % subexpr)


[?25l:[?2004h[?25h    cb.append('<<< Finished')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef stringtochars_test(expr):


[?25l:[?2004h[?25h    return subexpr_test(expr, 'StringToChars', (


[?25l:[?2004h[?25h        '1',       # Fail type checks


[?25l:[?2004h[?25h        'b"\\0"',  # Fail PyString_AsStringAndSize(obj


ect, , NULL) check


[?25l:[?2004h[?25h        '"\\0"',   # Fail PyString_AsStringAndSize(byt


es, , NULL) check


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass Mapping(object):


[?25l:[?2004h[?25h    def __init__(self, d):


[?25l:[?2004h[?25h        self.d = d


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __getitem__(self, key):


[?25l:[?2004h[?25h        return self.d[key]


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        return self.d.keys()


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def items(self):


[?25l:[?2004h[?25h        return self.d.items()


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef convertfrompyobject_test(expr, recurse=True):


[?25l:[?2004h[?25h    # pydict_to_tv


[?25l:[?2004h[?25h    stringtochars_test(expr % '{%s : 1}')


[?25l:[?2004h[?25h    if recurse:


[?25l:[?2004h[?25h        convertfrompyobject_test(expr % '{"abcF" : %s}


', False)


[?25l:[?2004h[?25h    # pymap_to_tv


[?25l:[?2004h[?25h    stringtochars_test(expr % 'Mapping({%s : 1})')


[?25l:[?2004h[?25h    if recurse:


[?25l:[?2004h[?25h        convertfrompyobject_test(expr % 'Mapping({"abc


G" : %s})', False)


[?25l:[?2004h[?25h    # pyseq_to_tv


[?25l:[?2004h[?25h    iter_test(expr)


[?25l:[?2004h[?25h    return subexpr_test(expr, 'ConvertFromPyObject', (


[?25l:[?2004h[?25h        'None',                 # Not conversible


[?25l:[?2004h[?25h        '{b"": 1}',             # Empty key not allowe


d

[?25l:[?2004h[?25h        '{"": 1}',              # Same, but with unico


de object


[?25l:[?2004h[?25h        'FailingMapping()',     #


[?25l:[?2004h[?25h        'FailingMappingKey()',  #


[?25l:[?2004h[?25h        'FailingNumber()',      #


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef convertfrompymapping_test(expr):


[?25l:[?2004h[?25h    convertfrompyobject_test(expr)


[?25l:[?2004h[?25h    return subexpr_test(expr, 'ConvertFromPyMapping', 


(

[?25l:[?2004h[?25h        '[]',


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef iter_test(expr):


[?25l:[?2004h[?25h    return subexpr_test(expr, '*Iter*', (


[?25l:[?2004h[?25h        'FailingIter()',


[?25l:[?2004h[?25h        'FailingIterNext()',


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef number_test(expr, natural=False, unsigned=False):


[?25l:[?2004h[?25h    if natural:


[?25l:[?2004h[?25h        unsigned = True


[?25l:[?2004h[?25h    return subexpr_test(expr, 'NumberToLong', (


[?25l:[?2004h[?25h        '[]',


[?25l:[?2004h[?25h        'None',


[?25l:[?2004h[?25h    ) + (('-1',) if unsigned else ())


[?25l:[?2004h[?25h    + (('0',) if natural else ()))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingTrue(object):


[?25l:[?2004h[?25h    def __bool__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('bool')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIter(object):


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('iter')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIterNext(object):


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        return self


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __next__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('next')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIterNextN(object):


[?25l:[?2004h[?25h    def __init__(self, n):


[?25l:[?2004h[?25h        self.n = n


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        return self


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __next__(self):


[?25l:[?2004h[?25h        if self.n:


[?25l:[?2004h[?25h            self.n -= 1


[?25l:[?2004h[?25h            return 1


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            raise NotImplementedError('next N')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingMappingKey(object):


[?25l:[?2004h[?25h    def __getitem__(self, item):


[?25l:[?2004h[?25h        raise NotImplementedError('getitem:mappingkey'


)

[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        return list("abcH")


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingMapping(object):


[?25l:[?2004h[?25h    def __getitem__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('getitem:mapping')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        raise NotImplementedError('keys')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingList(list):


[?25l:[?2004h[?25h    def __getitem__(self, idx):


[?25l:[?2004h[?25h        if i == 2:


[?25l:[?2004h[?25h            raise NotImplementedError('getitem:list')


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            return super(FailingList, self).__getitem_


_(idx)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass NoArgsCall(object):


[?25l:[?2004h[?25h    def __call__(self):


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingCall(object):


[?25l:[?2004h[?25h    def __call__(self, path):


[?25l:[?2004h[?25h        raise NotImplementedError('call')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingNumber(object):


[?25l:[?2004h[?25h    def __int__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('int')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append("> Output")


[?25l:[?2004h[?25hcb.append(">> OutputSetattr")


[?25l:[?2004h[?25hee('del sys.stdout.softspace')


[?25l:[?2004h[?25hnumber_test('sys.stdout.softspace = %s', unsigned=True


)

[?25l:[?2004h[?25hnumber_test('sys.stderr.softspace = %s', unsigned=True


)

[?25l:[?2004h[?25hee('assert sys.stdout.isatty()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.seekable()==False')


[?25l:[?2004h[?25hee('sys.stdout.close()')


[?25l:[?2004h[?25hee('sys.stdout.flush()')


[?25l:[?2004h[?25hee('assert sys.stderr.isatty()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.seekable()==False')


[?25l:[?2004h[?25hee('sys.stderr.close()')


[?25l:[?2004h[?25hee('sys.stderr.flush()')


[?25l:[?2004h[?25hee('sys.stdout.attr = None')


[?25l:[?2004h[?25hcb.append(">> OutputWrite")


[?25l:[?2004h[?25hee('assert sys.stdout.writable()==True')


[?25l:[?2004h[?25hee('assert sys.stdout.readable()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.writable()==True')


[?25l:[?2004h[?25hee('assert sys.stderr.readable()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.closed()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.closed()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.errors=="strict"')


[?25l:[?2004h[?25hee('assert sys.stderr.errors=="strict"')


[?25l:[?2004h[?25hee('assert sys.stdout.encoding==sys.stderr.encoding')


[?25l:[?2004h[?25hee('sys.stdout.write(None)')


[?25l:[?2004h[?25hcb.append(">> OutputWriteLines")


[?25l:[?2004h[?25hee('sys.stdout.writelines(None)')


[?25l:[?2004h[?25hee('sys.stdout.writelines([1])')


[?25l:[?2004h[?25hiter_test('sys.stdout.writelines(%s)')


[?25l:[?2004h[?25hcb.append("> VimCommand")


[?25l:[?2004h[?25hstringtochars_test('vim.command(%s)')


[?25l:[?2004h[?25hee('vim.command("", 2)')


[?25l:[?2004h[?25h#! Not checked: vim->python exceptions translating: ch


ecked later


[?25l:[?2004h[?25hcb.append("> VimToPython")


[?25l:[?2004h[?25h#! Not checked: everything: needs errors in internal p


ython functions


[?25l:[?2004h[?25hcb.append("> VimEval")


[?25l:[?2004h[?25hstringtochars_test('vim.eval(%s)')


[?25l:[?2004h[?25hee('vim.eval("", FailingTrue())')


[?25l:[?2004h[?25h#! Not checked: everything: needs errors in internal p


ython functions


[?25l:[?2004h[?25hcb.append("> VimEvalPy")


[?25l:[?2004h[?25hstringtochars_test('vim.bindeval(%s)')


[?25l:[?2004h[?25hee('vim.eval("", 2)')


[?25l:[?2004h[?25h#! Not checked: vim->python exceptions translating: ch


ecked later


[?25l:[?2004h[?25hcb.append("> VimStrwidth")


[?25l:[?2004h[?25hstringtochars_test('vim.strwidth(%s)')


[?25l:[?2004h[?25hcb.append("> VimForeachRTP")


[?25l:[?2004h[?25hee('vim.foreach_rtp(None)')


[?25l:[?2004h[?25hee('vim.foreach_rtp(NoArgsCall())')


[?25l:[?2004h[?25hee('vim.foreach_rtp(FailingCall())')


[?25l:[?2004h[?25hee('vim.foreach_rtp(int, 2)')


[?25l:[?2004h[?25hcb.append('> import')


[?25l:[?2004h[?25hold_rtp = vim.options['rtp']


[?25l:[?2004h[?25hvim.options['rtp'] = os.getcwd().replace('\\', '\\\\')


.replace(',', '\\,')


[?25l:[?2004h[?25hee('import xxx_no_such_module_xxx')


[?25l:[?2004h[?25hee('import failing_import')


[?25l:[?2004h[?25hee('import failing')


[?25l:[?2004h[?25hvim.options['rtp'] = old_rtp


[?25l:[?2004h[?25hdel old_rtp


[?25l:[?2004h[?25hcb.append("> Options")


[?25l:[?2004h[?25hcb.append(">> OptionsItem")


[?25l:[?2004h[?25hee('vim.options["abcQ"]')


[?25l:[?2004h[?25hee('vim.options[""]')


[?25l:[?2004h[?25hstringtochars_test('vim.options[%s]')


[?25l:[?2004h[?25hcb.append(">> OptionsContains")


[?25l:[?2004h[?25hstringtochars_test('%s in vim.options')


[?25l:[?2004h[?25hcb.append("> Dictionary")


[?25l:[?2004h[?25hcb.append(">> DictionaryConstructor")


[?25l:[?2004h[?25hee('vim.Dictionary("abcI")')


[?25l:[?2004h[?25h##! Not checked: py_dict_alloc failure


[?25l:[?2004h[?25hcb.append(">> DictionarySetattr")


[?25l:[?2004h[?25hee('del d.locked')


[?25l:[?2004h[?25hee('d.locked = FailingTrue()')


[?25l:[?2004h[?25hee('vim.vvars.locked = False')


[?25l:[?2004h[?25hee('d.scope = True')


[?25l:[?2004h[?25hee('d.xxx = True')


[?25l:[?2004h[?25hcb.append(">> _DictionaryItem")


[?25l:[?2004h[?25hee('d.get("a", 2, 3)')


[?25l:[?2004h[?25hstringtochars_test('d.get(%s)')


[?25l:[?2004h[?25hee('d.pop("a")')


[?25l:[?2004h[?25hee('dl.pop("a")')


[?25l:[?2004h[?25hcb.append(">> DictionaryContains")


[?25l:[?2004h[?25hee('"" in d')


[?25l:[?2004h[?25hee('0 in d')


[?25l:[?2004h[?25hcb.append(">> DictionaryIterNext")


[?25l:[?2004h[?25hee('for i in ned: ned["a"] = 1')


[?25l:[?2004h[?25hdel i


[?25l:[?2004h[?25hcb.append(">> DictionaryAssItem")


[?25l:[?2004h[?25hee('dl["b"] = 1')


[?25l:[?2004h[?25hstringtochars_test('d[%s] = 1')


[?25l:[?2004h[?25hconvertfrompyobject_test('d["a"] = %s')


[?25l:[?2004h[?25hcb.append(">> DictionaryUpdate")


[?25l:[?2004h[?25hcb.append(">>> kwargs")


[?25l:[?2004h[?25hcb.append(">>> iter")


[?25l:[?2004h[?25hee('d.update(FailingMapping())')


[?25l:[?2004h[?25hee('d.update([FailingIterNext()])')


[?25l:[?2004h[?25hee('d.update([FailingIterNextN(1)])')


[?25l:[?2004h[?25hiter_test('d.update(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('d.update(%s)')


[?25l:[?2004h[?25hstringtochars_test('d.update(((%s, 0),))')


[?25l:[?2004h[?25hconvertfrompyobject_test('d.update((("a", %s),))')


[?25l:[?2004h[?25hcb.append(">> DictionaryPopItem")


[?25l:[?2004h[?25hee('d.popitem(1, 2)')


[?25l:[?2004h[?25hcb.append(">> DictionaryHasKey")


[?25l:[?2004h[?25hee('d.has_key()')


[?25l:[?2004h[?25hcb.append("> List")


[?25l:[?2004h[?25hcb.append(">> ListConstructor")


[?25l:[?2004h[?25hee('vim.List(1, 2)')


[?25l:[?2004h[?25hee('vim.List(a=1)')


[?25l:[?2004h[?25hiter_test('vim.List(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('vim.List([%s])')


[?25l:[?2004h[?25hcb.append(">> ListItem")


[?25l:[?2004h[?25hee('l[1000]')


[?25l:[?2004h[?25hcb.append(">> ListAssItem")


[?25l:[?2004h[?25hee('ll[1] = 2')


[?25l:[?2004h[?25hee('l[1000] = 3')


[?25l:[?2004h[?25hcb.append(">> ListAssSlice")


[?25l:[?2004h[?25hee('ll[1:100] = "abcJ"')


[?25l:[?2004h[?25hiter_test('l[:] = %s')


[?25l:[?2004h[?25hee('nel[1:10:2]  = "abcK"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[1:10:2]  = "a"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[1:1:-1]  = "a"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[:] = FailingIterNextN(2)')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hconvertfrompyobject_test('l[:] = [%s]')


[?25l:[?2004h[?25hcb.append(">> ListConcatInPlace")


[?25l:[?2004h[?25hiter_test('l.extend(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('l.extend([%s])')


[?25l:[?2004h[?25hcb.append(">> ListSetattr")


[?25l:[?2004h[?25hee('del l.locked')


[?25l:[?2004h[?25hee('l.locked = FailingTrue()')


[?25l:[?2004h[?25hee('l.xxx = True')


[?25l:[?2004h[?25hcb.append("> Function")


[?25l:[?2004h[?25hcb.append(">> FunctionConstructor")


[?25l:[?2004h[?25hcb.append(">>> FunctionConstructor")


[?25l:[?2004h[?25hee('vim.Function("123")')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx")')


[?25l:[?2004h[?25hee('vim.Function("xxx#non#existent#function#xxx")')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx2", arg


s=[])')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx3", sel


f={})')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx4", arg


s=[], self={})')


[?25l:[?2004h[?25hcb.append(">>> FunctionNew")


[?25l:[?2004h[?25hee('vim.Function("tr", self="abcFuncSelf")')


[?25l:[?2004h[?25hee('vim.Function("tr", args=427423)')


[?25l:[?2004h[?25hee('vim.Function("tr", self="abcFuncSelf2", args="abcF


uncArgs2")')


[?25l:[?2004h[?25hee('vim.Function(self="abcFuncSelf2", args="abcFuncArg


s2")')


[?25l:[?2004h[?25hee('vim.Function("tr", "", self="abcFuncSelf2", args="


abcFuncArgs2")')


[?25l:[?2004h[?25hee('vim.Function("tr", "")')


[?25l:[?2004h[?25hcb.append(">> FunctionCall")


[?25l:[?2004h[?25hconvertfrompyobject_test('f(%s)')


[?25l:[?2004h[?25hconvertfrompymapping_test('fd(self=%s)')


[?25l:[?2004h[?25hcb.append("> TabPage")


[?25l:[?2004h[?25hcb.append(">> TabPageAttr")


[?25l:[?2004h[?25hee('vim.current.tabpage.xxx')


[?25l:[?2004h[?25hcb.append("> TabList")


[?25l:[?2004h[?25hcb.append(">> TabListItem")


[?25l:[?2004h[?25hee('vim.tabpages[1000]')


[?25l:[?2004h[?25hcb.append("> Window")


[?25l:[?2004h[?25hcb.append(">> WindowAttr")


[?25l:[?2004h[?25hee('vim.current.window.xxx')


[?25l:[?2004h[?25hcb.append(">> WindowSetattr")


[?25l:[?2004h[?25hee('vim.current.window.buffer = 0')


[?25l:[?2004h[?25hee('vim.current.window.cursor = (100000000, 100000000)


')

[?25l:[?2004h[?25hee('vim.current.window.cursor = True')


[?25l:[?2004h[?25hnumber_test('vim.current.window.height = %s', unsigned


=True)


[?25l:[?2004h[?25hnumber_test('vim.current.window.width = %s', unsigned=


True)


[?25l:[?2004h[?25hee('vim.current.window.xxxxxx = True')


[?25l:[?2004h[?25hcb.append("> WinList")


[?25l:[?2004h[?25hcb.append(">> WinListItem")


[?25l:[?2004h[?25hee('vim.windows[1000]')


[?25l:[?2004h[?25hcb.append("> Buffer")


[?25l:[?2004h[?25hcb.append(">> StringToLine (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[0] = "\\na"')


[?25l:[?2004h[?25hee('vim.current.buffer[0] = b"\\na"')


[?25l:[?2004h[?25hcb.append(">> SetBufferLine (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[0] = True')


[?25l:[?2004h[?25hcb.append(">> SetBufferLineList (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[:] = True')


[?25l:[?2004h[?25hee('vim.current.buffer[:] = ["\\na", "bc"]')


[?25l:[?2004h[?25hcb.append(">> InsertBufferLines (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer.append(None)')


[?25l:[?2004h[?25hee('vim.current.buffer.append(["\\na", "bc"])')


[?25l:[?2004h[?25hee('vim.current.buffer.append("\\nbc")')


[?25l:[?2004h[?25hcb.append(">> RBItem")


[?25l:[?2004h[?25hee('vim.current.buffer[100000000]')


[?25l:[?2004h[?25hcb.append(">> RBAsItem")


[?25l:[?2004h[?25hee('vim.current.buffer[100000000] = ""')


[?25l:[?2004h[?25hcb.append(">> BufferAttr")


[?25l:[?2004h[?25hee('vim.current.buffer.xxx')


[?25l:[?2004h[?25hcb.append(">> BufferSetattr")


[?25l:[?2004h[?25hee('vim.current.buffer.name = True')


[?25l:[?2004h[?25hee('vim.current.buffer.xxx = True')


[?25l:[?2004h[?25hcb.append(">> BufferMark")


[?25l:[?2004h[?25hee('vim.current.buffer.mark(0)')


[?25l:[?2004h[?25hee('vim.current.buffer.mark("abcM")')


[?25l:[?2004h[?25hee('vim.current.buffer.mark("!")')


[?25l:[?2004h[?25hcb.append(">> BufferRange")


[?25l:[?2004h[?25hee('vim.current.buffer.range(1, 2, 3)')


[?25l:[?2004h[?25hcb.append("> BufMap")


[?25l:[?2004h[?25hcb.append(">> BufMapItem")


[?25l:[?2004h[?25hee('vim.buffers[100000000]')


[?25l:[?2004h[?25hnumber_test('vim.buffers[%s]', natural=True)


[?25l:[?2004h[?25hcb.append("> Current")


[?25l:[?2004h[?25hcb.append(">> CurrentGetattr")


[?25l:[?2004h[?25hee('vim.current.xxx')


[?25l:[?2004h[?25hcb.append(">> CurrentSetattr")


[?25l:[?2004h[?25hee('vim.current.line = True')


[?25l:[?2004h[?25hee('vim.current.buffer = True')


[?25l:[?2004h[?25hee('vim.current.window = True')


[?25l:[?2004h[?25hee('vim.current.tabpage = True')


[?25l:[?2004h[?25hee('vim.current.xxx = True')


[?25l:[?2004h[?25hdel d


[?25l:[?2004h[?25hdel ned


[?25l:[?2004h[?25hdel dl


[?25l:[?2004h[?25hdel l


[?25l:[?2004h[?25hdel ll


[?25l:[?2004h[?25hdel nel


[?25l:[?2004h[?25hdel f


[?25l:[?2004h[?25hdel fd


[?25l:[?2004h[?25hdel fdel


[?25l:[?2004h[?25hdel subexpr_test


[?25l:[?2004h[?25hdel stringtochars_test


[?25l:[?2004h[?25hdel Mapping


[?25l:[?2004h[?25hdel convertfrompyobject_test


[?25l:[?2004h[?25hdel convertfrompymapping_test


[?25l:[?2004h[?25hdel iter_test


[?25l:[?2004h[?25hdel number_test


[?25l:[?2004h[?25hdel FailingTrue


[?25l:[?2004h[?25hdel FailingIter


[?25l:[?2004h[?25hdel FailingIterNext


[?25l:[?2004h[?25hdel FailingIterNextN


[?25l:[?2004h[?25hdel FailingMapping


[?25l:[?2004h[?25hdel FailingMappingKey


[?25l:[?2004h[?25hdel FailingList


[?25l:[?2004h[?25hdel NoArgsCall


[?25l:[?2004h[?25hdel FailingCall


[?25l:[?2004h[?25hdel FailingNumber


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:delfunction F


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test import


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hsys.path.insert(0, os.path.join(os.getcwd(), 'python_b


efore'))


[?25l:[?2004h[?25hsys.path.append(os.path.join(os.getcwd(), 'python_afte


r'))


[?25l:[?2004h[?25hvim.options['rtp'] = os.getcwd().replace(',', '\\,').r


eplace('\\', '\\\\')


[?25l:[?2004h[?25hl = []


[?25l:[?2004h[?25hdef callback(path):


[?25l:[?2004h[?25h    l.append(os.path.relpath(path))


[?25l:[?2004h[?25hvim.foreach_rtp(callback)


[?25l:[?2004h[?25hcb.append(repr(l))


[?25l:[?2004h[?25hdel l


[?25l:[?2004h[?25hdef callback(path):


[?25l:[?2004h[?25h    return os.path.relpath(path)


[?25l:[?2004h[?25hcb.append(repr(vim.foreach_rtp(callback)))


[?25l:[?2004h[?25hdel callback


[?25l:[?2004h[?25hfrom module import dir as d


[?25l:[?2004h[?25hfrom modulex import ddir


[?25l:[?2004h[?25hcb.append(d + ',' + ddir)


[?25l:[?2004h[?25himport before


[?25l:[?2004h[?25hcb.append(before.dir)


[?25l:[?2004h[?25himport after


[?25l:[?2004h[?25hcb.append(after.dir)


[?25l:[?2004h[?25himport topmodule as tm


[?25l:[?2004h[?25himport topmodule.submodule as tms


[?25l:[?2004h[?25himport topmodule.submodule.subsubmodule.subsubsubmodul


e as tmsss


[?25l:[?2004h[?25hcb.append(tm.__file__.replace(os.path.sep, '/')[-len('


modulex/topmodule/__init__.py'):])


[?25l:[?2004h[?25hcb.append(tms.__file__.replace(os.path.sep, '/')[-len(


'modulex/topmodule/submodule/__init__.py'):])


[?25l:[?2004h[?25hcb.append(tmsss.__file__.replace(os.path.sep, '/')[-le


n('modulex/topmodule/submodule/subsubmodule/subsubsubmodule.py'):])


[?25l:[?2004h[?25hdel before


[?25l:[?2004h[?25hdel after


[?25l:[?2004h[?25hdel d


[?25l:[?2004h[?25hdel ddir


[?25l:[?2004h[?25hdel tm


[?25l:[?2004h[?25hdel tms


[?25l:[?2004h[?25hdel tmsss


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test exceptions


[?25l:[?2004h[?25h:fun Exe(e)


[?25l:[?2004h[?25h:   execute a:e


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hExe = vim.bindeval('function("Exe")')


[?25l:[?2004h[?25hee('vim.command("throw \'abcN\'")')


[?25l:[?2004h[?25hee('Exe("throw \'def\'")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'throw \'\'ghi\'\'\')")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'echoerr \'\'jkl\'\'\')")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'xxx_non_existent_command_xxx\')"


)')


[?25l:[?2004h[?25hee('vim.eval("xxx_unknown_function_xxx()")')


[?25l:[?2004h[?25hee('vim.bindeval("Exe(\'xxx_non_existent_command_xxx


\')")')


[?25l:[?2004h[?25hdel Exe


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:delfunction Exe


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Regression: interrupting vim.command propagates t


o next vim.command


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef test_keyboard_interrupt():


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        vim.command('while 1 | endwhile')


[?25l:[?2004h[?25h    except KeyboardInterrupt:


[?25l:[?2004h[?25h        cb.append('Caught KeyboardInterrupt')


[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught exception: ' + em


sg(sys.exc_info()))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! No exception')


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        vim.command('$ put =\'Running :put\'')


[?25l:[?2004h[?25h    except KeyboardInterrupt:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught KeyboardInterrupt


')

[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught exception: ' + em


sg(sys.exc_info()))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        cb.append('No exception')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:debuggreedy


[?25l:[?2004h[?25h:call inputsave()


[?25l:[?2004h[?25h:call feedkeys("s\ns\ns\ns\nq\n")


[?25l:[?2004h[?25h:redir => output


[?25l:[?2004h[?25h:debug silent! py3 test_keyboard_interrupt()


[?25l:[?2004h[?25h:redir END


[?25l:[?2004h[?25h:0 debuggreedy


[?25l:[?2004h[?25h:call inputrestore()


[?25l:[?2004h[?25h:silent $put =output


[?25l:[?2004h[?25h:unlet output


[?25l:[?2004h[?25h:py3 del test_keyboard_interrupt


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Cleanup


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdel cb


[?25l:[?2004h[?25hdel ee


[?25l:[?2004h[?25hdel emsg


[?25l:[?2004h[?25hdel sys


[?25l:[?2004h[?25hdel os


[?25l:[?2004h[?25hdel vim


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:endfun
[?25l:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfun RunTest()
[?25l

:[?2004h  [?25h:let checkrefs = !empty($PYTHONDUMPREFS)


[?25l:[?2004h  [?25h:let start = getline(1, '$')


[?25l:[?2004h  [?25h:for i in range(checkrefs ? 10 : 1)


[?25l:[?2004h    [?25h:   if i != 0


[?25l:[?2004h      [?25h:       %d _


[?25l:[?2004h      [?25h:       call setline(1, start)


[?25l:[?2004h      [?25h:   endif


[?25l:[?2004h    [?25h:   call Test()


[?25l:[?2004h    [?25h:   if i == 0


[?25l:[?2004h      [?25h:       let result = getline(1, '$')


[?25l:[?2004h      [?25h:   endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:if checkrefs


[?25l:[?2004h    [?25h:   %d _


[?25l:[?2004h    [?25h:   call setline(1, result)


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h:endfun
[?25l:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall RunTest()
[?25l8 more lin

3 more lines[?25h[?2004l[?2004h


[?25l"a" [New File]


"b" [New File]


"c" [New File]


"0" [New File]


"1" [New File]


"a.1" [New File]


"2" [New File]


"a.2" [New File]


"b.2" [New File]


"c.2" [New File]


Already only one window


abc8def


Error detected while processing function RunTest[8]..Test:


line 1119:


abc9def


abcA


line 1121:


abcB


8 more lines[?2004h


Entering Debug mode.  Type "cont" to continue.


function RunTest[8]..Test


line 1663: py3 test_keyboard_interrupt()


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: while 1 | endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: while 1 | endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: endwhile


>[?2004hq
[?2004l[?2004h['.']

'.'

3,xx

before

after

pythonx/topmodule/__init__.py

pythonx/topmodule/submodule/__init__.py

pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py

vim.command("throw 'abcN'"):(<class 'vim.error'>, error('abcN',))

Exe("throw 'def'"):(<class 'vim.error'>, error('def',))

vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',))

vim.eval("Exe('echoerr ''jkl''')"):(<class 'vim.error'>, error('Vim(echoerr):jkll',))

vim.eval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vimm:E492: Not an editor command: xxx_non_existent_command_xxx',))

vim.eval("xxx_unknown_function_xxx()"):(<class 'vim.error'>, error('Vim:E117: Unnknown function: xxx_unknown_function_xxx',))

vim.bindeval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error(('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',))

Caught KeyboardInterrupt

Running :put

No exception



"test87.in" [Modified][Not edited] line 3164 of 3164 --100%-- col 1[?25h[?25l:[?2004h[?25hdelfunction RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1445 lines, 77744 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test87 = test61; then \
#	  if diff test.out test87.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test87.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test12.in" 52 lines, 1199 charactersTests 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 nocompatible viminfo+=nviminfo

: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/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 40 lines, 965 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:!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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het dir=.,~
[?25l[?25h[?25l:[?2004h[?25h/start of testfile/,/end of testfile/w! Xtest1
[?25l"Xtest1" [New] 4L, 70C written[?25h[?25l:[?2004h[?25h" do an ls of the current dir to find the swap file (should not be there)
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:  !ls .X*.swp >test.out


[?25l:!ls .X*.swp >test.out[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access '.X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25helse


[?25l:[?2004h  [?25h:  r !ls X*.swp >test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25h!echo first line >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70Cstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:" Do an ls of the current dir to find the swap file, remove the leading dot


[?25l:[?2004h  [?25h:" to make the result the same for all systems.


[?25l:[?2004h  [?25h:  r!ls .X*.swp
[?2004l[?2004h

[?25l:[?2004h  :[?25h  s/\.*X/X/


[?25l:[?2004h  [?25h:  .w >>test.out
[?25l"test.out" 1L, 11C appended


:[?2004h  [?25h:  undo


[?25l1 line less; before #1  0 seconds ago


:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:  !ls X*.swp >>test.out


[?25l:[?2004h  [?25h:endif
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest2
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hset dir=./Xtest2,.,~
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25h!ls X*.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access 'X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under under >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest.je
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hset dir=Xtest.je,~
[?25l[?25h[?25l:[?2004h[?25he Xtest2/Xtest3
[?25l"Xtest2/Xtest3" 4L, 70C[?25h[?25l:[?2004h[?25hswap
[?25lXtest.je/Xtest3.swp[?25h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest.je >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test12 = test61; then \
#	  if diff test.out test12.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test12.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test25.failed test.ok test.out X* viminfo
cp test25.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test25.in" 31 lines, 840 charactersTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 jumping to a tag with 'hidden' set, with symbolic link in path of tag.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 540 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" Create a link from test25.dir to the current directory.
[?25l[?25h[?25l:[?2004h[?25h!rm -f test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ln -s . test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h" Create tags.text, with the current directory name inserted.
[?25lTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST

[?25h[?25l

/[?2004h[?25htags line
[?25l

tags line:[?25h[?25l

:[?2004h[?25hr !pwd
[?25l[?25h[?2004l[?2004h[?25lSTARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST



tags line:

/<<PKGBUILDDIR>>/src/vim-athena/testdir
[?25h[?25l[?25h[?25l

/[?2004h[?25htest
[?25l

SECTION_OFF     /test25.dir/test25.in   /^#define  SECTION_OFF  3$/[?25h[?25l/<<PKGBUILDDIR>>/src/vim-athena/testdir/test25.dir@                                                                               

SECTION_OFF     /<<PKGBUILDDIR>>/src/vim-athena/testdir/test25.dirr/test25.in      /^#define  SECTION_OFF  3$/[?25h[?25l



:[?2004h[?25h.w! tags.test
[?25l"tags.test" [New File] 1 line, 115 characters written[?25h[?25l:[?2004h[?25h" Try jumping to a tag in the current file, but with a path that contains a
[?25l[?25h[?25l:[?2004h[?25h" symbolic link.  When wrong, this will give the ATTENTION message.  The next
[?25l[?25h[?25l:[?2004h[?25h" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
[?25l[?25h[?25l:[?2004h[?25hset tags=tags.test
[?25l[?25h[?25l/*tx.c*/

#define  SECTION_OFF  3

#define  NUM_SECTIONS 3



SECTION_OFF[?25h#[?25lefine  SECTION_OFF  3[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 23 characters written[?25h[?25l:[?2004h[?25h!rm -f test25.dir tags.test
[?25l[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test25 = test61; then \
#	  if diff test.out test25.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test25.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test49.in" 32 lines, 705 charactersThis 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 nocp nomore viminfo+=nviminfo

:lang mess C

:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 23 lines, 475 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endfor

:for v in keys(g:)

:  silent! exe "unlet " . v

:endfor

:unlet v

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp nomore viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hang mess C
[?25l[?25h[?25l:[?2004h[?25hso test49.vim
[?25lError detected while processing function F:


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 /<<PKGBUILDDIR>>/src/vim-athena/t


estdir/test49.vim:


line  784:


E171: Missing :endif: endwhile 


*** Test  17: OK (285127993)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"/tmp/vDTsIqM/0" [New] 53L, 1582C written14L, 358C appended26L, 824C appended34L, 986C appended


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/1" 16L, 304C appended17L, 326C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/2[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/2"' -c 'breakad


dfile 8 /tmp/vDTsIqM/1' -S /tmp/vDTsIqM/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/2" 3L, 6C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/3" 6L, 127C appended7L, 149C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/4[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/4"' -c 'breakad


dfile 4 /tmp/vDTsIqM/3' -S /tmp/vDTsIqM/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/4" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/5" 21L, 486C appended22L, 508C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/6[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/6"' -c 'breakad


dfunc 7 F' -S /tmp/vDTsIqM/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/6" 3L, 18C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/7" 13L, 364C appended14L, 386C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/8[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/8"' -c 'breakad


dfunc 3 G' -S /tmp/vDTsIqM/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/8" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  18: OK (67224583)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/9" 12L, 201C appended13L, 223C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/10[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/10"' -S /tmp/vDTsI


qM/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/10" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/11" 12L, 205C appended13L, 227C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/12[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/12"' -S /tmp/vDTsI


qM/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/12" 2L, 7C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/13" 6L, 122C appended7L, 144C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/14[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/14"' -S /tmp/vDTsI


qM/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/14" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/15" 8L, 176C appended9L, 198C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/16[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/16"' -S /tmp/vDTsI


qM/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/16" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/17" 10L, 215C appended11L, 237C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/18[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/18"' -S /tmp/vDTsI


qM/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/18" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/19" 7L, 149C appended8L, 171C8L, 170C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/20[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/20"' -S /tmp/vDTsI


qM/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/20" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  19: OK (69275973)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/21" 9L, 135C appended10L, 157C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/22[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/22"' -S /tmp/vDTsI


qM/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/22" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/23" 10L, 155C appended11L, 177C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/24[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/24"' -S /tmp/vDTsI


qM/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/24" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/25" 12L, 204C appended13L, 226C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/26[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/26"' -S /tmp/vDTsI


qM/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/26" 4L, 18C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/27" 12L, 214C appended13L, 236C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/28[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/28"' -S /tmp/vDTsI


qM/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/28" 4L, 22C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/29" 12L, 211C appended13L, 233C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/30[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/30"' -S /tmp/vDTsI


qM/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/30" 3L, 22C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/31" 14L, 263C appended15L, 285C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/32[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/32"' -S /tmp/vDTsI


qM/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/32" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/33" 14L, 277C appended15L, 299C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/34[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/34"' -S /tmp/vDTsI


qM/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/34" 4L, 40C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  20: OK (1874575085)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/35" 58L, 1022C appended59L, 1044C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/36[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/36"' -S /tmp/vDTsI


qM/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/36" 9L, 56C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  21: OK (147932225)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/37" 23L, 418C appended24L, 440C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/38[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/38"' -S /tmp/vDTsI


qM/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/38" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/39" 23L, 437C appended24L, 459C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/40[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/40"' -c 'breaka


dd func 2 Interrupt' -S /tmp/vDTsIqM/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/40" 1L, 3C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/41" 21L, 386C appended22L, 408C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/42[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/42"' -S /tmp/vDTsI


qM/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/42" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  22: OK (4161)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/43" 25L, 432C appended26L, 454C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/44[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/44"' -S /tmp/vDTsI


qM/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/44" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  23: OK (49)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/45" 16L, 392C appended17L, 414C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/46[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/46"' -S /tmp/vDTsI


qM/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/46" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/vDTsIqM/47"[noeol] 17L, 552C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/vDTsIqM/47" 14L, 502C written
"test49.in" 32L, 705C

   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/vDTsIqM/48"[noeol] 13L, 406C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/vDTsIqM/48" 10L, 378C written
"test49.in" 32L, 705C

   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/vDTsIqM/49"[noeol] 13L, 409C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/vDTsIqM/49" 10L, 381C written
"test49.in" 32L, 705C

*** Test  28: OK (1996459)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/50" 39L, 721C appended40L, 743C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/vDTsIqM/51[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/51"' -S /tmp/vDTsIqM/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/51" 6L, 21C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885Ctest49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/52" 23L, 509C appended24L, 531C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/53[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/53"' -S /tmp/vDTsI


qM/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/53" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  29: OK (170428555)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/54" 60L, 1101C appended61L, 1123C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/55[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nv


iminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/55"' -


c'breakadd func 3 F' -c 'breakadd file 19 /tmp/vDTsIqM/54' -c 'breakadd file 31


/tmp/vDTsIqM/54' -S /tmp/vDTsIqM/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/55" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  30: OK (190905173)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/56" 60L, 1122C appended61L, 1144C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/57[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/57"' -S /tmp/vDTsI


qM/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/57" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  31: OK (190905173)


*** Test  32: OK (354833067)


*** Test  33: OK (1216907538)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/58" 63L, 1288C appended64L, 1310C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/59[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsI


qM/59"' -c 'breakadd func 16 C' -S /tmp/vDTsIqM/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/59" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  34: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/60" 63L, 1285C appended64L, 1307C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/61[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsI


qM/61"' -c 'breakadd func 16 B' -S /tmp/vDTsIqM/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/61" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  35: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/62" 66L, 1430C appended67L, 1452C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/63[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/


63"' -c 'breakadd func 16 R' -S /tmp/vDTsIqM/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/63" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  36: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/64" 73L, 1488C appended74L, 1510C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/65[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/65"' -c 'breakadd


func 16 F' -S /tmp/vDTsIqM/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/65" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  37: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/66[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/66" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/67[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsI


qM/67"' -c 'breakadd func 16 E' -S /tmp/vDTsIqM/66[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/67" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  38: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/68" 83L, 1538C appended84L, 1560C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/69[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -


c'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVi


mResult = "/tmp/vDTsIqM/69"' -c 'breakadd func 16 I' -c 'breakadd func 22 I' -S


/tmp/vDTsIqM/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/69" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  39: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/70" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/71[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsI


qM/71"' -c 'breakadd func 16 T' -S /tmp/vDTsIqM/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/71" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/vDTsIqM/72"[noeol] 11L, 334C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vDTsIqM/72" 8L, 295C written
"test49.in" 32L, 705C

   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/vDTsIqM/73"[noeol] 12L, 364C

9 substitutions on 9 lines

Pattern not found: ^\s*$
"/tmp/vDTsIqM/73" 9L, 323C written
"test49.in" 32L, 705C

   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/vDTsIqM/74"[noeol] 11L, 332C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vDTsIqM/74" 8L, 305C written
"test49.in" 32L, 705C

*** Test  50: OK (363550045)

*** Test  51: OK (40744667)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/76" 2L, 41C appended3L, 63C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/vDTsIqM/77[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/77"' -S /tmp/vDTsIqM/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/77" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/75" 8L, 182C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/78" 7L, 115C appended8L, 137C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/79[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/79"' -S /tmp/vDTsIqM/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/79" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/75" 8L, 181C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/80" 12L, 180C appended13L, 202C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/81[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/81"' -S /tmp/vDTsIqM/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/81" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/75" 10L, 209C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/82" 8L, 139C appended9L, 161C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/83[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/83"' -S /tmp/vDTsIqM/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/83" 2L, 11C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/75" 10L, 217C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/84" 5L, 87C appended6L, 109C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/85[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir!


>/tmp/vDTsIqM/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin =


1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/85"' -c 'breakadd file 4 /tmp/vDTsIqM


/84' -S /tmp/vDTsIqM/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/85" 1L, 7C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/75" [noeol] 9L, 202C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/86" 7L, 189C appended8L, 211C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/87[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/87"' -S /tmp/vDTsIqM/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/87" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/75" 9L, 252C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/88" 7L, 199C appended8L, 221C8L, 220C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/89[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/89"' -S /tmp/vDTsIqM/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/89" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/75" 9L, 214C
"test49.in" 32L, 705C


*** Test  52: OK (1247112011)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/91" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/92[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/92"' -S /tmp/vDTsIqM/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/92" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/93" 3L, 39C appended4L, 61C


3 substitutions on 3 lines
"/tmp/vDTsIqM/93" 4L, 58C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/94[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/94"' -S /tmp/vDTsIqM/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/94" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/95" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/vDTsIqM/95" 5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/96[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/96"' -S /tmp/vDTsIqM/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/96" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/97" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vDTsIqM/97" 4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/98[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/98"' -S /tmp/vDTsIqM/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/98" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/99" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/vDTsIqM/99" 6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/100[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/100"' -S /tmp/vDTsIqM/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/100" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/101" 1L, 9C appended2L, 31C2L, 30C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/102[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/102"' -S /tmp/vDTsIqM/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/102" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 153C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/103" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/vDTsIqM/103"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/104[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/104"' -S /tmp/vDTsIqM/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/104" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/105" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/vDTsIqM/105"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/106[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/106"' -S /tmp/vDTsIqM/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/106" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/107" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/vDTsIqM/107"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/108[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/108"' -S /tmp/vDTsIqM/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/108" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/109" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vDTsIqM/109"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/110[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/110"' -S /tmp/vDTsIqM/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/110" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/111" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/112[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/112"' -S /tmp/vDTsIqM/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/112" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/113" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/vDTsIqM/113"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/114[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/114"' -S /tmp/vDTsIqM/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/114" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/115" 4L, 46C appended5L, 68C


4 substitutions on 4 lines
"/tmp/vDTsIqM/115"5L, 64C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/116[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/116"' -S /tmp/vDTsIqM/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/116" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/117" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/vDTsIqM/117"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/118[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/118"' -S /tmp/vDTsIqM/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/118" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/119" 5L, 66C appended6L, 88C


5 substitutions on 5 lines
"/tmp/vDTsIqM/119"6L, 83C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/120[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/120"' -S /tmp/vDTsIqM/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/120" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/121" 4L, 37C appended5L, 59C


4 substitutions on 4 lines
"/tmp/vDTsIqM/121"5L, 55C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/122[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/122"' -S /tmp/vDTsIqM/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/122" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 150C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/123" 4L, 41C appended5L, 63C


4 substitutions on 4 lines
"/tmp/vDTsIqM/123"5L, 59C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/124[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vDTsIqM/124"' -S /tmp/vDTsIqM/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/124" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/90" 6L, 159C
"test49.in" 32L, 705C


*** Test  53: OK (131071)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/126" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/127[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/127"' -S /tmp/vDTsIqM/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/127" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 164C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/128" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vDTsIqM/128"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/129[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/129"' -S /tmp/vDTsIqM/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/129" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/130" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/vDTsIqM/130"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/131[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/131"' -S /tmp/vDTsIqM/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/131" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/132" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/vDTsIqM/132"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/133[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/133"' -S /tmp/vDTsIqM/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/133" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/134" 4L, 53C appended5L, 75C


4 substitutions on 4 lines
"/tmp/vDTsIqM/134"5L, 71C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/135[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/135"' -S /tmp/vDTsIqM/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/135" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/136" 5L, 62C appended6L, 84C


5 substitutions on 5 lines
"/tmp/vDTsIqM/136"6L, 79C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/137[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/137"' -S /tmp/vDTsIqM/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/137" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/138" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vDTsIqM/138"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/139[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/139"' -S /tmp/vDTsIqM/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/139" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/140" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vDTsIqM/140"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/141[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/141"' -S /tmp/vDTsIqM/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/141" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/142" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/vDTsIqM/142"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/143[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/143"' -S /tmp/vDTsIqM/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/143" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 167C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/144" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/vDTsIqM/144"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/145[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/145"' -S /tmp/vDTsIqM/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/145" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/146" 7L, 95C appended8L, 117C


7 substitutions on 7 lines
"/tmp/vDTsIqM/146"8L, 110C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/147[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/147"' -S /tmp/vDTsIqM/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/147" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/125" 6L, 167C
"test49.in" 32L, 705C


*** Test  54: OK (2047)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/149" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/150[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/150"' -S /tmp/vDTsIqM/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/150" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 172C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/151" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vDTsIqM/151"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/152[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/152"' -S /tmp/vDTsIqM/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/152" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/153" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/vDTsIqM/153"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/154[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/154"' -S /tmp/vDTsIqM/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/154" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/155" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vDTsIqM/155"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/156[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/156"' -S /tmp/vDTsIqM/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/156" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/157" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/vDTsIqM/157"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/158[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/158"' -S /tmp/vDTsIqM/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/158" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/159" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/160[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/160"' -S /tmp/vDTsIqM/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/160" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 166C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/161" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vDTsIqM/161"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/162[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/162"' -S /tmp/vDTsIqM/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/162" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/163" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/vDTsIqM/163"5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/164[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/164"' -S /tmp/vDTsIqM/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/164" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/165" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vDTsIqM/165"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/166[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/166"' -S /tmp/vDTsIqM/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/166" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/167" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/vDTsIqM/167"6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/168[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/168"' -S /tmp/vDTsIqM/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/168" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/148" 6L, 170C
"test49.in" 32L, 705C


*** Test  55: OK (1023)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/170" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/171[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/171"' -S /tmp/vDTsIqM/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/171" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/172" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/vDTsIqM/172"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/173[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/173"' -S /tmp/vDTsIqM/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/173" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/174" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/vDTsIqM/174"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/175[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/175"' -S /tmp/vDTsIqM/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/175" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/176" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/vDTsIqM/176"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/177[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/177"' -S /tmp/vDTsIqM/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/177" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/178" 3L, 35C appended4L, 57C


3 substitutions on 3 lines
"/tmp/vDTsIqM/178"4L, 54C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/179[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/179"' -S /tmp/vDTsIqM/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/179" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/180" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/vDTsIqM/180"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/181[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/181"' -S /tmp/vDTsIqM/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/181" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/182" 4L, 47C appended5L, 69C


4 substitutions on 4 lines
"/tmp/vDTsIqM/182"5L, 65C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/183[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/183"' -S /tmp/vDTsIqM/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/183" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/184" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vDTsIqM/184"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/185[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/185"' -S /tmp/vDTsIqM/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/185" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/186" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/vDTsIqM/186"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/187[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vDTsIqM/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vDTsIqM/187"' -S /tmp/vDTsIqM/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/187" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vDTsIqM/169" 6L, 155C
"test49.in" 32L, 705C


*** Test  56: OK (511)


   function FuncException()


1      let g:exception = v:exception


   endfunction"/tmp/vDTsIqM/188" [noeol] 4L, 80C

Pattern not found: ^\s*$
"/tmp/vDTsIqM/188"1L, 36C written
"test49.in" 32L, 705C

   function FuncThrowpoint()


1      let g:throwpoint = v:throwpoint


   endfunction"/tmp/vDTsIqM/189" [noeol] 4L, 83C

Pattern not found: ^\s*$
"/tmp/vDTsIqM/189"1L, 38C written
"test49.in" 32L, 705C

   function T(arg, line)


1      if a:line == 2


2throw a:arg" in line 2


3      elseif a:line == 4


4throw a:arg" in line 4


5      elseif a:line == 6


6throw a:arg" in line 6


7      elseif a:line == 8


8throw a:arg" in line 8


9      endif


   endfunction"/tmp/vDTsIqM/190"[noeol] 12L, 341C

9 substitutions on 9 lines

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vDTsIqM/190"9L, 292C written
"test49.in" 32L, 705C

   function G(arg, line)

1      call T(a:arg, a:line)

   endfunction"/tmp/vDTsIqM/191"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/vDTsIqM/191"1L, 30C written
"test49.in" 32L, 705C

   function F(arg, line)

1      call G(a:arg, a:line)

   endfunction"/tmp/vDTsIqM/192"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/vDTsIqM/192"1L, 30C written
"test49.in" 32L, 705C

*** Test  57: OK (2147450880)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/193" 87L, 1700C appended88L, 1722C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/194[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/194"' -c 'break


add func 4 T' -S /tmp/vDTsIqM/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/194" 8L, 36C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  58: OK (624945)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/195" 293L, 5789C appended294L, 5811C


3 substitutions on 3 lines
"/tmp/vDTsIqM/195"294L, 5808C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/196[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/196"' -c 'br


eakadd file 115 /tmp/vDTsIqM/195' -c 'breakadd file 225 /tmp/vDTsIqM/195' -S /tm


p/vDTsIqM/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/196" 28L, 162C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  59: OK (2038431743)
"/n/o/n/w/r/i/t/a/b/l/e/_/f/i/l/e"
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/197" 33L, 765C appended34L, 787C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/198[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/198"' -c 'break


add file 7 /tmp/vDTsIqM/197' -S /tmp/vDTsIqM/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/198" 3L, 27C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  60: OK (311511339)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/199" 115L, 2272C appended116L, 2294C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/200[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/


200"' -c 'breakadd file 8 /tmp/vDTsIqM/199' -c 'breakadd file 36 /tmp/vDTsIqM/19


9' -c 'breakadd file 40 /tmp/vDTsIqM/199' -c 'breakadd file 69 /tmp/vDTsIqM/199'


-c 'breakadd file 95 /tmp/vDTsIqM/199' -c 'breakadd file 97 /tmp/vDTsIqM/199' -


S/tmp/vDTsIqM/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"200" 14L, 81C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  61: OK (374889517)


   function F()


1      while 1


2      " Missing :endwhile


   endfunction"/tmp/vDTsIqM/201"[noeol] 5L, 73C

Pattern not found: ^\s*$
"/tmp/vDTsIqM/201"2L, 40C written
"test49.in" 32L, 705C

*** Test  62: OK (286331153)
"/i/m/p/o/s/s/i/b/l/e" Error detected while processing /<<PKGBUILDDIR>>/src/vim-athena/t


estdir/test49.vim:


line 5500:


"/i/m/p/o/s/s/i/b/l/e" E212: Can't open file for writing


*** Test  63: OK (236978127)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/202" 149L, 2828C appended150L, 2850C


6 substitutions on 6 lines
"/tmp/vDTsIqM/202"150L, 2844C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/203[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/203"' -c 'break


add file 63 /tmp/vDTsIqM/202' -S /tmp/vDTsIqM/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/203" 16L, 97C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  64: OK (1499645335)


*** Test  65: OK (70187)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/204" 78L, 1520C appended79L, 1542C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/205[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/205"' -c 'break


add func 8 F' -S /tmp/vDTsIqM/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/205" 6L, 22C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  66: OK (5464)


*** Test  67: OK (212514423)


*** Test  68: OK (212514423)


*** Test  69: OK (8995471)


*** Test  70: OK (69544277)


*** Test  71: OK (34886997)


*** Test  72: OK (1789569365)


   function F0()


   endfunction


   function F1()


   endfunction


*** Test  73: OK (9032615)
"/tmp/vDTsIqM/206" [New File]
"test49.in" 32L, 705C
"/tmp/vDTsIqM/207" [New File]
"test49.in" 32L, 705C


*** Test  74: OK (224907669)


*** Test  75: OK (2000403408)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/208" 253L, 6369C appended254L, 6391C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/209[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|


set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp


/vDTsIqM/209"' -c 'breakadd func 2 INT' -S /tmp/vDTsIqM/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/209" 28L, 167C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  76: OK (1610087935)


Error detected while processing function ERR:


line    2:


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


*** Test  77: OK (1388671)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/210" 161L, 4543C appended162L, 4565C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/211[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/211"' -S /tmp/vDTs


IqM/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/211" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  78: OK (134217728)


Error detected while processing function NEXT:


line    1:


E121: Undefined variable: novar


E15: Invalid expression: novar | Xloop 1


E121: Undefined variable: novar


E488: Trailing characters


E108: No such variable: "novar"


E488: Trailing characters


E121: Undefined variable: novar


E15: Invalid expression: novar


E475: Invalid argument: {novar} | Xloop 1


E121: Undefined variable: novar


E15: Invalid expression:  novar


E475: Invalid argument: { novar} | Xloop 1


*** Test  79: OK (70288929)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-athena/t


estdir/test49.vim:


line 7985:


E584: :elseif after :else: elseif 1 ||| 2


line 7995:


E584: :elseif after :else: elseif 1 ||| 2


line 8003:


E582: :elseif without :if: elseif 1 ||| 2


line 8011:


E582: :elseif without :if:     elseif 1 ||| 2


*** Test  80: OK (17895765)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/212" 15L, 272C appended16L, 294C16L, 293C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/213[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/213"' -S /tmp/vDTs


IqM/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/213" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/214" 12L, 227C appended13L, 249C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/215[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/215"' -c 'break


add file 8 /tmp/vDTsIqM/214' -S /tmp/vDTsIqM/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/215" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  81: OK (387)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/216" 20L, 417C appended21L, 439C21L, 438C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/217[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/217"' -S /tmp/vDTs


IqM/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/217" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/218" 24L, 480C appended25L, 502C25L, 501C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/219[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/219"' -S /tmp/vDTs


IqM/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/219" 1L, 4C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/220" 17L, 390C appended18L, 412C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/221[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/221"' -c 'break


add file 7 /tmp/vDTsIqM/220' -S /tmp/vDTsIqM/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/221" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/222" 21L, 444C appended22L, 466C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/223[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/223"' -c 'break


add func 6 I' -S /tmp/vDTsIqM/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/223" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  82: OK (8454401)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/224" 17L, 307C appended18L, 329C18L, 328C written
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/225[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/225"' -S /tmp/vDTs


IqM/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/225" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/226" 14L, 266C appended15L, 288C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/227[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/227"' -c 'break


add file 8 /tmp/vDTsIqM/226' -S /tmp/vDTsIqM/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/227" 3L, 13C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  83: OK (2835)
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/228" 154L, 3580C appended155L, 3602C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/229[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/229"' -c 'br


eakadd func 1 INT' -S /tmp/vDTsIqM/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/229" 18L, 118C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  84: OK (934782101)


TMP
"/tmp/vDTsIqM/230" [noeol] 2L, 6C/[?2004h  
"test49.in" 32L, 705C
"/n/o/n/e/x/i/s/t/e/n/t"


"/tmp/vDTsIqM/232" 1L, 1C
"test49.in" 32L, 705C


:!echo XYZ >/tmp/vDTsIqM/233[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/234" [New File]
"test49.in" 32L, 705C


*** Test  85: OK (198689)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-athena/t


estdir/test49.vim:


line 8769:


E123: Undefined function: F


Make_all.mak[?2004l[?2004h
"Make_all.mak" line 1 of 216 --0%-- col 1


line 8772:


E926: Current location list was changed


line 8773:


E193: :endfunction not inside a function


Error detected while processing function ExecAsScript[2]..MakeScript:


line    3:


E123: Undefined function: F[?2004l[?2004h
"/tmp/vDTsIqM/235" c[noeol] 4L, 109C


search hit BOTTOM, continuing at TOP
line   10:

E486: Pattern not found: .*F(.*)


search hit BOTTOM, continuing at TOP
line   11:

E486: Pattern not found: ^\d*\s*endfunction\>


4 substitutions on 4 lines[?2004l[?2004h
"/tmp/vDTsIqM/235"3L, 109C written
"Make_all.mak" 216L, 4391C


Error detected while processing /tmp/vDTsIqM/235:


line    1:


E492: Not an editor command: Error detected while processing function ExecAsScr


ipt[2]..MakeScript:


line    2:


E492: Not an editor command: line    3:


line    3:


E492: Not an editor command: E123: Undefined function: F


Error detected while processing /<<PKGBUILDDIR>>/src/vim-athena/t


estdir/test49.vim:


line 8779:


E130: Unknown function: F


*** Test  86: OK (0)


5

*** Test  87: OK (0)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vDTsIqM/0' >/tmp/vDTsIqM/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vDTsIqM/236" 151L, 3929C appended152L, 3951C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vDTsIqM/237[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nvimi


nfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vDTsIqM/237"' -c


'breakadd func 5 ThrowOnInterrupt' -S /tmp/vDTsIqM/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vDTsIqM/237" 16L, 281C
"/<<PKGBUILDDIR>>/src/vim-athena/testdir/test49.vim"
<59NL/vim-8.0.1144/src/vim-athena/testdir/test49.vim" [readonly] 9009L, 206885C
"Make_all.mak" 216L, 4391C


*** Test  88: OK (50443995)


Press ENTER or type command to continue:[?2004h[?25h" Go back to this file and append the results from register r.
[?25l#

# Common Makefile, defines the list of tests to run.

#



# Options for protecting the tests against undesirable interaction with the

# environment

NO_PLUGINS = --noplugin --not-a-term

NO_INITS = -U NONE $(NO_PLUGINS)



# The first script creates small.vim.

SCRIPTS_FIRST = \test1.out



# Tests that run on all systems.

SCRIPTS_ALL = \test3.out \test4.out \test5.out \test7.out \test8.out \test14.out \test15.out \test19.out \[?25h[?25l:[?2004h[?25hbuf test49.in
[?25l"test49.in" 32L, 705C:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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:):  silent! exe "unlet " . v

:endfor:unlet v:qa!ENDTESTResults of test49.vim:[?25h

[?25l

83 more lines

*** Test  16: OK (8722)83 more lines[?25h[?25l:[?2004h[?25h/^Results/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 84L, 2484C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" make valgrind happy
[?25l[?25h[?25l:[?2004h[?25hredir => funclist
[?25l[?25h[?25l:[?2004h[?25hsilent func
[?25l[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hfor line in split(funclist, "\n")
[?25l

:[?2004h  [?25h:  let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')


[?25l:[?2004h  [?25h:  if name != ''


[?25l:[?2004h    [?25h:    exe "delfunc " . name


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$w! test.out

:"

:" make valgrind happy[?25h[?25l

:[?2004h[?25hfor v in keys(g:)
[?25l

:[?2004h  [?25h:  silent! exe "unlet " . v


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in[?25h[?25l

:[?2004h[?25hunlet v
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test49 = test61; then \
#	  if diff test.out test49.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test49.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test54.failed test.ok test.out X* viminfo
cp test54.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test54.in" 22 lines, 658 charactersSome tests for buffer-local autocommands



STARTTEST

:so small.vim

:e xx

:if has("vms")

: !del test.out.*

: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.oout

:else

: !rm -f test.out

: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out

:endif

:e somefile" here, autocommand for xx shall write test.out

:" but autocommand shall not apply to buffer named <buffer>:bwipe xx" here, autocommand shall be auto-deleted

:e xx" nothing shall be written

:e somefile" nothing shall be written

:qa!

ENDTEST



start of test file xx

end of test file xx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSome tests for buffer-local autocommands[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 15 lines, 555 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25he xx
[?25l"xx" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !del test.out.*


[?25l:[?2004h  [?25h: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > te


st.out


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !rm -f test.out


[?25l:!rm -f test.out[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25he somefile           " here, autocommand for xx shall write test.out 
[?25l:!echo buffer-local autommand in xx>> test.out


[?25h[?2004l[?2004h[?25l"somefile" [New File]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h                     " but autocommand shall not apply to buffer named <buffer


>[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe xx             " here, autocommand shall be auto-deleted
[?25l[?25h[?25l:[?2004h[?25he xx                 " nothing shall be written
[?25l"xx" [New File][?25h[?25l:[?2004h[?25he somefile           " nothing shall be written
[?25l"somefile" [New File][?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test54 = test61; then \
#	  if diff test.out test54.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test54.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test17.in" 135 lines, 2431 charactersTests for:

- "gf" on ${VAR},

- ":checkpath!" with various 'include' settings.



STARTTEST

:so small.vim

:if has("ebcdic")

: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}

:else

: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}

:endif

:"

:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/TDIR

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 27 lines, 564 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" 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.out

gf

:set ff=unix

:w! test.out

:brewind

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:endif
[?25l:"

:if has("unix")

:let $CDIR = "."

/CDIR[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:let $CDIR = "."


[?25l:[?2004h  [?25h/CDIR


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:if has("amiga")


[?25l:[?2004h    [?25h:let $TDIR = "/testdir"


[?25l:[?2004h    [?25h:else


[?25l:[?2004h    [?25h:let $TDIR = "."


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h/TDIR


[?25l:[?2004h  [?25h:endif
[?25l:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/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[?25h[?25l

:[?2004h[?25h" Dummy writing for making that sure gf doesn't fail even if the current
[?25l[?25h[?25l:[?2004h[?25h" file is modified. It can be occurred when executing the following command
[?25l[?25h[?25l:[?2004h[?25h" directly on Windows without fixing the 'fileformat':
[?25l[?25h[?25l:[?2004h[?25h"  > nmake -f Make_dos.mak test17.out
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 135 lines, 2431 characters written[?25h[?25l

"/<<PKGBUILDDIR>>/src/vim-athena/testdir/./test17a.in" 3 lines, 8


8characters


Press ENTER or type command to continue[?25h[?25lThis file is just to test "gf" in test 17.

The contents is not important.

Just testing!

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 3 lines, 88 characters written[?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters:" 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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":e! Xdir1/dir2/foo.ai#include   "bar.a"^[:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 23 lines, 396 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!mkdir Xdir1

:!mkdir "Xdir1/dir2"

:let &include='^\s*%inc\s*/\zs[^/]\+\ze'

:function! DotsToSlashes()

:  return substitute(v:fname, '\.', '/', 'g') . '.b'

:endfunction[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' without \zs or \ze
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.a")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he! Xdir1/dir2/foo.a
[?25l"Xdir1/dir2/foo.a" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l#include   "bar.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.a" [New File] 1 line, 19 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.a
[?25l"Xdir1/dir2/bar.a" [New File][?25h[?2004l[?2004h[?25l#include      "baz.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.a" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.a
[?25l"Xdir1/dir2/baz.a" [New File][?25h[?2004l[?2004h[?25l#include"foo.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.a" [New File] 1 line, 28 characters written[?25h[?25l:[?2004h[?25he Xbase.a
[?25l"Xbase.a" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l#include    <foo.a>[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.a" [New File] 1 line, 20 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l#include    <foo.a>

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi#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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*/\zs[^/]\+\ze':function! DotsToSlashes():  return substitute(v:fname, '\.', '/', 'g') . '.b':endfunction:let &includeexpr='DotsToSlashes()'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 27 lines, 532 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!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][?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.b")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hlet &include='^\s*%inc\s*/\zs[^/]\+\ze'
[?25l: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 delete("Xdir1", "rf")

:!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][?25h[?25l:[?2004h[?25hfunction! DotsToSlashes()
[?25l

:[?2004h  [?25h:  return substitute(v:fname, '\.', '/', 'g') . '.b'


[?25l:[?2004h  [?25h:endfunction
[?25l:e Xdir1/dir2/baz.b

i%inc/foo/^[:[?25h[?25l:[?2004h[?25hlet &includeexpr='DotsToSlashes()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.b
[?25l"Xdir1/dir2/foo.b" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   /bar/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.b" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.b
[?25l"Xdir1/dir2/bar.b" [New File][?25h[?2004l[?2004h[?25l%inc      /baz/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.b" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.b
[?25l"Xdir1/dir2/baz.b" [New File][?25h[?2004l[?2004h[?25l%inc/foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.b" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.b
[?25l"Xbase.b" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    /foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.b" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    /foo/

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi%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 delete("Xdir1", "rf"):!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]:  endif[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 39 lines, 745 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and no \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.c")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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

[?25h[?25l

:[?2004h[?25hfunction! StripNewlineChar()
[?25l

:[?2004h  [?25h:  if v:fname =~ '\n$'


[?25l:[?2004h    [?25h:    return v:fname[:-2]


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  return v:fname


[?25l:[?2004h  [?25h:endfunction
[?25l:w

:e Xdir1/dir2/baz.c

i%incfoo.c^[:

:w

:e Xdir1/dir2/FALSE.c[?25h[?25l

:[?2004h[?25hlet &includeexpr='StripNewlineChar()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.c
[?25l"Xdir1/dir2/foo.c" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   bar.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.c" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.c
[?25l"Xdir1/dir2/bar.c" [New File][?25h[?2004l[?2004h[?25l%inc      baz.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.c" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.c
[?25l"Xdir1/dir2/baz.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/FALSE.c
[?25l"Xdir1/dir2/FALSE.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/FALSE.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.c
[?25l"Xbase.c" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    FALSE.c foo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    FALSE.c foo.c

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters: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[?25h[?25l:[?2004h[?25h" change "\" to "/" for Windows and fix 'fileformat'
[?25l[?25h[?25l:[?2004h[?25he test.out
[?25l"test.out" 33 lines, 655 charactersThis 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)[?25h[?25l:[?2004h[?25h%s#\\#/#g
[?25lE486: Pattern not found: \\[?25h[?25l:[?2004h[?25hset ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 33 lines, 655 characters written[?25h[?25l:[?2004h[?25hq
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test17 = test61; then \
#	  if diff test.out test17.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test17.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available.



STARTTEST

:so small.vim

:set belloff=all

:" first write three test files, one in each format

:set fileformat=unix

:set fileformats=

:/^unix/;/eof/-1w! XXUnix

:/^dos/;/eof/-1w! XXDos

:set bin noeol

:$w! XXMac

Gonoeol^[

:$w! XXEol

:set nobin eol

:enew!

:bwipe XXUnix XXDos XXMac

:" create mixed format files

:if has("vms")

: !copy XXUnix,XXDos XXUxDs.

: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 222 lines, 3609 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72

Go8^[:$r XXtt81

:$r XXtt82

Go9^[:$r XXtt91

:$r XXtt92

:$r XXtt93

Go10^[:$r XXUnix

:set nobinary ff&

:w

:qa!

ENDTEST



unix

unix

eof



dos^M

dos^M

eof



mac^Mmac^M[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" first write three test files, one in each format
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25hset fileformats=
[?25l[?25h[?25l:[?2004h[?25h/^unix/;/eof/-1w! XXUnix
[?25l"XXUnix" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25h/^dos/;/eof/-1w! XXDos
[?25l"XXDos" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25hset bin noeol
[?25l[?25h[?25l:[?2004h[?25h$w! XXMac
[?25l"XXMac" [New File][Incomplete last line] 1 line, 8 characters written[?25h[?2004l[?2004h[?25l

noeol[?25h[?25l

:[?2004h[?25h$w! XXEol
[?25l"XXEol" [New File][Incomplete last line] 1 line, 5 characters written[?25h[?25l:[?2004h[?25hset nobin eol
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l3 buffers wiped out[?25h[?25l:[?2004h[?25h" create mixed format files
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !copy XXUnix,XXDos XXUxDs.


[?25l:[?2004h  [?25h: !copy XXUnix,XXMac XXUxMac.


[?25l:[?2004h  [?25h: !copy XXDos,XXMac  XXDosMac.


[?25l:[?2004h  [?25h: !copy XXMac,XXEol  XXMacEol.


[?25l:[?2004h  [?25h: !copy XXUnix,XXDos,XXMac XXUxDsMc.


[?25l:[?2004h  [?25h:elseif has("win32")


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos XXUxDs


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXMac XXUxMac


[?25l:[?2004h  [?25h: !copy /b XXDos+XXMac XXDosMac


[?25l:[?2004h  [?25h: !copy /b XXMac+XXEol XXMacEol


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos+XXMac XXUxDsMc


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !cat XXUnix XXDos >XXUxDs


[?25l:!cat XXUnix XXDos >XXUxDs[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXMac >XXUxMac


[?25l:!cat XXUnix XXMac >XXUxMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXDos XXMac >XXDosMac


[?25l:!cat XXDos XXMac >XXDosMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXMac XXEol >XXMacEol


[?25l:!cat XXMac XXEol >XXMacEol[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXDos XXMac >XXUxDsMc


[?25l:!cat XXUnix XXDos XXMac >XXUxDsMc[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25hendif
[?25l:[?2004h[?25h"
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' empty
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUnix
[?25l"XXUnix" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" 2 lines, 10 charactersdos^M

dos^M[?25h[?25l:[?2004h[?25hw! XXtt01
[?25l"XXtt01" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line] 1 line, 8 charactersmacmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt02
[?25l"XXtt02" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=dos
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdos^Mdos^Meofmac^Mmac^M[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [CR missing][dos format] 2 lines, 10 charactersunixunix~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt11
[?25l"XXtt11" [New File][dos format] 2 lines, 12 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [dos format] 2 lines, 10 charactersdosdos[?25h[?25l:[?2004h[?25hw! XXtt12
[?25l"XXtt12" [New File][dos format] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line][dos format] 1 line, 8 charactersmac^Mmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt13
[?25l"XXtt13" [New File][dos format] 1 line, 10 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=mac
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdosdoseofmac^Jmac[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [Incomplete last line][mac format] 1 line, 10 charactersunix^Junix^J

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt21
[?25l"XXtt21" [New File][mac format] 1 line, 11 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [Incomplete last line][mac format] 3 lines, 10 charactersdos^Jdos^J[?25h[?25l:[?2004h[?25hw! XXtt22
[?25l"XXtt22" [New File][mac format] 3 lines, 11 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [mac format] 2 lines, 8 charactersmac

mac~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt23
[?25l"XXtt23" [New File][mac format] 2 lines, 8 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l^Jdos

^Jeof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to one format
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt31
[?25l"XXtt31" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt32
[?25l"XXtt32" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [mac format] 4 lines, 28 charactersunix^Junix^Jdos^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt33
[?25l"XXtt33" [New File][mac format] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters^Jdoseof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to two formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt41
[?25l"XXtt41" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt42
[?25l"XXtt42" [New File] 3 lines, 19 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [Incomplete last line][dos format] 3 lines, 18 charactersdodos

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt43
[?25l"XXtt43" [New File][dos format] 3 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=unix,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" 4 lines, 20 charactersunixunix

dos^Mdos^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt51
[?25l"XXtt51" [New File] 4 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt52
[?25l"XXtt52" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [mac format] 4 lines, 18 charactersdo^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt53
[?25l"XXtt53" [New File][mac format] 4 lines, 18 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt54
[?25l"XXtt54" [New File] 2 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" [CR missing][dos format] 4 lines, 20 charactersunixunix

dosdos

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt61
[?25l"XXtt61" [New File][dos format] 4 lines, 22 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line][CR missing][dos format] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:dos[?25h[?25l:[?2004h[?25hw! XXtt62
[?25l"XXtt62" [New File][dos format] 4 lines, 35 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt63
[?25l"XXtt63" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25he! XXMacEol
[?25l"XXMacEol" [Incomplete last line][mac format] 3 lines, 13 charactersmacmac

noeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:mac[?25h[?25l:[?2004h[?25hw! XXtt64
[?25l"XXtt64" [New File][mac format] 4 lines, 26 characters written[?25h[?25l:[?2004h[?25hbwipe XXMacEol
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to three formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt71
[?25l"XXtt71" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,dos,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt72
[?25l"XXtt72" [New File] 2 lines, 24 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac,dos,unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt81
[?25l"XXtt81" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line][mac format] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lmac,dos,unix:mac[?25h[?25l:[?2004h[?25hw! XXtt82
[?25l"XXtt82" [New File][mac format] 2 lines, 23 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h" try with 'binary' set
[?25l[?25h[?25l:[?2004h[?25hset fileformats=mac,unix,dos
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt91
[?25l"XXtt91" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt92
[?25l"XXtt92" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt93
[?25l"XXtt93" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix nobin
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXtt01
[?25l"XXtt01" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt02
[?25l"XXtt02" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt11
[?25l"XXtt11" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt12
[?25l"XXtt12" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt13
[?25l"XXtt13" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt21
[?25l"XXtt21" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt22
[?25l"XXtt22" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt23
[?25l"XXtt23" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt31
[?25l"XXtt31" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt32
[?25l"XXtt32" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt33
[?25l"XXtt33" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt41
[?25l"XXtt41" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt42
[?25l"XXtt42" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt43
[?25l"XXtt43" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt51
[?25l"XXtt51" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt52
[?25l"XXtt52" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt53
[?25l"XXtt53" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt54
[?25l"XXtt54" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt61
[?25l"XXtt61" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt62
[?25l"XXtt62" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt63
[?25l"XXtt63" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt64
[?25l"XXtt64" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt71
[?25l"XXtt71" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt72
[?25l"XXtt72" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt81
[?25l"XXtt81" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt82
[?25l"XXtt82" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt91
[?25l"XXtt91" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt92
[?25l"XXtt92" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt93
[?25l"XXtt93" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results.
[?25l[?25h[?25l:[?2004h[?25h" Make fileformat of test.out the native fileformat.
[?25l[?25h[?25l:[?2004h[?25h" Add a newline at the end.
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25h$r XXtt01
[?25l"XXtt01" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt02
[?25l"XXtt02" 2 lines, 13 charactersmac^Mmac^MEND[?25h

[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXtt11
[?25l"XXtt11" 3 lines, 16 charactersunix^Munix^MEND[?25h[?25l:[?2004h[?25h$r XXtt12
[?25l"XXtt12" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt13
[?25l"XXtt13" 2 lines, 14 charactersmac^Mmac^M^MEND[?25h

[?2004l[?2004h[?25l

2[?25h[?25l:[?2004h[?25h$r XXtt21
[?25l"XXtt21" 3 lines, 15 charactersunixunix^MEND[?25h[?25l:[?2004h[?25h$r XXtt22
[?25l"XXtt22" 3 lines, 15 charactersdos^Mdos^M^MEND[?25h[?25l:[?2004h[?25h$r XXtt23
[?25l"XXtt23" 1 line, 12 characters

mac^Mmac^MEND[?25h[?2004l[?2004h[?25l

3[?25h[?25l

:[?2004h[?25h$r XXtt31
[?25l"XXtt31" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt32
[?25l"XXtt32" 6 lines, 36 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt33
[?25l"XXtt33" 5 lines, 32 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

4[?25h[?25l

:[?2004h[?25h$r XXtt41
[?25l"XXtt41" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt42
[?25l"XXtt42" 4 lines, 23 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt43
[?25l"XXtt43" 4 lines, 24 charactersunix

mac^Mmac^M

END

dos^M[?25h[?25ldos^M

mac^Mmac^M^M

END
[?25h[?2004l[?2004h[?25l

5[?25h[?25l

:[?2004h[?25h$r XXtt51
[?25l"XXtt51" 5 lines, 24 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt52
[?25l"XXtt52" 6 lines, 33 charactersunix

dos^M

dos^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt53
[?25l"XXtt53" 3 lines, 22 charactersunix

dos^M

dos^M

mac^Mmac^M

END

dos^M[?25h[?25l

:[?2004h[?25h$r XXtt54
[?25l"XXtt54" 3 lines, 24 charactersdos^M

mac^Mmac^MEND

unix,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

6[?25h[?25l

:[?2004h[?25h$r XXtt61
[?25l"XXtt61" 5 lines, 26 characters

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt62
[?25l"XXtt62" 5 lines, 39 charactersunix^M

dos^M

dos^M

END

dos,mac:dos^M[?25h[?25l

:[?2004h[?25h$r XXtt63
[?25l"XXtt63" 6 lines, 36 charactersunix^M

unix^M

mac^Mmac^M^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt64
[?25l"XXtt64" 1 line, 30 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

dos,mac:mac^Mmac^Mmac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

7[?25h[?25l

:[?2004h[?25h$r XXtt71
[?25l"XXtt71" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt72
[?25l"XXtt72" 3 lines, 28 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix,dos,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

8[?25h[?25l

:[?2004h[?25h$r XXtt81
[?25l"XXtt81" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt82
[?25l"XXtt82" 1 line, 27 charactersunix

dos^M

dos^M

mac^Mmac^M

END

mac,dos,unix:mac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

9[?25h[?25l

:[?2004h[?25h$r XXtt91
[?25l"XXtt91" 5 lines, 32 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt92
[?25l"XXtt92" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25l

:[?2004h[?25h$r XXtt93
[?25l"XXtt93" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

10[?25h[?25l

:[?2004h[?25h$r XXUnix
[?25l"XXUnix" 2 lines, 10 characters

unix[?25h[?25l

:[?2004h[?25hset nobinary ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 130 lines, 786 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test30 = test61; then \
#	  if diff test.out test30.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test30.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test32.in" 61 lines, 1408 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h[?25l

:so small.vim[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 28 lines, 550 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTO^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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
[?25l"Xtestfile" [New] 3L, 57C written[?25h[?25l:[?2004h[>cs[?25het belloff=all
[?25l[?25h[?25l:[?2004h[?25hse cot=
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       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

ENDTESTstart of testfile

run1run2test32.in                                                                       [?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[+][?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h[?25l3[?25h

[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) match 1 of 117-- 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[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h

[?25l:[?2004h[?25hse cpt=.,w,i
[?25l[?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 58INSERT --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 58Addinge 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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=kXtestfile
[?25l[?25h[?25l:[?2004h[?25hw Xtest11.one
[?25l"Xtest11.one" [New] 9L, 104C writtenXtest11.one+   [?25h[?25l:[?2004h[?25hw Xtest11.two
[?25l"Xtest11.two" [New] 9L, 104C written[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning dictionary: Xtestfile-match in file Xtestfile-- Keyword completion (^N^P) match 1 of 9test11[+]I[?25h [?25l-- Keyword completion (^N^P) match 1 of 9-- INSERT --[?25h[?25l-- INSERT --Xtest11
[?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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25h" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
[?25l[?25h[?25l:[?2004h[?25h" CTRL-X CTRL-F again to verify this doesn't cause trouble.
[?25l[?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 5.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 423.
Make_all.mak

run1 run2d[?25h [?25l-- INSERT --[?25h[?25l
run1 run2~                                                                               [?25h

[?25l:[?2004h[?25hse cpt=w
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=u nohid
[?25l[?25h[?25l



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h

ru[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New] 15L, 175C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test32 = test61; then \
#	  if diff test.out test32.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test32.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test59.failed test.ok test.out X* viminfo
cp test59.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 106 lines, 2520 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1










[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Don't want to depend on the locale from the environment.  The .aff and .dic
[?25l[?25h[?25l:[?2004h[?25h" text is in latin1, the test text is utf-8.
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1









[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :STARTTESTso small.vimso mbyte.vimDon't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.enc=latin1e!

:set enc=utf-8:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=$put =''

  $put ='test '. a:aff . '-' . a:dic  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest  " use that spell file[?25h[?25l:[?2004h[?25hset enc=utf-8
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset fenc=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Function to test .aff/.dic with list of good and bad words.
[?25l[?25h[?25l:[?2004h[?25hfunc TestOne(aff, dic)
[?25l

:[?2004h  [?25h  set spellfile=


[?25l:[?2004h  [?25h  $put =''


[?25l:[?2004h  [?25h  $put ='test '. a:aff . '-' . a:dic


[?25l:[?2004h  [?25h  " Generate a .spl file from a .dic and .aff file.


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'


[?25l:[?2004h  [?25h  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'


[?25l:[?2004h  [?25h  mkspell! Xtest Xtest


[?25l:[?2004h  [?25h  " use that spell file


[?25l:[?2004h  [?25h  set spl=Xtest.utf-8.spl spell


[?25l:[?2004h  [?25h  " list all valid words


[?25l:[?2004h  [?25h  spelldump


[?25l:[?2004h  [?25h  %yank


[?25l:[?2004h  [?25h  quit


[?25l:[?2004h  [?25h  $put


[?25l:[?2004h  [?25h  $put ='-------'


[?25l:[?2004h  [?25h  " find all bad words and suggestions for them


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'good:'


[?25l:[?2004h  [?25h  normal 0f:]s


[?25l:[?2004h  [?25h  let prevbad = ''


[?25l:[?2004h  [?25h  while 1


[?25l:[?2004h    [?25h    let [bad, a] = spellbadword()


[?25l:[?2004h    [?25h    if bad == '' || bad == prevbad || bad == 'badend'


[?25l:[?2004h      [?25h      break


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let prevbad = bad


[?25l:[?2004h    [?25h    let lst = spellsuggest(bad, 3)


[?25l:[?2004h    [?25h    normal mm


[?25l:[?2004h    [?25h    $put =bad


[?25l:[?2004h    [?25h    $put =string(lst)


[?25l:[?2004h    [?25h    normal `m]s


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('1', '1')
[?25l"Xtest.aff" [New File] 48 lines, 768 characters written


"Xtest.dic" [New File] 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25lthe end

uk

wrong

-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']the['put', 'uk', 'test']gebletegek[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kepereneven[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

everles gesvets etele[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l"Xtest.aff" 153 lines, 3426 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest Xtest
[?25lReading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 241 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25l-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end['put', 'uk', 'test']

the['put', 'uk', 'test']gebletegekkepereneveneverles gesvet etelekbltykk[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kprnfn[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

*fls kswts tl[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" also use an addition file
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^addstart/+1,/^addend/-1w! Xtest.utf-8.add
[?25l"Xtest.utf-8.add" [New File] 3 lines, 38 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest.utf-8.add.spl Xtest.utf-8.add
[?25lReading word file Xtest.utf-8.add ...

Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.utf-8.add.spl ...


Done!


Estimated runtime memory use: 145 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset spellfile=Xtest.utf-8.add
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"[?25h[?25l/[?2004h[?25h^test2:
[?25ltomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !![?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25linputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_us.utf-8.spl
[?25l[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lcomment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hset spl=Xtest_gb.utf-8.spl
[?25lelequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_nz.utf-8.spl
[?25lelequint

elekwint

elekwint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lOk

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_ca.utf-8.spl
[?25lelequint

elekwint

elekwint



elequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25ltest

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hunlet str a
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Postponed prefixes
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('2', '1')
[?25l"Xtest.aff" 46 lines, 461 characters written


"Xtest.dic" 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 102 nodes; 92 (90%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 525 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25laddstart

/regions=usgbnz

elequint/2

elekwint/3

addend



1good: wrong OK puts. Test the end

bad:  inputs comment ok Ok. test déôl end the

badend



2good: puts

bad: inputs comment ok Ok end the. test déôl

badendTest rules for compounding.3affstart

SET ISO8859-1COMPOUNDMIN 3

COMPOUNDRULE m*

NEEDCOMPOUND x

3affend[?25h[?25l:[?2004h[?25h" Compound words
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('3', '3')
[?25l"Xtest.aff" 5 lines, 60 characters written


"Xtest.dic" 5 lines, 29 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 31 nodes; 25 (80%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 125 bytes


3 lines yanked


3 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('4', '4')
[?25l"Xtest.aff" 45 lines, 559 characters written


"Xtest.dic" 8 lines, 59 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


12 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('5', '5')
[?25l"Xtest.aff" 25 lines, 237 characters written


"Xtest.dic" 6 lines, 57 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 107 nodes; 88 (82%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('6', '6')
[?25l"Xtest.aff" 23 lines, 211 characters written


"Xtest.dic" 6 lines, 53 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('7', '7')
[?25l"Xtest.aff" 26 lines, 338 characters written


"Xtest.dic" 6 lines, 67 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 91 nodes; 72 (79%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaébar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h" clean up for valgrind
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestOne
[?25l[?25h[?25l:[?2004h[?25hset spl= enc=latin1
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaé bar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^test output:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 270 lines, 3685 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test59 = test61; then \
#	  if diff test.out test59.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test59.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test72.failed test.ok test.out X* viminfo
cp test72.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test72.in" 146 lines, 2107 charactersTests for undo file.

Since this script is sourced we need to explicitly break changes up in

undo-able pieces.  Do that by setting 'undolevels'.



STARTTEST

:so small.vim

:set belloff=all

:"

:" Test 'undofile': first a simple one-line change.

:set nocompatible viminfo+=nviminfo visualbell

:set ul=100 undofile nomore

:e! Xtestfile

ggdGithis is one line^[:set ul=100

:s/one/ONE/

:set ul=100

:w

:bwipe!

:e Xtestfile

u:.w! test.out

:"

:" Test 'undofile', change in original file fails check

:set noundofile

:e! Xtestfile[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 undo file.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 135 lines, 1910 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar

:.w >>test.out

u:.w >>test.out

u:.w >>test.out

u:.w >>test.out

:"

:" Rename the undo file so that it gets cleaned up.

:if has("vms")

: call rename("_un_Xtestfile", "Xtestundo")

:else

: call rename(".Xtestfile.un~", "Xtestundo")

:endif

:qa!

ENDTEST



1111 -----

2222 -----



123456789[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile': first a simple one-line change.
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo visualbell
[?25l[?25h[?25l:[?2004h[>cs[?25het ul=100 undofile nomore
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l-- INSERT --this is one line[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hs/one/ONE/
[?25lONE
[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" [New] 1L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 change; before #2  0 seconds agoone
[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New] 1L, 17C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', change in original file fails check
[?25l[?25h[?25l:[?2004h[?25hset noundofile
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 1L, 17CONE
[?25h[?25l:[?2004h[?25hs/line/Line/
[?25lL
[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 1L, 17C written[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE Line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25lAlready at oldest change[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 17C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', add 10 lines, delete 6 lines, undo 3
[?25l[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --one

twothreefourfivesixseveneightnineten[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 4L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 4L, 17Conetwonineten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 7L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that reading the undofiles when setting undofile works
[?25l[?25h[?25l:[?2004h[?25hset noundofile ul=0
[?25l[?25h[?25l-- INSERT --six
u[?25hs[?25l[?25h[?25l1 line less; before #8  0 seconds ago

~                                                                               [?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cnine

ten~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile ul=100
[?25l[?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l1 more line; before #4  0 seconds agofive[?25h[?25l1 more line; before #3  0 seconds agofour[?25h[?25l1 more line; before #2  0 seconds agothree[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 10L, 49C appended[?25h[?25l:[?2004h[?25h" And now with encryption, cryptmethod=zip
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cninten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile cm=zip
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l-- INSERT --monday

tuesdaywednesdaythursdayfriday[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25lmonday

friday

~                                                                               [?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [crypted] 2L, 14C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [crypted] 2L, 14Cmonday

friday

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [crypted] 2L, 14C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l1 more line; before #11  0 seconds agothursday[?25h[?25l1 more line; before #10  0 seconds agowednesday[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 4L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][crypted] 1L, 14C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25ljan

feb

bar apr[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [blowfish] 4L, 20Cjan

feb

bar apr

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #15  1 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #14  1 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #13  1 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish2
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][blowfish] 1L, 20C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish2 ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lEnter encryption key:[?2004h [?25h*******


[?25lEnter same key again:[?2004h [?25h*******


[?25ljan

feb[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish2] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Enter encryption key:[?2004h [?25h*******


[?25l"Xtestfile" [blowfish2] 4L, 20Cjan

feb

bar ap

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish2] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #19  0 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #18  0 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #17  0 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Rename the undo file so that it gets cleaned up.
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: call rename("_un_Xtestfile", "Xtestundo")


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: call rename(".Xtestfile.un~", "Xtestundo")


[?25l:[?2004h  [?25h:endif
[?25ljan

feb

mar

apr[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test72 = test61; then \
#	  if diff test.out test72.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test72.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test78.failed test.ok test.out X* viminfo
cp test78.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test78.in" 46 lines, 1476 charactersInserts 10000 lines with text to fill the swap file with two levels of pointer

blocks.  Then recovers from the swap file and checks all text is restored.



We need about 10000 lines of 100 characters to get two levels of pointer

blocks.



STARTTEST

:so small.vim

:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all

:e! Xtest

ggdG

:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01223456789abcdefghijklmnoparstuvwxyz0123456789"

:let i = 1

:let linecount = 10000

:while i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile

:preserve

:" get the name of the swap file

:redir => swapname

:swapname

:redir END

:let swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][::cntrl:]]*$', '\1', '')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lInserts 10000 lines with text to fill the swap file with two levels of pointer[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1220 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:set nobin

:new

:only!

:bwipe! Xtest

:call rename('Xswap', swapname)

:recover Xtest

:call delete(swapname)

:new

:call append(0, 'recovery start')

:wincmd w

:let linedollar = line('$')

:if linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected "" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let linnecount = linedollar | endif

:let i = 1

:while i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appendd(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile

:q!

:call append(line('$'), 'recovery end')

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all
[?25l[?25h[?25l:[?2004h[>ce[?25h! Xtest
[?25l"Xtest" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01


23456789abcdefghijklmnoparstuvwxyz0123456789"
[?25l[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hlet linecount = 10000
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899991    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899992    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899993    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899994    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899995    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899996    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899997    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899998    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789[?25h[?25l:[?2004h[?25hpreserve
[?25lFile preserved[?25h[?25l:[?2004h[?25h" get the name of the swap file
[?25l[?25h[?25l:[?2004h[?25hredir => swapname
[?25l[?25h[?25l:[?2004h[?25hswapname
[?25l.Xtest.swp[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hlet swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][


:cntrl:]]*$', '\1', '')
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899a[?25h[?25l

:[?2004h[?25h" make a copy of the swap file in Xswap
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hexe 'sp ' . swapname
[?25l".Xtest.swp"[noeol] 611L, 1224704Cb0VIM 8.0^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@C^R^@^@buildd^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@mb-lxc-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-athena/tesstdir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@.Xtest.swp                                                                      799a

999899a

999999a

1000099a~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hw! Xswap
[?25l"Xswap" [New][noeol] 611L, 1224704C written[?25h[?25l:[?2004h[?25hecho swapname
[?25l.Xtest.sw[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       b0VIM 8.0^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@C^R^@^@buildd^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@mb-lxc-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-athena/tesstdir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@.Xtest.swp                                                                      9999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

10000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789



~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe! Xtest
[?25l[?25h[?25l:[?2004h[?25hcall rename('Xswap', swapname)
[?25l[?25h[?25l:[?2004h[?25hrecover Xtest
[?25lUsing swap file ".Xtest.swp"


Original file "/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xtest"


"/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xtest" [New File]Recovery completed. You should check if everything is OK.


(You might want to write out this file under another name


and run diff with the original file to check for changes)


You may want to delete the .swp file now.






Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall delete(swapname)
[?25l1abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

2abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

3abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

4abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

5       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567896       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567897       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567898       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678911      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678912      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@                                                                               [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       199a

299a

399a

4 99a

5 99a

Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hcall append(0, 'recovery start')
[?25lrecovery start[+][?25h[?25l:[?2004h[?25hwincmd w
[?25l[No Name] [+]                                                                    Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hlet linedollar = line('$')
[?25l[?25h[?25l:[?2004h[?25hif linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected 


" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let li


necount = linedollar | endif
[?25lrecovery start[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appen


d(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
[?25lrecovery start[?25h[?25l:[?2004h[?25hq!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hcall append(line('$'), 'recovery end')
[?25lrecovery end[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New] 3L, 29C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test78 = test61; then \
#	  if diff test.out test78.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test78.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test83.failed test.ok test.out X* viminfo
cp test83.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test83.in" 76 lines, 1273 charactersTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 tag search with !_TAG_FILE_ENCODING.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 58 lines, 1021 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h[?25l:[?2004h[?25hif !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
[?25l"Xtags1.txt" [New File] 2 lines, 35 characters written[?25h[?25l:[?2004h[?25h/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
[?25l"Xtags2.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
[?25l"Xtags3.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^tags1$/+1,/^tags1-end$/-1w! Xtags1
[?25l"Xtags1" [New File] 2 lines, 81 characters written[?25h[?25l:[?2004h[?25h[?25l[?25h[?25lTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hcall setline('.', 'Results of test83')
[?25lResults of test83
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case1:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l[No Name]                                                                       Results of test83test83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=Xtags1
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abcdefghijklmnopqrs
[?25l"Xtags1.txt" 2 lines, 35 characterstext for tags1

abcdefghijklmnopqrsXtags1.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'abcdefghijklmnopqrs'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case2:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               [No Name]                                                                       Results of test83case1: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags2
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag /.BC
[?25l"Xtags2.txt" 2 lines, 25 characterstext for tags2

ABCXtags2.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case3:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               [No Name]                                                                       case1: okcase2: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags3
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abc50
[?25l"Xtags3.txt" 2 lines, 25 characterstext for tags3

ABCXtags3.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

case3: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 4 lines, 48 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test83 = test61; then \
#	  if diff test.out test83.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test83.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arabic.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arabic.vim" 613 lines, 18247 characters


Executing Test_arabic_input()!ﻡﻼﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 !مالس                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_arabic_toggle()


Executing Test_arabic_toggle_keymap()٢١21٢١                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_delcombine()ﻞﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_final()ﻶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_isolated()ﻵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final()ﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺾﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final_to_medial()ﺐﺊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺔ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺬ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺐ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺶ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺺ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺾ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻂ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻒ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_initial()ﻎﺋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺿ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_iso_to_medial()ﻍﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻀﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_isolated()ﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺽ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 "test_arabic.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [New File][New] 15L, 422C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arglist.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arglist.vim" 358 lines, 7814 characters


Executing Test_arg_all_expand()
"notexist" [New File]

Executing Test_argadd()
"a" [New File]bababababdsome file" [New File]


Executing Test_argc()
"a" [New File]

Executing Test_argdelete()
"a" [New File]a" [New File]
"bb


Executing Test_argedit()
"a" [New File]baCcx


"x" [New File]


Executing Test_argidx()
"a" [New File]c


"a" [New File]
"bc


Executing Test_arglist_autocmd()
"Xxx1" 1L, 15C
"Xxx21L, 15C1L, 15C
"Xxx1" line 1 of 1 --100%-- col 1 ((3) of 2)
"Xxx21 of 2)

3 buffers wiped out


Executing Test_arglistid()
"a" [New File]

Executing Test_argpos()
"a" [New File]d


"c" [New File]
"ba


"d" [New File]
"a


Executing Test_argument()
"d" [New File]cbafile] --No lines in buffer-- (1 of 4)
"c3


a b [c] d
"c" [New File]


"x" [New File]
"z


Executing Test_argv()
"a" [New file] --No lines in buffer--


Executing Test_zero_argadd()
"b" [New file] --No lines in buffer-- (2 of 4)
"aFbedited" [New File]
"a" [New File]file with spaces" [New File]
"test_arglist.r[New] 0L, 0C written


Executed 12 tests
"messages" 15L, 422C30L, 779C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_assert.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_assert.vim" 147 lines, 3536 characters


Executing Test_assert_equal()


Executing Test_assert_exception()


Executing Test_assert_fail_fails()


Executing Test_assert_false()


Executing Test_assert_inrange()


Executing Test_assert_notequal()


Executing Test_assert_report()


Executing Test_assert_true()


Executing Test_assert_with_msg()


Executing Test_compare_fail()


Executing Test_match()


Executing Test_notmatch()


Executing Test_override()


Executing Test_user_is_happy()




oooo$$$$$$$$$$$$oooo


oo$$$$$$$$$$$$$$$$$$$$$$$$o


oo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$oo$   $$ o$


     o $ ooo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o$$ $$ $$o$


  oo $ $ "$      o$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$o$$$o$$o$


  "$$$$$$o$     o$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$o    $$$$$$$$


    $$$$$$$    $$$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$$$$$$$$$$$$$$


    $$$$$$$$$$$$$$$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$$$$$$  """$$$


     "$$$""""$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$


      $$$   o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$o


     o$$"   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o


     $$$    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$ooooo$$$$o


    o$$$oooo$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$   o$$$$$$$$$$$$$$$$$


    $$$$$$$$"$$$$   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     $$$$""""""""


   """"$$$$    "$$$$$$$$$$$$$$$$$$$$$$$$$$$$"      o$$$


"$$$o     """$$$$$$$$$$$$$$$$$$"$$"$$$


$$$o"$$""$$$$$$""""o$$$


$$$$oo$$$"


"$$$$o      o$$$$$$o"$$$$oo$$$$


"$$$$$oo     ""$$$$o$$$$$o   o$$$$""


""$$$$$oooo  "$$$o$$$$$$$$$"""


""$$$$$$$oo $$$$$$$$$$


""""$$$$$$$$$$$


$$$$$$$$$$$$


$$$$$$$$$$"


"$$$""""


[?25h[?2004l[?2004h[?25lExecuting Test_wrong_error_type()
"test_assert.res" [New File][New] 0L, 0C written


Executed 15 tests
"messages" 30L, 779C48L, 1277C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autochdir.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autochdir.vim" 17 lines, 332 characters


Executing Test_set_filename()
"samples/Xtest" [New] 0L, 0C written
"test_autochdir.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"48L, 1277C52L, 1349C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autocmd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_BufEnter()
"NewFile" [New File]Xdir" is a directory


Executing Test_BufleaveWithDelete()
"Xfile1" [New File]

Executing Test_OptionSet()


Executing Test_OptionSet_diffmode()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_OptionSet_diffmode_close()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_augroup_deleted()


W19: Deleting augroup that is still in use
Executing Test_augroup_warning()

W19: Deleting augroup that is still in useentering


Executing Test_autocmd_bufunload_avoiding_SEGV_01()


"aa.txt" [New File]


"bb.txt" [New File]


Executing Test_autocmd_bufunload_avoiding_SEGV_02()[?2004l[?2004h


"a.txt" [New File]


"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_autocmd_bufunload_with_tabnext()


Executing Test_autocmd_bufwinleave_with_tabfirst()


"a.txt" [New File]


Executing Test_autocmd_bufwipe_in_SessLoadPost()[?2004l[?2004h


Executing Test_autocmd_bufwipe_in_SessLoadPost2()[?2004l[?2004h


Executing Test_bufunload()


Executing Test_cursorhold_insert()[?2004l[?25h[?2004h[?25l_ctrl_x()[?2004l[?25h[?2004h[?25learly_bar()

Executing Test_empty_doau()


No matching autocommands


Executing Test_three_windows()


"Xtestje1" [New File]


"Xtestje1" [New File] 1 line, 8 characters written


"Xtestje2" [New File]


"Xtestje2" [New File] 1 line, 8 characters written


"Xtestje3" [New File]


"Xtestje3" [New File] 1 line, 8 characters written


"Xtestje1" 1 line, 8 characters


"Xtestje3" 1 line, 8 characters


"Xtestje2" 1 line, 8 characters


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


Already only one window
"help.txt" [readonly] 225 lines, 8437 characters


Executing Test_vim_did_enter()


Executing Test_win_tab_autocmd()


"somefile" [New File]


"test_autocmd.res" [New File][?2004l


"test_autocmd.res" [New File] 0 lines, 0 characters written


Executed 21 tests


"messages" 52 lines, 1349 characters


"messages" 76 lines, 2180 characters written


[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_backspace_opt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_backspace_opt.vim" 59 lines, 1673 characters


Executing Test_backspace_option()
"test_backspace_opt.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"76L, 2180C80L, 2260C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_breakindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_breakindent.vim" 298 lines, 7493 characters


Executing Test_breakindent01()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    qrstuvwxyzABCDEF|

    GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent02()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    >>qrstuvwxyzABCD|

    >>EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent03()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

++  qrstuvwxyzABCDEF|

++  GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent04()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

  qrstuvwxyzABCDEFGH|

  IJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent05()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|qrstuvwxyzABCD|EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent06()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

   qrstuvwxyzABCDEFG|

   HIJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

?mnopqrstuvw|

?xyzABCDEFGH|

?IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

    ?    mnopqrstuvw|

    ?    xyzABCDEFGH|

    ?    IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

    #  opqrstuvwxyzA|

    #  BCDEFGHIJKLMN|

    #  OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent09()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

       #opqrstuvwxyz|

       #ABCDEFGHIJKL|

       #MNOP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent10()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2 abcdefgh|

~ijklmnop|

~qrstuvwx|

~yzABCDEF|

~GHIJKLMN|

~OP      ||||~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent11()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent12()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                             1 |

 2 >--->--->--->--->|

   ---{      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        {~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent13()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent14()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

e|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  e~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent15()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |1234567890|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  1234567890~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent16()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            ~                   

~                   

~                   

~                   

~                   

                    7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

"test_breakindent.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 80L, 2260C101L, 2866C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_bufwintabinfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_bufwintabinfo.vim" 116 lines, 3459 characters


Executing Test_get_buf_options()


Executing Test_get_win_options()


Executing Test_getbufwintabinfo()
"Xtestfile1" [New File]212


Already only one window
"test_bufwintabinfo.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"101L, 2866C107L, 3013C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cdo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cdo.vim" 205 lines, 5116 characters


Executing Test_cdo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2


Executing Test_ldo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2
"test_cdo.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"107L, 3013C112L, 3092C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_channel.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_channel.vim" 1761 lines, 51515 characters
"test_channel.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"112L, 3092C115L, 3132C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_charsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_charsearch.vim" 62 lines, 1475 characters


Executing Test_charsearch()


Executing Test_search_cmds()
"test_charsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"115L, 3132C120L, 3233C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cindent.vim" 105 lines, 2962 characters


Executing Test_cindent_expr()rawstring()o_extern_c()6 lines to indent... 7indented 6to indent...
7indented Executing Test_cino_hash()
"test_cindent.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"120L, 3233C127L, 3397C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_clientserver.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_clientserver.vim" 108 lines, 3648 characters


Executing Test_client_server()
"test_clientserver.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"127L, 3397C133L, 3535C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cmdline.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cmdline.vim" 434 lines, 12686 characters


Executing Test_cmdline_complete_user_cmd():[?2004hFoo ...blue
:"Foo blue
:"
:[?2004hFoo b...lue
:"Foo blue
:"


Executing Test_cmdline_complete_wildoptions()
"help.txt" [readonly] 225L, 8437C:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V


IMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ')


'. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeym


ap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape


''ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave


''autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backu


pcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloo


nexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh'


'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakind


ent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' '


bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit'


'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys'


'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheigh


t' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'comm


entstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor'


'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpopti


ons' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cs


coperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf'


'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorlin


e' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionar


y' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy'


'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'em"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $VIMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ') '. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeymap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape' 'ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave' 'autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backupcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloonexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh' 'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakindent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' 'bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit' 'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys' 'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheight' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'commentstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor' 'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpoptions' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cscoperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf' 'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorline' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionary' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy' 'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'e
:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V
:"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $
:"


Executing Test_cmdline_search_range()


search hit BOTTOM, continuing at TOP
Executing Test_complete_list():[?2004he test


test1.intest_bufline.vim


test1.oktest_bufwintabinfo.res


test1.outtest_bufwintabinfo.vim


test108.intest_cd.vim


test108.oktest_cdo.res


test108.outtest_cdo.vim


test11.intest_changedtick.vim


test11.oktest_changelist.in


test11.outtest_changelist.ok


test12.intest_changelist.out


test12.oktest_channel.py


test12.outtest_channel.res


test14.intest_channel.vim


test14.oktest_channel_pipe.py


test14.outtest_channel_write.py


test15.intest_charsearch.res


test15.oktest_charsearch.vim


test15.outtest_charsearch_utf8.vim


test17.intest_cindent.res


test17.oktest_cindent.vim


test17.outtest_clientserver.res


test17a.intest_clientserver.vim


test19.intest_close_count.in


test19.oktest_close_count.ok


test19.outtest_close_count.out


test20.intest_cmdline.vim


test20.oktest_command_count.vim


test20.outtest_comparators.vim


test25.intest_crypt.vim


test25.oktest_cscope.vim


test25.outtest_cursor_func.vim


test28.intest_curswant.vim


test28.oktest_delete.vim


test28.outtest_diffmode.vim


test29.intest_digraph.vim


test29.oktest_display.vim


test29.outtest_edit.vim


test3.intest_erasebackword.in


test3.oktest_erasebackword.ok


test3.outtest_erasebackword.out


test30.intest_escaped_glob.vim


test30.oktest_eval.in


test30.outtest_eval.ok


test31.intest_eval.out


test31.oktest_eval_func.vim


test31.outtest_ex_undo.vim


test32.intest_ex_z.vim


test32.oktest_exec_while_if.vim


test32.outtest_execute_func.vim


test33.intest_exists_autocmd.vim


test33.oktest_expand.vim


test33.outtest_expand_dllpath.vim


test34.intest_expr.vim


test34.oktest_expr_utf8.vim


test34.outtest_farsi.vim


test36.intest_feedkeys.vim


test36.oktest_file_perm.vim


test36.outtest_file_size.vim


test37.intest_fileformat.vim


test37.oktest_filetype.vim


test37.outtest_filter_cmd.vim


test38.intest_filter_map.vim


test38.oktest_findfile.vim


test38.outtest_fixeol.in


test39.intest_fixeol.ok


test39.oktest_fixeol.out


test39.outtest_float_func.vim


test4.intest_fnameescape.vim


test4.oktest_fnamemodify.vim


test4.outtest_fold.vim


test40.intest_functions.vim


test40.oktest_ga.vim


test40.outtest_getcwd.vim


test41.intest_getvar.vim


test41.oktest_gf.vim


test41.outtest_glob2regpat.vim


test42.intest_global.vim


test42.oktest_gn.vim


test42.outtest_goto.vim


test43.intest_gui.vim


test43.oktest_gui_init.vim


test43.outtest_hardcopy.vim


test44.intest_help.vim


test44.oktest_help_tagjump.vim


test44.outtest_hide.vim


test45.intest_highlight.vim


test45.oktest_history.vim


test45.outtest_hlsearch.vim


test48.intest_increment.vim


test48.oktest_increment_dbcs.vim


test48.outtest_insertcount.in


test49.intest_insertcount.ok


test49.oktest_insertcount.out


test49.outtest_job_fails.vim


test49.vimtest_join.vim


test5.intest_json.vim


test5.oktest_jumps.vim


test5.outtest_lambda.vim


test50.intest_langmap.vim


test50.oktest_largefile.vim


test52.intest_let.vim


test52.oktest_lineending.vim


test52.outtest_lispwords.vim


test53.intest_listchars.in


test53.oktest_listchars.ok


test53.outtest_listchars.out


test54.intest_listlbr.vim


test54.oktest_listlbr_utf8.vim


test54.outtest_lua.vim


test55.intest_makeencoding.py


test55.oktest_makeencoding.vim


test55.outtest_man.vim


test59.intest_maparg.vim


test59.oktest_mapping.vim


test59.outtest_marks.vim


test60.intest_match.vim


test60.oktest_matchadd_conceal.vim


test60.outtest_matchadd_conceal_utf8.vim


test60.vimtest_menu.vim


test64.intest_messages.vim


test64.oktest_mksession.vim


test64.outtest_mksession_utf8.vim


test66.intest_nested_function.vim


test66.oktest_netbeans.py


test66.outtest_netbeans.vim


test68.intest_normal.vim


test68.oktest_number.vim


test68.outtest_options.vim


test69.intest_packadd.vim


test69.oktest_partial.vim


test69.outtest_paste.vim


test7.intest_perl.vim


test7.oktest_plus_arg_edit.vim


test7.outtest_popup.vim


test70.intest_preview.vim


test70.oktest_profile.vim


test70.outtest_put.vim


test72.intest_python2.vim


test72.oktest_python3.vim


test72.outtest_pyx2.vim


test73.intest_pyx3.vim


test73.oktest_quickfix.vim


test73.outtest_quotestar.vim


test77a.intest_recover.vim


test77a.oktest_regex_char_classes.vim


test78.intest_regexp_latin.vim


test78.oktest_regexp_utf8.vim


test78.outtest_registers.vim


test79.intest_reltime.vim


test79.oktest_retab.vim


test79.outtest_ruby.vim


test8.intest_scrollbind.vim


test8.oktest_search.vim


test8.outtest_search_mbyte.in


test83-tags2test_search_mbyte.ok


test83-tags3test_search_mbyte.out


test83.intest_searchpos.vim


test83.oktest_set.vim


test83.outtest_sha256.vim


test85.intest_short_sleep.py


test85.oktest_signs.vim


test85.outtest_smartindent.vim


test86.intest_sort.vim


test86.oktest_source_utf8.vim


test86.outtest_spell.vim


test87.intest_startup.vim


test87.oktest_startup_utf8.vim


test87.outtest_stat.vim


test88.intest_statusline.vim


test88.oktest_substitute.vim


test88.outtest_syn_attr.vim


test94.intest_syntax.vim


test94.oktest_system.vim


test94.outtest_tabline.vim


test95.intest_tabpage.vim


test95.oktest_tagcase.vim


test95.outtest_tagjump.vim


test99.intest_taglist.vim


test99.oktest_tcl.vim


test99.outtest_terminal.vim


test_alot.vimtest_terminal_fail.vim


test_alot_latin.vimtest_textobjects.vim


test_alot_utf8.vimtest_timers.vim


test_arabic.restest_true_false.vim


test_arabic.vimtest_undo.vim


test_arglist.restest_unlet.vim


test_arglist.vimtest_usercommands.vim


test_assert.restest_utf8.vim


test_assert.vimtest_utf8_comparisons.vim


test_assign.vimtest_viminfo.vim


test_autochdir.restest_vimscript.vim


test_autochdir.vimtest_virtualedit.vim


test_autocmd.restest_visual.vim


test_autocmd.vimtest_winbar.vim


test_autoformat_join.intest_window_cmd.vim


test_autoformat_join.oktest_window_id.vim


test_autoformat_join.outtest_windows_home.vim


test_backspace_opt.restest_wordcount.in


test_backspace_opt.vimtest_wordcount.ok


test_breakindent.restest_wordcount.out


test_breakindent.vimtest_writefile.vim


:e test
"test" [New File]


Executing Test_complete_tab():[?2004he Xtest...file
"Xtestfile" 1L, 9C


Executing Test_complete_wildmenu():[?2004he Xtest...file1...


Xtestfile1  Xtestfile2                                                          :e Xtest...Xtestfile1 file1...Xtestfile1Xtestfile2 2:te Xtestfile2"Xtestfile2" 1L, 10C

Executing Test_expand_star_star():[?2004hfind **/fileXname...a/b/fileXname
"a/b/fileXname" 1L, 9C
"Xtestfile2" [New File]


Executing Test_expr_completion():[?2004hlet a =  getl...ine(
:"let a =  getline(
:"
:[?2004hif getl...ine(
:"if getline(
:"
:[?2004helseif getl...ine(
:"elseif getline(
:"
:[?2004hwhile getl...ine(
:"while getline(
:"
:[?2004hfor getl...ine(
:"for getline(
:"
:[?2004hecho getl...ine(
:"echo getline(
:"
:[?2004hechon getl...ine(
:"echon getline(
:"
:[?2004hexecute getl...ine(
:"execute getline(
:"
:[?2004hechomsg getl...ine(
:"echomsg getline(
:"
:[?2004hechoerr getl...ine(
:"echoerr getline(
:"
:[?2004hcall getl...ine(
:"call getline(
:"
:[?2004hreturn getl...ine(
:"return getline(
:"
:[?2004hcexpr getl...ine(
:"cexpr getline(
:"
:[?2004hcaddexpr getl...ine(
:"caddexpr getline(
:"
:[?2004hcgetexpr getl...ine(
:"cgetexpr getline(
:"
:[?2004hlexpr getl...ine(
:"lexpr getline(
:"
:[?2004hladdexpr getl...ine(
:"laddexpr getline(
:"
:[?2004hlgetexpr getl...ine(
:"lgetexpr getline(
:"


Executing Test_getcmdtype():[?2004hMyCmd a"=[?2004hCheck_cmdline(':')
:MyCmd a:[?2004hdebug echo 'test'
[?2004hEntering Debug mode.  Type "cont" to continue.
function RunTheTest[24]..Test_getcmdtypeline 7: echo 'test'

>[?2004hlet cmdtype = "=[?2004hstring(getcmdtype())
>let cmdtype = '>'


>[?2004hcont
test/[?2004hMyCmd a"=[?2004hCheck_cmdline('/')
/MyCmd a?[?2004hMyCmd a"=[?2004hCheck_cmdline('?')
?MyCmd a:[?2004hcall input('Answer?')
Answer?[?2004hMyCmd a"=[?2004hCheck_cmdline('@')
Answer?MyCmd a:[?2004hinsert


[?2004hMyCmd a"=[?2004hCheck_cmdline('-')
MyCmd a=[?2004hMyCmd aExecuting Test_getcompletion():[?2004hcscope find 


a  c  d  e  f  g  i  s  t


:cscope find :[?2004hsign list 


Testing


:sign list [?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_highlight_completion():[?2004hhi ...Aardig
:"hi Aardig
:"
:[?2004hhi default ...Aardig
:"hi default Aardig
:"
:[?2004hhi clear Aa...rdig
:"hi clear Aardig
:"
:[?2004hhi li...LineNr...
:hi l...nk
:"hi link
:"
:[?2004hhi d...DiffAdd...
:hi d...efault
:"hi default
:"
:[?2004hhi c...ColorColumn...
:hi c...lear
:"hi clear
:"


Executing Test_illegal_address1()


Executing Test_illegal_address2()
"Xtest.vim" 5L, 14C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_map_completion():[?2004hmap <unique> <si...lent>
:"map <unique> <silent>
:"
:[?2004hmap <script> <un...ique>
:"map <script> <unique>
:"
:[?2004hmap <expr> <sc...ript>
:"map <expr> <script>
:"
:[?2004hmap <buffer> <e...xpr>
:"map <buffer> <expr>
:"
:[?2004hmap <nowait> <b...uffer>
:"map <nowait> <buffer>
:"
:[?2004hmap <special> <no...wait>
:"map <special> <nowait>
:"
:[?2004hmap <silent> <sp...ecial>
:"map <silent> <special>
:"


Executing Test_match_completion():[?2004hmatch ...Aardig
:"match Aardig
:"
:[?2004hmatch ...Aardig......none
:"match none
:"


Executing Test_paste_in_cmdline():[?2004habc "def ghi
:"abc def ghi
:"
:[?2004haaa "asdf bbb
:"aaa asdf bbb
:"
:[?2004haaa "/tmp/some bbb
:"aaa /tmp/some bbb
:"
:[?2004haaa veryl"ongword bbb
:"aaa verylongword bbb
:"
:[?2004haaa "a;b-c*d bbb
:"aaa a;b-c*d bbb
:"
:[?2004h=[?2004htoupper(getline(1))
:ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D 
:"ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D
:"


Executing Test_remove_char_in_cmdline():[?2004habc defef
:"abc ef
:"
:[?2004habc defdef
:"abcdef
:"
:[?2004habc def ghighi
:"abc ghi
:"
:[?2004habc def
:def"def


Executing Test_verbosefile()


foo


bar
"test_cmdline.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 133L, 3535C154L, 4201C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_command_count.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_command_count.vim" 191 lines, 4742 characters


Executing Test_command_count_0()
"DoesNotExistEver" [New File]

Executing Test_command_count_1()


"a" [New File]


loading buffers


"b" [New File]


loading buffers


"c" [New File]


loading buffers


"d" [New File]


loading buffers


"e" [New File]


loading buffers
"c" [New File]beb


Executing Test_command_count_2()


"d" [New File]
"a


Already only one window
"x" [New File]

Already only one window


Executing Test_command_count_3()
"aaa" [New File]bbb
"ccc
"test_command_count.vim" 191L, 4742C


2 buffers deleted


Executing Test_command_count_4()
"cc" [New File]

"dd" [New File]


"ee" [New File]
"aa


"bb" [New File]


"cc" [New File]


"dd" [New File]


"ee" [New File]
"cc


"ee" [New File]


"ff" [New File]
"test_command_count.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"154L, 4201C162L, 4413C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_crypt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_crypt.vim" 83 lines, 2590 characters


Executing Test_crypt_blowfish()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 3L, 98C


Executing Test_crypt_blowfish2()
"Xtest.txt" [New File]:[?2004hX
Enter encryption key:[?2004h ******
Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish2] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish2] 3L, 98C


Executing Test_crypt_zip()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][crypted] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [crypted] 3L, 98C


Executing Test_head_only_2()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_head_only_3()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_uncrypt_blowfish()
"Xtest.txt" [New File][converted][New][noeol] 1L, 80C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 2L, 27C


Executing Test_uncrypt_blowfish2()
"Xtest.txt" [New File][converted][New][noeol] 1L, 103C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h *******


"Xtest.txt" [blowfish2] 2L, 44C


Executing Test_uncrypt_zip()
"Xtest.txt" [New File][converted][New][noeol] 1L, 45C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [converted][crypted] 2L, 26C"test_crypt.res" [New File][converted][New] 0L, 0C written

Executed 8 tests
"messages"162L, 4413C173L, 4700C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cscope.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cscope.vim" 279 lines, 10587 characters
"test_cscope.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"173L, 4700C176L, 4739C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_curswant.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_curswant.vim" 23 lines, 563 characters


Executing Test_curswant()
"test_curswant.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"176L, 4739C180L, 4806C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_diffmode.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_diffmode.vim" 568 lines, 12076 characters


Executing Test_diff_fold_sync()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_diff_lastline()


Already only one window[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h
Executing Test_diff_move_to()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


5 buffers wiped out


Executing Test_diff_nomodifiable()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


3 buffers wiped out


Executing Test_diff_too_many_buffers()
"Xtest1" [New File]2[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h4[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h5[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h8[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h9


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h10 buffers wiped out


Executing Test_diffexpr()one

two

three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l||

three                                  ||||||||||||||||||||

[No Name] [+]                           onetwothree.                                  ~~~~~~~~~~~~~~~~~~~[No Name] [+]                           2 buffers wiped out


Executing Test_diffget_diffput()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3 buffers wiped out


Executing Test_diffoff()Two

Three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h  -------------------------------------|

  -------------------------------------|

  Two                                  |

  Three                                |||||||||||||||||||  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  ~~~~~~~~~~~~~~~~~~

[No Name] [+]                             One                                                                             Two  Three                                    ~~~~~~~~~~~~~~~~~~[No Name] [+]                           Two                                    

Three                                  

~                                      

~                                      

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   OneTwoThree~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   



Executing Test_diffoff_hidden()
"one" [New File]                                                                                                                                        

~                                                                               two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                    |

Three                                  |||||||||||||||||||||

one [+]                                 One                                     Four                                    ~~~~~~~~~~~~~~~~~~~~two [+]                                                                                                        

~                                                                               TwoThree[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                                                             Three                                                                           ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               TwoThreeExecuting Test_diffopt_context()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


2 buffers wiped out


Executing Test_diffopt_horizontal()


Executing Test_diffopt_icase()
"one" [New File]One

Two

Three

FourFi#ve"two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h||

Three                                  ||

Fi#ve                                  ||||||||||||||||||

one [+]                                 oneTWOThree                                   FourfI=VE                                   ~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_iwhite()
"one" [New File]OneThree~                                                                                                                                  

~                                                                               "two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h|||

Four                                   |||||||||||||||||||

one [+]                                 OneTwoThree Four                                   ~~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_vertical()


Executing Test_diffpatch()
"Xpatch" [New] 10L, 71C written[?2004lpatching file /tmp/vXxWoVf/85 (read from /tmp/vXxWoVf/84)
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/vXxWoVf/85.rej
[?2004h


[?2004lpatching file /tmp/vXxWoVf/87 (read from /tmp/vXxWoVf/86)
[?2004h"/tmp/vXxWoVf/87" 4L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/vXxWoVf/92 (read from /tmp/vXxWoVf/91)
[?2004h924L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/vXxWoVf/98 (read from /tmp/vXxWoVf/97)
[?2004h84L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_dp_do_buffer()
"one" [New File]two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


"not_in_diff_mode" [New File]


4 buffers wiped out


Executing Test_filler_lines()


7 more lines


10 more lines[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_setting_cursor()
"Xtest1" [New File]

90 more lines
"Xtest1" [New] 91L, 262C written2" [New File]

100 more lines
"Xtest2"[New] 101L, 293C written101L, 293C191L, 262C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_vert_split()
"Xtest" [New] 5L, 25C written2" [New] 6L, 29C written


"Nop" [Modified][Not edited] line 4 of 6 --66%-- col 3
"Xtest" 5L, 25C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h2" 6L, 29C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h1" [New File]
"test_diffmode.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 180L, 4806C202L, 5445C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_digraph.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_digraph.vim" 462 lines, 14944 characters


Executing Test_digraph_cmndline()
[?2004hExecuting T


Executing Test_digraphs()


Executing Test_digraphs_option()


Executing Test_digraphs_output()


Executing Test_loadkeymap()
"test_digraph.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"202L, 5445C210L, 5640C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_display.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_display.vim" 69 lines, 1694 characters[?2004l[?1l>[?25h[?1049lExecuting Test_display_foldcolumn()e more noise blah blah<82|

> more stuff here||||||||||~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                  e more noise blah blah<|

  82> more stuff here    ||||||||||  

  

  

  

  

  

  

  

  ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                Executing Test_display_foldtext_mbyte()||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name]                                ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name]                              " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1│+ +-- 12 lines: 2───────────────────────│  14│  15│  16│  17│  18│  19│  20│  │[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1|

+ +-- 12 lines: 2-----------------------|

  14|

  15|

  16|

  17|

  18|

  19|

  20|

  |

[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                "test_display.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"210L, 5640C215L, 5757C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_edit.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_edit.vim" 1365 lines, 41657 characters


Executing Test_edit_00a_CTRL_A()b():[?2004hset im
:[?2004hset noim


Executing Test_edit_01()23:[?2004hs/$/efg/


Executing Test_edit_04():[?2004hstopinsert
Executing Test_edit_05()6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7=[?2004hListMonths()
match 1 of 12January

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for edit functions

"

if exists("+t_kD")

  let &t_kD="^[[3;*~"

endif

set belloff=



" Needed for testing basic rightleft: Test_edit_rightleft

source view_util.vim



test_edit.vim                                                                   January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12

January        2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           

June           

July     7u

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJune           

July           June           

July           

July           

=[?2004hListMonths()
match 1 of 12
January

~              

~              [No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        =[?2004hListMonths()
match 1 of 12
January

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

" Test for editJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12an

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJanuary        
January        

Executing Test_edit_08():[?2004hset im
=[?2004hsetbufvar(1,'&im', 0)
Executing Test_edit_09():[?2004hset im
Executing Test_edit_10()1


Executing Test_edit_12()3CR
"Xqflist.txt" 10L, 21Cline 1 of 10 --10%-- col 1
Executing Test_edit_CTRL_()EY()G()I
The only matchScanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt match in file Xinclude.txtmatch 1 of 3Scanning included file: Xinclude.txt
match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3#include Xinclude.txt

one



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 



three Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Back at original





three Xinclude.txt Executing Test_edit_CTRL_K()
Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3
AA~                                                                               ~                                                                               ~                    

~                  AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 



AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt match in file Xdictionary.txt
match 1 of 3

AA   Xdictionary.txt Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3'dictionary' option is emptyA Edxiecctuitoinnagr yT'e stp_teidoint _CsT RLm_pLt(y) 

match 1Back at originalBack at originalone

twothreet[No Name] [+]                                                                   [Location List]                                                                 two            

three          Back at originaltwo            

three          match 1 of 2wo

two            Back at originaltwo            

three          match 1 of 2wo

two            2
three

two            

three          two            

three          match 2Back at originaltwo            

three          two            two            Back at originaltwo            

three          two            match 1 of 2
three



three          Executing Test_edit_CTRL_N()

Pattern not foundPattern not foundmatch 1match 1

Executing Test_edit_CTRL_O():[?2004hset nu
:[?2004hlet g:a=getpos('.')
:[?2004hlet g:a=getpos('.')


Executing Test_edit_CTRL_R()=[?2004h10*500
=[?2004hgetreg('=', 1)


Executing Test_edit_CTRL_S()
Pattern not foundVim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim              

Sim             

Tim             

Vic             

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              

Deem            

match 1 of 100match 1 of 1002
Vim

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             I   

DeemVim            

Aim            Back at original
v

~               

~               

~               

~               

~               

~               

~               

~               

~               

[No Name] [+]   

Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               

[Location List] Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic              

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              Pattern not foundExecuting Test_edit_CTRL_T()
Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurusmatch 1 of 4Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 



furious Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 





enraged Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus match in file Xthesaurus
match 1 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus mad     Xthesaurus Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurus
Back at original
mad~                  

~                  

~                  

~                  [No Name] [+]   [Location List] mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 'thesaurus' option is empty

Executing Test_edit_CTRL_U()
Pattern not found Jan Month      

 Feb Month      

 Mar Month      

 Apr Month      

  May Month      

  Jun Month      

  Jul Month      

  Aug Month      

  Sep Month      

 NOct Month      

 Nov Month      

  Dec Month      match 1 of 12Mar Month  

May Month  match 1 of 2Mar Month      

May Month      match 2 of 2
May

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               Mar Month      

May Month      Mar Month      

May Month      Mar Month      

May Month      match 2 of 2

~              

~              Mar Month      

May Month      Back at original~              

~              Mar Month      

May Month      
May Month      Pattern not foundExecuting Test_edit_CTRL_V()Executing Test_edit_CTRL_Z()DROP()

Executing Test_edit_F1():[?2004hset im
"help.txt" [readonly] 225L, 8437C
Executing Test_edit_F21()HOME_END()INS()LEFT_RIGHT()MOUSE()[?1000h[?1000lPAGEUP_PAGEDOWN()complete_very_long_name()[?25h[?25l"Xfile" [New File]
Scanning: [Location List]/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddTotum /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa match in file /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
Scanning tags.match in file /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
match 1 of 2
Totum

~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Xqflist.txt|10|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Totum /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [?25h[?25lExecuting Test_edit_forbidden()





Pattern not found

Executing Test_edit_rightleft()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cba|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        abcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cb|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        bcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 ca|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        acdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 "test_edit.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 215L, 5757C259L, 6955C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_farsi.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_farsi.vim" 133 lines, 5364 characters




:"




:"



Executing Test_input_farsi()
"test_farsi.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 259L, 6955C[converted] 266L, 7116C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_file_size.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_file_size.vim" 30 lines, 871 characters


Executing Test_File_Size()
"Xtest" [New] 2000000L, 14888896C written[?2004l[?2004h
"test_file_size.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"266L, 7116C270L, 7185C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fnameescape.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fnameescape.vim" 21 lines, 467 characters


Executing Test_fnameescape()
"Xspa ce"[New] 21L, 467C written
"Xemark![New] 21L, 467C written
"test_fnameescape.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"270L, 7185C274L, 7258C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fold.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fold.vim" 462 lines, 13611 characters


Executing Test_address_fold()


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


8 lines yanked


10 lines yanked


4 lines yanked


Executing Test_combining_folds_indent()


3 fewer lines


Executing Test_combining_folds_marker()


3 fewer lines


Executing Test_fold_error()


Executing Test_folddoopen_folddoclosed()


3 substitutions on 3 lines


6 substitutions on 6 lines


3 substitutions on 3 lines


Executing Test_folds_marker_in_comment()


Executing Test_foldtext_recursive()--------------------------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   Executing Test_indent_fold()


Executing Test_indent_fold2()


Executing Test_indent_fold_with_read()
"Xfile" 3L, 6C


Executing Test_manual_fold_with_filter()
[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines

Executing Test_move_folds_around_indent()


6 lines moved


5 lines moved


6 lines moved


5 lines moved


Executing Test_move_folds_around_manual()a

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moved


5 lines moveda

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moveda

+--  4 lines: b-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   5 lines moved


Executing Test_update_folds_expr_read()
"Xfile" 8L, 16C
"test_fold.res" [New File][New] 0L, 0C written


Executed 14 tests
"messages" 274L, 7258C291L, 7816C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_getvar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_getvar.vim" 88 lines, 2988 characters


Executing Test_var()
"test_getvar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"291L, 7816C295L, 7876C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gf.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gf.vim" 56 lines, 1578 characters


Executing Test_gF()
"Xfile" [New] 4L, 16C written2" [New] 3L, 18C written" 4L, 16C


Executing Test_gf_url()
"test_gf.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"295L, 7876C300L, 7956C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gn.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gn.vim" 118 lines, 3078 characters


Executing Test_gn_command()/[?2004h[u]niquepattern/s
/a:0\@!\zs\d\+/[?2004hbar/e
"test_gn.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"300L, 7956C304L, 8019C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u NONE -U NONE --noplugin --not-a-term -S runtest.vim test_gui.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui.vim" 696 lines, 19832 characters
"test_gui.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"304L, 8019C307L, 8055C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u gui_preinit.vim -U gui_init.vim --noplugin --not-a-term -S runtest.vim test_gui_init.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui_init.vim" 61 lines, 1190 characters
"test_gui_init.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"307L, 8055C310L, 8096C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hardcopy.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hardcopy.vim" 73 lines, 2260 characters


Executing Test_fname_with_spaces()
"t e s t.txt" [New File]Printing page 1 (0%)Printed: t e s t.txt


Executing Test_printheader_parsing()


Executing Test_printmbfont_parsing()


Executing Test_printoptions_parsing()


Executing Test_with_syntax()Printing page 1 (0%)Printing page 2 (99%)Printed: test_hardcopy.vim
"test_hardcopy.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"310L, 8096C318L, 8314C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_help.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_help.vim" 32 lines, 551 characters


Executing Test_help_errors()


Executing Test_help_keyword()
"visual.txt" [readonly] 541L, 21843C


Executing Test_help_restore_snapshot()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1
"x" [New File]test_help.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"318L, 8314C324L, 8450C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hide.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hide.vim" 97 lines, 2443 characters


Executing Test_hide()
"Xf1" [New File]

"Xf1" [New File]
"Xf212121


one|two
"Xf1" [New File]
"Xf212
"test_hide.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"324L, 8450C328L, 8509C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_highlight.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_highlight.vim" 36 lines, 1417 characters


Executing Test_highlight()


SpecialKey     xxx term=bold ctermfg=4 guifg=Blue


EndOfBuffer    xxx links to NonText


NonTextxxx term=bold cterm=bold ctermfg=4 gui=bold guifg=Blue


Directory      xxx term=bold ctermfg=4 guifg=Blue


ErrorMsgxxx term=standout cterm=bold ctermfg=7 ctermbg=1 guifg=White


guibg=Red


IncSearch      xxx term=reverse cterm=reverse gui=reverse


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


MoreMsgxxx term=bold ctermfg=2 gui=bold guifg=SeaGreen


ModeMsgxxx term=bold cterm=bold gui=bold


LineNrxxx term=underline ctermfg=3 guifg=Brown


CursorLineNr   xxx term=bold ctermfg=3 gui=bold guifg=Brown


Questionxxx term=standout ctermfg=2 gui=bold guifg=SeaGreen


StatusLine     xxx term=bold,reverse cterm=bold,reverse gui=bold,reverse


StatusLineNC   xxx term=reverse cterm=reverse gui=reverse


VertSplit      xxx term=reverse cterm=reverse gui=reverse


Titlexxx term=bold ctermfg=5 gui=bold guifg=Magenta


Visualxxx term=reverse cterm=reverse guibg=LightGrey


VisualNOS      xxx term=bold,underline cterm=bold,underline gui=bold,underline


WarningMsg     xxx term=standout ctermfg=1 guifg=Red


WildMenuxxx term=standout ctermfg=0 ctermbg=3 guifg=Black guibg=Yellow


Foldedxxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue


guibg=LightGrey


FoldColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


DiffAddxxx term=bold ctermbg=4 guibg=LightBlue


DiffChange     xxx term=bold ctermbg=5 guibg=LightMagenta


DiffDelete     xxx term=bold cterm=bold ctermfg=4 ctermbg=6 gui=bold guifg=Blue


guibg=LightCyan


DiffTextxxx term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red


SignColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


Concealxxx ctermfg=7 ctermbg=0 guifg=LightGrey guibg=DarkGrey


SpellBadxxx term=reverse ctermbg=1 gui=undercurl guisp=Red


SpellCapxxx term=reverse ctermbg=4 gui=undercurl guisp=Blue


SpellRare      xxx term=reverse ctermbg=5 gui=undercurl guisp=Magenta


SpellLocal     xxx term=underline ctermbg=6 gui=undercurl guisp=DarkCyan


Pmenuxxx ctermfg=0 ctermbg=5 guibg=LightMagenta


PmenuSelxxx ctermfg=0 ctermbg=7 guibg=Grey


PmenuSbar      xxx ctermbg=7 guibg=Grey


PmenuThumb     xxx ctermbg=0 guibg=Black


TabLinexxx term=underline cterm=underline ctermfg=0 ctermbg=7


gui=underline guibg=LightGrey


TabLineSel     xxx term=bold cterm=bold gui=bold


TabLineFill    xxx term=reverse cterm=reverse gui=reverse


CursorColumn   xxx term=reverse ctermbg=7 guibg=Grey90


CursorLine     xxx term=underline cterm=underline guibg=Grey90


ColorColumn    xxx term=reverse ctermbg=1 guibg=LightRed


QuickFixLine   xxx links to Search


StatusLineTerm xxx term=bold,reverse cterm=bold ctermfg=7 ctermbg=2 gui=bold


guifg=bg guibg=DarkGreen


StatusLineTermNC xxx term=reverse cterm=bold ctermfg=7 ctermbg=2 guifg=bg


guibg=DarkGreen


Cursorxxx guifg=bg guibg=fg


lCursorxxx guifg=bg guibg=fg


MatchParen     xxx term=reverse ctermbg=6 guibg=Cyan


Normalxxx cleared


ToolbarLine    xxx term=underline ctermbg=7 guibg=LightGrey


ToolbarButton  xxx cterm=bold ctermfg=7 ctermbg=0 gui=bold guifg=White


guibg=Grey40


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


"test_highlight.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"328L, 8509C332L, 8578C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_history.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_history.vim" 106 lines, 3567 characters


Executing Test_History()


Executing Test_Search_history_window()/[?2004ha
/[?2004hb
/[?2004ha

b

a

b

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Tests for the history functions



test_history.vim                                                                /a

/b

/

/

/

/

/~                                                                              ~                                                                              ~                                                                              ~                                                                              [Command Line]                                                                  [?25h[?25l/a
"test_history.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"332L, 8578C337L, 8683C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hlsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hlsearch.vim" 53 lines, 1490 characters


Executing Test_hlsearch()/[?2004haaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

~                                                                               [No Name] [+]                                                                   " Test for v:hlsearch



function! Test_hlsearch()

  new

  call setline(1, repeat(['aaa'], 10))

  set hlsearch nolazyredraw

  let r=[]

  " redraw is needed to make hlsearch highlight the matches

  exe "normal! /aaa\<CR>" | redraw

  let r1 = screenattr(1, 1)

test_hlsearch.vim                                                               aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





Executing Test_hlsearch_hangs()bc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               "test_hlsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"337L, 8683C342L, 8783C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment.vim" 760 lines, 19011 characters


Executing Test_normal_increment_01()
"dummy" [New File]

Executing Test_normal_increment_02()
"dummy" [New File]

Executing Test_normal_increment_03()
"dummy" [New File]

Executing Test_visual_increment_01()
"dummy" [New File]

Executing Test_visual_increment_02()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_03()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_04()
"dummy" [New File]

Executing Test_visual_increment_05()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_06()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_07()
"dummy" [New File]5 lines changed

Executing Test_visual_increment_08()
"dummy" [New File]

Executing Test_visual_increment_09()
"dummy" [New File]

Executing Test_visual_increment_10()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_11()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_12()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_13()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_14()
"dummy" [New File]

Executing Test_visual_increment_15()
"dummy" [New File]

Executing Test_visual_increment_16()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_17()
"dummy" [New File]

Executing Test_visual_increment_18()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_19()
"dummy" [New File]

Executing Test_visual_increment_20()
"dummy" [New File]

Executing Test_visual_increment_21()
"dummy" [New File]

Executing Test_visual_increment_22()
"dummy" [New File]

Executing Test_visual_increment_23()
"dummy" [New File]

Executing Test_visual_increment_24()
"dummy" [New File]

Executing Test_visual_increment_25()
"dummy" [New File]

Executing Test_visual_increment_26()
"dummy" [New File]

Executing Test_visual_increment_27()
"dummy" [New File]

Executing Test_visual_increment_28()
"dummy" [New File]

Executing Test_visual_increment_29()
"dummy" [New File]

Executing Test_visual_increment_30()
"dummy" [New File]

Executing Test_visual_increment_31()
"dummy" [New File]

Executing Test_visual_increment_32()
"dummy" [New File]_31" [New File]


Executing Test_visual_increment_33()
"dummy" [New File]

Executing Test_visual_increment_34()
"dummy" [New File]

Executing Test_visual_increment_35()
"dummy" [New File]

Executing Test_visual_increment_36()
"dummy" [New File]

Executing Test_visual_increment_37()
"dummy" [New File]

Executing Test_visual_increment_38()
"dummy" [New File]test_increment.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 342L, 8783C386L, 10344C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment_dbcs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment_dbcs.vim" 30 lines, 604 characters


Executing Test_increment_dbcs_1()
"test_increment_dbcs.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"[converted] 386L, 10344C[converted] 390L, 10425C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_job_fails.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_job_fails.vim" 19 lines, 598 characters


Executing Test_job_start_fails()[?25h[?2004l[?2004h[?25l
"test_job_fails.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"390L, 10425C394L, 10500C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_json.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_json.vim" 292 lines, 10880 characters


Executing Test_js_decode()


Executing Test_js_encode()


Executing Test_json_decode()


Executing Test_json_encode()


"test_json.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"394L, 10500C401L, 10650C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_langmap.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_langmap.vim" 28 lines, 628 characters


Executing Test_langmap()
"test_langmap.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"401L, 10650C405L, 10715C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_let.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_let.vim" 27 lines, 806 characters


Executing Test_let()
"test_let.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"405L, 10715C409L, 10772C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lineending.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lineending.vim" 19 lines, 429 characters


Executing Test_lineending()
"Xfile1" [New] 4L, 78C written
"test_lineending.vim" 19L, 429C
"Xfile1" 4L, 78C
"test_lineending.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"409L, 10772C413L, 10843C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr.vim" 235 lines, 6445 characters


Executing Test_block_replace_after_wrapping()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaa0aaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|@                   

@                   

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_conceal()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                Sabbbbbb bla||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        _S_      bla~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ^Iabcdef hijklmn^I  |

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                a_|

aaaaaaaaaaaaaaaaaaaa|

aa>-----a-$||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        a aaaaaaaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_tab_and_skipping_first_chars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ---------------aaaaa|

---------------aaaaa|

---------------aaaaa|

iiiiiiiii>-----aaaaa|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        iiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii      aaaaaaaaaaaaaaaaaa~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_norm_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdpgrs||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdpgrs~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_set_linebreak()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_should_break()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1|

+aaaaaaaaaaaaaaaaaa |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1aaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_undo_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                3 lines changedAaA|

AaA|

A||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        AaAAaAA~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                /[?2004h^REMOVE:this not|

aaaaaaaaaaaaa|

REMOVE:|

REMOVE:|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        this notaaaaaaaaaaaaaREMOVE:REMOVE:~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block_and_vbA()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar TARGETx at   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobarfoobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_char_and_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1111-2222-1111-11-  |

1111-2222-1111      |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1111-2222-1111-11-1111-2222-1111~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

"test_listlbr.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" [converted] 413L, 10843C[converted] 429L, 11393C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr_utf8.vim" 271 lines, 7788 characters


Executing Test_chinese_char_on_wrap_column()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

                    中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_colorcolumn_priority()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /[?2004hxxyy
search hit BOTTOM, continuing at TOPxxyy|

    |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        xxyy~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_illegal_byte_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_fancy_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing1()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing2()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_sign_and_colorcolumn()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_wrap_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_nolinebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_screenattr_for_comment()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /*▕———▕—————— and  |

+some more */¶|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        /*            and some more */~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_visual_block_and_selection_exclusive()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           +foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar TARGETÃx'   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobar+ foobar foobar foobar foobar foobar foobar foobar foobar f+oobar foobar foobar foobar foobar foobar foobar foobar foo+bar foobar foobar foobar foobar foobar foobar foobar fooba+r foobar foobar foobar foobar foobar foobar foobar foobar+TARGETÃx' at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

"test_listlbr_utf8.res" [New File][New] 0L, 0C written


Executed 12 tests
"messages" 429L, 11393C444L, 11953C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lua.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lua.vim" 22 lines, 438 characters


Executing Test_luado()
"test_lua.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"444L, 11953C448L, 12012C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_makeencoding.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_makeencoding.vim" 106 lines, 2413 characters
"test_makeencoding.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"448L, 12012C451L, 12057C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_man.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_man.vim" 60 lines, 1358 characters[?2004l[?2004h


Executing Test_g_ft_man_open_mode()[?2004l[?2004h




Cannot find a 'vim'.


Executing Test_nomodifiable()[?2004l[?2004h




Cannot find a 'vim'.
"test_man.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"451L, 12057C456L, 12160C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_marks.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_marks.vim" 70 lines, 2047 characters


Executing Test_Incr_Marks()


Executing Test_Restore_DelMark()1 more line; before #2  0 seconds ago
1 line less; after #2  0 seconds agomore line; before #2  0 seconds ago


Executing Test_setpos()
"one" [New File]twoest_marks.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"456L, 12160C462L, 12284C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_matchadd_conceal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_matchadd_conceal.vim" 289 lines, 9276 characters[?2004l[?1l>[?25h[?1049lExecuting Test_clearmatches()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_default_conceal_char()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #+This+is+a+Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_conceallevel_3()#ThisisaTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #Thisisa Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_syn_conceal()Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_repeat_conceal_with_syntax_off()TARGET_TARGETTARGET
t_ttsimple_matchadd()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_simple_matchadd_and_conceal()#XThisXisXaXTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_syn_and_match_conceal()#ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #*This*is*a*Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_using_matchaddpos()#Pis a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       "test_matchadd_conceal.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"462L, 12284C474L, 12698C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession.vim" 155 lines, 3363 characters


Executing Test_mksession()
"Xtemp" [New] 9L, 203C written


search hit BOTTOM, continuing at TOP
Executing Test_mksession_arglist()"file1" [New File]

Executing Test_mksession_one_buffer_two_windows()
"Xtest1" [New File]2


Executing Test_mksession_winheight()
"Xtest1" [New File]test_mksession.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 474L, 12698C[converted] 481L, 12890C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession_utf8.vim" 104 lines, 2328 characters


Executing Test_mksession_utf8()
"/tmp/vFPBVPf/0" [New] 9L, 215C written


search hit BOTTOM, continuing at TOP
"test_mksession_utf8.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"481L, 12890C485L, 12969C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_nested_function.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_nested_function.vim" 67 lines, 1305 characters


Executing Test_max_nesting()


Executing Test_nested_argument()


[]


Executing Test_nested_functions()
"test_nested_function.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"485L, 12969C491L, 13114C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_netbeans.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_netbeans.vim" 80 lines, 2145 characters
"test_netbeans.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"491L, 13114C494L, 13155C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_normal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_normal.vim" 2392 lines, 61363 characters


Executing Test_delete_until_paragraph()


Executing Test_normal00_optrans()


Executing Test_normal01_keymodel()
4 lines yankedExecuting Test_normal02_selectmode()
10 fewer lines

Executing Test_normal02_selectmode2():[?2004hset im
:[?2004hset noim


Executing Test_normal03_join()


Executing Test_normal04_filter():[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?2004l[?1l>[?1049l[?2004lone
[?2004h[?1049h[?1h=[?2004h[?25l:[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?25l:[?2004h.!
:[?2004h!echo one
[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lone
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h.!!
[?25h[?2004l[?2004h

[?25lExecuting Test_normal05_formatexpr()


Executing Test_normal05_formatexpr_newbuf()
"another" [New File]

Executing Test_normal05_formatexpr_setopt()


Executing Test_normal06_formatprg()[?2004l[?2004h:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered

Executing Test_normal07_internalfmt()
7 fewer lin

Executing Test_normal08_fold()


Executing Test_normal09_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h[?2004h[?2004h[?2004h


Executing Test_normal09a_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h


Executing Test_normal10_expand()


Executing Test_normal11_showcmd()


Executing Test_normal12_nv_error()


Executing Test_normal13_help()
"help.txt" [readonly] 225L, 8437C


Executing Test_normal14_page()


Executing Test_normal14_page_eol()


Executing Test_normal15_z_scroll_vert()


Executing Test_normal16_z_scroll_hor()


Executing Test_normal17_z_scroll_hor2()


Executing Test_normal18_z_fold()


Executing Test_normal19_z_spell()
Word 'goood' added to ./Xspellfile.add
search hit BOTTOM, continuing at TOPWord 'goood' added to ./Xspellfile.add2 goood' added to ./Xspellfile.add/tmp/vllkauP/11removed from /tmp/vllkauP/11goood' added to /tmp/vllkauP/11removed from /tmp/vllkauP/11added to ./Xspellfile.addremoved from ./Xspellfile.add2 goood' added to ./Xspellfile.addremoved from ./Xspellfile.addgoood' added to ./Xspellfile2.add

Executing Test_normal20_exmode()[?2004l[?2004h


Executing Test_normal21_nv_hat()
"Xfoobar" [New File]ile2" [New File]

Executing Test_normal22_zet()[?2004l[?2004h[?2004l[?2004h


Executing Test_normal23_K()
"version8.txt" [readonly] 18040L, 684251Cline 1 of 18040 --0%-- col 1
"man" [New File]aa%bb" [New File]
"cc|dd
:! man --pager=cat 'man'[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lstdin not open for reading!
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25lExecuting Test_normal24_rot13()


Executing Test_normal25_tag()
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"insert.txt" [readonly] 2004L, 82939Cline 49 of 2004 --2%-- col 7-49


Executing Test_normal26_put()


Executing Test_normal27_bracket()


21 substitutions on 21 lines


Executing Test_normal28_parenthesis()


Executing Test_normal29_brace()
17 fewer lines4 fewer lines3

Executing Test_normal30_changecase()


Executing Test_normal31_r_cmd()


Executing Test_normal32_g_cmd1()
/x_foo?abc

Executing Test_normal33_g_cmd2()/[?2004h[1-8]
search hit BOTTOM, continuing at TOP
9 substitutions on 9 linesblock of 3 lines yanked5


Executing Test_normal34_g_cmd3()


Executing Test_normal35_g_cmd4()


Executing Test_normal36_g_cmd5()


Executing Test_normal37_g_cmd6()
"1.txt" [New File]23


Executing Test_normal38_nvhome()


Executing Test_normal39_cw()


Executing Test_normal40_ctrl_bsl()


Executing Test_normal41_insert_reg()=[?2004ha
=[?2004ha
=[?2004ha


Executing Test_normal42_halfpage()


Executing Test_normal43_textobject1()


Executing Test_normal44_textobjects2()


Executing Test_normal45_drop()


Executing Test_normal46_ignore()


Executing Test_normal47_autocmd()


Executing Test_normal47_visual_buf_wipe()


Executing Test_normal48_wincmd()


Executing Test_normal49_counts()


Executing Test_normal50_commandline()q:  :[?2004hxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :set im

:set noim

:.!sed -e 's/^/|    /'

:.!

:!echo one

:.!!

:

[Command Line]                                                                  [?25h[?25l[?25h[?25l:^M   



Executing Test_normal51_FileChangedRO()
"Xreadonly.log" 1L, 4C
Error detected while processing ...24]..Test_normal51_FileChangedRO:
line   10:W10: Warning: Changing a readonly file


Executing Test_normal52_rl()3_digraph()


Executing Test_normal54_Ctrl_bsl()


Executing Test_normal_8g8()


Executing Test_normal_large_count()
"test_normal.res" [New File][New] 0L, 0C written


Executed 64 tests
"messages" 494L, 13155C567L, 15700C written
[?2004l[?2004l[?1l>[?25h[?1049l

VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_number.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_number.vim" 254 lines, 5032 characters


Executing Test_number()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   1 abcdefghij      |

  2 klmnopqrst      |

  3 uvwxyzABCD      |

  4 EFGHIJKLMN      |

  5 OPQRSTUVWX      |

  6 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_linewrap1()|||~                   

~                   

[No Name]            ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 --1 aaaaaaaaaaaaaaaa|

    aaaaaaaaaaaaaaaa|

    aaaaaaaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   3 abcdefghij      |

  2 klmnopqrst      |

  1 uvwxyzABCD      |

4   EFGHIJKLMN      |

  1 OPQRSTUVWX      |

  2 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 1     aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     0 aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth_adjusted()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                  9991 aaaa|

 9992 aaaa|

 9993 aaaa|

 9994 aaaa|

 9995 aaaa|

 9996 aaaa|

 9997 aaaa|

 9998 aaaa|

 9999 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     9 aaaa|

    8 aaaa|

    7 aaaa|

    6 aaaa|

    5 aaaa|

    4 aaaa|

    3 aaaa|

    2 aaaa|

    1 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   9 aaaa|

  8 aaaa|

  7 aaaa|

  6 aaaa|

  5 aaaa|

  4 aaaa|

  3 aaaa|

  2 aaaa|

  1 aaaa|

  0 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   2 abcdefghij      |

  1 klmnopqrst      |

  0 uvwxyzABCD      |

  1 EFGHIJKLMN      |

  2 OPQRSTUVWX      |

  3 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_set_global_and_local()


Executing Test_set_options()1   ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            1   ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

test_number.vim                                                                 1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

 11 

 12 func! s:test_windows(h, w) abort

 13   call NewWindow(a:h, a:w)

 14 endfunc

 15 

 16 func! s:close_windows() abort

 17   call CloseWindow()

 18 endfunc

 19 

 20 func! s:validate_cursor() abort

 21   " update skipcol.

 22   " wincol():

"test_number.res" [New File][New] 0L, 0C written


Executed 8 tests
"messages"567L, 15700C578L, 16013C written
[?2004l

[?2004l[?1l>[?25h[?1049l../vim -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"../option.c" 12669 lines, 331004 characters
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_options.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_options.vim" 334 lines, 10325 characters


Executing Test_cinkeys()


Executing Test_complete()
Pattern not found

Executing Test_dictionary()


Executing Test_filetype_valid()


Executing Test_isfname()[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_keymap_valid()


Executing Test_options()
"option-window" [New File]


Executing Test_path_keep_commas()


Executing Test_set_all()


Executing Test_set_completion():[?2004hset di...ctionary diff diffexpr diffopt digraph directory display
:"set dictionary diff diffexpr diffopt digraph directory display
:"
:[?2004hset nodi...ff digraph
:"set nodiff digraph
:"
:[?2004hset invdi...ff digraph
:"set invdiff digraph
:"
:[?2004hset ts...abstop thesaurus ttyscroll
:"set tabstop thesaurus ttyscroll
:"
:[?2004hset fileencodings=...ucs-bom,utf-8,default,latin1
:"set fileencodings=ucs-bom,utf-8,default,latin1
:"
:[?2004hset fileencodings:...ucs-bom,utf-8,default,latin1
:"set fileencodings:ucs-bom,utf-8,default,latin1
:"
:[?2004hset <H...elp> <Home>
:"set <Help> <Home>
:"
:[?2004hset t_A...B t_AF t_AL
:"set t_AB t_AF t_AL
:"
:[?2004hset cdpath=./...XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/


./pythonx/ ./pyxfile/ ./samples/ ./sautest/"set cdpath=./XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./samples/ ./sautest/
:[?2004hset tags=./...Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./ben


ch_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim .


/gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.


vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_afte


r/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./


setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1


.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.ou


t./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./te


st15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.


in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./t


est25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.


in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test


30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok "set tags=./Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./bench_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim ./gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.out ./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./test15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./test25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok
:[?2004hset tags=./\\ dif...f diffexpr diffopt
:"set tags=./\\ diff diffexpr diffopt
:"


Executing Test_set_errors()


  tabstop=8


Executing Test_set_indentexpr()ttytype()[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h

E558: Terminal entry not found in terminfo

'' not known. Available builtin terminals are:

    builtin_gui

    builtin_amiga

    builtin_beos-ansi

    builtin_ansi

    builtin_pcansi

    builtin_win32

    builtin_vt320

    builtin_vt52

    builtin_xterm

    builtin_iris-ansi

    builtin_debug

    builtin_dumb



E558: Terminal entry not found in terminfo

'xxx' not known. Available builtin terminals are:

    builtin_gui

    builtin_amiga

    builtin_beos-ansi

    builtin_ansi

    builtin_pcansi

    builtin_win32

    builtin_vt320

    builtin_vt52

    builtin_xterm

    builtin_iris-ansi

    builtin_debug

    builtin_dumb

[?2004l[?1l>[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_set_values()


[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?1000h[?1000lline 3206: set vbs=9999


line 3207: if exists('+verbose')


line 3208: endif


line 3209: set verbose&


[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_signcolumn()


Executing Test_syntax_valid()


Executing Test_thesaurus()


Executing Test_whichwrap()


Executing Test_wildchar()


"test_options.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 578L, 16013C600L, 16592C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_packadd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_packadd.vim" 275 lines, 9157 characters


Executing Test_colorscheme()


Executing Test_colorscheme_completion():[?2004hcolorscheme ...one')
:ccolorscheme one')
:cacolorscheme one')
:calcolorscheme one')
:callcolorscheme one')
:call colorscheme one')acolorscheme one')dcolorscheme one')dcolorscheme one')(colorscheme one')lcolorscheme one')icolorscheme one'),colorscheme one') colorscheme one')'colorscheme one')
:[?2004hcolorscheme ...one...three')
:ccolorscheme three')
:cacolorscheme three')
:calcolorscheme three')
:callcolorscheme three')
:call colorscheme three')acolorscheme three')dcolorscheme three')dcolorscheme three')(colorscheme three')lcolorscheme three')icolorscheme three'),colorscheme three') colorscheme three')'colorscheme three')
:[?2004hcolorscheme ...one...three...wo')
:ccolorscheme two')
:cacolorscheme two')
:calcolorscheme two')
:callcolorscheme two')
:call colorscheme two')acolorscheme two')dcolorscheme two')dcolorscheme two')(colorscheme two')lcolorscheme two')icolorscheme two'),colorscheme two') colorscheme two')'colorscheme two')
:[?2004hcolorscheme ...one...three...wo...')
:ccolorscheme ')
:cacolorscheme ')
:calcolorscheme ')
:callcolorscheme ')
:call colorscheme ')acolorscheme ')dcolorscheme ')dcolorscheme ')(colorscheme ')lcolorscheme ')icolorscheme '),colorscheme ') colorscheme ')'colorscheme ')


Executing Test_helptags()


Executing Test_packadd()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C writtenalso/loaded.vim" [New File][New] 1L, 29C writtenftdetect/test.vim" [New File[New] 1L, 26C written


Executing Test_packadd_completion():[?2004hpackadd ...pluginA')
:cpackadd pluginA')
:capackadd pluginA')
:calpackadd pluginA')
:callpackadd pluginA')
:call packadd pluginA')apackadd pluginA')dpackadd pluginA')dpackadd pluginA')(packadd pluginA')lpackadd pluginA')ipackadd pluginA'),packadd pluginA') packadd pluginA')'packadd pluginA')
:[?2004hpackadd ...pluginA...B')
:cpackadd pluginB')
:capackadd pluginB')
:calpackadd pluginB')
:callpackadd pluginB')
:call packadd pluginB')apackadd pluginB')dpackadd pluginB')dpackadd pluginB')(packadd pluginB')lpackadd pluginB')ipackadd pluginB'),packadd pluginB') packadd pluginB')'packadd pluginB')
:[?2004hpackadd ...pluginA...B...C')
:cpackadd pluginC')
:capackadd pluginC')
:calpackadd pluginC')
:callpackadd pluginC')
:call packadd pluginC')apackadd pluginC')dpackadd pluginC')dpackadd pluginC')(packadd pluginC')lpackadd pluginC')ipackadd pluginC'),packadd pluginC') packadd pluginC')'packadd pluginC')
:[?2004hpackadd ...pluginA...B...C...')
:cpackadd ')
:capackadd ')
:calpackadd ')
:callpackadd ')
:call packadd ')apackadd ')dpackadd ')dpackadd ')(packadd ')lpackadd ')ipackadd '),packadd ') packadd ')'packadd ')


Executing Test_packadd_noload()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written


Executing Test_packadd_symlink_dir()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"./Xdir/Xdir2/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_packloadall()


Executing Test_runtime()
"test_packadd.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"600L, 16592C612L, 16912C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_paste.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_paste.vim" 99 lines, 2938 characters[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_paste_cmdline():[?2004hafoo^Mbarb
:"afoo^Mbarb
:"


Executing Test_paste_insert_mode()normalvisu
"test_paste.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"612L, 16912C619L, 17087C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_perl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_perl.vim" 238 lines, 5919 characters


Executing Test_SvREFCNT()
"t" [New File]

Executing Test_VIM_Buffers()
"Xbar" [New File]

Executing Test_VIM_Windows()


Executing Test_VIM_package()


Executing Test_buffer_Append()


Executing Test_buffer_Count()


Executing Test_buffer_Delete()


Executing Test_buffer_Get()


Executing Test_buffer_Name()
"Xfoo" [New File]

Executing Test_buffer_Number()


Executing Test_buffer_Set()


Executing Test_change_buffer()/[?2004h^1


Executing Test_evaluate_list()/[?2004h^2
search hit BOTTOM, continuing at TOP


Executing Test_perldo()
"__TEST__" [New File]test_perl.vim"238L, 5919C


Executing Test_perleval()


Executing Test_stdio()


&VIM::Msg


STDOUT


STDERR


Executing Test_window_Cursor()


Executing Test_window_SetHeight()
"test_perl.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 619L, 17087C640L, 17647C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_preview.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_preview.vim" 13 lines, 248 characters


Executing Test_Psearch()
"help.txt" [readonly] 225L, 8437C


"[No Name]" [Not edited][readonly] line 1 of 225 --0%-- col 1
"test_preview.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"640L, 17647C644L, 17712C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_profile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_profile.vim" 147 lines, 6308 characters


Executing Test_profile_completion():[?2004hprofile ...continue file func pause start
:"profile continue file func pause start
:"
:[?2004hprofile start test_prof...ile.vim
:"profile start test_profile.vim
:"


Executing Test_profile_errors()


Executing Test_profile_file()[?2004l[?2004h


Executing Test_profile_func()[?2004l[?2004h
"test_profile.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"644L, 17712C651L, 17881C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python2.vim" 24 lines, 523 characters
"test_python2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"651L, 17881C654L, 17921C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python3.vim" 24 lines, 534 characters


Executing Test_py3do()
"test_python3.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"654L, 17921C658L, 17984C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx2.vim" 74 lines, 1409 characters
"test_pyx2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"658L, 17984C661L, 18021C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx3.vim" 74 lines, 1409 characters


Executing Test_has_pythonx()


Executing Test_pyx()


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


Executing Test_pyxdo()


Executing Test_pyxeval()


Executing Test_pyxfile()


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]
"test_pyx3.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"661L, 18021C669L, 18182C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quickfix.vim" 2639 lines, 77130 characters


Executing Test_Autocmd()
"F1" [New File]

(1 of 1): Line 10
"F2" [New File]

(1 of 2): Line 10


Executing Test_Autocmd_Exception()


Executing Test_Multi_LL_Help()
"arabic.txt" [readonly] 322L, 11936C


(1 of 4051): o  Viewing and editing files in right-to-left windows.^I File
"arabic.txt" [readonly] line 1 of 322 --0%-- col 1

(1 of 3535): the global settings as they could affect other possible open buffe


rs.


Executing Test_Qf_Size()
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"


Executing Test_add_qf()


Executing Test_adjust_lnum()


Already only one window
"Xqftestfilec" 20L, 131C


9 fewer lines


Already only one window
"Xqftestfilel" 20L, 131C


9 fewer lines


Executing Test_browse()
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


Executing Test_bufoverflow()


Executing Test_caddbuffer_to_empty()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


(2 of 1487):


Executing Test_caddbuffer_wrong()
"Xqftestfile2" [New File]

Executing Test_caddexpr_wrong()


(1 of 1):


(1 of 1):


Executing Test_cage()


error list 3 of 4; 1 errors:cgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:cgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 3 of 4; 1 errors:lgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:lgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


Executing Test_cbottom()


Executing Test_cbuffer()
"Xtestfile7" [New File]

(1 of 2): Line 700


"Xtestfile1" [New File]


"Xtestfile7" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


Executing Test_cclose_from_copen()


Executing Test_cclose_in_autocmd()


Executing Test_cexpr()


Executing Test_cfile()
"Xtestfile1" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


(1 of 2): Line 700


Executing Test_cgetexpr_works()


Executing Test_changedtick()


error list 2 of 3; 0 errors:cexpr ""


error list 1 of 3; 0 errors:cexpr ""


error list 2 of 3; 0 errors:lexpr ""


error list 1 of 3; 0 errors:lexpr ""


Executing Test_clist()


 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one




 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one


Executing Test_cwindow()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 "[Quickfix List]" line 1 of 3 --33%-- col 1


~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 Executing Test_cwindow_jump()
"F1" [New File]2


Executing Test_dirstack_cleanup()


(1 of 1): 0


Executing Test_duplicate_buf()
"DoesNotExist" [New File]2" [New File]


Xgrepthis
"Xgrepthis" line 1 of 2 --50%-- col 1


(1 of 2): this one


Xgrepthis
(1 of 2): this one


Executing Test_efm()


Executing Test_efm1()
"Xtestfile" 21L, 903C


(1 of 20): 1506-045 (S) Undeclared identifier fd_set.


(20 of 20): What is the title of the quickfix window?


Executing Test_efm2()
"Xtestfile" [New File]


 1 Xtestfile:^\VLine search text\$:


(1 of 1): msg2


Executing Test_efm_dirstack()


Executing Test_efm_ignore_continuations()


Executing Test_errortitle()


Executing Test_get_list_from_lines()


Executing Test_grep()


Already only one window[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25l[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25lExecuting Test_helpgrep()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C


"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C
"index.txt" [readonly] 1660L, 76442C
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


Executing Test_history()


error list 1 of 1; 0 errors:setqflist()


error list 1 of 1; 0 errors:setloclist()


Executing Test_invalid_efm()


Executing Test_locationlist()


No matching autocommands


(1 of 7): file foo.txt


No matching autocommands


No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


W19: Deleting augroup that is still in use
Executing Test_locationlist_cross_tab_jump()
"loclistfoo" 1L, 11Cbar1L, 11C[?2004l[?1l>[?25h[?1049l[?2004lloclistfoo:1:loclistfoo
[?2004h[?1049h[?1h=[?2004h

[?25lAlready only one window


Executing Test_locationlist_curwin_was_closed()


W19: Deleting augroup that is still in use
Executing Test_long_lines()"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


Executing Test_multidirstack()


Executing Test_multifilestack()


Executing Test_nomem()
"/<<PKGBUILDDIR>>/src/vim-athena/alloc.h" 21L, 485C


Error detected while processing function RunTheTest[24]..Test_nomem:


line    2:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-athena/alloc.h" 21L, 485C


line    5:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-athena/alloc.h" 21L, 485C


line    8:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-athena/alloc.h" 21L, 485C


line   11:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-athena/alloc.h" 21L, 485C


line   14:


E342: Out of memory!  (allocating 1025 bytes)


Executing Test_perbuf_efm()
"File1" [New File]

(1 of 1): Line10


Executing Test_qf_free()


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

Executing Test_qf_id()


error list 2 of 3; 0 errors:cexpr ''


error list 2 of 3; 0 errors:lexpr ''


Executing Test_qf_property()


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


Executing Test_qf_title()


Executing Test_quickfix_set_list_with_act()


Executing Test_quickfix_was_changed_by_autocmd()


error list 1 of 2; 1 errors:setqflist()


W19: Deleting augroup that is still in use
error list 1 of 2; 1 errors       :setloclist()


error list 1 of 2; 1 errors:setloclist()


W19: Deleting augroup that is still in use
Executing Test_resize_from_copen()

Executing Test_setexpr()


Executing Test_setqflist()
"Xtestfile" [New File]

(2 of 2):


(3 of 3):


(2 of 2):


(3 of 3):


Executing Test_setqflist_empty_middle()


test_quickfix.vim
"test_quickfix.vim" 2639L, 77130C


(1 of 1): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1vimgrep empty test_quickfix.vim


error list 1 of 3; 1 errors:-1vimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setqflist()


error list 3 of 3; 2 errors:-1vimgrep matches test_quickfix.vim


test_quickfix.vim
(1 of 66): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1lvimgrep empty test_quickfix.vim


error list 1 of 3; 66 errors      :-1lvimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setloclist()


error list 3 of 3; 2 errors:-1lvimgrep matches test_quickfix.vim


Executing Test_setqflist_empty_older()


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1vimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1vimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1vimgrep three test_quickfix.vim


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1lvimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1lvimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1lvimgrep three test_quickfix.vim


Executing Test_switchbuf()
"Xqftestfile1" 20L, 131C220L, 131C1" line 1 of 20 --5%-- col 1


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" line 1 of 20 --5%-- col 1


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C220L, 131C


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16


Already only one window
"Xqftestfile1" 20L, 131C220L, 131C320L, 131C120L, 131C220L, 131C320L, 131C


Already only one window


Already only one window


Executing Test_two_windows()
"one" [New File]two


Executing Test_vimgrep()


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Executing Test_vimgreptitle()


file
"file" [New File]


Cannot open file "file"
"test_quickfix.res" [New File][New] 0L, 0C written


Executed 59 tests
"messages" 669L, 18182C731L, 19984C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quotestar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quotestar.vim" 158 lines, 4650 characters


Executing Test_quotestar()
"test_quotestar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"731L, 19984C737L, 20131C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_retab.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_retab.vim" 77 lines, 3189 characters


Executing Test_retab()


Executing Test_retab_error()


"test_retab.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"737L, 20131C742L, 20222C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_registers.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_registers.vim" 27 lines, 821 characters


Executing Test_yank_shows_register()
1 line yankedinto "z
2 lines yankedinto "z
block of 1 line yanked into "z2 lines yankedinto "z
"test_registers.vim" 27L, 821Cres" [New File][New] 0L, 0C written


Executed 1 test
"messages"742L, 20222C746L, 20301C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_ruby.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_ruby.vim" 51 lines, 1229 characters


Executing Test_ruby_change_buffer()/[?2004h^1


Executing Test_ruby_evaluate_dict()


{"a"=>"foo", "b"=>123}


Executing Test_ruby_evaluate_list()/[?2004h^2
search hit BOTTOM, continuing at TOP


Executing Test_rubydo()
"test_ruby.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"746L, 20301C753L, 20471C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_scrollbind.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_scrollbind.vim" 32 lines, 807 characters


Executing Test_scrollbind()
"test_scrollbind.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"753L, 20471C757L, 20542C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_search.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search.vim" 358 lines, 10339 characters


Executing Test_search_cmdline()/[?2004hfoobar
/[?2004hthe
search hit BOTTOM, continuing at TOP/[?2004hthes
/foobar
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthei
/[?2004htheis
/[?2004htheiss
/[?2004hthemthe\>
Executing Test_search_cmdline2()/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hfoo
6 their

  7 the

  8 them

  9 these

 10 foobar

[No Name] [+]                                                                   " Test for the search command



set belloff=all

func Test_search_cmdline()

  if !exists('+incsearch')

    return

  endif

  " need to disable char_avail,

  " so that expansion of commandline works

  call test_override("char_avail", 1)

  new

  call setline(1, ['  1', '  2 these', '  3 the', '  4 their', '  5 there', '  66 their', '  7 the', '  8 them', '  9 these', ' 10 foobar'])

  " Test 1

  " CTRL-N / CTRL-P skips through the previous search history

  set noincsearch

test_search.vim                                                                 Executing Test_search_cmdline3()/[?2004hthe\~
Executing Test_search_cmdline4()?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM?[?2004hthe
Executing Test_searchc()


Executing Test_searchpair()


Executing Test_use_sub_pat()
"test_search.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"757L, 20542C767L, 20795C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_signs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_signs.vim" 199 lines, 6383 characters


Executing Test_sign()
"foo" [New File]a  b  c xd                                                                                 ~

[No Name] [+]                                                                   " Test for signs



if !has('signs')

  finish

endif

test_signs.vim                                                                  ~                                                                               ~                                                                               ~                                                                               ~                                                                               foo                                                                               a

  b

x c

  d

[No Name] [+]                                                                     a  bx c  d  ~   "foo" [New file] --No lines in buffer--
"barF

Executing Test_sign_completion():[?2004hsign ...define jump list place undefine unplace
:"sign define jump list place undefine unplace
:"
:[?2004hsign define Sign ...icon= linehl= text= texthl=
:"sign define Sign icon= linehl= text= texthl=
:"
:[?2004hsign define Sign linehl=Spell...Bad SpellCap SpellLocal SpellRare
:"sign define Sign linehl=SpellBad SpellCap SpellLocal SpellRare
:"
:[?2004hsign define Sign icon=Xsig...nOne XsignTwo
:"sign define Sign icon=XsignOne XsignTwo
:"
:[?2004hsign undefine ...Sign1 Sign2
:"sign undefine Sign1 Sign2
:"
:[?2004hsign place 1 ...buffer= file= line= name=
:"sign place 1 buffer= file= line= name=
:"
:[?2004hsign place 1 name=...Sign1 Sign2
:"sign place 1 name=Sign1 Sign2
:"
:[?2004hsign unplace 1 ...buffer= file=
:"sign unplace 1 buffer= file=
:"
:[?2004hsign list ...Sign1 Sign2
:"sign list Sign1 Sign2
:"
:[?2004hsign jump 1 ...buffer= file=
:"sign jump 1 buffer= file=
:"


Executing Test_sign_delete_buffer()


Executing Test_sign_invalid_commands()


Executing Test_sign_undefine_still_placed()
"foobar" [New File]test_signs.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"767L, 20795C775L, 21008C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_smartindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_smartindent.vim" 41 lines, 935 characters


Executing Test_nosmartindent()/[?2004hsome
search hit BOTTOM, continuing at TOP


Executing Test_smartindent_has_no_effect()
"test_smartindent.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"775L, 21008C780L, 21127C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_spell.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_spell.vim" 779 lines, 25186 characters


Executing Test_spellreall()


Executing Test_wrap_search()
search hit BOTTOM, continuing at TOP


Executing Test_z_equal_on_invalid_utf8_word()
Change "ÿ" to:

 1 "I"


 2 "W"


 3 "Y"


 4 "A"


 5 "E"


 6 "O"


 7 "U"


 8 "À"


 9 "B"


10 "C"


11 "D"


12 "F"


13 "G"


14 "H"


15 "J"


16 "K"


17 "L"


18 "M"


19 "N"


20 "P"


21 "Q"


22 "R"


Type number and <Enter> or click with mouse (empty cancels): 


Executing Test_zeq_crash()
Change "asd" to:

 1 "Acid"


 2 "Sad"


 3 "Ads"


 4 "And"


 5 "Ask"


 6 "Asp"


 7 "Add"


 8 "Aid"


 9 "Ass"


10 "Ad"


11 "As"


12 "USD"


13 "Ash"


14 "Asst"


15 "Assad"


16 "SSD"


17 "SD"


18 "AMD"


19 "ASB"


20 "ASL"


21 "BSD"


22 "LSD"


Type number and <Enter> or click with mouse (empty cancels): :[?2004h\"Executing Test_zz_NOSLITSUGS()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 8 of 26 nodes; 18 (69%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 90 bytes


4 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_Numbers()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 2 of 15 nodes; 13 (86%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 65 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_affix()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 105 nodes; 86 (81%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 87 nodes; 68 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_basic()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_compound()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 29 nodes; 23 (79%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 115 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_prefixes()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 98 nodes; 88 (89%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 505 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_sal_and_addition()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 241 bytes


Reading word file Xtest.latin1.add ...


Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.latin1.add.spl ...


Done!


Estimated runtime memory use: 145 bytes/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP
"test_spell.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [converted] 780L, 21127C[converted] 794L, 21503C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup.vim" 265 lines, 7013 characters


Executing Test_after_comes_later()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l1: /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xbefore.vim


  2: /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xhere/plugin/here.vi


m

  3: /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xanother/plugin/anot


her.vim


  4: /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xhere/pack/foo/start


/foobar/plugin/foo.vim


  5: /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xafter/plugin/later.


vim


  6: /<<PKGBUILDDIR>>/src/vim-athena/testdir/Xafter.vim


here another pack after
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_compatible_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25lError detected while processing /<<PKGBUILDDIR>>/src/vim-athena/t


estdir/Xafter.vim:


line    2:


E528: Must specify a ' value: viminfo+=nviminfo
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_default_term()[?2004l[?2004h


Executing Test_file_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l3 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l2 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l4 files to edit
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_help_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_pack_in_rtp_when_plugins_run()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_progpath()


Executing Test_read_stdin()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 1 line, 10 characters[?2004h[?12h[?12l"Xtestout" [New File] 1 line, 10 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_silent_ex_mode()[?2004l[?2004h


Executing Test_startup_script()[?1000h


Executing Test_startuptime()[?2004l[?1l>[?25h[?1049l[?1000l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?1000h[?2004h[?1049h[?1h=[?2004h[?25l"test_startup.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" 794L, 21503C808L, 21889C written
[?1000l[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup_utf8.vim" 64 lines, 1366 characters


Executing Test_read_fifo_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"/dev/fd/63" [readonly] 2 lines, 24 characters


"Xtestout" [New File] 2 lines, 24 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_read_stdin_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 2 lines, 24 characters[?2004h[?12h[?12l"Xtestout" [New File] 2 lines, 24 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h[?25l"test_startup_utf8.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"808L, 21889C813L, 22000C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_stat.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_stat.vim" 92 lines, 2287 characters


Executing Test_checktime()
"Xtest.tmp" 1L, 13C[?25h[?2004l[?2004h[?25l1L, 25C


Executing Test_existent_directory()


Executing Test_existent_file()


Executing Test_nonexistent_file()


Executing Test_win32_symlink_dir()
"test_stat.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"813L, 22000C821L, 22201C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_substitute.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_substitute.vim" 296 lines, 12358 characters


Executing Test_multiline_subst()


search hit BOTTOM, continuing at TOP
3 substitutions on 3 lines

3 substitutions on 2 lines


Executing Test_sub_replace_1()


Executing Test_sub_replace_10()


Executing Test_sub_replace_2()


Executing Test_sub_replace_3()


Executing Test_sub_replace_4()


Executing Test_sub_replace_5()


Executing Test_sub_replace_6()


Executing Test_sub_replace_7()


Executing Test_sub_replace_8():[?2004hs/\(^\|,\)\ze\(,\|Y\)/\1N/gc
N,,NX

,,Y

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       replace with \1N (y/n/a/q/l/^E/^Y)?:[?2004hs/\(^\|,\)\ze\(,\|Z\)/\1N/gc
N,,NY

,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?N,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?Executing Test_sub_replace_9():[?2004hs/x/X/gc
xxx~                                                                               ~                                                                               replace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Executing Test_substitute_repeat()
"Xfile" [New File]Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sc


x

[?25l^[?25hy


[?25lxx


Executing Test_substitute_variants():[?2004hs/Test/test/c
Testing string

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               replace with test (y/n/a/q/l/^E/^Y)?:[?2004hsc
replace with test (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ce
:[?2004hsce
:[?2004hs/t/r/cg
Tesreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscg
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/ci
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsci
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cI
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscI
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cn
1 match on 1 line:[?2004hscn
1 match on 1 line:[?2004hs/t/r/cp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hscp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hs/t/r/cl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hscl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hs/t/r/gc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hsgc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ge
:[?2004hsge
:[?2004hs/t/r/g
:[?2004hsg
:[?2004hs/t/r/gi
3 substitutions on 1 line:[?2004hsgi
3 substitutions on 1 line:[?2004hs/t/r/gI
:[?2004hsgI
:[?2004hs/t/r/gn
2 matches on 1 line:[?2004hsgn
2 matches on 1 line:[?2004hs/t/r/gp
Tesring srring$:[?2004hsgp
Tesring srring$:[?2004hs/t/r/gl
Tesring srring$:[?2004hsgl
Tesring srring$:[?2004hs//r/gr
:[?2004hsgr
:[?2004hs/t/r/ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsic
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ie
:[?2004hsie
:[?2004hs/t/r/i
:[?2004hsi
:[?2004hs/t/r/iI
:[?2004hsiI
:[?2004hs/t/r/in
1 match on 1 line:[?2004hsin
1 match on 1 line:[?2004hs/t/r/ip
resting string$:[?2004hsip
resting string$:[?2004hs//r/ir
:[?2004hsir
:[?2004hs/t/r/Ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsIc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/Ie
:[?2004hsIe
:[?2004hs/t/r/Ig
:[?2004hsIg
:[?2004hs/t/r/Ii
:[?2004hsIi
:[?2004hs/t/r/I
:[?2004hsI
:[?2004hs/t/r/Ip
Tesring string$:[?2004hsIp
Tesring string$:[?2004hs/t/r/Il
Tesring string$:[?2004hsIl
Tesring string$:[?2004hs//r/Ir
:[?2004hsIr
:[?2004hs//r/rc
tingreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsrc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs//r/rg
:[?2004hsrg
:[?2004hs//r/ri
:[?2004hsri
:[?2004hs//r/rI
:[?2004hsrI
:[?2004hs//r/rn
1 match on 1 line:[?2004hsrn
1 match on 1 line:[?2004hs//r/rp
Testr string$:[?2004hsrp
Testr string$:[?2004hs//r/rl
Testr string$:[?2004hsrl
Testr string$:[?2004hs//r/r
:[?2004hsr
"test_substitute.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 821L, 22201C837L, 22662C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_syntax.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_syntax.vim" 522 lines, 14436 characters


Executing Test_bg_detection()


Executing Test_conceal()123456

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X 6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1XY6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 16

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 Executing Test_highlight_invalid_arg()


Executing Test_invalid_name()


Error detected while processing function RunTheTest[24]..Test_invalid_name:


line    4:


W18: Invalid character in group name


Executing Test_ownsyntax()
"Xfoo" [New File]

2 buffers wiped out


Executing Test_ownsyntax_completion():[?2004hownsyntax java... javacc javascript
:"ownsyntax java javacc javascript
:"


Executing Test_syn_clear()


Executing Test_syn_iskeyword()CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


syntax iskeyword @,48-57,_,192-255CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


Executing Test_syn_sync()


Executing Test_synstack_synIDtrans()


Executing Test_syntax_after_reload()
"Xsomefile" [New File][New] 2L, 12C written
"other" [New File]Xsomefile" 2L, 12C


Executing Test_syntax_arg_skipped()


Executing Test_syntax_completion():[?2004hsyn ...case clear cluster conceal enable include iskeyword keyword list manual ma


tch off on region reset spell sync"syn case clear cluster conceal enable include iskeyword keyword list manual match off on region reset spell sync
:[?2004hsyn case ...ignore match
:"syn case ignore match
:"
:[?2004hsyn spell ...default notoplevel toplevel
:"syn spell default notoplevel toplevel
:"
:[?2004hsyn sync ...ccomment clear fromstart linebreaks= linecont lines= match maxlines=


minlines= region"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region
:[?2004hsyn list ...Aap Boolean Character ColorColumn Comment Conceal Conditional Constan


tCursor CursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd Dif


fChange DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float


FoldColumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include K


eyword Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number "syn list Aap Boolean Character ColorColumn Comment Conceal Conditional Constant Cursor CursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd Di

fChange DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float FoldColumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include Keyword Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number
:[?2004hsyn list ...Boolean Character ColorColumn Comment Conceal Conditional Constant Cu
:"syn list Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"
:[?2004hsyn match ...Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"syn match Boolean Character ColorColumn Comment Conceal Conditional Constant 
:"


Executing Test_syntax_hangs()aaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

thereXsomefileaaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

there

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xsomefile                                                                       Executing Test_syntax_invalid_arg()


Executing Test_syntax_list()
"../memfile_test.c" [readonly] 143L, 3142C


--- Syntax items ---




--- Syntax items ---


"Xsomefile" [New File]


Executing Test_syntime()
"../memfile_test.c" [readonly] 143L, 3142C/* vi:set ts=8 sts=4 sw=4 noet:

 *

 * VIM - Vi IMproved    by Bram Moolenaar

 *

 * Do ":help uganda"  in Vim to read copying and usage conditions.

 * Do ":help credits" in Vim to see a list of people who contributed.

 * See README.txt for an overview of the Vim source code. *//* * memfile_test.c: Unittests for memfile.c * Mostly by Ivan Krasilnikov. */#undef NDEBUG#include <assert.h>/* Must include main.c because it contains much more than just main() */#define NO_VIM_MAIN#include "main.c"/* This file has to be included because the tested functions are static */#include "memfile.c""Xsomefile" [New File]
"test_syntax.res" [New File][New] 0L, 0C written


Executed 17 tests
"messages" 837L, 22662C857L, 23241C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_system.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_system.vim" 92 lines, 2923 characters


Executing Test_System()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"Xdummy" [New File][?2004l[?2004h[?2004l[?2004h[?2004l[?2004h

Executing Test_system_exmode()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"test_system.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"857L, 23241C862L, 23336C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_tcl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_tcl.vim" 23 lines, 471 characters


Executing Test_tcldo()
"test_tcl.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"862L, 23336C866L, 23395C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal.vim" 678 lines, 17334 characters


Executing Test_finish_open_close()


This will take five seconds...[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25lExecuting Test_terminal_basic()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_curwin()
"dummy" [New File]file] --No lines in buffer--


"dummy" [Modified][New file] line 1 of 1 --100%-- col 1


"dummy" [New File]


Executing Test_terminal_cwd()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_env()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_hide_buffer()
"17buf" [New File]

Executing Test_terminal_list_args()


Executing Test_terminal_make_change()[?25h[?2004l[?2004h


[?25l1 change; before #1  0 seconds ago


Executing Test_terminal_nasty_cb()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_no_cmd()


Executing Test_terminal_noblock()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_redir_file()[?2004l[?2004h[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_123()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_multibyte()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scroll()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_size()


Executing Test_terminal_special_chars()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_split_quit()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_tmap()]12;[2 q[?25h]12;[?2004l[?2004h]12;[2 q]12;


[?25lExecuting Test_terminal_wipe_buffer()


[?25h[?2004l[?2004h[?25lExecuting Test_terminal_write_stdin()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_wrong_options()


Executing Test_zz_terminal_in_gui()
"test_terminal.res" [New File][New] 0L, 0C written


Executed 23 tests
"messages" 866L, 23395C892L, 24253C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal_fail.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal_fail.vim" 21 lines, 627 characters


Executing Test_terminal_redir_fails()[?2004l[?2004h[?25h[?25l
"test_terminal_fail.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"892L, 24253C896L, 24337C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_textobjects.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_textobjects.vim" 54 lines, 1127 characters


Executing Test_inner_block_with_cpo_M_left_backslash()


Executing Test_inner_block_with_cpo_M_right_backslash()


Executing Test_inner_block_without_cpo_M()


Executing Test_quote_selection_selection_exclusive()
"test_textobjects.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"896L, 24337C903L, 24589C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_undo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_undo.vim" 276 lines, 7228 characters


Executing Test_U_command()global_local_undolevels()
"one" [New File]

6 fewer lines; before #8  0 seconds ago
"two" [New File]

3 fewer lines; before #11  0 seconds ago
"three" [New File]

Executing Test_insert_expr()=[?2004hsetline('.','1234')
1 line less; before #4  0 seconds ago3=[?2004hsetline('.','1234')
1 line less; before #7  0 seconds ago=[?2004hstring(123)
1 line less; before #9  0 seconds ago


Executing Test_undo_del_chars()
1 change; before #3  0 seconds ago21


1 change; before #6  1 seconds ago5
4s; after #3
1; before #21


3 changes; after #6  1 seconds agobefore #7  0 seconds ago


3 changes; before #1  3 seconds ago


3 changes; after #6  3 seconds ago


3 changes; after #9  0 seconds ago


Executing Test_undo_write()
"Xtest" [New File][New] 1L, 12C written3L, 20C written
1 line less; before #4  0 seconds ago


2 fewer lines; before #2  0 seconds ago


1 line less; before #1  0 seconds ago


1 more line; after #1  0 seconds ago


2 more lines; after #3  0 seconds ago


1 more line; after #4  0 seconds ago


Executing Test_undofile_earlier()
"Xfile" [New File][New] 3L, 14C written3L, 14C


Finished reading undo file Xundofile


3 fewer lines; before #1  2017/09/29 18:42:16


Executing Test_undojoin()
1 line less; before #2  0 seconds ago
2 fewer lines; before #3  0 seconds ago


Executing Test_undojoin_redo():[?2004hundojoin | redo
Already at newest change


Executing Test_undolist()
1 change; before #2  0 seconds ago
Executing Test_undotree()

1 change; before #2  0 seconds ago
"Xtest" [New] 1L, 4C written
"test_undo.res" [New File][New] 0L, 0C written


Executed 10 tests
"messages" 903L, 24589C916L, 24928C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_usercommands.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_usercommands.vim" 209 lines, 6183 characters


Executing Test_Ambiguous()


Executing Test_CmdCompletion():[?2004hcom -...addr bang bar buffer complete count nargs range register
:"com -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=0 -...addr bang bar buffer complete count nargs range register
:"com -nargs=0 -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=...* + 0 1 ?
:"com -nargs=* + 0 1 ?
:"
:[?2004hcom -addr=...arguments buffers lines loaded_buffers quickfix tabs windows
:"com -addr=arguments buffers lines loaded_buffers quickfix tabs windows
:"
:[?2004hcom -complete=co...lor command compiler
:"com -complete=color command compiler
:"
:[?2004hcom ...DoCmd1 DoCmd2
:"com DoCmd1 DoCmd2
:"
:[?2004hDoC...md1 DoCmd2
:"DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md1 DoCmd2
:"delcom DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md2
:"delcom DoCmd2
:"
:[?2004hcom DoC...md2
:"com DoCmd2
:"
:[?2004hdelcom DoC...
:"delcom DoC
:"
:[?2004hcom DoC...
:"com DoC
:"
:[?2004hDoCmd ...mswin xterm
:"DoCmd mswin xterm
:"
:[?2004hDoCmd ...January February Mars
:"DoCmd January February Mars
:"
:[?2004hDoCmd ...Monday Tuesday Wednesday
:"DoCmd Monday Tuesday Wednesday
:"
:[?2004hDoCmd 


:DoCmd :[?2004hDoCmd 


:DoCmd Executing Test_CmdErrors()


Executing Test_CmdUndefined()


Executing Test_cmdmods()
"test_usercommands.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"916L, 24928C924L, 25114C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_viminfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_viminfo.vim" 515 lines, 13492 characters


Executing Test_cmdline_history()


Executing Test_cmdline_history_order()


Executing Test_global_vars()


Executing Test_viminfo_bad_syntax()


Executing Test_viminfo_encoding()
"Xviminfo" [converted] 73L, 3483C


Executing Test_viminfo_file_mark_tabclose()
"Xtestfileintab" [New File]viminfo" 83L, 3664C


Executing Test_viminfo_file_mark_zero_time()


Executing Test_viminfo_file_marks()
"ten" [New File]again" [New File]
"thirty" [New File]
"twen
"again" [New File]fourty" [New File]
"Xviminfo" 90L, 3462C


Executing Test_viminfo_jumplist()
"testbuf" [New File]/[?2004h20
/[?2004h30
/[?2004hlast pos
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere


Executing Test_viminfo_marks()
"bufa" [New File]b


Executing Test_viminfo_oldfiles()


Executing Test_viminfo_read_and_write()


Executing Test_viminfo_registers()
"test_viminfo.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 924L, 25114C940L, 25626C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_vimscript.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_vimscript.vim" 1448 lines, 36110 characters


Error detected while processing /<<PKGBUILDDIR>>/src/vim-athena/t


estdir/test_vimscript.vim:


line  432:


E492: Not an editor command: ^Iasdf


line  444:


E492: Not an editor command: ^Iasdf


line  452:


E492: Not an editor command: asdf


line  455:


E492: Not an editor command: asdf | Xpath 'p'


Error detected while processing function T8_F:


line    5:


E492: Not an editor command: ^I    asdf


line    7:


E492: Not an editor command: ^I    asdf | Xpath 'd'


line   19:


E492: Not an editor command: ^I    asdf


line   21:


E492: Not an editor command: ^I    asdf | Xpath 'l'


line   29:


E121: Undefined variable: novar


E15: Invalid expression: novar^I^I" returns (default return value 0)


Error detected while processing function T8_G:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function T8_H:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function F[2]..G[2]..H[2]..I:


line    2:


E492: Not an editor command:     asdf^I^I" error


Error detected while processing /<<PKGBUILDDIR>>/src/vim-athena/t


estdir/test_vimscript.vim:


line  663:


E15: Invalid expression: | strlen("\"") | Xpath 'j'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'j'


line  673:


E15: Invalid expression: | strlen("\"") | Xpath 'n'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'n'


line  682:


E15: Invalid expression: | strlen("\"") | Xpath 'r'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'r'


line  717:


E492: Not an editor command:     asdf^I^I" error


1

line  787:


E492: Not an editor command:     asdf^I^I" error


line  794:


E492: Not an editor command:     asdf^I^I" error


line  817:


E121: Undefined variable: asdf


E15: Invalid expression: asdf


line  828:


E121: Undefined variable: asdf


E15: Invalid expression: asdf | Xpath 'f' | endwhile | Xpath 'g'


Error detected while processing function F:


line    8:


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar^I" possibly undefined


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar | Xpath 'd' | else | Xpath 'e' | endif


Executing Test_arg_abort()


Executing Test_bitwise_functions()


Executing Test_braces_skipped()


Executing Test_curlies()


Executing Test_defining_functions()


Executing Test_delfunction_force()


Executing Test_echo_and_string()


foo bar


'foo bar'


-1.2


-1.2


string


function('string')


{'a': {...}}


{'a': {...}}


[[...]]


[[...]]


[{}, {}, {}]


[{}, {}, {}]


{'a': {}, 'b': {}}


{'a': {}, 'b': {}}


[[], [], []]


[[], [], []]


{'a': [], 'b': []}


{'a': [], 'b': []}


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {...}, {...}]


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {'one': 'yes', 'two': 'yes', 'th


ree': 'yes'}, {'one': 'yes', 'two': 'yes', 'three': 'yes'}]


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {...}}


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {'one': 'yes', 'two':


'yes', 'three': 'yes'}}


[[1, 2, 3], [...], [...]]


[[1, 2, 3], [1, 2, 3], [1, 2, 3]]


{'a': [1, 2, 3], 'b': [...]}


{'a': [1, 2, 3], 'b': [1, 2, 3]}


Executing Test_endfunction_trailing()


W22: Text found after :endfunction: garbage
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Executing Test_endwhile_function()


Executing Test_endwhile_script()


   function T1_F()


1      Xpath 'a'


2      let first = 1


3      while 1


4Xpath 'b'


5if first


6Xpath 'c'


7let first = 0


8break


9else


10Xpath 'd'


11return


12endif


13     endwhile


   endfunction"/tmp/vAacYyZ/0" [noeol] 16L, 299C

13 substitutions on 13 lines

Pattern not found: ^\s*$
"/tmp/vAacYyZ/0" 13L, 248C written
"test_vimscript.vim" 1448L, 36110C

   function T1_G()

1      Xpath 'h'

2      let first = 1

3      while 1

4Xpath 'i'

5if first

6Xpath 'j'

7let first = 0

8break

9else

10Xpath 'k'

11return


12endif


13if 1    " unmatched :if


14     endwhile


   endfunction"/tmp/vAacYyZ/1" [noeol] 17L, 334C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/vAacYyZ/1" 14L, 281C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_error_in_function()

Executing Test_error_in_script()

Executing Test_expr_parsing()

Executing Test_finish()

   function T4_F()

1      if 1

2Xpath 'a'

3let loops = 3

4while loops > 0"    3:  2:     1:

5Xpath 'b' . loops

6if (loops == 2)

7Xpath 'c' . loops

8return


9Xpath 'd' . loops


10endif


11Xpath 'e' . loops


12let loops = loops - 1


13endwhile


14Xpath 'f'


15     else


16Xpath 'g'


17     endif


   endfunction"/tmp/vAacYyZ/2" [noeol] 20L, 504C

17 substitutions on 17 lines

Pattern not found: ^\s*$
"/tmp/vAacYyZ/2" 17L, 445C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_func_abort()

Executing Test_if_bar_fail()

Executing Test_if_fail()

Executing Test_if_while()

Executing Test_num64()

Executing Test_return()

Executing Test_script_emty_line_continuation()

Executing Test_script_lines()

Executing Test_script_local_func():[?2004hcall <SNR>5_DoNothing()|call <SNR>5_DoLast()|delfunc <SNR>5_DoNothing|delfunc <SNR>5_DoLast


Executing Test_skip()

Executing Test_type()

Executing Test_user_command_with_bang()

Executing Test_while_fail()
"test_vimscript.res" [New File][New] 0L, 0C written

Executed 27 tests
"messages" 940L, 25626C970L, 26500C written

[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_visual.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_visual.vim" 93 lines, 1991 characters


Executing Test_Visual_ctrl_o():[?2004hset tw=88


Executing Test_Visual_inner_quote()


Executing Test_Visual_vapo()


Executing Test_block_shift_multibyte()


Executing Test_block_shift_overflow()


Executing Test_dotregister_paste()


Executing Test_visual_mode_reset():[?2004h'<,'>call TriggerTheProblem()
"test_visual.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"970L, 26500C980L, 26783C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_winbar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_winbar.vim" 23 lines, 426 characters


Executing Test_add_remove_menu():[?2004hlet g:did_next = 11
:[?2004hlet g:did_cont = 12


"test_winbar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"980L, 26783C984L, 26855C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_window_id.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_window_id.vim" 103 lines, 2714 characters


Executing Test_win_getid()
"one" [New File]twohree" [New File]
"four" [New File]ive


Executing Test_win_getid_curtab()
"X" [New File]test_window_id.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"984L, 26855C989L, 26959C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_windows_home.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_windows_home.vim" 121 lines, 3249 characters
"test_windows_home.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"989L, 26959C992L, 27004C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_writefile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_writefile.vim" 51 lines, 1496 characters


Executing Test_writefile()


Executing Test_writefile_fails_conversion()
"Xfile" 2L, 18C

WARNING: Original file may be lost or damaged


don't quit the editor until the file is successfully written!


Executing Test_writefile_fails_gently()


"test_writefile.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"992L, 27004C998L, 27158C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_latin.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_latin.vim" 7 lines, 280 characters


Executing Test_backref()


Executing Test_eow_with_optional()


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_nested_backrefs()


Executing Test_recursive_substitute()
"test_alot_latin.res" [New File][New] 0L, 0C written


Executed 6 tests
"messages"[converted] 998L, 27158C[converted] 1007L, 27399C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_utf8.vim" 15 lines, 542 characters[?2004l[?1l>[?25h[?1049lExecuting Test_classes_re1()


Executing Test_classes_re2()


Executing Test_comparisons()


Executing Test_customlist_completion():Test1 ...
:"Test1
:"
:Test2 ...あた
:"Test2 あた
:"
:Test3 ...N
:"Test3 N
:"


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_gap()etvcol()


Executing Test_large_class()


Executing Test_match_using_multibyte_conceal_char()#ˑThisˑisˑaˑTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " A series of tests that can run in one Vim invocation.

" This makes testing go faster, since Vim doesn't need to restart.



" These tests use utf8 'encoding'.  Setting 'encoding' is already done in

" runtest.vim.  Checking for the multi_byte feature is in the individual

" files, so that they can be run by themselves.



set belloff=all

source test_charsearch_utf8.vim

source test_expr_utf8.vim

test_alot_utf8.vim                                                              Executing Test_reversed_range()


Executing Test_search_cmds()


Executing Test_source_latin()
"Xscript"[New] 2L, 44C written
Executing Test_source_utf8()"Xscript"[New] 2L, 42C written:%s/àx/--à1234--/g
:%s/Àx/--À1234--/g


Executing Test_strcharpart()


Executing Test_strchars()


Executing Test_strgetchar()


Executing Test_visual_block_insert()
"test_alot_utf8.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 1007L, 27399C1028L, 28002C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot.vim" 62 lines, 1523 characters


Executing Test_abbr_after_line_join()


Executing Test_abbreviation()s()

Executing Test_acos()


Executing Test_asin()


Executing Test_atan()


Executing Test_atan2()


Executing Test_auto_partial_rebind()


Executing Test_balloon_show()


Executing Test_bind_in_python()


Executing Test_break_undo()ufexists()"Xfoo" [New File]

Executing Test_byte2line_line2byte()


Executing Test_cancel_ptjump()


Already only one window:[?2004hptjump word
  # pri kind tagfile


  1 Fwordfile1


cmd1


  2 Fwordfile2


cmd2


Type number and <Enter> (empty cancels): 
"help.txt" [readonly] 225L, 8437C


Executing Test_caught_error_in_statusline()source test_reltime.vim

source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



                                                                                Executing Test_caught_error_in_tabline()                                                                                source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



test_alot.vim                                                                   Executing Test_cd_large_path()


Executing Test_cd_up_and_down()


Executing Test_ceil()


Executing Test_changedtick_bdel()


Executing Test_changedtick_dict_entry()


Executing Test_changedtick_fixed()


Executing Test_changedtick_increments()


1 line less; before #1  0 seconds ago


Executing Test_changedtick_islocked()


Executing Test_changenr()
"Xchangenr" [New File]

1 change; before #2  0 seconds ago


1 change; after #2  0 seconds ago


Executing Test_close_on_quitpre()
"tab1" [New File]2est_alot.vim" 62L, 1523C


Executing Test_closure_counter()


Executing Test_closure_refcount()


Executing Test_closure_unlet()


Executing Test_col()


Executing Test_color_names()


Executing Test_compare_null_dict()


Executing Test_compare_partials()


Executing Test_compl_vim_cmds_after_register_expr()=[?2004hs:test_func()
 AAAAA_Group             tBufAdd                  BufCreate               BufDelete               BufEnter                BufFilePost             BufFilePre              BufHidden               BufLeave                BufNew                  BufNewFile              BufRead                 BufReadCmd              BufReadPost             BufReadPre              BufUnload               BufWinEnter             BufWinLeave             BufWipeout              BufWrite                BufWriteCmd             BufWritePost           

match 1 of 92

Executing Test_complete_CTRLN_startofbuffer()organize       

cupboard       match 2prioritize     

bureau         Scanning: test_alot.vimab2 tags.
match 2 of 90cupboard.organize(3, 2);

bureauprioritize(bureau, 8, 7);

realize(bannister, 4, 4);

moralize(railing, 3,9);

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

test_alot.vim                                                                   prioritize                          

bureau                              

realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

series              test_alot.vim   

ofo                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   

testing             test_alot.vim   



realize        

bannister      Scanning: test_alot.vimab2 tags.
match 2 of 90.prioritize(8, 7);bannisterrealize(bannister, 4, 4);moralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

seriesm              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   moralize       

railing        Scanning: test_alot.vimab2 tags.
match 2 of 90.realize(4, 4);railingmoralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

bannister                           

realizee                             

series              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   Executing Test_complete_func_mess()Jan~                                                                               ~                                                                               ~                                                                               ~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       match 1 of 3
Oct

Oct            

Nov            

Dec            Oct

~              

~              

~              Oct            

Nov            

Dec            

Executing Test_complete_no_undo()=[?2004hUndoComplete()
match 1 of 12xxx

aaayyy~              January        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       1 change; before #2  0 seconds ago=[?2004hUndoComplete()
match 1 of 12
bbb

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       

January        1 change; before #4  0 seconds ago=[?2004hUndoComplete()
match 1 of 12

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December           
January



~              

~              

~              

~              

~              

~              

~              

~              February       

March          

April          

May            

June           

July           

August         

September      January        1 change; before #5  0 seconds ago


Executing Test_completefunc_opens_new_window_one()


search hit BOTTOM, continuing at TOP
Pattern not found

Executing Test_completefunc_opens_new_window_two()


search hit BOTTOM, continuing at TOPExecuting Test_completefunc_with_scratch_buffer()January        

February  

March   

April    

May      January        

February       match 2 of 5info2-1

2-2

2-3



February

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vimJanuary        

February       

March          

April          

May            



[Scratch]                                                                       test_alot.vim                                                                   [Scratch] [Preview]                                                             [Scratch]                                                                       match 3 of 5
March~              

~              

~              

~              

~              January        

February       

March          

April          

May            3

3

3[Scratch]                                                                        [Scratch]                                                                       February       

March          4
April

~              

~              

~              

~              

~              January        

February       

March          

April          

May            4

4

4[Scratch]                                                                        [Scratch]                                                                       March          

April          

Executing Test_completefunc_works()


search hit BOTTOM, continuing at TOPthreedef       

threeDEF       threedef       

threeDEF       match 2 of 2
threeDEF

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~              

~              

~              

~              

~              threedef       

threeDEF       

Executing Test_completion_can_undo()=[?2004hCompleteUndo()
match 1 of 12~              

~              No Name]January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       

1 line less; before #1  0 seconds ago


Executing Test_completion_clear_candidate_list()
Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~                                                                               ~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tabHello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          match 1 of 2
Hello~              

~              Hello          

World          Hello          

Executing Test_completion_comment_formatting()Executing Test_completion_ctrl_e_without_autowrap()
match 1

Executing Test_completion_respect_bs_option()
Back at originalBack at original

Executing Test_conf_type()
"Xfile" 2L, 28C


Executing Test_cos()


Executing Test_cosh()


Executing Test_count()


Executing Test_cursorline_keep_col()


Executing Test_curswant_with_autocommand()


Executing Test_cycle_partial_job()


Executing Test_cyclic_dict_arg()


Executing Test_cyclic_list_arg()


Executing Test_delete_myself()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_detection()
"something.vim" [New File]


Executing Test_dict()


Executing Test_dir_delete()


Executing Test_duplicate_tagjump()
"Xfile1" [New File][New] 3L, 38C written


tag 2 of 3
tag 3
Executing Test_empty()


Executing Test_empty_buffer()


Executing Test_empty_concatenate()


Executing Test_equal()


Executing Test_equalalways_on_close()


Executing Test_ex_mode()
Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sleep 100m


[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h:vi




[?25lExecuting Test_ex_undo()
"ex-undo" [New File]

1 line less; before #3  0 seconds ago


1 line less; after #1  0 seconds ago


2 fewer lines; before #1  0 seconds ago


Executing Test_execute_list()


Executing Test_execute_string()


this


theend


something


Executing Test_existing()


Executing Test_exp()


Executing Test_expand()


Executing Test_feedkeys_x_with_empty_string()ile_delete()"Xfile" [New File][New] 2L, 4C written


Executing Test_file_perm()


Executing Test_fileformat_after_bw()
"tab2" [New File]ex-undo" [New File]


Executing Test_fileformat_autocommand()
"Xfile" [CR missing][dos] 8L, 39C


Executing Test_filetype_detection()
"file.slt" [New File]uil
"/etc/slp.reg" [New File]
"file.sa" [New File]sbclrc" [New File].sbclrc" [New File]
"file.fal" [New File]drac" [New File]c" [New File]lvs" [New File]pe
".reminders" [New File]
"file.remind" [New File]" [New File]x" [New File]m2" [New File]i
"/etc/dnsmasq.conf" [New File]
"file.feature" [New File]odl" [New File]mof
".gdbinit
".gtkrc" [New File]gtkrc" [New File]file.ave" [New File]st" [New File]cala" [New File]
"/etc/man.conf" [New File]
"man.config" [New File]file.plx" [New File]al" [New File]psgi" [New File]
"gitolite.rc" [New File]
".gitolite.rc" [New File]
"example.gitolite.rc" [New File]
"file.lss" [New File]git-rebase-todo" [New File]
"file.dcd" [New File].inputrc
"inputrc" [New File]file.sci" [New File]edesktop" [New File]
".directory" [New File]/etc/elinks.conf" [New File]
"/.elinks/elinks.conf" [New DIRECTORY]
"texmf.cnf" [New File]file.abc" [New File]strl" [New File]mt" [New File]ith" [New File]lot" [New File]os" [New File]sqlj" [New File]/boot/grub/menu.lst" [New DIRECTORY]grub.conf" [New DIRECTORY]
"/etc/grub.conf" [New File]file.v" [New File]hog" [New File]
"snort.conf" [New File]
"vision.conf" [New File]
"file.sst" [New File]mi-sst" [New File]_sst.meta" [New File]-sst.meta" [New File]_
"/etc/apt/sources.list" [readonly] 2L, 104C.d/file.list" [New File]
"file.page" [New File]ecd" [New File]mchrefimp
"enlightenment/file.cfg" [New DIRECTORY]
"file.qc" [New File]c" [New File]ec" [New File]EClite" [New File]t" [New File]php" [New File]9" [New File]tml" [New File]ctp" [New File].cvsrc" [New File]file.ijs" [New File]
"fdrupstream.log" [New File]
"upstream.log" [New File]UPSTREAM.LOG
"upstream.file.log" [New File]
"UPSTREAM.FILE.LOG
"file.upstream.log
"FILE.UPSTREAM.LOG
"UPSTREAM-file.logFILE.LOG
"file.haml" [New File].screenrc
"screenrc" [New File]file.riboramglrcpmghex32
".mailcap
"mailcap" [New File].pinerc
"pinerc" [New File].pinercex" [New File]
"pinercex" [New File]file.occ
"/etc/a2ps.cfg" [New File]/file.cfg" [New DIRECTORY]
"a2psrc" [New File].a2psrc" [New File]
".procmail" [New File]rc" [New File]
"file.ttl" [New File]anyXmodmap" [New File]
"file.s19" [New File]2837motsrec" [New File]edf" [New File]if" [New File]o" [New File].Xdefaults" [New File]
".Xpdefaults" [New File]
".Xresource
"xdm-config" [New File]file.ad" [New File]squid.conf" [New File]
"file.lid" [New File]pf.conf" [New File]file.awk" [New File]tr" [New File]nroff" [New File]tmacmom" [New File]wrl
"catalog" [New File]file.lhs" [New File]proto" [New File]aml" [New File]kv" [New File]less" [New File]
"namedfile.conf" [New File]
"rndcfile.conf" [New File]file.gretl" [New File]stp" [New File]/etc/initng/any/file.i" [New DIRECTORY]
"file.ii" [New File]bat" [New File]syspsf
"denyhosts.conf" [New File]
"/etc/login.access" [New File]
"mrxvtrc" [New File].mrxvtrc" [New File]
"file.cdlrtfxpmldif" [New File]abl" [New File]p6" [New File]m6" [New File]ltssop" [New File]
"file,v" [New File].ml" [New File]i" [New File]ly
".ocamlinit" [New File]
"file.erl" [New File]hyaws" [New File]pod6
"/log/authDIRECTORY]crondaemon" [New DIRECTORY]ebug" [New DIRECTORY]kern" [New DIRECTORY]lpr" [New DIRECTORY]mail" [New DIRECTORY]essages" [New DIRECTORY]news/news" [New DIRECTORY]syslog" [New DIRECTORY]user" [New DIRECTORY]auth.log" [New DIRECTORY]crondaemon.log" [New DIRECTORY]ebug.log" [New DIRECTORY]kern.log" [New DIRECTORY]lpr.log" [New DIRECTORY]mail.log" [New DIRECTORY]essages.log" [New DIRECTORY]news/news.log" [New DIRECTORY]syslog.log" [New DIRECTORY]user.log" [New DIRECTORY]auth.errcrondaemon.err" [New DIRECTORY]ebug.err" [New DIRECTORY]kern.err" [New DIRECTORY]lpr.err" [New DIRECTORY]mail.err" [New DIRECTORY]essages.err" [New DIRECTORY]news/news.err" [New DIRECTORY]syslog.err" [New DIRECTORY]user.err" [New DIRECTORY]auth.info" [New DIRECTORY]crondaemon.info" [New DIRECTORY]ebug.info" [New DIRECTORY]kern.info" [New DIRECTORY]lpr.info" [New DIRECTORY]mail.info" [New DIRECTORY]essages.info" [New DIRECTORY]news/news.info" [New DIRECTORY]syslog.info" [New DIRECTORY]user.info" [New DIRECTORY]auth.warncrondaemon.warn" [New DIRECTORY]ebug.warn" [New DIRECTORY]kern.warn" [New DIRECTORY]lpr.warn" [New DIRECTORY]mail.warn" [New DIRECTORY]essages.warn" [New DIRECTORY]news/news.warn" [New DIRECTORY]syslog.warn" [New DIRECTORY]user.warn" [New DIRECTORY]auth.critcrondaemon.crit" [New DIRECTORY]ebug.crit" [New DIRECTORY]kern.crit" [New DIRECTORY]lpr.crit" [New DIRECTORY]mail.crit" [New DIRECTORY]essages.crit" [New DIRECTORY]news/news.crit" [New DIRECTORY]syslog.crit" [New DIRECTORY]user.crit" [New DIRECTORY]auth.notice" [New DIRECTORY]crondaemon.notice" [New DIRECTORY]ebug.notice" [New DIRECTORY]kern.notice" [New DIRECTORY]lpr.notice" [New DIRECTORY]mail.notice" [New DIRECTORY]essages.notice" [New DIRECTORY]news/news.notice" [New DIRECTORY]syslog.notice" [New DIRECTORY]user.notice" [New DIRECTORY]file.xsd" [New File]/.gnupg/options" [New DIRECTORY]gpg.conf" [New DIRECTORY]
"/usr/any/gnupg/options.skel" [New DIRECTORY]
"file.bdf" [New File]/etc/services" [New File]
"file.ice" [New File]mu" [New File]fsl" [New File]t.html" [New File]n1ql" [New File]ql" [New File]exports" [New File]file.def" [New File]takchopro" [New File]rd" [New File]hordpro" [New File]hordpro" [New File]mv" [New File]pl" [New File]wssqriadbsagpro" [New File]build.xml" [New File]
"/debian/control" [New DIRECTORY]
"ipf.conf" [New File]6.conf" [New File]
"ipf.rules
".zprofile
"/etc/zprofile" [New File]
".zfbfmarks" [New File]file.zsh" [New File]sig
"ssh_config" [New File]
"/.ssh/config" [New DIRECTORY]
"main.cf" [New File]file.clj" [New File]s" [New File]xc
"/etc/blkid.tab" [New File].old" [New File]
"file.xmi" [New File]csproj" [New File].user" [New File]ts" [New File]uitpm" [New File]
"/etc/xdg/menus/file.menu" [New DIRECTORY]
"fglrxrc" [New File]ile.xlf" [New File]iff" [New File]ul" [New File]upstream.dat" [New File]
"UPSTREAM.DAT
"upstream.file.dat" [New File]
"UPSTREAM.FILE.DAT
"file.upstream.dat
"FILE.UPSTREAM.DAT
"/etc/serial.conf" [New File]file.java" [New File]" [New File]cfengine.conf" [New File]
"/etc/host.conf" [readonly] 1L, 9C
".povrayrc" [New File]smb.conf" [New File]fstab" [New File]mtab" [New File]file.sas" [New File]miby" [New File]ahk" [New File]infINFvc" [New File]evsum" [New File]errsum" [New File]
"anyEterm/file.cfg" [New DIRECTORY]
"/etc/nanorc" [New File]file.scss" [New File]nqc" [New File]CMakeLists.txt" [New File]
"file.cmake" [New File].in" [New File]
"lilo.conf" [New File]named.root" [New File]
"anyesmtprc
"file.sim" [New File]wmlmysql" [New File]text" [New File]README" [New File]file.lsl" [New File]tli
".tidyrc" [New File]tidyrc" [New File]file.con" [New File]rc" [New File]h" [New File]
"configure.in" [New File]ac
"filter-rules
"file.wm" [New File]lftp.conf" [New File]
".lftprc" [New File]anylftp/rc" [New DIRECTORY]
"file.hlp" [New File]ihlp" [New File]smcltpl" [New File]hb" [New File]chs" [New File]scms" [New File]rkt" [New File]ps" [New File]fa" [New File]afmepsf" [New File]iai" [New File]svg" [New File]
"tags" [New File]/.icewm/menu" [New DIRECTORY]
"svn-commitfile.tmp" [New File]
"file.wrm" [New File]exim.conf" [New File]
"file.4gl" [New File]hm4gl" [New File]frt" [New File]bl" [New File]icn" [New File]cxx++hh" [New File]xx" [New File]ppimoctcinltlhcbloblicfghgrc" [New File]
"filehgrc" [New File].sass" [New File]
".arch-inventory" [New File]
".wgetrc" [New File]wgetrc" [New File]file.kix" [New File]sbt
"inittab" [New File].slrnrc
"file.nsi" [New File]h
"bzr_log.any" [New File]
"apt.conf" [New File]/.aptitude/config" [New DIRECTORY]
"file.jsp" [New File]gkrellmrc" [New File]_x" [New File]
"/etc/sensors.conf" [New File]3.conf" [New File]
"file.tsscl" [New File]spec" [New File]atl" [New File]s" [New File]/etc/updatedb.conf" [New File]
"file.dcl" [New File]i
"/etc/pinforc" [New File]
"/.pinforc" [New File]file.isc" [New File]monk" [New File]ssc" [New File]tsd" [New File]ado" [New File]do" [New File]imata" [New File]mata" [New File]/etc/limits" [New File]anylimits.conf" [New File]d/file.conf" [New DIRECTORY]udev/cdsymlinks.conf" [New File]sendmail.cf" [New File]file.mason" [New File]htmlcomp" [New File]tcl" [New File]k" [New File]itcl" [New File]k" [New File]jacl" [New File]spy" [New File]i
".asoundrc" [New File]
"/usr/share/alsa/alsa.conf" [New DIRECTORY]
"/etc/asound.conf" [New File]file.ist" [New File]m
"gitolite.conf" [New File]
"/etc/libao.conf" [New File]
"/.libao" [New File]any/etc/passwd" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/passwd.bak" [New DIRECTORY]shadow
"file.vroom" [New File]scoretexinfo" [New File]" [New File]xi" [New File]latte" [New File]te" [New File]it" [New File]hsml" [New File]rs" [New File]snd.123
".letter.123" [New File]
".followup" [New File]article" [New File].123" [New File]
"pico.123" [New File]mutt-xx-xxx" [New File]
"muttng-xx-xxx" [New File]
"ae123.txt" [New File]file.eml" [New File]sdc
"/etc/modules.conf" [New File]" [readonly] 5L, 195Cconf.modules" [New File]file.pli" [New File]1diff" [New File]rej" [New File]/etc/sysctl.conf" [readonly] 77L, 2683Cd/file.conf" [New File]file.ll" [New File]plp" [New File]msql" [New File]liquid" [New File]gpi" [New File]va" [New File]ms" [New File]ht" [New File].editorconfig" [New File]
"/etc/yum.conf
"file.ini" [New File]jj" [New File]t" [New File]expdothtpp" [New File]lua" [New File]rockspec" [New File]nse" [New File]manpgs
"resolv.conf" [New File]
"file.hs" [New File]-boot" [New File]zut" [New File]tf" [New File].tfrc" [New File]tfrc" [New File]file.obj" [New File]
".viminfo
"_xorg.conf" [New File]-4" [New File]
"robots.txt" [New File]mplayer.conf" [New File]
"/.mplayer/config" [New DIRECTORY]
"file.cyn" [New File]/etc/udev/permissions.d/file.permissions" [New DIRECTORY]
"file.fex" [New File]ocexec" [New File]si" [New File]task" [New File]xom" [New File]in
"trustees.conf" [New File]
"file.crm" [New File]pdbor" [New File]git/config" [New DIRECTORY]
".gitconfig" [New File]modules" [New File]
"file.git/modules//config" [New DIRECTORY]
"/.config/git/config" [New DIRECTORY]file.vr" [New File]i" [New File]hrexorrxojjrexx" [New File]rexxj" [New File]testGroup" [New File]Unit" [New File]jgr" [New File]sdlpr" [New File]svh" [New File]
"help.txt[readonly] 225L, 8437C
"file.hsc" [New Filemxpm2" [New File]hdl" [New File]vhdl" [New File]be" [New File]stmaster" [New File]
"pending.data" [New File]
"completed.data" [New File]
"undo.data" [New File]file.rnc" [New File]gnashrc" [New File].gnashrc" [New File]
"gnashpluginrc" [New File]
".gnashpluginrc" [New File]
"file.rng" [New File]tex/context/any/file.tex" [New DIRECTORY]
"file.mkii" [New File]vvigp" [New File].gprc" [New File]itsendemail.msg.xxxxxx" [New File]
"file.action" [New File]recipetmpl" [New File]xhtml" [New File]" [New File]pc" [New File]slpapp" [New File]xmlsjal" [New File]JALjplrdslzu" [New File]upstreaminstall.log" [New File]
"UPSTREAMINSTALL.LOG
"upstreaminstall.file.log" [New File]
"UPSTREAMINSTALL.FILE.LOG
"file.upstreaminstall.log
"FILE.UPSTREAMINSTALL.LOG
"file.dylan" [New File]/etc/hosts.allow" [New File]deny" [New File]any/etc/sudoersDIRECTORY]
"sudoers.tmp" [New File]file.iba" [New File]icscmk" [New File]ak" [New File]dsptoc
"/etc/slp.conf" [New File]
"file.ncf" [New File]ks" [New File]sed" [New File]cu" [New File]sp" [New File]fdr
"GNUmakefile.am" [New File]
"file.a65" [New File]cssinopderstsin85nb" [New File]wbt" [New File]pdfmush" [New File]
"calendar" [New File]file.mmptwig" [New File]
".dir_colors" [New File]
".dircolors" [New File]/etc/DIR_COLORS" [New File]
"file.properties_xx" [New File]_xx" [New File]
"/etc/slp.spi" [New File]file.yy" [New File]xx" [New File]++bibwsml" [New File]bst" [New File]fs" [New File]tace" [New File]ACE
"Muttngrcrc" [New File]file.dtd" [New File]iss
"/etc/cdrdao.conf" [New File]defaults/cdrdao" [New DIRECTORY]/cdrdao" [New File].cdrdao" [New File]file.sba" [New File]vb" [New File]s" [New File]dsmctlintr" [New File]
"dict.conf
".dictrc" [New File]file.dstpp" [New File]
"anybaseq2/file.cfg" [New DIRECTORY]
"anyid1/file.cfg" [New DIRECTORY]quake3
"file.ti" [New File]dts" [New File]i" [New File]
"tmuxfile.conf" [New File]
".tmuxfile.conf" [New File]
"wvdial.conf" [New File].wvdialrc" [New File]file.ged" [New File]lltxxxxx.txt" [New File]
"file.ld" [New File]gsjavascript" [New File]es" [New File]jsx" [New File]mjs.chasn1" [New File]xq" [New File]l" [New File]muery" [New File]y" [New File]bc" [New File]csdl" [New File]k" [New File]rad" [New File]mat
"/etc/pam.conf"[readonly] 15L, 552C
"file.pod" [New File]cm" [New File]xsl" [New File]t" [New File]mp" [New File]ar" [New File]plsql" [New File]fan" [New File]wt
"/LiteStep/any/file.rc" [New DIRECTORY]
"any/systemd/file.automount" [New DIRECTORY]mount" [New DIRECTORY]path" [New DIRECTORY]service" [New DIRECTORY]ocket" [New DIRECTORY]wap" [New DIRECTORY]target" [New DIRECTORY]imer" [New DIRECTORY]/etc/udev/udev.conf" [readonly] 6L, 153C
".netrc" [New File]file.pov" [New File]scpt" [New File]at" [New File]u3" [New File]siv
".htaccess" [New File]
"/etc/httpd/file.conf" [New DIRECTORY]
"file.pml" [New File]rpjov73ovial" [New File]lgt" [New File]abap" [New File]msc" [New File]ftssgm" [New File]uc" [New File]atg" [New File]pike" [New File]lpc" [New File]ulpc" [New File]pmoderb" [New File]rhtml" [New File]htt" [New File]bsnoptz8a
"any/.cmus/autosave" [New DIRECTORY]rc" [New DIRECTORY]command-history" [New DIRECTORY]file.theme" [New DIRECTORY]cmus/rc" [New DIRECTORY]file.theme" [New DIRECTORY]
"file.html.m4" [New File]yaml" [New File]ml" [New File].irbrc" [New File]irbrc" [New File]file.rb" [New File]w" [New File]gemspec" [New File]ru" [New File]Gemfile
"file.builder" [New File]rxml" [New File]js" [New File]ant" [New File]kemo" [New File]gdmo" [New File]ninja" [New File]
".ratpoisonrc" [New File]
"ratpoisonrc" [New File]file.chai" [New File]mf" [New File]spice" [New File]
"COMMIT_EDITMSG" [New File]
"MERGE_MSG" [New File]TAG_EDITMSG" [New File]
"file.clp" [New File]abal" [New File]fm" [New File]ic
"dictd.conf" [New File]
"file.chf" [New File]Dockerfile" [New File]
"file.Dockerfile" [New File]eni" [New File]tybpcpkbsrunpldcs" [New File]ils" [New File]cdfppdtdf
"/etc/protocols" [New File]xinetd.conf" [New File]
".fetchmailrc" [New File]any/etc/group" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/group.bak" [New DIRECTORY]shadow.bak" [New DIRECTORY]
"auto.master" [New File]/usr/share/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/etc/init/file.conf" [New File]override" [New File]
"/.init/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/.config/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"file.py" [New File]w" [New File]
".pythonstartup" [New File]rc" [New File]file.ptl" [New File]moo
"vgrindefs" [New File]
"file.pas" [New File]dprmel
"lynx.cfg
"file.desc" [New File]jsonp" [New File]webmanifest" [New File]g" [New File]po" [New File]t" [New File]mixal" [New File]
"hg-editor-file.txt" [New File]
"file.speedup" [New File]data" [New File]" [New File]sshd_config" [New File]
".indent.pro
"indentrc" [New File]file.fb" [New File]biasciidoc" [New File]doc" [New File]xs" [New File]/etc/mail/aliases" [New DIRECTORY]aliases" [New File]file.markdown" [New File]down" [New File]kd" [New File]n" [New File]dw" [New File]plm" [New File]36aclex" [New File]xx" [New File]++atex" [New File]sty" [New File]dtxlbblvimba
".exrc" [New File]_Kconfig" [New File].debug" [New File]
"/etc/login.defs" [readonly] 340L, 10477C
"file.pyx" [New File]xdart
"cvs123" [New File]usserver.log" [New File]
"USSERVER.LOG
"usserver.file.log" [New File]
"USSERVER.FILE.LOG
"file.usserver.log
"FILE.USSERVER.LOG
"file.aap" [New File]lout" [New File]gradle" [New File]oovyfactortreetop" [New File]f" [New File]or" [New File]tran" [New File]pp" [New File]tn77905038
"usw2kagt.log" [New File]
"USW2KAGT.LOG
"usw2kagt.file.log" [New File]
"USW2KAGT.FILE.LOG
"file.usw2kagt.log
"FILE.USW2KAGT.LOG
"file.DEF" [New File]MOD


Executing Test_filewritable()
"Xfilewritable" [New File][New] 0L, 0C written


Executing Test_filter()
"Xdoesnotmatch" [New File]
"Xwillmatch" [New File]ex-undo" [New File]

Executing Test_filter_cmd_completion():[?2004hfilter ^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter ^I:[?2004hfilter pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat^I:[?2004hfilter /pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat^I:[?2004hfilter /pat/^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/^I:[?2004hfilter pat pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat print:[?2004hfilter /pat/ pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/ print:[?2004hfilter #pat# pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter #pat# printExecuting Test_filter_fails()


Executing Test_filter_map_dict_expr_funcref()


Executing Test_filter_map_dict_expr_string()


Executing Test_filter_map_list_expr_funcref()


Executing Test_filter_map_list_expr_string()


Executing Test_findfile()


Executing Test_float2nr()


Executing Test_float_misc()


Executing Test_floor()


Executing Test_fmod()


Executing Test_fnamemodify()
"test_alot.vim" 62L, 1523C


Executing Test_func_unref()


Executing Test_funcref()


0

Executing Test_function_in_dict()


Executing Test_function_with_funcref()


Executing Test_gD()


Executing Test_gD_char()


Executing Test_gD_comment()


Executing Test_gD_inline_comment()


Executing Test_gD_string()


Executing Test_gD_string_same_line()


Executing Test_gD_too()


Executing Test_ga_command()


Executing Test_gd()


Executing Test_gd_comment()


Executing Test_gd_comment_in_string()


Executing Test_gd_inline_comment()


Executing Test_gd_inline_comment_body()


Executing Test_gd_inline_comment_only()


Executing Test_gd_kr_style()


Executing Test_gd_local_block()


Executing Test_gd_missing_braces()


Executing Test_gd_not_local()


Executing Test_gd_string()


Executing Test_gd_string_in_comment()


Executing Test_gd_string_only()


Executing Test_gd_trailing_comment()


Executing Test_gd_trailing_multiline_comment()


Executing Test_get_partial_items()


Executing Test_getbufvar()


Executing Test_getpid()[?2004l[?2004h


Executing Test_getreg_empty_list()


Executing Test_global_local_lispwords()


Executing Test_help_complete()


Executing Test_help_respect_current_file_lang()
"testdoc.abx" [readonly] 2L, 25Cja[readonly] 2L, 25Cline 1 of 2 --50%-- col 2-9txt[readonly] 2L, 25C
Executing Test_help_tagjump()"help.txt" [readonly] 225L, 8437C
"motion.txt" [readonly] 1337L, 51313C
"gui.txt" [readonly] 1048L, 44040C
"index.txt" [readonly] 1660L, 76442C
"cmdline.txt" [readonly] 1156L, 47238C
"autocmd[readonly] 1487L, 61609C
"windows[readonly] 1312L, 53080C
"change.txt" [readonly] 1832L, 74819C
"insert[readonly] 2004L, 82939C
"visual[readonly] 541L, 21843C
"options.txt" [readonly] 8980L, 380531Cline 7850 of 8980 --87%-- col 7-49
"eval.txt" [readonly][converted] 11161L, 430353C line 2464 of 11161 --22%-- col 1
"options.txt" [readonly] line 1359 of 8980 --15%-- col 4-25
"cmdline675 of 1156 --58%-- col 2-9index.txt" [readonly] line 1069 of 1660 --64%-- col 172


Executing Test_hlexists()


Executing Test_hostname()[?2004l[?2004h


Executing Test_if()


Executing Test_info()


Executing Test_input_in_timer()[?25h


[?25l?[?2004h[?25h[?25l[?25hhello
[?25l?helloExecuting Test_invalid()


Executing Test_invalid_submatch()


Executing Test_isnan()


Executing Test_join_with_count()


Executing Test_keyword_jump()
"Xtestfile" 9L, 141C


Executing Test_lambda_call_lambda_from_lambda()


Executing Test_lambda_capture_by_reference()


Executing Test_lambda_circular_reference()


Executing Test_lambda_closure_counter()


Executing Test_lambda_combination()


Executing Test_lambda_delfunc()


Executing Test_lambda_do_not_share_local_variable()


Executing Test_lambda_fails()


Executing Test_lambda_feature()


Executing Test_lambda_refer_local_variable_from_other_scope()


Executing Test_lambda_scope()


Executing Test_lambda_share_scope()


Executing Test_lambda_side_effect()


Executing Test_lambda_with_a_var()


Executing Test_lambda_with_filter()


Executing Test_lambda_with_map()


Executing Test_lambda_with_partial()


Executing Test_lambda_with_sort()


Executing Test_lambda_with_timer()[?25h[?2004l[?2004h


[?25l1[?25h[?2004l[?2004h

[?25l2[?25h[?2004l[?2004h

[?25l3[?25h[?2004l[?2004h

[?25l4[?25h[?2004l[?2004h[?2004l[?2004h

[?25l5[?25h[?2004l[?2004h

[?25l6[?25h[?2004l[?2004h

[?25l7[?25h[?2004l[?2004h

[?25l8[?25h[?2004l[?2004h

[?25lExecuting Test_last_buffer_nr()


Executing Test_len()


Executing Test_let_termcap()


Executing Test_load_menu()


Executing Test_log()


Executing Test_log10()


Executing Test_loop_over_null_list()


Executing Test_map_ctrl_c_insert()visual:[?2004h'<,'>$put ='vmap works'


Executing Test_map_cursor()
1 line less; before #8  0 seconds ago


Executing Test_map_feedkeys():[?2004hcall feedkeys(".", "in")
:[?2004hcall feedkeys(".", "in")
Executing Test_map_langmap():[?2004hcall append(line('$'), '+')


Executing Test_map_meta_quotes()timeout()[?25h[?25ltch()

abcdefghijklmnopq

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   abcdΣabcdef

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_match_func()


Executing Test_matchaddpos()12345

NP

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   12345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   012345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchaddpos_using_negative_priority()x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchend()


Executing Test_matchlist()


Executing Test_matchstr()


Executing Test_matchstrpos()


Executing Test_max()


Executing Test_max_min_errors()


Executing Test_messages()


hello0x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)    hello1234567898


hello9xhello9
Executing Test_min()


Executing Test_missing_attr()


Executing Test_mode()=[?2004hSave_mode()
match 1 of 2Blue Ball Black

Brown Band Bowl

Band~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap worksTest1: text with a (here some more text)

Test1: text with a (here some more text)Test2: text wit a (here some more text [und undo])fooc d[No Name]                                                                        Ball           

Band           =[?2004hSave_mode()
1 change; before #2  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #3  0 seconds ago=[?2004hSave_mode()
1 change; before #4  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #5  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #6  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #7  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #8  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #9  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #10  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #11  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #12  0 seconds ago
match 1 of 2
Band~               Ball           

Band           =[?2004hSave_mode()
1 change; before #13  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #14  0 seconds ago=[?2004hSave_mode()
1 change; before #15  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #16  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #17  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #18  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #19  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #20  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #21  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #22  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #23  0 seconds ago:[?2004hecho "=[?2004hSave_mode():echo Entering Ex mode.  Type "visual" to go to Normal mode.


:[?2004hecho "=[?2004hSave_mode()
:echo 


:[?2004hvi


Executing Test_move_cursor()


Executing Test_named_function_closure()


Executing Test_nested_global()




Executing Test_next_split_all()
"x" [New File]Xtestfile" [New File]


Executing Test_nextnonblank_prevnonblank()


Executing Test_no_type_checking()


Executing Test_noinsert_complete()=[?2004hs:complTest1()
match 1 of 2~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtestfile                                                                       source         

soundfold      ndfold=[?2004hs:complTest2()
match 1 of 2

~              

~              source         

soundfold      

Executing Test_non_zero_arg()


Executing Test_not_existing()


Executing Test_not_lamda()


Executing Test_omnifunc_with_check()


search hit BOTTOM, continuing at TOPfour1

~                                                                               ~                                                                               ~                                                                               ~                                                                               [+]four1          

four2          2

~              

~              four1          

four2          four1          

four2          match 2 of 6

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          match 3 of 6

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          four3          

four4          

four5          

four6          match 4 of 64

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          55

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          four4          

four5          

Executing Test_oneshot()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_option_value()


Executing Test_other_type()
"Xfile" 2L, 28C


Executing Test_partial_args()


Executing Test_partial_dict()


Executing Test_partial_exists()


Executing Test_partial_implicit()


Executing Test_partial_string()


Executing Test_paste_end_of_line():[?2004hnormal! "agP


Executing Test_paused()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_peek_and_get_char()[?25h


[?25lExecuting Test_popup_complete()=[?2004hListMonths()
match 1 of 2
June

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   June           

July           match 2 of 2

June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           7June           

July           8July           

August         =[?2004hListMonths()
match 1 of 3

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           =[?2004hListMonths()
match 1 of 12

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 2
June~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 2ne

~              

~              June           

July           Back at original~              

~              June           

July           June           

Julymatch 2 of 2ly

~              

~              July           
July           =[?2004hListMonths()
match 1 of 2ne

~              
June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       =[?2004hListMonths()
match 1 of 3
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           =[?2004hListMonths()
match 1 of 3
January

~              

~              

~              January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           match 1 of 3
January

~              

~              

~              January        

June           

July           January        =[?2004hListMonths()
match 1 of 3

~              

~              

~              January        

June           

July           =[?2004hListMonths()
match 1 of 2
June~              

~              

~              June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       2 of 12



February       December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       match 10 of 12October        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       1
Nov

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       0
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       9 of 12
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        =[?2004hListMonths()
match 1 of 12
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       0October        

November       9 of 12September      

October        =[?2004hListMonths()
The only match=[?2004hListMonths()
The only matchDecember2015

December~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  December       =[?2004hListMonths()
match 1 of 2
March~                                                                               ~              March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2March~              
March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2
March

~                                                                               ~              

~              March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            

Executing Test_popup_complete2()=[?2004hListMonths()
The only match

Executing Test_popup_completion_insertmode()=[?2004hListMonths()
match 1 of 12~                                                                               ~                                                                               ~              

~                  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       match 2 of 12

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       3
March~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        February       

March          4
April

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        March          

April          5
May~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        April          

May            6
June

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        May            

June           7ly

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        June           

July           8
August

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        July           

August         9
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        August         

September      10 of 12
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        1
November

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       2
Dec

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       

Executing Test_pow()


Executing Test_printf_64bit()


Executing Test_printf_errors()


0

0

1

0

0

Executing Test_printf_float()


0.000000


Executing Test_printf_misc()


Executing Test_printf_spec_b()


Executing Test_printf_spec_s()


Executing Test_ptag_with_notagstack()


Executing Test_put_block()char_block()


"Xfile_put" [Modified][Not edited] line 1 of 2 --50%-- col 1


Executing Test_put_char_block2()


Executing Test_put_lines()


Executing Test_read_only()


Executing Test_recover_root_dir()
"Xtest" [New File]

"Xtest" [New File]


Executing Test_recursive_delete()
"Xdir1/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written


Executing Test_redefine_dict_func()


Executing Test_redo_in_nested_functions():[?2004hset opfunc=Operator


Executing Test_ref_job_partial_dict()


Executing Test_reltime()[?25h[?2004l[?2004h


[?25lExecuting Test_repeat_many()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_repeat_three()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_retain_partial()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_round()


Executing Test_script_detection()
"Xtest" 1L, 64C1L, 77C1L, 32C1L, 9C2L, 10C3L, 11C4L, 12C5L, 13C


Executing Test_script_function_in_dict()


Executing Test_script_function_in_dict_arg()


Executing Test_searchpos()
"one" [New File]

Executing Test_set_add()


Executing Test_set_backslash()


Executing Test_set_reg_null_list()


Executing Test_set_tagcase()


Executing Test_setbufline_getbufline()
"Xtest" [New File]

Executing Test_setbufvar_options()
"dummy_preview" [New File]buf1" [New File]2


Executing Test_setline_startup()[?2004l[?2004h


Executing Test_setmatches()


Executing Test_sha256()


Executing Test_shellescape()


Executing Test_simplify()


Executing Test_sin()


Executing Test_sinh()


Executing Test_sort_cmd()


Executing Test_sort_default()


Executing Test_sort_float()


Executing Test_sort_nested()


Executing Test_sort_numbers()


Executing Test_sort_numeric()


Executing Test_sort_strings()


Executing Test_special_char()


Executing Test_sqrt()


Executing Test_static_tagjump()
"Xfile1" [New File][New] 3L, 18C written


Executing Test_statusline()
"Xstatusline" [New File]170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

56,38                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

789,315                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

Xstatusline                                                                     170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

/<<PKGBUILDDIR>>/src/vim-athena/testdir/Xstatusline               170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1175

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[Help],HLP                                                                      170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

<Eo>                                                                            170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

180/200,2                                                                       170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+],+                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+-],+-                                                                         "Xstatusline" [New] 200L, 692C written170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[-],-                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

                                                                                170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

1119                                                                            1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

0,Top                                                                           179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

100,Bot                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

90,Bot                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 (1 of 2): 1179

180

181

182

183

184

185

186

187

188

189

                                                                                || 1                                                                            || 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1179

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[RO],RO                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

Xstatusline                                                                     179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

2,                                                                              179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10,-10                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                "Xstatusline" 200L, 692C179

180

181

182

183

184

185

186

187

                                                                                175

176

177

178

179

180

181

182

183

184

185

186

[Preview],PRV                                                                   179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

[vim] VIM                                                                       179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

foo                                                                          bar179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

0038                                                                            179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#  38#                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#38  #                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

<sline                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

a<cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccd179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb>179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimNumber                                                                       179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimLineComment                                                                  179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abde                                                                            179

"180

181

182

183

184

185

186

187

188

189

abde                                                                            ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               abcd[Quickfix List]de                                                           179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abcdef                                                                          179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abc                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10%                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

7                                                                               179|

"180|

181|

182|

183|

184|

185|

186|

187|

188|

189|

190|

191|

192|

193|

194|

195|

196|

197|

198|

199|

200|

x^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^y^179"180181182183184185186187188189190191192193194195196197198199200x=====================================y92 buffers wiped out


Executing Test_statusline_will_be_disabled_with_error()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                                                                                                               

Executing Test_stop_all_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stop_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stopall()


Executing Test_str2float()


Executing Test_str2nr()


Executing Test_strcharpart()


Executing Test_strftime()


Executing Test_strgetchar()


Executing Test_stridx()


Executing Test_strridx()


Executing Test_substitute_expr()


Executing Test_substitute_expr_arg()


Executing Test_symlink_delete()
"Xfile" [New File][New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_dir_delete()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_recursive_delete()
"Xdir3/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written
"Xdir4/Xfile" [New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_tabline_will_be_disabled_with_error()                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_tabnext_on_buf_unload1()


Executing Test_tabnext_on_buf_unload2()


"x" [Not edited] --No lines in buffer--
"y" [New File]

Executing Test_tabpage()
"x" [New File]

2 fewer lines; before #1  0 seconds ago
"test1" [New File]newfile" [New File]
"test1" [New File]file] --No lines in buffer--F

Executing Test_tabpage_with_autocmd()


Executing Test_tabpage_with_tab_modifier()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1


Executing Test_tabpage_with_tabclose()


Already only one tab page
"n0" [New File]1234


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabnext()


Executing Test_tabpage_with_tabonly()


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabprevious()


Executing Test_tagcase()
"Xtext" [New File]

Executing Test_tagjump_switchbuf()


Already only one window
"Xfile1" 3L, 19C3L, 19C3L, 19C


Already only one window


Executing Test_taglist()
"Xtext" [New File]

Executing Test_taglist_ctags_etags()


Executing Test_taglist_native_etags()


Executing Test_tan()


Executing Test_tanh()


Executing Test_timer_catch_error()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_timer_errors()[?25h[?2004l[?2004h


[?25lError detected while processing function RunTheTest[24]..Test_timer_errors[4]..


WaitFor[21]..FuncWithError:


line    5:


E492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_tolower()


Executing Test_tostring()


Executing Test_toupper()


Executing Test_translate_menu()


Executing Test_true_false_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?2004h[?25l"colored" [New File]

Executing Test_trunc()


Executing Test_unlet_fails()


Executing Test_valid()


Executing Test_version()


Executing Test_window_cmd_cmdwin_with_vsp()


Executing Test_window_cmd_ls0_with_split()


Executing Test_window_cmd_wincmd_gf()
"test_gf.txt" 0L, 0C
W19: Deleting augroup that is still in use
Executing Test_window_contents()Already only one window1

2

3

4

5

6

7

8

9

10

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       50

51

52

53

54

55

56

57

58

59

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       59

60

61

62

63

64

65

66

67

68

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_window_exchange()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_height()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_horizontal_split()jump_tag()"help.txt" [readonly] line 1 of 225 --0%-- col 1
"uganda.txt" [readonly] 288L, 14024C
"intro.txt" [readonly] 909L, 39223C
52 buffers wiped outExecuting Test_window_newtab()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_preview()
"Xa" [New File]Executing Test_window_quit()
"Xa" [New File]b
2 buffers wiped out
Executing Test_window_rotate()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_split_edit_alternate()
"Xa" [New File]ba
2 buffers wiped out
Executing Test_window_vertical_split()width()"Xa" [New File]bc
3 buffers wiped out
Executing Test_with_directories()
"Xdir1/file" [New File][New] 2L, 4C written
"Xdir3/Xdir4/file"[New] 2L, 4C written2L, 4C
"Xdir?/*/nofile" [New DIRECTORY]
"foo" [New File]Executing Test_with_partial_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25ltilde()rong_arguments()yank_move_change():[?2004h'<,'>call MoveSelectionDown(v:count1)
Executing Test_yank_put_clipboard()
3 more linesExecuting Test_z()
"Xdir?/*/nofile" [New DIRECTORY]
Executing Test_z_negative_lnum()overflow()"test_alot.res" [New File][New] 0L, 0C written
Executed 328 tests"messages" 1028L, 28002C1359L, 38618C written
[?2004l

[?2004l[?1l>[?25h[?1049l

From test_arabic.vim:
Executing Test_arabic_input()
Executing Test_arabic_toggle()
Executing Test_arabic_toggle_keymap()
Executing Test_delcombine()
Executing Test_shape_combination_final()
Executing Test_shape_combination_isolated()
Executing Test_shape_final()
Executing Test_shape_final_to_medial()
Executing Test_shape_initial()
Executing Test_shape_iso_to_medial()
Executing Test_shape_isolated()
Executed 11 tests

From test_arglist.vim:
Executing Test_arg_all_expand()
Executing Test_argadd()
Executing Test_argc()
Executing Test_argdelete()
Executing Test_argedit()
Executing Test_argidx()
Executing Test_arglist_autocmd()
Executing Test_arglistid()
Executing Test_argpos()
Executing Test_argument()
Executing Test_argv()
Executing Test_zero_argadd()
Executed 12 tests

From test_assert.vim:
Executing Test_assert_equal()
Executing Test_assert_exception()
Executing Test_assert_fail_fails()
Executing Test_assert_false()
Executing Test_assert_inrange()
Executing Test_assert_notequal()
Executing Test_assert_report()
Executing Test_assert_true()
Executing Test_assert_with_msg()
Executing Test_compare_fail()
Executing Test_match()
Executing Test_notmatch()
Executing Test_override()
Executing Test_user_is_happy()
Executing Test_wrong_error_type()
Executed 15 tests

From test_autochdir.vim:
Executing Test_set_filename()
Executed 1 test

From test_autocmd.vim:
Executing Test_BufEnter()
Executing Test_BufleaveWithDelete()
Executing Test_OptionSet()
Executing Test_OptionSet_diffmode()
Executing Test_OptionSet_diffmode_close()
Executing Test_augroup_deleted()
Executing Test_augroup_warning()
Executing Test_autocmd_bufunload_avoiding_SEGV_01()
Executing Test_autocmd_bufunload_avoiding_SEGV_02()
Executing Test_autocmd_bufunload_with_tabnext()
Executing Test_autocmd_bufwinleave_with_tabfirst()
Executing Test_autocmd_bufwipe_in_SessLoadPost()
Executing Test_autocmd_bufwipe_in_SessLoadPost2()
Executing Test_bufunload()
Executing Test_cursorhold_insert()
Executing Test_cursorhold_insert_ctrl_x()
Executing Test_early_bar()
Executing Test_empty_doau()
Executing Test_three_windows()
Executing Test_vim_did_enter()
Executing Test_win_tab_autocmd()
Executed 21 tests

From test_backspace_opt.vim:
Executing Test_backspace_option()
Executed 1 test

From test_breakindent.vim:
Executing Test_breakindent01()
Executing Test_breakindent02()
Executing Test_breakindent03()
Executing Test_breakindent04()
Executing Test_breakindent05()
Executing Test_breakindent06()
Executing Test_breakindent07()
Executing Test_breakindent07a()
Executing Test_breakindent08()
Executing Test_breakindent08a()
Executing Test_breakindent09()
Executing Test_breakindent10()
Executing Test_breakindent11()
Executing Test_breakindent12()
Executing Test_breakindent13()
Executing Test_breakindent14()
Executing Test_breakindent15()
Executing Test_breakindent16()
Executed 18 tests

From test_bufwintabinfo.vim:
Executing Test_get_buf_options()
Executing Test_get_win_options()
Executing Test_getbufwintabinfo()
Executed 3 tests

From test_cdo.vim:
Executing Test_cdo()
Executing Test_ldo()
Executed 2 tests

From test_channel.vim:
Executed 0 test

From test_charsearch.vim:
Executing Test_charsearch()
Executing Test_search_cmds()
Executed 2 tests

From test_cindent.vim:
Executing Test_cindent_expr()
Executing Test_cindent_rawstring()
Executing Test_cino_extern_c()
Executing Test_cino_hash()
Executed 4 tests

From test_clientserver.vim:
Executing Test_client_server()
    Skipped
Executed 1 test
SKIPPED Test_client_server(): $DISPLAY is not set

From test_cmdline.vim:
Executing Test_cmdline_complete_user_cmd()
Executing Test_cmdline_complete_wildoptions()
Executing Test_cmdline_search_range()
Executing Test_complete_list()
Executing Test_complete_tab()
Executing Test_complete_wildmenu()
Executing Test_expand_star_star()
Executing Test_expr_completion()
Executing Test_getcmdtype()
Executing Test_getcompletion()
Executing Test_highlight_completion()
Executing Test_illegal_address1()
Executing Test_illegal_address2()
Executing Test_map_completion()
Executing Test_match_completion()
Executing Test_paste_in_cmdline()
Executing Test_remove_char_in_cmdline()
Executing Test_verbosefile()
Executed 18 tests

From test_command_count.vim:
Executing Test_command_count_0()
Executing Test_command_count_1()
Executing Test_command_count_2()
Executing Test_command_count_3()
Executing Test_command_count_4()
Executed 5 tests

From test_crypt.vim:
Executing Test_crypt_blowfish()
Executing Test_crypt_blowfish2()
Executing Test_crypt_zip()
Executing Test_head_only_2()
Executing Test_head_only_3()
Executing Test_uncrypt_blowfish()
Executing Test_uncrypt_blowfish2()
Executing Test_uncrypt_zip()
Executed 8 tests

From test_cscope.vim:
Executed 0 test

From test_curswant.vim:
Executing Test_curswant()
Executed 1 test

From test_diffmode.vim:
Executing Test_diff_fold_sync()
Executing Test_diff_lastline()
Executing Test_diff_move_to()
Executing Test_diff_nomodifiable()
Executing Test_diff_too_many_buffers()
Executing Test_diffexpr()
Executing Test_diffget_diffput()
Executing Test_diffoff()
Executing Test_diffoff_hidden()
Executing Test_diffopt_context()
Executing Test_diffopt_horizontal()
Executing Test_diffopt_icase()
Executing Test_diffopt_iwhite()
Executing Test_diffopt_vertical()
Executing Test_diffpatch()
Executing Test_dp_do_buffer()
Executing Test_filler_lines()
Executing Test_setting_cursor()
Executing Test_vert_split()
Executed 19 tests

From test_digraph.vim:
Executing Test_digraph_cmndline()
Executing Test_digraphs()
Executing Test_digraphs_option()
Executing Test_digraphs_output()
Executing Test_loadkeymap()
Executed 5 tests

From test_display.vim:
Executing Test_display_foldcolumn()
Executing Test_display_foldtext_mbyte()
Executed 2 tests

From test_edit.vim:
Executing Test_edit_00a_CTRL_A()
Executing Test_edit_00b()
Executing Test_edit_01()
Executing Test_edit_02()
Executing Test_edit_03()
Executing Test_edit_04()
Executing Test_edit_05()
Executing Test_edit_06()
Executing Test_edit_07()
Executing Test_edit_08()
Executing Test_edit_09()
Executing Test_edit_10()
Executing Test_edit_11()
Executing Test_edit_12()
Executing Test_edit_13()
Executing Test_edit_CR()
Executing Test_edit_CTRL_()
Executing Test_edit_CTRL_EY()
Executing Test_edit_CTRL_G()
Executing Test_edit_CTRL_I()
Executing Test_edit_CTRL_K()
Executing Test_edit_CTRL_L()
Executing Test_edit_CTRL_N()
Executing Test_edit_CTRL_O()
Executing Test_edit_CTRL_R()
Executing Test_edit_CTRL_S()
Executing Test_edit_CTRL_T()
Executing Test_edit_CTRL_U()
Executing Test_edit_CTRL_V()
Executing Test_edit_CTRL_Z()
Executing Test_edit_DROP()
Executing Test_edit_F1()
Executing Test_edit_F21()
Executing Test_edit_HOME_END()
Executing Test_edit_INS()
Executing Test_edit_LEFT_RIGHT()
Executing Test_edit_MOUSE()
Executing Test_edit_PAGEUP_PAGEDOWN()
Executing Test_edit_complete_very_long_name()
Executing Test_edit_forbidden()
Executing Test_edit_rightleft()
Executed 41 tests

From test_farsi.vim:
Executing Test_command_line_farsi()
Executing Test_farsi_map()
Executing Test_farsi_toggle()
Executing Test_input_farsi()
Executed 4 tests

From test_file_size.vim:
Executing Test_File_Size()
Executed 1 test

From test_fnameescape.vim:
Executing Test_fnameescape()
Executed 1 test

From test_fold.vim:
Executing Test_address_fold()
Executing Test_combining_folds_indent()
Executing Test_combining_folds_marker()
Executing Test_fold_error()
Executing Test_folddoopen_folddoclosed()
Executing Test_folds_marker_in_comment()
Executing Test_foldtext_recursive()
Executing Test_indent_fold()
Executing Test_indent_fold2()
Executing Test_indent_fold_with_read()
Executing Test_manual_fold_with_filter()
Executing Test_move_folds_around_indent()
Executing Test_move_folds_around_manual()
Executing Test_update_folds_expr_read()
Executed 14 tests

From test_getvar.vim:
Executing Test_var()
Executed 1 test

From test_gf.vim:
Executing Test_gF()
Executing Test_gf_url()
Executed 2 tests

From test_gn.vim:
Executing Test_gn_command()
Executed 1 test

From test_gui.vim:
Executed 0 test

From test_gui_init.vim:
Executed 0 test

From test_hardcopy.vim:
Executing Test_fname_with_spaces()
Executing Test_printheader_parsing()
Executing Test_printmbfont_parsing()
Executing Test_printoptions_parsing()
Executing Test_with_syntax()
Executed 5 tests

From test_help.vim:
Executing Test_help_errors()
Executing Test_help_keyword()
Executing Test_help_restore_snapshot()
Executed 3 tests

From test_hide.vim:
Executing Test_hide()
Executed 1 test

From test_highlight.vim:
Executing Test_highlight()
Executed 1 test

From test_history.vim:
Executing Test_History()
Executing Test_Search_history_window()
Executed 2 tests

From test_hlsearch.vim:
Executing Test_hlsearch()
Executing Test_hlsearch_hangs()
Executed 2 tests

From test_increment.vim:
Executing Test_normal_increment_01()
Executing Test_normal_increment_02()
Executing Test_normal_increment_03()
Executing Test_visual_increment_01()
Executing Test_visual_increment_02()
Executing Test_visual_increment_03()
Executing Test_visual_increment_04()
Executing Test_visual_increment_05()
Executing Test_visual_increment_06()
Executing Test_visual_increment_07()
Executing Test_visual_increment_08()
Executing Test_visual_increment_09()
Executing Test_visual_increment_10()
Executing Test_visual_increment_11()
Executing Test_visual_increment_12()
Executing Test_visual_increment_13()
Executing Test_visual_increment_14()
Executing Test_visual_increment_15()
Executing Test_visual_increment_16()
Executing Test_visual_increment_17()
Executing Test_visual_increment_18()
Executing Test_visual_increment_19()
Executing Test_visual_increment_20()
Executing Test_visual_increment_21()
Executing Test_visual_increment_22()
Executing Test_visual_increment_23()
Executing Test_visual_increment_24()
Executing Test_visual_increment_25()
Executing Test_visual_increment_26()
Executing Test_visual_increment_27()
Executing Test_visual_increment_28()
Executing Test_visual_increment_29()
Executing Test_visual_increment_30()
Executing Test_visual_increment_31()
Executing Test_visual_increment_32()
Executing Test_visual_increment_33()
Executing Test_visual_increment_34()
Executing Test_visual_increment_35()
Executing Test_visual_increment_36()
Executing Test_visual_increment_37()
Executing Test_visual_increment_38()
Executed 41 tests

From test_increment_dbcs.vim:
Executing Test_increment_dbcs_1()
Executed 1 test

From test_job_fails.vim:
Executing Test_job_start_fails()
Executed 1 test

From test_json.vim:
Executing Test_js_decode()
Executing Test_js_encode()
Executing Test_json_decode()
Executing Test_json_encode()
Executed 4 tests

From test_langmap.vim:
Executing Test_langmap()
Executed 1 test

From test_let.vim:
Executing Test_let()
Executed 1 test

From test_lineending.vim:
Executing Test_lineending()
Executed 1 test

From test_listlbr.vim:
Executing Test_block_replace_after_wrapping()
Executing Test_linebreak_with_conceal()
Executing Test_linebreak_with_list()
Executing Test_linebreak_with_nolist()
Executing Test_list_with_listchars()
Executing Test_list_with_tab_and_skipping_first_chars()
Executing Test_norm_after_block_visual()
Executing Test_set_linebreak()
Executing Test_should_break()
Executing Test_undo_after_block_visual()
Executing Test_virtual_block()
Executing Test_virtual_block_and_vbA()
Executing Test_virtual_char_and_block()
Executed 13 tests

From test_listlbr_utf8.vim:
Executing Test_chinese_char_on_wrap_column()
Executing Test_colorcolumn_priority()
Executing Test_illegal_byte_and_breakat()
Executing Test_linebreak_with_fancy_listchars()
Executing Test_linebreak_with_nolist()
Executing Test_list_and_concealing1()
Executing Test_list_and_concealing2()
Executing Test_multibyte_sign_and_colorcolumn()
Executing Test_multibyte_wrap_and_breakat()
Executing Test_nolinebreak_with_list()
Executing Test_screenattr_for_comment()
Executing Test_visual_block_and_selection_exclusive()
Executed 12 tests

From test_lua.vim:
Executing Test_luado()
Executed 1 test

From test_makeencoding.vim:
Executed 0 test

From test_man.vim:
Executing Test_g_ft_man_open_mode()
Executing Test_nomodifiable()
Executed 2 tests

From test_marks.vim:
Executing Test_Incr_Marks()
Executing Test_Restore_DelMark()
Executing Test_setpos()
Executed 3 tests

From test_matchadd_conceal.vim:
Executing Test_clearmatches()
Executing Test_default_conceal_char()
Executing Test_matchadd_and_conceallevel_3()
Executing Test_matchadd_and_syn_conceal()
Executing Test_matchadd_repeat_conceal_with_syntax_off()
Executing Test_simple_matchadd()
Executing Test_simple_matchadd_and_conceal()
Executing Test_syn_and_match_conceal()
Executing Test_using_matchaddpos()
Executed 9 tests

From test_mksession.vim:
Executing Test_mksession()
Executing Test_mksession_arglist()
Executing Test_mksession_one_buffer_two_windows()
Executing Test_mksession_winheight()
Executed 4 tests

From test_mksession_utf8.vim:
Executing Test_mksession_utf8()
Executed 1 test

From test_nested_function.vim:
Executing Test_max_nesting()
Executing Test_nested_argument()
Executing Test_nested_functions()
Executed 3 tests

From test_netbeans.vim:
Executed 0 test

From test_normal.vim:
Executing Test_delete_until_paragraph()
Executing Test_normal00_optrans()
Executing Test_normal01_keymodel()
Executing Test_normal02_selectmode()
Executing Test_normal02_selectmode2()
Executing Test_normal03_join()
Executing Test_normal04_filter()
Executing Test_normal05_formatexpr()
Executing Test_normal05_formatexpr_newbuf()
Executing Test_normal05_formatexpr_setopt()
Executing Test_normal06_formatprg()
Executing Test_normal07_internalfmt()
Executing Test_normal08_fold()
Executing Test_normal09_operatorfunc()
Executing Test_normal09a_operatorfunc()
Executing Test_normal10_expand()
Executing Test_normal11_showcmd()
Executing Test_normal12_nv_error()
Executing Test_normal13_help()
Executing Test_normal14_page()
Executing Test_normal14_page_eol()
Executing Test_normal15_z_scroll_vert()
Executing Test_normal16_z_scroll_hor()
Executing Test_normal17_z_scroll_hor2()
Executing Test_normal18_z_fold()
Executing Test_normal19_z_spell()
Executing Test_normal20_exmode()
Executing Test_normal21_nv_hat()
Executing Test_normal22_zet()
Executing Test_normal23_K()
Executing Test_normal24_rot13()
Executing Test_normal25_tag()
Executing Test_normal26_put()
Executing Test_normal27_bracket()
Executing Test_normal28_parenthesis()
Executing Test_normal29_brace()
Executing Test_normal30_changecase()
    Skipped
Executing Test_normal31_r_cmd()
Executing Test_normal32_g_cmd1()
Executing Test_normal33_g_cmd2()
Executing Test_normal34_g_cmd3()
Executing Test_normal35_g_cmd4()
    Skipped
Executing Test_normal36_g_cmd5()
Executing Test_normal37_g_cmd6()
Executing Test_normal38_nvhome()
Executing Test_normal39_cw()
Executing Test_normal40_ctrl_bsl()
Executing Test_normal41_insert_reg()
Executing Test_normal42_halfpage()
Executing Test_normal43_textobject1()
Executing Test_normal44_textobjects2()
Executing Test_normal45_drop()
Executing Test_normal46_ignore()
Executing Test_normal47_autocmd()
    Skipped
Executing Test_normal47_visual_buf_wipe()
Executing Test_normal48_wincmd()
Executing Test_normal49_counts()
Executing Test_normal50_commandline()
Executing Test_normal51_FileChangedRO()
Executing Test_normal52_rl()
Executing Test_normal53_digraph()
Executing Test_normal54_Ctrl_bsl()
Executing Test_normal_8g8()
Executing Test_normal_large_count()
Executed 64 tests
SKIPPED Test_normal30_changecase(): Turkish locale not available
SKIPPED Test_normal35_g_cmd4(): output of g< can't be tested currently
SKIPPED Test_normal47_autocmd(): not possible to test cursorhold autocmd while waiting for input in normal_cmd

From test_number.vim:
Executing Test_number()
Executing Test_number_with_linewrap1()
Executing Test_number_with_relativenumber()
Executing Test_numberwidth()
Executing Test_numberwidth_adjusted()
Executing Test_relativenumber()
Executing Test_set_global_and_local()
Executing Test_set_options()
Executed 8 tests

From test_options.vim:
Executing Test_cinkeys()
Executing Test_complete()
Executing Test_dictionary()
Executing Test_filetype_valid()
Executing Test_isfname()
Executing Test_keymap_valid()
Executing Test_options()
Executing Test_path_keep_commas()
Executing Test_set_all()
Executing Test_set_completion()
Executing Test_set_errors()
Executing Test_set_indentexpr()
Executing Test_set_ttytype()
Executing Test_set_values()
Executing Test_signcolumn()
Executing Test_syntax_valid()
Executing Test_thesaurus()
Executing Test_whichwrap()
Executing Test_wildchar()
Executed 19 tests

From test_packadd.vim:
Executing Test_colorscheme()
Executing Test_colorscheme_completion()
Executing Test_helptags()
Executing Test_packadd()
Executing Test_packadd_completion()
Executing Test_packadd_noload()
Executing Test_packadd_symlink_dir()
Executing Test_packloadall()
Executing Test_runtime()
Executed 9 tests

From test_paste.vim:
Executing Test_paste_cmdline()
Executing Test_paste_insert_mode()
Executing Test_paste_normal_mode()
Executing Test_paste_visual_mode()
Executed 4 tests

From test_perl.vim:
Executing Test_SvREFCNT()
Executing Test_VIM_Buffers()
Executing Test_VIM_Windows()
Executing Test_VIM_package()
Executing Test_buffer_Append()
Executing Test_buffer_Count()
Executing Test_buffer_Delete()
Executing Test_buffer_Get()
Executing Test_buffer_Name()
Executing Test_buffer_Number()
Executing Test_buffer_Set()
Executing Test_change_buffer()
Executing Test_evaluate_list()
Executing Test_perldo()
Executing Test_perleval()
Executing Test_stdio()
Executing Test_window_Cursor()
Executing Test_window_SetHeight()
Executed 18 tests

From test_preview.vim:
Executing Test_Psearch()
Executed 1 test

From test_profile.vim:
Executing Test_profile_completion()
Executing Test_profile_errors()
Executing Test_profile_file()
Executing Test_profile_func()
Executed 4 tests

From test_python2.vim:
Executed 0 test

From test_python3.vim:
Executing Test_py3do()
Executed 1 test

From test_pyx2.vim:
Executed 0 test

From test_pyx3.vim:
Executing Test_has_pythonx()
Executing Test_pyx()
Executing Test_pyxdo()
Executing Test_pyxeval()
Executing Test_pyxfile()
Executed 5 tests

From test_quickfix.vim:
Executing Test_Autocmd()
Executing Test_Autocmd_Exception()
Executing Test_Multi_LL_Help()
Executing Test_Qf_Size()
Executing Test_add_qf()
Executing Test_adjust_lnum()
Executing Test_browse()
Executing Test_bufoverflow()
Executing Test_caddbuffer_to_empty()
Executing Test_caddbuffer_wrong()
Executing Test_caddexpr_wrong()
Executing Test_cage()
Executing Test_cbottom()
Executing Test_cbuffer()
Executing Test_cclose_from_copen()
Executing Test_cclose_in_autocmd()
Executing Test_cexpr()
Executing Test_cfile()
Executing Test_cgetexpr_works()
Executing Test_changedtick()
Executing Test_clist()
Executing Test_cwindow()
Executing Test_cwindow_jump()
Executing Test_dirstack_cleanup()
Executing Test_duplicate_buf()
Executing Test_efm()
Executing Test_efm1()
Executing Test_efm2()
Executing Test_efm_dirstack()
Executing Test_efm_ignore_continuations()
Executing Test_errortitle()
Executing Test_get_list_from_lines()
Executing Test_grep()
Executing Test_helpgrep()
Executing Test_history()
Executing Test_invalid_efm()
Executing Test_locationlist()
Executing Test_locationlist_cross_tab_jump()
Executing Test_locationlist_curwin_was_closed()
Executing Test_long_lines()
Executing Test_multidirstack()
Executing Test_multifilestack()
Executing Test_nomem()
Executing Test_perbuf_efm()
Executing Test_qf_free()
Executing Test_qf_id()
Executing Test_qf_property()
Executing Test_qf_title()
Executing Test_quickfix_set_list_with_act()
Executing Test_quickfix_was_changed_by_autocmd()
Executing Test_resize_from_copen()
Executing Test_setexpr()
Executing Test_setqflist()
Executing Test_setqflist_empty_middle()
Executing Test_setqflist_empty_older()
Executing Test_switchbuf()
Executing Test_two_windows()
Executing Test_vimgrep()
Executing Test_vimgreptitle()
Executed 59 tests

From test_quotestar.vim:
Executing Test_quotestar()
    Skipped
Executed 1 test
SKIPPED Test_quotestar(): Test can only run when $DISPLAY is set.

From test_retab.vim:
Executing Test_retab()
Executing Test_retab_error()
Executed 2 tests

From test_registers.vim:
Executing Test_yank_shows_register()
Executed 1 test

From test_ruby.vim:
Executing Test_ruby_change_buffer()
Executing Test_ruby_evaluate_dict()
Executing Test_ruby_evaluate_list()
Executing Test_rubydo()
Executed 4 tests

From test_scrollbind.vim:
Executing Test_scrollbind()
Executed 1 test

From test_search.vim:
Executing Test_search_cmdline()
Executing Test_search_cmdline2()
Executing Test_search_cmdline3()
Executing Test_search_cmdline4()
Executing Test_searchc()
Executing Test_searchpair()
Executing Test_use_sub_pat()
Executed 7 tests

From test_signs.vim:
Executing Test_sign()
Executing Test_sign_completion()
Executing Test_sign_delete_buffer()
Executing Test_sign_invalid_commands()
Executing Test_sign_undefine_still_placed()
Executed 5 tests

From test_smartindent.vim:
Executing Test_nosmartindent()
Executing Test_smartindent_has_no_effect()
Executed 2 tests

From test_spell.vim:
Executing Test_spellreall()
Executing Test_wrap_search()
Executing Test_z_equal_on_invalid_utf8_word()
Executing Test_zeq_crash()
Executing Test_zz_NOSLITSUGS()
Executing Test_zz_Numbers()
Executing Test_zz_affix()
Executing Test_zz_basic()
Executing Test_zz_compound()
Executing Test_zz_prefixes()
Executing Test_zz_sal_and_addition()
Executed 11 tests

From test_startup.vim:
Executing Test_after_comes_later()
Executing Test_compatible_args()
Executing Test_default_term()
Executing Test_file_args()
Executing Test_help_arg()
Executing Test_pack_in_rtp_when_plugins_run()
Executing Test_progpath()
Executing Test_read_stdin()
Executing Test_silent_ex_mode()
Executing Test_startup_script()
Executing Test_startuptime()
Executed 11 tests

From test_startup_utf8.vim:
Executing Test_read_fifo_utf8()
Executing Test_read_stdin_utf8()
Executed 2 tests

From test_stat.vim:
Executing Test_checktime()
Executing Test_existent_directory()
Executing Test_existent_file()
Executing Test_nonexistent_file()
Executing Test_win32_symlink_dir()
Executed 5 tests

From test_substitute.vim:
Executing Test_multiline_subst()
Executing Test_sub_replace_1()
Executing Test_sub_replace_10()
Executing Test_sub_replace_2()
Executing Test_sub_replace_3()
Executing Test_sub_replace_4()
Executing Test_sub_replace_5()
Executing Test_sub_replace_6()
Executing Test_sub_replace_7()
Executing Test_sub_replace_8()
Executing Test_sub_replace_9()
Executing Test_substitute_repeat()
Executing Test_substitute_variants()
Executed 13 tests

From test_syntax.vim:
Executing Test_bg_detection()
Executing Test_conceal()
Executing Test_highlight_invalid_arg()
Executing Test_invalid_name()
Executing Test_ownsyntax()
Executing Test_ownsyntax_completion()
Executing Test_syn_clear()
Executing Test_syn_iskeyword()
Executing Test_syn_sync()
Executing Test_synstack_synIDtrans()
Executing Test_syntax_after_reload()
Executing Test_syntax_arg_skipped()
Executing Test_syntax_completion()
Executing Test_syntax_hangs()
Executing Test_syntax_invalid_arg()
Executing Test_syntax_list()
Executing Test_syntime()
Executed 17 tests

From test_system.vim:
Executing Test_System()
Executing Test_system_exmode()
Executed 2 tests

From test_tcl.vim:
Executing Test_tcldo()
Executed 1 test

From test_terminal.vim:
Executing Test_finish_open_close()
Executing Test_terminal_basic()
Executing Test_terminal_curwin()
Executing Test_terminal_cwd()
Executing Test_terminal_env()
Executing Test_terminal_hide_buffer()
Executing Test_terminal_list_args()
Executing Test_terminal_make_change()
Executing Test_terminal_nasty_cb()
Executing Test_terminal_no_cmd()
Executing Test_terminal_noblock()
Executing Test_terminal_redir_file()
Executing Test_terminal_scrape_123()
Executing Test_terminal_scrape_multibyte()
Executing Test_terminal_scroll()
Executing Test_terminal_size()
Executing Test_terminal_special_chars()
Executing Test_terminal_split_quit()
Executing Test_terminal_tmap()
Executing Test_terminal_wipe_buffer()
Executing Test_terminal_write_stdin()
Executing Test_terminal_wrong_options()
Executing Test_zz_terminal_in_gui()
Executed 23 tests

From test_terminal_fail.vim:
Executing Test_terminal_redir_fails()
Executed 1 test

From test_textobjects.vim:
Executing Test_inner_block_with_cpo_M_left_backslash()
Executing Test_inner_block_with_cpo_M_right_backslash()
Executing Test_inner_block_without_cpo_M()
Executing Test_quote_selection_selection_exclusive()
Executed 4 tests

From test_undo.vim:
Executing Test_U_command()
Executing Test_global_local_undolevels()
Executing Test_insert_expr()
Executing Test_undo_del_chars()
Executing Test_undo_write()
Executing Test_undofile_earlier()
Executing Test_undojoin()
Executing Test_undojoin_redo()
Executing Test_undolist()
Executing Test_undotree()
Executed 10 tests

From test_usercommands.vim:
Executing Test_Ambiguous()
Executing Test_CmdCompletion()
Executing Test_CmdErrors()
Executing Test_CmdUndefined()
Executing Test_cmdmods()
Executed 5 tests

From test_viminfo.vim:
Executing Test_cmdline_history()
Executing Test_cmdline_history_order()
Executing Test_global_vars()
Executing Test_viminfo_bad_syntax()
Executing Test_viminfo_encoding()
Executing Test_viminfo_file_mark_tabclose()
Executing Test_viminfo_file_mark_zero_time()
Executing Test_viminfo_file_marks()
Executing Test_viminfo_jumplist()
Executing Test_viminfo_marks()
Executing Test_viminfo_oldfiles()
Executing Test_viminfo_read_and_write()
Executing Test_viminfo_registers()
Executed 13 tests

From test_vimscript.vim:
Executing Test_arg_abort()
Executing Test_bitwise_functions()
Executing Test_braces_skipped()
Executing Test_curlies()
Executing Test_defining_functions()
Executing Test_delfunction_force()
Executing Test_echo_and_string()
Executing Test_endfunction_trailing()
Executing Test_endwhile_function()
Executing Test_endwhile_script()
Executing Test_error_in_function()
Executing Test_error_in_script()
Executing Test_expr_parsing()
Executing Test_finish()
Executing Test_func_abort()
Executing Test_if_bar_fail()
Executing Test_if_fail()
Executing Test_if_while()
Executing Test_num64()
Executing Test_return()
Executing Test_script_emty_line_continuation()
Executing Test_script_lines()
Executing Test_script_local_func()
Executing Test_skip()
Executing Test_type()
Executing Test_user_command_with_bang()
Executing Test_while_fail()
Executed 27 tests

From test_visual.vim:
Executing Test_Visual_ctrl_o()
Executing Test_Visual_inner_quote()
Executing Test_Visual_vapo()
Executing Test_block_shift_multibyte()
Executing Test_block_shift_overflow()
Executing Test_dotregister_paste()
Executing Test_visual_mode_reset()
Executed 7 tests

From test_winbar.vim:
Executing Test_add_remove_menu()
Executed 1 test

From test_window_id.vim:
Executing Test_win_getid()
Executing Test_win_getid_curtab()
Executed 2 tests

From test_windows_home.vim:
Executed 0 test

From test_writefile.vim:
Executing Test_writefile()
Executing Test_writefile_fails_conversion()
Executing Test_writefile_fails_gently()
Executed 3 tests

From test_alot_latin.vim:
Executing Test_backref()
Executing Test_eow_with_optional()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_nested_backrefs()
Executing Test_recursive_substitute()
Executed 6 tests

From test_alot_utf8.vim:
Executing Test_classes_re1()
Executing Test_classes_re2()
Executing Test_comparisons()
Executing Test_customlist_completion()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_gap()
Executing Test_getvcol()
Executing Test_large_class()
Executing Test_match_using_multibyte_conceal_char()
Executing Test_reversed_range()
Executing Test_search_cmds()
Executing Test_source_latin()
Executing Test_source_utf8()
Executing Test_strcharpart()
Executing Test_strchars()
Executing Test_strgetchar()
Executing Test_visual_block_insert()
Executed 18 tests

From test_alot.vim:
Executing Test_abbr_after_line_join()
Executing Test_abbreviation()
Executing Test_abs()
Executing Test_acos()
Executing Test_asin()
Executing Test_atan()
Executing Test_atan2()
Executing Test_auto_partial_rebind()
Executing Test_balloon_show()
Executing Test_bind_in_python()
Executing Test_break_undo()
Executing Test_bufexists()
Executing Test_byte2line_line2byte()
Executing Test_cancel_ptjump()
Executing Test_caught_error_in_statusline()
Executing Test_caught_error_in_tabline()
Executing Test_cd_large_path()
Executing Test_cd_up_and_down()
Executing Test_ceil()
Executing Test_changedtick_bdel()
Executing Test_changedtick_dict_entry()
Executing Test_changedtick_fixed()
Executing Test_changedtick_increments()
Executing Test_changedtick_islocked()
Executing Test_changenr()
Executing Test_close_on_quitpre()
Executing Test_closure_counter()
Executing Test_closure_refcount()
Executing Test_closure_unlet()
Executing Test_col()
Executing Test_color_names()
Executing Test_compare_null_dict()
Executing Test_compare_partials()
Executing Test_compl_vim_cmds_after_register_expr()
Executing Test_complete_CTRLN_startofbuffer()
Executing Test_complete_func_mess()
Executing Test_complete_no_undo()
Executing Test_completefunc_opens_new_window_one()
Executing Test_completefunc_opens_new_window_two()
Executing Test_completefunc_with_scratch_buffer()
Executing Test_completefunc_works()
Executing Test_completion_can_undo()
Executing Test_completion_clear_candidate_list()
Executing Test_completion_comment_formatting()
Executing Test_completion_ctrl_e_without_autowrap()
Executing Test_completion_respect_bs_option()
Executing Test_conf_type()
Executing Test_cos()
Executing Test_cosh()
Executing Test_count()
Executing Test_cursorline_keep_col()
Executing Test_curswant_with_autocommand()
Executing Test_cycle_partial_job()
Executing Test_cyclic_dict_arg()
Executing Test_cyclic_list_arg()
Executing Test_delete_myself()
Executing Test_detection()
Executing Test_dict()
Executing Test_dir_delete()
Executing Test_duplicate_tagjump()
Executing Test_empty()
Executing Test_empty_buffer()
Executing Test_empty_concatenate()
Executing Test_equal()
Executing Test_equalalways_on_close()
Executing Test_ex_mode()
Executing Test_ex_undo()
Executing Test_execute_list()
Executing Test_execute_string()
Executing Test_existing()
Executing Test_exp()
Executing Test_expand()
Executing Test_feedkeys_x_with_empty_string()
Executing Test_file_delete()
Executing Test_file_perm()
Executing Test_fileformat_after_bw()
Executing Test_fileformat_autocommand()
Executing Test_filetype_detection()
Executing Test_filewritable()
Executing Test_filter()
Executing Test_filter_cmd_completion()
Executing Test_filter_fails()
Executing Test_filter_map_dict_expr_funcref()
Executing Test_filter_map_dict_expr_string()
Executing Test_filter_map_list_expr_funcref()
Executing Test_filter_map_list_expr_string()
Executing Test_findfile()
Executing Test_float2nr()
Executing Test_float_misc()
Executing Test_floor()
Executing Test_fmod()
Executing Test_fnamemodify()
Executing Test_func_unref()
Executing Test_funcref()
Executing Test_function_in_dict()
Executing Test_function_with_funcref()
Executing Test_gD()
Executing Test_gD_char()
Executing Test_gD_comment()
Executing Test_gD_inline_comment()
Executing Test_gD_string()
Executing Test_gD_string_same_line()
Executing Test_gD_too()
Executing Test_ga_command()
Executing Test_gd()
Executing Test_gd_comment()
Executing Test_gd_comment_in_string()
Executing Test_gd_inline_comment()
Executing Test_gd_inline_comment_body()
Executing Test_gd_inline_comment_only()
Executing Test_gd_kr_style()
Executing Test_gd_local_block()
Executing Test_gd_missing_braces()
Executing Test_gd_not_local()
Executing Test_gd_string()
Executing Test_gd_string_in_comment()
Executing Test_gd_string_only()
Executing Test_gd_trailing_comment()
Executing Test_gd_trailing_multiline_comment()
Executing Test_get_partial_items()
Executing Test_getbufvar()
Executing Test_getpid()
Executing Test_getreg_empty_list()
Executing Test_global_local_lispwords()
Executing Test_help_complete()
Executing Test_help_respect_current_file_lang()
Executing Test_help_tagjump()
Executing Test_hlexists()
Executing Test_hostname()
Executing Test_if()
Executing Test_info()
Executing Test_input_in_timer()
Executing Test_invalid()
Executing Test_invalid_submatch()
Executing Test_isnan()
Executing Test_join_with_count()
Executing Test_keyword_jump()
Executing Test_lambda_call_lambda_from_lambda()
Executing Test_lambda_capture_by_reference()
Executing Test_lambda_circular_reference()
Executing Test_lambda_closure_counter()
Executing Test_lambda_combination()
Executing Test_lambda_delfunc()
Executing Test_lambda_do_not_share_local_variable()
Executing Test_lambda_fails()
Executing Test_lambda_feature()
Executing Test_lambda_refer_local_variable_from_other_scope()
Executing Test_lambda_scope()
Executing Test_lambda_share_scope()
Executing Test_lambda_side_effect()
Executing Test_lambda_with_a_var()
Executing Test_lambda_with_filter()
Executing Test_lambda_with_map()
Executing Test_lambda_with_partial()
Executing Test_lambda_with_sort()
Executing Test_lambda_with_timer()
Executing Test_last_buffer_nr()
Executing Test_len()
Executing Test_let_termcap()
Executing Test_load_menu()
Executing Test_log()
Executing Test_log10()
Executing Test_loop_over_null_list()
Executing Test_map_ctrl_c_insert()
Executing Test_map_ctrl_c_visual()
Executing Test_map_cursor()
Executing Test_map_feedkeys()
Executing Test_map_langmap()
Executing Test_map_meta_quotes()
Executing Test_map_timeout()
Executing Test_match()
Executing Test_match_func()
Executing Test_matchaddpos()
Executing Test_matchaddpos_using_negative_priority()
Executing Test_matchend()
Executing Test_matchlist()
Executing Test_matchstr()
Executing Test_matchstrpos()
Executing Test_max()
Executing Test_max_min_errors()
Executing Test_messages()
Executing Test_min()
Executing Test_missing_attr()
Executing Test_mode()
Executing Test_move_cursor()
Executing Test_named_function_closure()
Executing Test_nested_global()
Executing Test_next_split_all()
Executing Test_nextnonblank_prevnonblank()
Executing Test_no_type_checking()
Executing Test_noinsert_complete()
Executing Test_non_zero_arg()
Executing Test_not_existing()
Executing Test_not_lamda()
Executing Test_omnifunc_with_check()
Executing Test_oneshot()
Executing Test_option_value()
Executing Test_other_type()
Executing Test_partial_args()
Executing Test_partial_dict()
Executing Test_partial_exists()
Executing Test_partial_implicit()
Executing Test_partial_string()
Executing Test_paste_end_of_line()
Executing Test_paused()
Executing Test_peek_and_get_char()
Executing Test_popup_complete()
Executing Test_popup_complete2()
Executing Test_popup_completion_insertmode()
Executing Test_pow()
Executing Test_printf_64bit()
Executing Test_printf_errors()
Executing Test_printf_float()
Executing Test_printf_misc()
Executing Test_printf_spec_b()
Executing Test_printf_spec_s()
Executing Test_ptag_with_notagstack()
Executing Test_put_block()
Executing Test_put_char_block()
Executing Test_put_char_block2()
Executing Test_put_lines()
Executing Test_read_only()
Executing Test_recover_root_dir()
Executing Test_recursive_delete()
Executing Test_redefine_dict_func()
Executing Test_redo_in_nested_functions()
Executing Test_ref_job_partial_dict()
Executing Test_reltime()
Executing Test_repeat_many()
Executing Test_repeat_three()
Executing Test_retain_partial()
Executing Test_round()
Executing Test_script_detection()
Executing Test_script_function_in_dict()
Executing Test_script_function_in_dict_arg()
Executing Test_searchpos()
Executing Test_set_add()
Executing Test_set_backslash()
Executing Test_set_reg_null_list()
Executing Test_set_tagcase()
Executing Test_setbufline_getbufline()
Executing Test_setbufvar_options()
Executing Test_setline_startup()
Executing Test_setmatches()
Executing Test_sha256()
Executing Test_shellescape()
Executing Test_simplify()
Executing Test_sin()
Executing Test_sinh()
Executing Test_sort_cmd()
Executing Test_sort_default()
Executing Test_sort_float()
Executing Test_sort_nested()
Executing Test_sort_numbers()
Executing Test_sort_numeric()
Executing Test_sort_strings()
Executing Test_special_char()
Executing Test_sqrt()
Executing Test_static_tagjump()
Executing Test_statusline()
Executing Test_statusline_will_be_disabled_with_error()
Executing Test_stop_all_in_callback()
Executing Test_stop_in_callback()
Executing Test_stopall()
Executing Test_str2float()
Executing Test_str2nr()
Executing Test_strcharpart()
Executing Test_strftime()
Executing Test_strgetchar()
Executing Test_stridx()
Executing Test_strridx()
Executing Test_substitute_expr()
Executing Test_substitute_expr_arg()
Executing Test_symlink_delete()
Executing Test_symlink_dir_delete()
Executing Test_symlink_recursive_delete()
Executing Test_tabline_will_be_disabled_with_error()
Executing Test_tabnext_on_buf_unload1()
Executing Test_tabnext_on_buf_unload2()
Executing Test_tabpage()
Executing Test_tabpage_with_autocmd()
Executing Test_tabpage_with_tab_modifier()
Executing Test_tabpage_with_tabclose()
Executing Test_tabpage_with_tabnext()
Executing Test_tabpage_with_tabonly()
Executing Test_tabpage_with_tabprevious()
Executing Test_tagcase()
Executing Test_tagjump_switchbuf()
Executing Test_taglist()
Executing Test_taglist_ctags_etags()
Executing Test_taglist_native_etags()
Executing Test_tan()
Executing Test_tanh()
Executing Test_timer_catch_error()
Executing Test_timer_errors()
Executing Test_tolower()
Executing Test_tostring()
Executing Test_toupper()
Executing Test_translate_menu()
Executing Test_true_false_arg()
Executing Test_trunc()
Executing Test_unlet_fails()
Executing Test_valid()
Executing Test_version()
Executing Test_window_cmd_cmdwin_with_vsp()
Executing Test_window_cmd_ls0_with_split()
Executing Test_window_cmd_wincmd_gf()
Executing Test_window_contents()
Executing Test_window_exchange()
Executing Test_window_height()
Executing Test_window_horizontal_split()
Executing Test_window_jump_tag()
Executing Test_window_newtab()
Executing Test_window_preview()
Executing Test_window_quit()
Executing Test_window_rotate()
Executing Test_window_split_edit_alternate()
Executing Test_window_vertical_split()
Executing Test_window_width()
Executing Test_with_directories()
Executing Test_with_partial_callback()
Executing Test_with_tilde()
Executing Test_wrong_arguments()
Executing Test_yank_move_change()
Executing Test_yank_put_clipboard()
Executing Test_z()
Executing Test_z_negative_lnum()
Executing Test_z_overflow()
Executed 328 tests

Test results:
ALL DONE
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena/testdir'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json_test.o json_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o json_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_athena.o objects/gui_x11.o objects/gui_beval.o objects/gui_at_sb.o objects/gui_at_fs.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/memfile.o objects/message.o objects/json_test.o -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./json_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/kword_test.o kword_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o kword_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_athena.o objects/gui_x11.o objects/gui_beval.o objects/gui_at_sb.o objects/gui_at_fs.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/json.o objects/memfile.o objects/message.o objects/kword_test.o -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./kword_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile_test.o memfile_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o memfile_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_athena.o objects/gui_x11.o objects/gui_beval.o objects/gui_at_sb.o objects/gui_at_fs.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/message.o objects/memfile_test.o -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./memfile_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message_test.o message_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o message_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_athena.o objects/gui_x11.o objects/gui_beval.o objects/gui_at_sb.o objects/gui_at_fs.o objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/memfile.o objects/message_test.o -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./message_test || exit 1; echo  passed;
passed
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-athena'
touch build-stamp-vim-athena
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox'
/usr/bin/make -f Makefile vim
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox'
make[2]: 'vim' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox'
if test -n "yes" -a -f po/Makefile; then \
	cd po; /usr/bin/make -f Makefile check VIM=../vim; \
fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq af.po
touch af.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ca.po
touch ca.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.po
touch cs.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq de.po
touch de.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq en_GB.po
touch en_GB.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq eo.po
touch eo.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq es.po
touch es.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fi.po
touch fi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq fr.po
touch fr.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ga.po
touch ga.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq it.po
touch it.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.po
touch ja.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.po
touch ko.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ko.UTF-8.po
touch ko.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nb.po
touch nb.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq nl.po
touch nl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq no.po
touch no.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.po
touch pl.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pt_BR.po
touch pt_BR.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.po
touch ru.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.po
touch sk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sv.po
touch sv.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.po
touch uk.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq vi.po
touch vi.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.UTF-8.po
touch zh_CN.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.po
touch zh_CN.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.UTF-8.po
touch zh_TW.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_TW.po
touch zh_TW.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq cs.cp1250.po
touch cs.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.sjis.po
touch ja.sjis.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ja.euc-jp.po
touch ja.euc-jp.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.cp1250.po
touch pl.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq pl.UTF-8.po
touch pl.UTF-8.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq ru.cp1251.po
touch ru.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq sk.cp1250.po
touch sk.cp1250.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq uk.cp1251.po
touch uk.cp1251.ck
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq zh_CN.cp936.po
touch zh_CN.cp936.ck
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox/po'
if test vim != vim -a ! -r vim; then \
	ln -s vim vim; \
fi
cd testdir; /usr/bin/make -f Makefile  VIMPROG=../vim  SCRIPTSOURCE=../../runtime
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/vim-nox/testdir'
rm -f test.log messages
rm -rf test1.failed test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out wrongtermsize
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test1.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test1.in" 57 lines, 2069 charactersFirst 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 1133 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l





/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" If columns or lines are too small, create wrongtermsize.
[?25l[?25h[?25l:[?2004h[?25h" (Some tests will fail. When columns and/or lines are small)
[?25l[?25h[?25l:[?2004h[?25hif &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Write a single line to test.out to check if testing works at all.
[?25l[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lthis is a test[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 15 characters written[?25h[?25l:[?2004h[?25h" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?25h
[?25l[?25h[?25l:[?2004h[?25hw! small.vim
[?25l"small.vim" [New File] 1 line, 1 character written[?25h[?25l:[?2004h[?25hw! tiny.vim
[?25l"tiny.vim" [New File] 1 line, 1 character written[?25h[?2004l[?2004h[?25le! test.ok

w! test.outqa![?25h[?25l:[?2004h[?25hw! mbyte.vim
[?25l"mbyte.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! mzscheme.vim
[?25l"mzscheme.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hw! lua.vim
[?25l"lua.vim" [New File] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l"another" [New File]

"mbyte.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +lua feature supported, make lua.vim empty.
[?25l[?25h[?25l:[?2004h[?25hif has("lua") | sp another | w! lua.vim | q | endif
[?25l"another" [New File]

"lua.vim" 0 lines, 0 characters writtene! test.ok[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?25h[?25l:[?2004h[?25h" Otherwise write small.vim to skip the test.
[?25l[?25h[?25l:[?2004h[?25hif 1 | q! | endif
[?25l[?2004l[?2004l[?1l>[?25h[?1049lrm -rf X* 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test3.in" 2344 lines, 23156 characters/* vim: set cin ts=4 sw=4 : */



Test for 'cindent'.

For new tests, consider putting them in test_cindent.vim.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo 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;[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 : */[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 125 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo modeline
[?25l[?25h[?25l:[?2004h[>ce[?25hdit                " read modeline
[?25l"test3.in"2344L, 23156CTest for 'cindent'.

For new tests, consider putting them in test_cindent.vim.STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo modeline

:edit                " read modeline/start of AUTO=/end of AUTOENDTEST/* start of AUTO matically checked vim: set ts=4 : */

{    if (test)cmd1;cmd2;}{

    if (test)cmd1;else[?25h[?25l/[?2004h[?25hstart of AUTO
[?25l[?25h[?25l/[?2004h[?25hend of AUTO
[?25l956 lines to indent...
9500
850
750
650
550
450
350
250
150
50 lines to indent... 
957 lines indented [?25h[?25l/[?2004h^STARTTEST
}break;default:baz();baz();break;

    }

}



/* end of AUTO */



STARTTEST

:set tw=0 noai fo=croq

:let &wm = &columns - 20

/serious/e

a about life, the universe, and the rest^[

ENDTEST



{



/* this is

 * a real serious important big

 * comment[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 101C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset tw=0 noai fo=croq
[?25l[?25h[?25l:[?2004h[?25hlet &wm = &columns - 20
[?25l[?25h[?25l/[?2004h[?25hserious/e
[?25l[?25h[?25l



-- INSERT --about life, the

 * universe, and the

 * rest important big[?25h[?25l

* comment[?25h[?25l

/[?2004h^STARTTEST
*/

    /* insert " about life, the universe, and the rest" after "serious" */

}



STARTTEST[?25h[?25l

:set nocin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 6L, 78C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comments

joabout life^[/happens

jothere^[/below

oline^[/this

Ohello^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nocin
[?25l[?25h[?25l/[?2004h[?25hcomments
[?25l{

    /** Testing for comments, without 'cin' set[?25h[?25l

*/[?25h[?25l

-- INSERT --

about life[?25h[?25l

/[?2004h[?25hhappens
[?25l/*

* what happens here?[?25h[?25l

*/[?25h[?25l

-- INSERT --

there[?25h[?25l

/[?2004h[?25hbelow
[?25l/*the end of the comment, try inserting a line below */[?25h[?25l

-- INSERT --

line[?25h[?25l

/[?2004h[?25hthis
[?25l/* how aboutthis one */[?25h[?25l

-- INSERT --hello[?25h[?25l

this one */[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 18C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/vec2

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l/[?2004h[?25hvec2
[?25l{

    var = this + that + vec[0] * vec[0]+ vec[1] * vec[1]+ vec2[2] * vec[2];[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5L, 51C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=}4

/testing1

k2==/testing2

k2==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=}4
[?25l[?25h[?25l/[?2004h[?25htesting1
[?25l{asdf asdflkajds f;

    if (tes & ting) {asdf asdf asdf ;asdfa sdf asdf;}

    testing1;[?25h [?25l



/[?2004h[?25htesting2
[?25lif (tes & ting)

    {asdf asdf asdf ;asdfa sdf asdf;}

    testing2;[?25h [?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=(0,)20

/main

=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=(0,)20
[?25l[?25h[?25l/[?2004h[?25hmain
[?25lmain ( int first_par, /*[?25h[?25l

19 lines to indent...
20indented [?25h[?25l

* Comment for[?25h[?25l

/[?2004h^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();[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=es,n0s
[?25l[?25h[?25l/[?2004h[?25hmain
[?25l[?25h[?25l8 lines to indent...
9indented [?25h

[?25l/[?2004h^STARTTEST
else

    {bar();

    }

}



STARTTEST[?25h[?25l

:set cin
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set cino=

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin
[?25l[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l{[?25h[?25l

11 lines to indent...
12indented [?25h[?25l

do[?25h[?25l

/[?2004h^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();

    }[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 1L, 6C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h





[?25l8 lines to indent...
9indented [?25h

   [?25l/[?2004h^STARTTEST
n();

}



STARTTEST[?25h[?25l

:set cino={s,e-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,e-s
[?25l[?25h[?25lvoid f()

{[?25h[?25l

7 lines to indent...
8indented     {[?25h[?25l

if ( k() )[?25h[?25l

/[?2004h^STARTTEST
{l();} else { /* Start (two words) end */m();}

    n();    /* should be under the if () */

}



STARTTEST[?25h[?25l

:set cino={s,fs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=/ foo[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino={s,fs
[?25l[?25h[?25lvoid bar(void)

{[?25h[?25l

/[?2004h[?25h foo
[?25l30 lines to indent...
31indented     {[?25h[?25l/[?2004h^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 */[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 25C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l/[?2004h[?25hwhile
[?25l[?25h[?25l

-- INSERT --

here[?25h[?25l

if ( a )
    i[?25h[?25l

/[?2004h^STARTTEST
a;

}



STARTTEST[?25h[?25l

:set cino= com=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 109C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/comment

olabel2: b();^Mlabel3 /* post */:^M/* pre */ label4:^Mf(/*com*/);^Mif (/*com*/)^^Mcmd();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino= com=
[?25l[?25h[?25l/[?2004h[?25hcomment
[?25la()

{

label1:/* hmm */// comment[?25h[?25l

-- INSERT --label2: b();

label3 /* post */:

/* pre */ label4:f(/*com*/);if (/*com*/)cmd();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set comments& comments^=s:/*,m:**,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 53C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/simple

=5j[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset comments& comments^=s:/*,m:**,ex:*/
[?25l[?25h[?25l/[?2004h[?25hsimple
[?25l/*

  * A simple comment[?25h[?25l

5 lines to indent...
6indented * A simple comment[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
/*

** A different comment

*/



STARTTEST[?25h[?25l

:set cino=c0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 70C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=c0,C1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 73C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=c0,C1
[?25l[?25h[?25l:[?2004h[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST
/*********

    A comment.

    *********/

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 17C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(s,U1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,U1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

c = c1 &&[?25h[?25l

/[?2004h^STARTTEST
(c2 ||c3) && c4;

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(0,w1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,w1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (   c1[?25h[?25l

/[?2004h^STARTTEST
&& (   c2|| c3))foo;

}



STARTTEST[?25h[?25l

:set cino=(s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3) && c4;

    if (c1 && c2)foo;

}



STARTTEST[?25h[?25l

:set cino=(s,m1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(s,m1  
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

8 lines to indent...
9indented [?25h[?25l

c = c1 && ([?25h[?25l

/[?2004h^STARTTEST
c2 ||c3

    ) && c4;

    if (c1 && c2

    )foo;

}



STARTTEST[?25h[?25l

:set cino=b1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=b1
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

9 lines to indent...
10 lines indented [?25h[?25l

switch (x)[?25h[?25l

/[?2004h^STARTTEST
{case 1:a = b;break;default:a = 0;break;

    }

}



STARTTEST[?25h[?25l

:set cino=(0,W5
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W5
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

10 lines to indent...
11indented [?25h[?25l

invokeme([?25h[?25l

/[?2004h^STARTTEST
argu,ment);

    invokeme(argu,ment);

    invokeme(argu,ment);

}



STARTTEST[?25h[?25l

:set cino=/6
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=/6
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

3 lines to indent...
4indented [?25h[?25l

statement;[?25h[?25l

/[?2004h^STARTTEST
// comment 1// comment 2

}



STARTTEST[?25h[?25l

:set cino=
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 34C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-12kdd]]/comment 1/+1

==[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=
[?25l[?25h[?25l==ENDTEST[?25h[?25lvoid f()

{[?25h[?25l

/[?2004h[?25hcomment 1/+1
[?25lstatement;// comment 1

    // comment 2[?25h[?25l    // comment 2[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino=g0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=g0
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass CAbc

{[?25h[?25l

6 lines to indent...
7indented [?25h[?25l

int Test() { return FALSE; }[?25h[?25l

/[?2004h^STARTTEST
public: // comment

    void testfall();

protected:

    void testfall();

};



STARTTEST[?25h[?25l

:set cino=(0,gs,hs
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 29C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,gs,hs
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lclass Foo : public Bar

{[?25h[?25l

5 lines to indent...
6indented [?25h[?25l

public:[?25h[?25l

/[?2004h^STARTTEST
virtual void method1(void) = 0;virtual void method2(int arg1,int arg2,int arg3) = 0;

};



STARTTEST[?25h[?25l

:set cino=+20
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 24C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=+20
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25lvoid

foo()

{[?25h[?25l

4 lines to indent...
5indented [?25h[?25l

if (a)[?25h[?25l

/[?2004h^STARTTEST
{

    } elseasdf;

}



STARTTEST[?25h[?25l

:set cino=(0,W2s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd]]=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,W2s
[?25l[?25h[?25l2kdd]]=][ENDTEST[?25h[?25l

{[?25h[?25l

34 lines to indent...
35indented [?25h[?25l

averylongfunctionnamelongfunctionnameaverylongfunctionname()->asd([?25h[?25l

/[?2004h^STARTTEST
dec)->asdfasdfasdf(asdfadsf,asdfasdf,asdfasdf,),func(asdfadf,asdfasdf),asdasdf);

}



STARTTEST

:set cino=M1

2kdd]]=][

ENDTEST



int main ()

{

    if (cond1 &&cond2)foo;

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=M1
[?25l[?25h[?25l

[?25h[?25l4 lines to indent...
5indented [?25h

   [?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set cino=(0,ts
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0,ts
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

7 lines to indent...
8indented [?25h[?25l

void func(int a[?25h[?25l

/[?2004h^STARTTEST
#if defined(FOO), int b, int c

#endif)

{

}



STARTTEST[?25h[?25l

:set cino=(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=(0
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void[?25h[?25l

/[?2004h^STARTTEST
func(int a

#if defined(FOO), int b, int c

#endif

    )

{

}



STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 22C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=7][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=7][

ENDTEST[?25h



[?25l

69 lines to indent...
50
7indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^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};[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l:[?2004h[?25hset cino+=l1
[?25l[?25h[?25l

[?25h



[?25l22 lines to indent...
23indented [?25h

[?25l/[?2004h^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";

}[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l

[?25h



[?25l6 lines to indent...
7indented     << "b"

        << ") :"

        << "c";[?25h

[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set com=s1:/*,m:*,ex:*/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

]]3jofoo();^[[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset com=s1:/*,m:*,ex:*/
[?25l[?25h[?25lvoid func(void)

{[?25h[?25l/** This is a comment.*/[?25h[?25l

-- INSERT --

foo();[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set cino&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd2j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino&
[?25l[?25h[?25l2kdd2j=][ENDTEST[?25h



[?25l

8 lines to indent...
9indented [?25h[?25l

void func(void)[?25h[?25l

/[?2004h^STARTTEST
{

    for (int i = 0; i < 10; ++i)if (i & 1) {foo(1);} elsefoo(0);

    baz();

}



STARTTEST[?25h[?25l

:set cino=k2s,(0
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1

2kdd3j=][[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0
[?25l[?25h[?25l2kdd3j=][ENDTEST[?25h[?25l

void func(void)[?25h[?25l

23 lines to indent...
24indented [?25h[?25l

{[?25h[?25l

/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s
[?25l[?25h[?25l

[?25h





[?25l23 lines to indent...
24indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(s,U1
[?25l[?25h[?25l

[?25h





[?25l24 lines to indent...
25indented         && condition2)

        action();    && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,W4
[?25l[?25h[?25l

[?25h





[?25l29 lines to indent...
30indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,u2
[?25l[?25h[?25l

[?25h





[?25l18 lines to indent...
19indented         && condition2)

        action();        && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2s,(0,w1
[?25l[?25h[?25l

[?25h





[?25l27 lines to indent...
28indented         && condition2)

        action();         && argument2);[?25h

[?25l/[?2004h^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);[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=k2,(s
[?25l[?25h[?25l

[?25h





[?25l14 lines to indent...
15indented [?25h

[?25l/[?2004h^STARTTEST
if (c1 && (c2 ||c3))foo;

    if (c1 &&(c2 || c3))

    {

    }

}



STARTTEST[?25h[?25l

:set cino=N-s
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 47C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^NAMESPACESTART

=/^NAMESPACEEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=N-s
[?25l[?25h[?25l/[?2004h[?25h^NAMESPACESTART
[?25lNAMESPACESTART[?25h[?25l

/[?2004h[?25h^NAMESPACEEND
[?25l81 lines to indent...
50
82indented [?25h[?25l/[?2004h^STARTTEST
namespace test test2

{

    1111111111111111111;

}

namespace111111111

{

    111111111111111111;

}

NAMESPACEEND





STARTTEST

:set cino=j1,J1

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

var bar = {

foo: {

that: this,

some: ok,

},[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l12 lines to indent...
13indented     foo: {

        that: this,

        some: ok,

    },[?25h[?25l/[?2004h^STARTTEST
"bar":{a : 2,b: "123abc",x: 4,"y": 5

    }

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l5 lines to indent...
6indented [?25h[?25l/[?2004h^STARTTEST
var foo = [

    1,

    2,

    3

];

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l7 lines to indent...
8indented [?25h[?25l/[?2004h^STARTTEST
function bar() {

    var foo = [1,2,3

    ];

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l58 lines to indent...
509indented [?25h[?25l/[?2004h^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: [[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l14 lines to indent...
15indented     $(this).data(class_name+'_public',$.extend({},{

        foo: 'bar',

        bar: 2,

        foobar: [[?25h[?25l/[?2004h^STARTTEST
1,2,3],callback: function(){return true;}

    }, options||{}));

}

JSEND



STARTTEST[?25h[?25l

:set cino=j1,J1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1/^JSSTART

=/^JSEND[?25h[?25l

ENDTEST
[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25lJSSTART[?25h[?25l

/[?2004h[?25h^JSEND
[?25l16 lines to indent...
17indented [?25h[?25l/[?2004h^STARTTEST
2,3],callback: function(){return true;}}, options||{}));

    }

})(jQuery);

JSEND



STARTTEST

:set cino=j1,J1,+2

/^JSSTART

=/^JSEND

ENDTEST



JSSTART

// Results of JavaScript indent

// 1

(function(){

var a = [

'a',[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 38C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cino=j1,J1,+2
[?25l[?25h[?25l/[?2004h[?25h^JSSTART
[?25l[?25h[?25l/[?2004h[?25h^JSEND
[?25l149 lines to indent...
100
50 lines to indent... 
150 lines indented     var a = [

      'a',[?25h[?25l/[?2004h^STARTTEST
var a,

    b,

    c,

    d,

    e,

    f,

    g,

    h,

    i;

JSEND



STARTTEST

:set cin cino&

/start of define

=/end of define

ENDTEST



/* start of define */

{

}

#define AAA \

BBB\

CCC[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 48C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset cin cino&
[?25l[?25h[?25l/[?2004h[?25hstart of define
[?25l[?25h[?25l/[?2004h[?25hend of define
[?25l11 lines to indent...
12indented     BBB\

    CCC[?25h[?25l/[?2004h^STARTTEST
#define CNT \

    1 + \

    2 + \

    4

/* end of define */



STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 61C written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/+-1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l227 fewer lines    c,

    d,

    e,    f,    g,    h,    i;JSEND/* start of define */

{}#define AAA \

    BBB\

    CCC#define CNT \

    1 + \

    2 + \4

/* end of define */[?25h[?25l:[?2004h[?25h1;/start of AUTO/,$wq! test.out
[?25l[?2004l"test.out" [New] 2096L, 20188C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test3 = test61; then \
#	  if diff test.out test3.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test3.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test3.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test4.failed test.ok test.out X* viminfo
cp test4.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test4.in" 34 lines, 960 charactersTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew

/start of

:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx" split to Xxx, autocmd will do :brew

G?this is a

othis should be auto-indented^[

:" Append text with autoindent to this file

:au! BufEnter Xxx

:buf Xxx" go to Xxx, no autocmd anymore

G?this is a

othis should be in column 1^[:wq " append text without autoindent to Xxx

G:r Xxx" include Xxx in the current file

:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is sset

Go# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes current buffer on BufEnter event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 20 lines, 678 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:?startstart?,$w! test.out

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>ca[?25hu BufEnter Xxx brew
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25lstartstart

start of test file Xxx[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx   " write test file Xxx
[?25l"Xxx" [New] 7L, 124C written[?25h[?25l:[?2004h[?25hset ai modeline modelines=3
[?25l[?25h[?25l:[?2004h[?25hsp Xxx             " split to Xxx, autocmd will do :brew
[?25l"Xxx" 7L, 124CTest for autocommand that changes current buffer on BufEnter event.

Check if modelines are interpreted for the correct buffer.STARTTESTo small.vim:set nocompatible viminfo+=nviminfo

:au BufEnter Xxx brew/start of.,/end of/w!" write test file Xxx

:set ai modeline modelines=3:sp Xxx    " split to Xxx, autocmd will do :brew

test4.in                                                                        :set fo+=rssue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi

^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.outqa!ENDTESTstartstart of test file Xxx

test4.in                                                                        test4.in" line 1 of 34 --2%-- col 1[?25h[?25l:qa!ENDTESTstartstart

start of test file Xxx

vim: set noai :        this is a test

        this is a test

        this is a test        this is a testend of test file Xxx[?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --        this should be auto-indented[+][+][?25h[?25l

end of test file Xxx[?25h[?25l:[?2004h[?25h                   " Append text with autoindent to this file
[?25l[?25h[?25l:[?2004h[?25hau! BufEnter Xxx
[?25l[?25h[?25l:[?2004h[?25hbuf Xxx            " go to Xxx, no autocmd anymore
[?25l"Xxx" 7L, 124Cstart of test file Xxx

vim: set noai :

        this is a test

        this is a test

        this is a test



end of test file Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxxt          [?25h[?25l?[?2004h[?25hthis is a
[?25l[?25h[?25l-- INSERT --this should be in column 1[+][?25h[?25l:[?2004h[?25hwq " append text without autoindent to Xxx
[?25l"Xxx8L, 151C written:au BufEnter Xxx brew/start of:.,/end of/w! Xxx   " write test file Xxx

:set ai modeline modelines=3

:sp Xxx             " split to Xxx, autocmd will do :brew

G?this is aothis should be auto-indented^[

:                   " Append text with autoindent to this file

:au! BufEnter Xxx:buf Xxx            " go to Xxx, no autocmd anymoreG?this is aothis should be in column 1^[:wq " append text without autoindent to XxxG:r Xxx   nclude Xxx in the current file:set fo+=r" issue #57 do not move cursor on <c-o> when autoindent is ssetGo# abcdef^[2hi^Od0^[o# abcdef^[2hi^Od0^[:

:?startstart?,$w! test.out

:qa!ENDTESTstarstart of test file Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a testthis should be auto-indented

end of test file Xxx[?25h[?25l

:[?2004h[?25hr Xxx             " include Xxx in the current file
[?25l"Xxx" 8L, 151C

start of test file Xxx[?25h[?25l

:[?2004h[?25hset fo+=r          " issue #57 do not move cursor on <c-o> when autoindent is 


set
[?25l:au! BufEnter Xxx[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

this should be in column 1

end of test file Xxx
[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --

# def[?25h[?25lINSERTt --defo[?25hd[?25l[?25h[?25l

-- INSERT --

# abcdef[?25h[?25l

-- INSERT --
-- (insert)- --[?25h[?25l

-- INSERTt --def:[?25hd[?25l[?25h[?25l

:[?2004h[?25h[?25l:[?2004h[?25h?startstart?,$w! test.out
[?25l"test.out" [New] 20L, 330C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test4 = test61; then \
#	  if diff test.out test4.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test4.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test4.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test5.failed test.ok test.out X* viminfo
cp test5.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test5.in" 29 lines, 949 charactersTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.



STARTTEST

:so small.vim

:au BufLeave Xxx bwipe

/start of

:.,/end of/w! Xxx" write test file Xxx

:sp Xxx" split to Xxx

:bwipe" delete buffer Xxx, now we're back here

G?this is a

othis is some more text^[

:" Append some text to this file

:?start?,$w! test.out" Write current file contents

:bwipe test.out" delete alternate buffer

:au bufleave test5.in bwipe

:bwipe!" delete current buffer, get an empty one

ithis is another test line^[:w >>test.out

:" append an extra line to the output file

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that deletes the current buffer on BufLeave event.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 664 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufLeave Xxx bwipe
[?25l[?25h[?25l/[?2004h[?25hstart of
[?25l[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx               " write test file Xxx
[?25l"Xxx" [New File] 7 lines, 124 characters written[?25h[?25l:[?2004h[?25hsp Xxx                         " split to Xxx
[?25l"Xxx" 7 lines, 124 charactersstart of test file Xxxvim: set noai :this is a test

        this is a test

        this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx                                                                             ?start?,$w! test.outWrite current file contentsbwipe test.out      delete alternate bufferau bufleave test5.in bwipebwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out:                               " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx

test5.in                                                                        [?25h[?25l:[?2004h[?25hbwipe                          " delete buffer Xxx, now we're back here
[?25lTest for autocommand that deletes the current buffer on BufLeave event.

Also test deleting the last buffer, should give a new, empty buffer.STARTTEST:so small.vim:au BufLeave Xxx bwipe

/start of:.,/end of/w! Xxx               " write test file Xxx:sp Xxx                         " split to Xxx:bwipe                          " delete buffer Xxx, now we're back hereG?this is aothis is some more text^[                    Append some text to this file

:?start?,$w! test.outWrite current file contents

:bwipe test.out                 " delete alternate buffer

:au bufleave test5.in bwipe:bwipe!                         " delete current buffer, get an empty one

ithis is another test line^[:w >>test.out   " append an extra line to the output file

:qa!ENDTESTstart of test file Xxx"test5.in" line 23 of 29 --79%-- col 1[?25h[?25lvim: set noai :this is a testthis is a testthis is a testthis is a test

end of test file Xxx[?25h[?25l

?[?2004h[?25hthis is a
[?25l[?25h[?2004l[?2004h[?25l

this is some more text[?25h[?25l

end of test file Xxx[?25h[?25l

:[?2004h[?25h                               " Append some text to this file
[?25l[?25h[?25l:[?2004h[?25h?start?,$w! test.out           " Write current file contents
[?25l"test.out" [New File] 8 lines, 147 characters written[?25h[?25l:[?2004h[?25hbwipe test.out                 " delete alternate buffer
[?25l[?25h[?25l:[?2004h[?25hau bufleave test5.in bwipe
[?25l[?25h[?25l:[?2004h[?25hbwipe!                         " delete current buffer, get an empty one
[?25lError detected while processing BufLeave Auto commands for "test5.in":

E89: No write since last change for buffer 1 (add ! to override)


Press ENTER or type command to continue[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lthis is another test line[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 26 characters appended[?25h[?25l:[?2004h[?25h                               " append an extra line to the output file
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test5 = test61; then \
#	  if diff test.out test5.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test5.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test5.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test7.failed test.ok test.out X* viminfo
cp test7.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test7.in" 26 lines, 675 charactersTest for autocommand that changes the buffer list, when doing ":ball".



STARTTEST

:so small.vim

/^start of

A1^[:.,/end of/w! Xxx1   " write test file Xxx1

:sp Xxx1

:close

$r2:.,/end of/w! Xxx2    " write test file Xxx2

:sp Xxx2

:close

$r3:.,/end of/w! Xxx3    " write test file Xxx3

:sp Xxx3

:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 autocommand that changes the buffer list, when doing ":ball".[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 508 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx1   " write test file Xxx1
[?25l"Xxx1" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx1
[?25l"Xxx1" 4 lines, 77 charactersstart of test file Xxx1this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx1[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2    " write test file Xxx2
[?25l"Xxx2" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx2
[?25l"Xxx2" 4 lines, 77 charactersstart of test file Xxx2this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx2                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx2[?25h[?25l3[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx3    " write test file Xxx3
[?25l"Xxx3" [New File] 4 lines, 77 characters written[?25h[?25l:[?2004h[?25hsp Xxx3
[?25l"Xxx3" 4 lines, 77 charactersstart of test file Xxx3this is a test

        this is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx3                                                                            closeau BufReadPost Xxx2 bwipe

$r4:ball                 " open window for all args, close Xxx2

:.,$w! test.outWrite contents of this file^W^W:w >>test.outAppend contents of second window (Xxx1)/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3

test7.in [+]                                                                    [?25h[?25l:[?2004h[?25hclose
[?25lTest for autocommand that changes the buffer list, when doing ":ball".STARTTEST:so small.vim/^start ofA1^[:.,/end of/w! Xxx1   " write test file Xxx1:sp Xxx1:close$r2:.,/end of/w! Xxx2    " write test file Xxx2:sp Xxx2:close$r3:.,/end of/w! Xxx3    " write test file Xxx3sp Xxx3

:close:au BufReadPost Xxx2 bwipe$r4:ball       open window for all args, close Xxx2

:.,$w! test.out  Write contents of this filew >>test.out        " Append contents of second window (Xxx1)^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!ENDTESTstart of test file Xxx3[?25h[?25l:[?2004h[?25hau BufReadPost Xxx2 bwipe
[?25l[?25h[?25l4[?25h[?25l:[?2004h[?25hball                 " open window for all args, close Xxx2
[?25l"Xxx1"4 lines, 77 characters


"Xxx2" 4 lines, 77 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h.,$w! test.out          " Write contents of this file
[?25l"test.out" [New File] 4 lines, 77 characters written


Press ENTER or type command to continue[?25h[?25l:close

:au BufReadPost Xxx2 bwipe

$r4:ball" open window for all args, close Xxx2

:.,$w! test.out" Write contents of this file

^W^W:w >>test.out" Append contents of second window (Xxx1)

^W^W:/^start of/,$w >>test.out   " Append contents of last window (this file)

:qa!

ENDTEST



start of test file Xxx4

test7.in [+]                                                                    start of test file Xxx1this is a testthis is a test

end of test file Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xxx1                                                                            [?25h

test7.in [+]                                                                     Xxx1                                                                            [?25l:[?2004h[?25hw >>test.out        " Append contents of second window (Xxx1)
[?25l"test.out" 4 lines, 77 characters appended[?25htest7.in [+]                                                                    Xxx1                                                                             [?25l:[?2004h[?25h/^start of/,$w >>test.out   " Append contents of last window (this file)
[?25lsearch hit BOTTOM, continuing at TOP"test.out" 4 lines, 77 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test7 = test61; then \
#	  if diff test.out test7.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test7.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test7.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test8.in" 46 lines, 1236 charactersTest 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('$')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1054 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTif 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,nviminfo

:au BufUnload * call CloseAll()

:au VimLeave * call WriteToOut()

:e small.vim

:sp mbyte.vim

:q

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx1 bunload
[?25l[?25h[?25l:[?2004h[?25hau BufWritePre Xxx2 bwipe
[?25l[?25h[?25l/[?2004h[?25h^start of
[?25l

start of Xxx[?25h[?2004l[?2004h[?25l1[?25h[?25l

:[?2004h[?25h.,/end of/w! Xxx1  " write test file Xxx1
[?25l"Xxx1" [New File] 3 lines, 31 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h.,/end of/w! Xxx2   " write test file Xxx2
[?25l"Xxx2" [New File] 3 lines, 31 characters written[?25h[?25l:[?2004h[?25he! Xxx2                " edit Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2

        testend of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbdel test8.in^I^I" delete this file from the buffer list
[?25l[?25h[?25l:[?2004h[?25he Xxx1                 " edit Xxx1
[?25l"Xxx1" 3 lines, 31 characters1
[?25h[?25l:[?2004h[?25hw                      " write it, will unload it and give an error msg
[?25l"Xxx2"3 lines, 31 characters


E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! test.out            " Write contents of this file
[?25l"test.out" [New File] 3 lines, 31 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he! Xxx2                " start editing Xxx2
[?25l"Xxx2" 3 lines, 31 charactersstart of Xxx2test

end of Xxx"Xxx2" 3 lines, 31 characters[?25h[?25l:[?2004h[?25hbwipe test.out         " remove test.out from the buffer list
[?25l[?25h[?25l:[?2004h[?25hw                      " write it, will delete the buffer and give an error ms


g[?25l"Xxx1"3 lines, 31 characters

E203: Autocommands deleted or unloaded buffer to be written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out           " Append contents of this file
[?25l"test.out" 3 lines, 31 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! BufWritePre
[?25lstart of Xxx1test

end of Xxx[?25h[?25l:[?2004h[?25hfunc CloseAll()
[?25l

:[?2004h  [?25h  let i = 0


[?25l:[?2004h  [?25h  while i <= bufnr('$')


[?25l:[?2004h    [?25h    if i != bufnr('%') && bufloaded(i)


[?25l:[?2004h      [?25h      exe  i . "bunload"


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let i += 1


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfunc WriteToOut()
[?25l

:[?2004h  [?25h  edit! test.out


[?25l:[?2004h  [?25h  $put ='VimLeave done'


[?25l:[?2004h  [?25h  write


[?25l:[?2004h  [?25hendfunc
[?25lstart of Xxx1test

end of Xxx

~                                                                               [?25h[?25l:[?2004h[?25hset viminfo='100,nviminfo
[?25l[?25h[?25l:[?2004h[?25hau BufUnload * call CloseAll()
[?25l[?25h[?25l:[?2004h[?25hau VimLeave * call WriteToOut()
[?25l[?25h[?25l:[?2004h[?25he small.vim
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"small.vim" 1 line, 1 character


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp mbyte.vim
[?25l"mbyte.vim" 0 lines, 0 characters~                                                                               ~                                                                               ~                                                                               mbyte.vim                                                                       small.vim                                                                       "mbyte.vim" 0 lines, 0 characters[?25h[?25l:[?2004h[?25hq
[?25lError detected while processing function CloseAll:


line    4:


E16: Invalid range: 0bunload


"test.out" 6 lines, 62 characters[?2004l


"test.out" 7 lines, 76 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test8 = test61; then \
#	  if diff test.out test8.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test8.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test8.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test14.in" 100 lines, 1623 charactersTests 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

:set belloff=all

/Start cursor here

vaBiBD:?Bug?,/Piece/-2w! test.out

/^- Bug

:s/u/~u~/

:s/i/~u~/

:s/o/~~~/

:.w >>test.out

:if has("ebcdic")

: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>"

:else

: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"

:endif

:exe "normal " . tt

:unlet tt[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1158 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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 */{}}}[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25hStart cursor here
[?25l[?25h[?25l[?25h[?25l{ 

                        cmd;    /* <-- Start cursor here */ 

                        { 

                        } 

                [?25h[?25l                cmd; 

                }[?25h[?25l





6 fewer lines        }Piece of Java{        tt m1 {                t1;e1[?25h[?25l:[?2004h[?25h?Bug?,/Piece/-2w! test.out
[?25l"test.out" [New File] 3 lines, 44 characters written[?25h[?25l/[?2004h[?25h^- Bug
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/u/~u~/
[?25l[?25h[?25l:[?2004h[?25hs/i/~u~/
[?25luuun "vPPPP" on this text (Webb):
[?25h[?25l:[?2004h[?25hs/o/~~~/
[?25luuuuuuuuun this text (Webb):
[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 48 characters appended[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>


"

[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"


[?25l:[?2004h  [?25h:endif
[?25l:$put =@/

/^substitute

:keeppatterns s/asdf/xyz/

:$put =@/

/^substitute[?25h[?25l:[?2004h[?25hexe "normal " . tt
[?25l[?2004l[?2004hABC !a^Og^G8[?25h[?25l:[?2004h[?25hunlet tt
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset vb
[?25l[?25h[?25l/[?2004h[?25h^Piece
[?25l[?25h[?2004l[?2004h[?25l{A[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25ltt m2 {[?25h[?2004l[?2004h[?25l{B[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?25lt2;} e2tt m3 {[?25h[?2004l[?2004h[?25l{C[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 10 characters appended[?25h[?2004l[?2004h[?25l{DC[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{EA[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?2004l[?2004h[?25l{F[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}G e1[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h

[?25lif (x){t3;}} e3[?25h[?2004l[?2004h[?25l}H e3[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?25l

}[?25h[?2004l[?2004h[?25l}I[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 3 characters appended[?25h[?2004l[?2004h[?25l}JH e3[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 8 characters appended[?25h[?2004l[?2004h[?25l}K e2[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 7 characters appended[?25h[?2004l[?2004h[?25l{LF[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^foobar
[?25lfoobar[?25h[?25l

:[?2004h[?25hlet startline = line('.')
[?25l[?25h[?25l:[?2004h[?25hcall search('foobar', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l

[?25h[?25l

:[?2004h[?25hcall search('^$', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l:[?2004h[?25hcall search('^$', 'bc')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), line('.') - startline)
[?25l[?25h[?25l/[?2004h[?25htwo
[?25lsubstitute foo asdf



one two[?25h[?25l

:[?2004h[?25hcall search('.', 'c')
[?25l[?25h[?25l:[?2004h[?25hcall append(line('$'), getline('.')[col('.') - 1:])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hs/foo/bar/
[?25lbar
[?25h[?25l:[?2004h[?25h$put =@/
[?25lsearch()

0

1

1

two

foo[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hkeeppatterns s/asdf/xyz/
[?25lxyz[?25h[?25l:[?2004h[?25h$put =@/
[?25l

^substitute[?25h[?25l

/[?2004h[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l

/[?2004h[?25hbar /e
[?25l[?25h[?25l:[?2004h[?25h$put =@0
[?25l

substitute bar xyz[?25h[?25l



:[?2004h[?25hkeeppatterns /xyz
[?25l[?25h[?25l

/bar /exyz[?25h[?25l:[?2004h[?25h/^search()/,$w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 9 lines, 58 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test14 = test61; then \
#	  if diff test.out test14.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test14.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test14.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test15.in" 136 lines, 2246 charactersTests 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

:set nocp viminfo+=nviminfo

:" 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 401 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset tw=65
[?25l[?25h[?25l

test for :left[?25h[?25l

:[?2004h[?25h/^\s*test for :left/,/^\s*test for :center/ left
[?25lsearch hit BOTTOM, continuing at TOPtest for :left[?25h[?25l:[?2004h[?25h/^\s*test for :center/,/^\s*test for :right/ center
[?25l[?25h[?25l:[?2004h[?25h/^\s*test for :right/,/^xxx/-1 right
[?25l[?25h[?25l:[?2004h[?25hset fo+=tcroql tw=72
[?25l[?25h[?25l/[?2004h[?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[?25h
[?25l

 xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xxxx xxxxxxx.

xxxx xxxx.xxxxxxx: xxxx xxxxxxx, xx xxxx xxxxxxx~                                                                               [?25h

[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h undo/redo here to make the next undo only work on the following changes
[?25l[?25h[?25l1 more line; before #1  0 seconds ago0gq6kk

:set nocp viminfo+=nviminfo

:" 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 :centeraafaafd asdf[?25h[?25l1 line less; after #1  0 seconds agotest for :lefta      afa    adfa      asdfaaasdfa           axasdfaa                test for :center  aa  fa        afd asdf[?25h

[?25l:[?2004h[?25hmap gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
[?25l[?25h[?25l/[?2004h[?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[?25h[?25l





:[?2004h.,.+2s/^/x/
3 substitutions on 3 linesxaa aa aa aa

xbb bb bb bb

xcc cc cc cc
[?25h[?25l:[?2004hset tw=3
[?25h[?25l





3 more lines

aaaaaa3 more lines[?25h[?25l

3 fewer lines; before #2  0 seconds agoaa aa aa aa

bb bb bb bb

cc cc cc cc

~                                                                               [?25h

[?25l:[?2004h[?25h?test for :left?,$w! test.out
[?25l"test.out"[New] 111L, 2304C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test15 = test61; then \
#	  if diff test.out test15.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test15.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test15.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test19.in" 33 lines, 692 charactersTests 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![?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 447 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset smarttab expandtab ts=8 sw=4
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25lSTARTTEST

: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

[?25h[?25l

/[?2004h[?25hsome
[?25lstart textsome test text[?25h[?2004l[?2004h[?25l    ome test text[?25h[?25l

:[?2004h[?25hset noexpandtab
[?25l[?25h[?25l/[?2004h[?25hother
[?25ltest textother test text[?25h[?2004l[?2004h[?25l    ther test text[?25h[?25l

a cde[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs and then backspacing to undo it
[?25l[?25h
    [?2004l[?2004h[?25l[?25h[?25l

f ghi[?25h[?25l

:[?2004h[?25h" Test replacing with Tabs
[?25l[?25h
    [?2004l[?2004h[?25l     hi[?25h[?25l

test text[?25h[?25l

:[?2004h[?25h" Test that copyindent works with expandtab set
[?25l[?25h[?25l:[?2004h[?25hset expandtab smartindent copyindent ts=8 sw=8 sts=8
[?25l[?25h[?2004l[?2004h[?25l{x[?25h[?25l

:[?2004h[?25hset nosol
[?25l[?25h[?25l/[?2004h[?25hSecond line/
[?25l

Second line beginning with whitespace[?25h[?25l
  with whitespace[?25h[?25l

:[?2004h[?25h?^start?,$w! test.out
[?25l"test.out" [New File] 10 lines, 121 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test19 = test61; then \
#	  if diff test.out test19.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test19.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test19.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test20.failed test.ok test.out X* viminfo
cp test20.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test20.in" 28 lines, 398 charactersTests Blockwise Visual when there are TABs before the text.

First test for undo working properly when executing commands from a register.

Also test this in an empty buffer.



STARTTEST

:so tiny.vim

G0"ay$k@au

:new

@auY:quit!

GP

/start here$

"by$^Vjjlld

/456$

^Vjj"bP

:/56$/,$-1w! test.out

:qa!

ENDTEST



123456

234567

345678



test text test tex start here[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests Blockwise Visual when there are TABs before the text.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 107 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso tiny.vim
[?25l[?25h[?25lsome texttest text

test text



Ox^[jAy^[kdd[?25h[?2004l[?2004h[?25lx[?25h

[?2004l[?2004h[?25ly[?25h[?25ly

Ox^[jAy^[kdd[?25h[?25l



2 changes; before #1  0 seconds ago[?25h

[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       123456

234567

345678test text test tex start here

                some texttest

test textOx^[jAy^[kdd

test20.in                                                                       [?25h[?2004l[?2004h[?25lx[+][?25h

[?2004l[?2004h[?25ly[?25h[?25l

~                                                                               [?25h[?25l1 line less; before #1  0 seconds ago    [?25h[?25l:[?2004h[?25hquit!
[?25l:so tiny.vim

G0"ay$k@au:new@auY:quit!GP/start here$"by$^Vjjlld/456$^Vjj"bP:/56$/,$-1w! test.out:qa!ENDTEST123456

234567

345678test text test tex start heresome

         test text

test textOx^[jAy^[kdd[?25h[?25l[?25h[?25l

Ox^[jAy^[kdd[?25h[?25l

/[?2004h[?25hstart here$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25ls[?25h[?25le[?25h[?25lt t[?25h[?25lat [?25h[?25lrt hereextex[?25h[?25l/[?2004h[?25h456$
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l[?25h[?25l4

234[?25h[?25l5

345[?25h[?25l[?25h[?25lstart here56

234start here67

345start here78[?25h[?25l:[?2004h[?25h/56$/,$-1w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 10 lines, 106 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test20 = test61; then \
#	  if diff test.out test20.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test20.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test20.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test28.failed test.ok test.out X* viminfo
cp test28.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test28.in" 23 lines, 364 charactersTest for sourcing a file with CTRL-V's at the end of the line



STARTTEST

:/firstline/+1,/lastline/-1w! Xtestfile

:so Xtestfile

Gmm__1^[^[__2^[__3^[^[__4^[__5^[:'m,$s/^@/0/g

:'m,$w! test.out

:qa!

ENDTEST



firstline

map __1 afirst

map __2 asecond

map __3 athird

map __4 afourth

map __5 afifth

map __1 asd^V

map __2 asd^V^V

map __3 asd^V^V

map __4 asd^V^V^V

map __5 asd^V^V^V

lastline[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 sourcing a file with CTRL-V's at the end of the line[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 114 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h/firstline/+1,/lastline/-1w! Xtestfile
[?25l"Xtestfile" [New File] 10 lines, 148 characters written[?25h[?25l:[?2004h[?25hso Xtestfile
[?25l[?25h[?2004l[?2004h[?25l

sd

map __2 asd^[[?25h[?2004l[?2004h[?25lsecond[?25h[?2004ld  [?2004h[?25lsd^[[?25h[?2004l^[  [?2004h[?25lsd^@map __5 asd^@[?25h[?2004l[?2004h[?25lfifth[?25h[?25l

:[?2004h[?25h'm,$s/^@/0/g
[?25l0map __5 asd0fifth[?25h[?25l:[?2004h[?25h'm,$w! test.out
[?25l"test.out" [New File] 2 lines, 45 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test28 = test61; then \
#	  if diff test.out test28.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test28.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test28.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test29.in" 231 lines, 4278 charactersTest 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 nocompatible viminfo+=nviminfo

: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 cpoptions-=j nojoinspaces compatible

j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2

ENDTEST



firstline

asdfasdf.

asdf[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 11 lines, 478 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het nojoinspaces
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j
[?25l[?25h[?25l/[?2004h[?25hfirstline/
[?25l[?25h

[?25l/[?2004h[?25h^STARTTEST/-1
[?25l+-1
37 fewer linesSTARTTEST

/^{/+1[?25h[?25lmore linesasdfasdf.

asdf[?25h[?25lasdf

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop!

ert[?25h
hjkl i[?25l. as dfg? hjkl iop! ert

zx cvn.

as dfg?hjkl iop![?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv
hjkl i[?25l. as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h
zx cv[?25las dfg?

hjkl iop![?25h
hjkl i[?25l.  as dfg?  hjkl iop!  ert

zx cvn.

as dfg?[?25h  er[?25lt  e[?25h
zx cv[?25len[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions+=j
[?25l[?25h
zx cv[?25l

hjkl iop![?25h
hjkl i[?25l.  as dfg? hjkl iop! ertSTARTTEST[?25h er[?25lt er[?25h
zx cv[?25lrn[?25h[?25lnop[?25h[?25l





:[?2004h[?25hset cpoptions-=j nojoinspaces compatible
[?25l[?25h

[?25l



37 more linesasdfasdf.
[?25h[?25lasdf[?25h[?25l

asdfasdf.[?25h[?25l  asdf[?25h[?25l

asdfasdf. [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.      [?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf.[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25lf asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf [?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

asdfasdf[?25h[?25l asdf[?25h[?25l

zx cvn.[?25h[?25l.  as dfg? hjkl iop! ert[?25h[?25lt  a[?25h[?25l

zx cvn.[?25h[?25l

/[?2004h[?25hSTARTTEST/-2
[?25l+-2
4 fewer lines[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 12 lines, 147 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset comments=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset nojoinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l/* Make sure the previous comment leader is not removed. */
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l// Should the next comment leader be left alone? Yes.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader! OK, I will.
[?25h[?25l

action();
[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

:" Test with backspace set to the non-compatible setting
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 18 lines, 364 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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 backspace= visualbell

A vim5^[A^U^U^[

A vim6^[Azwei^Gu^U^[

:inoremap <c-u> <left><c-u>

A vim7^U^U^[

:set compatible novisualbell

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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" Test with backspace set to the non-compatible setting
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l/[?2004h[?25h^\d\+ this
[?25l[?25h[?25l:[?2004h[?25hset cp bs=2
[?25l[?25h[?2004l[?2004h[?25l[?25h[?2004ld    [?25lvim2[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hset cpo-=<
[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25ld3[?25h[?25l:[?2004h[?25hiunmap <c-u>
[?25l[?25h[?2004l[?2004h[?25l[?25h

[?25l:[?2004h[?25h" Test with backspace set to the compatible setting
[?25l[?25h[?25l:[?2004h[?25hset backspace= visualbell
[?25l[?25h[?2004l[?2004h[?25lvim5[?25h[?2004l[?2004h[?2004l[?2004h[?25ld vim6[?25h[?2004l6    [?25lzwei[?25h[?2004h[?25l[?25h[?25l:[?2004h[?25hinoremap <c-u> <left><c-u>
[?25l[?25h[?2004l[?2004h[?25lvim7[?25h

[?25l:[?2004h[?25hset compatible novisualbell
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 21 lines, 356 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?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.

 */[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset comments=sO:*\ -,mO:*\ \ ,exO:*/
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:/*,mb:*,ex:*/,://
[?25l[?25h[?25l:[?2004h[?25hset comments+=s1:>#,mb:#,ex:#<,:<
[?25l[?25h[?25l:[?2004h[?25hset cpoptions-=j joinspaces fo=j
[?25l[?25h[?25l:[?2004h[?25hset backspace=eol,start
[?25l[?25h[?25l:[?2004h[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed.  *//* List:

 * - item1

 *   foo bar baz[?25h

[?25l/* Make sure the previous comment leader is not removed.  */*   foo bar baz

 * - item2

 *   foo bar baz[?25h

[?25l:[?2004h[?25h.,+8join
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz *//* List:- item1  foo bar baz

 * - item2[?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?[?25h

[?25l:[?2004h[?25h.,+2join
[?25lShould the next comment leader be left alone?  Yes.





// Yes.[?25h

[?25l// Should the next comment leader be left alone?  Yes.* Here the comment leader should be left intact. */

// And so should this one.[?25h

[?25l





:[?2004h[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.* Here the comment leader should be left intact. */[?25h

[?25l/* Here the comment leader should be left intact. */ // And so should this one.[?25h

[?25l:[?2004h[?25h.,+2join
[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();[?25h[?25l

[?25h[?25lif (condition) // Remove the next comment leader!  OK, I will.
[?25h[?25l

action();
[?25h[?25l

[?25h[?25l

:[?2004h[?25h.,+2join
[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;[?25h[?25l

[?25h[?25lint i = 7 /* foo *// 3 // comment
[?25h[?25l

;
[?25h[?25l

[?25h[?25l

:[?2004h[?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.[?25h[?25l

[?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.[?25h[?25l

[?25h[?2004l[?2004h[?25lSome code!

// Make sure backspacing does not remove this comment leader.[?25h
[?2004l[?2004h[?25l// Make sure backspacing does not remove this comment leader.

}[?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 61 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:?firstline?+1,$w! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l75 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.

}[?25h[?25l:[?2004h[?25h?firstline?+1,$w! test.out
[?25l"test.out" [New File] 97 lines, 3018 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test29 = test61; then \
#	  if diff test.out test29.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test29.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test29.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test31.in" 95 lines, 1832 charactersTest for commands that close windows and/or buffers:

:quit

:close

:hide

:only

:sall

:all

:ball

:buf

:edit



STARTTEST

:so small.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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 80 lines, 1697 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" test ":q!" and hidden buffer.

:bw! Xtest1 Xtest2 Xtest3 Xtest4

:sp Xtest1

:wincmd w

:bw!

:set modified

:bot sp Xtest2

:set modified

:bot sp Xtest3

:set modified

:wincmd t

:hide

:q!

:w >>test.out

:q!

:w >>test.out

:q!

:call append(line('$'), "Oh, Not finished yet.")

:w >>test.out

:qa!

ENDTEST



testtext[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h

[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25h$w! Xtest1
[?25l"Xtest1" [New File] 1 line, 11 characters written[?25h[?25l2[?25h[?25l:[?2004h[?25h$w! Xtest2
[?25l"Xtest2" [New File] 1 line, 11 characters written[?25h[?25l3[?25h[?25l:[?2004h[?25h$w! Xtest3
[?25l"Xtest3" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hn! Xtest1 Xtest2
[?25l"Xtest1" 1 line, 11 characterstesttext 1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" test for working :n when hidden set; write "testtext 2"
[?25l[?25h[?25l:[?2004h[?25hn
[?25l"Xtest2" 1 line, 11 characters2[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 1 line, 11 characters written[?25h[?25l:[?2004h[?25h" test for failing :rew when hidden not set; write "testtext 2 2"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hrew
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for working :rew when hidden set; write "testtext 1 1"
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hrew
[?25l"Xtest1" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)1 1
[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test for :all keeping a buffer when it's modified; write "testtext 1 1 1"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l1[?25h[?25l:[?2004h[?25hsp
[?25lXtest1 [+]                                                                      testtext 1 1 1Xtest1 [+]                                                                      [?25h[?25l:[?2004h[?25hn Xtest2 Xtest3
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)2 22 [?25h[?25l:[?2004h[?25hall
[?25l"Xtest3" 1 line, 11 characterstesttext 1 1 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25h1wincmd w
[?25lXtest1 [+]                                                                      Xtest2 [+]                                                                       [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test abandoning changed buffer, should be unloaded even when 'hidden' set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 2 2" twice
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?2004l[?2004h[?25l1 1[?25h[?25l:[?2004h[?25hq!
[?25ltesttext 2 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25hunhide
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":hide" hides anyway when 'hidden' not set; write "testtext 3"
[?25l[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l2[?25h[?25l:[?2004h[?25hhide
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" failing in modified buffer when 'hidden' not set
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3"
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25he Xtest1
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 13 characters appended[?25h[?25l:[?2004h[?25h" test ":edit" working in modified buffer when 'hidden' set; write "testtext 1


"[?25ltesttext 3 3[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 1 line, 11 characters1[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25h" test ":close" not hiding when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 3 3 3"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest3
[?25l"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)3 3Xtest3 [+]                                                                      testtext 1Xtest1                                                                          [?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?2004l[?2004h[?25l3[?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h" test ":close!" does hide when 'hidden' not set in modified buffer;
[?25l[?25h[?25l:[?2004h[?25h" write "testtext 1"
[?25l[?25h[?2004l[?2004h[?25l3 3[?25h[?25l:[?2004h[?25hclose!
[?25l1~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hset nohidden
[?25l[?25h[?25l:[?2004h[?25h" test ":all!" hides changed buffer; write "testtext 2 2 2"
[?25l[?25h[?25l:[?2004h[?25hsp Xtest4
[?25l"Xtest4" [New File]Xtest4                                                                          testtext 1Xtest1                                                                          [?25h[?2004l[?2004h[?25l 4[+][?25h[?25l:[?2004h[?25hall!
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (file 1 of 2)


"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (file 2 of 2)


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h1wincmd w
[?25ltesttext 2 2 2

~                                                                               Xtest2 [+]                                                                      testtext 3 3 3 3~                                                                               3 [+][?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 15 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test ":q!" and hidden buffer.
[?25l[?25h[?25l:[?2004h[?25hbw! Xtest1 Xtest2 Xtest3 Xtest4
[?25l"test31.in"95 lines, 1832 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hsp Xtest1
[?25l"Xtest1" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               Xtest1                                                                          :w >>test.out:q!:w >>test.out:q!:call append(line('$'), "Oh, Not finished yet."):w >>test.out:qa!ENDTESTtesttexttest31.in "Xtest1" 1 line, 11 characters[?25h[?25l:[?2004h[?25hwincmd w
[?25lXtest1                                                                           test31.in                                                                       [?25h[?25l:[?2004h[?25hbw!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset modified
[?25l[?25h[?25l:[?2004h[?25hbot sp Xtest2
[?25l"Xtest2" 1 line, 11 charactersXtest1 [+]                                                                      testtext 2Xtest2                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hbot sp Xtest3
[?25l"Xtest3" 1 line, 11 characterstesttext 1

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest1 [+]                                                                      testtext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3                                                                          [?25h[?25l:[?2004h[?25hset modified
[?25l[+][?25h[?25l:[?2004h[?25hwincmd t
[?25lXtest1 [+]                                                                      Xtest3 [+]                                                                       [?25h[?25l:[?2004h[?25hhide
[?25ltesttext 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest2 [+]                                                                      testtext 3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtest3 [+]                                                                      [?25h[?25l:[?2004h[?25hq!
[?25l3~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hq!
[?25lE37: No write since last change


E162: No write since last change for buffer "Xtest1"[?2004h


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 1 line, 11 characters appended


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test31 = test61; then \
#	  if diff test.out test31.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test31.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test31.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test33.failed test.ok test.out X* viminfo
cp test33.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test33.in" 34 lines, 616 charactersTest for 'lisp'

If the lisp feature is not enabled, this will fail!



STARTTEST

:so small.vim

:set lisp

/^(defun

=G:/^(defun/,$w! test.out

:q!

ENDTEST



(defun html-file (base)

(format nil "~(~A~).html" base))



(defmacro page (name title &rest body)

(let ((ti (gensym)))

`(with-open-file (*standard-output*

(html-file ,name)

:direction :output

:if-exists :supersede)

(let ((,ti ,title))

(as title ,ti)

(with center[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'lisp'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 5 lines, 63 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset lisp
[?25l[?25h[?25l/[?2004h[?25h^(defun
[?25l[?25h[?25l22 lines to indent...
23indented   (format nil "~(~A~).html" base))





  (let ((ti (gensym)))

       `(with-open-file (*standard-output*

                 (html-file ,name)

                  :direction :output

                         :if-exists :supersede)

                        (let ((,ti ,title))

              (as title ,ti)

            (with center[?25h[?25l:[?2004h[?25h/^(defun/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 23 lines, 544 characters written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test33 = test61; then \
#	  if diff test.out test33.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test33.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test33.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test34.in" 87 lines, 1833 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1621 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction Table(title, ...)
[?25l

:[?2004h  [?25h:  let ret = a:title


[?25l:[?2004h  [?25h:  let idx = 1


[?25l:[?2004h  [?25h:  while idx <= a:0


[?25l:[?2004h    [?25h:    exe "let ret = ret . a:" . idx


[?25l:[?2004h    [?25h:    let idx = idx + 1


[?25l:[?2004h    [?25h:  endwhile


[?25l:[?2004h  [?25h:  return ret


[?25l:[?2004h  [?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[?25h[?25l



:[?2004h[?25hfunction Compute(n1, n2, divname)
[?25l

:[?2004h  [?25h:  if a:n2 == 0


[?25l:[?2004h    [?25h:    return "fail"


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  exe "let g:" . a:divname . " = ". a:n1 / a:n2


[?25l:[?2004h  [?25h:  return "ok"


[?25l:[?2004h  [?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))[?25h[?25l



:[?2004h[?25hfunc Expr1()
[?25l

:[?2004h  [?25h:  normal! v


[?25l:[?2004h  [?25h:  return "111"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc Expr2()
[?25l

:[?2004h  [?25h:  call search('XX', 'b')


[?25l:[?2004h  [?25h:  return "222"


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListItem()
[?25l

:[?2004h  [?25h:  let g:counter += 1


[?25l:[?2004h  [?25h:  return g:counter . '. '


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc ListReset()
[?25l

:[?2004h  [?25h:  let g:counter = 0


[?25l:[?2004h  [?25h:  return ''


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hfunc FuncWithRef(a)
[?25l

:[?2004h  [?25h:  unlet g:FuncRef


[?25l:[?2004h  [?25h:  return a:a


[?25l:[?2004h  [?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))

:try

:    " Regression: the first line below used to throw ?E110: Missing ')'?[?25h[?25l



:[?2004h[?25hlet g:FuncRef=function("FuncWithRef")
[?25l[?25h[?25l:[?2004h[?25hlet counter = 0
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> ( ListItem()
[?25l[?25h[?25l:[?2004h[?25hinoremap <expr> [ ListReset()
[?25l[?25h[?25l:[?2004h[?25himap <expr> + Expr1()
[?25l[?25h[?25l:[?2004h[?25himap <expr> * Expr2()
[?25l[?25h[?25l:[?2004h[?25hlet retval = "nop"
[?25l[?25h[?25l/[?2004h[?25h^here
[?25l[?25h[?25lher$[?2004l=[?2004h[?25hTable("xxx", 4, "asdf")
[?25l=[?2004h[?25hCompute(45, 0, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hCompute(45, 5, "retval")
[?25l=[?2004h[?25hretval
[?25l=[?2004h[?25hg:FuncRef(333)


[?25lError detected while processing function Expr1:


line    1:


E523: Not allowed here


Press ENTER or type command to continue[?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[?25h[?2004h[?25l1. one again[?25h[?25l

:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25hcall extend(g:, {'max': function('min')})
[?25lE704: Funcref variable name must start with a capital: max[?25h[?25l:[?2004h[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:    " Regression: the first line below used to throw ?E110: Missing ')'?


[?25l:[?2004h  [?25h:    " Second is here just to prove that this line is correct when not skipp


ing


[?25l:[?2004h  [?25h:    " rhs of &&.


[?25l:[?2004h  [?25h:    $put =(0&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:    $put =(1&&(function('tr'))(1, 2, 3))


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:    $put ='!!! Unexpected exception:'


[?25l:[?2004h  [?25h:    $put =v:exception


[?25l:[?2004h  [?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[?25h[?25l

:[?2004h[?25h$-9,$w! test.out
[?25l"test.out" [New File] 10 lines, 81 characters written[?25h[?25l:[?2004h[?25hdelfunc Table
[?25l[?25h[?25l:[?2004h[?25hdelfunc Compute
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr1
[?25l[?25h[?25l:[?2004h[?25hdelfunc Expr2
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListItem
[?25l[?25h[?25l:[?2004h[?25hdelfunc ListReset
[?25l[?25h[?25l:[?2004h[?25hunlet retval counter
[?25l[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test34 = test61; then \
#	  if diff test.out test34.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test34.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test34.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test36.in" 114 lines, 2136 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 107 lines, 1961 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTp: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\%210l^\t...//g

p:s/\%#=1\%211l^\t...//g

p:s/\%#=2\%212l^\t...//g

p:s/\%#=0[0-z]//g

p:s/\%#=1[0-z]//g

p:s/\%#=2[0-z]//g

p:s/\%#=0[^0-z]//g

p:s/\%#=1[^0-z]//g

p:s/\%#=2[^0-z]//g

:/^start-here/+1,$wq! test.out

ENDTEST




[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^start-here/+1
[?25l[?25h[?25l:[?2004h[?25hs/\%#=0\d//g



:[?2004h[?25hs/\%#=1\d//g



:[?2004h[?25hs/\%#=2\d//g



:[?2004h[?25hs/\%#=0[0-9]//g



:[?2004h[?25hs/\%#=1[0-9]//g



:[?2004h[?25hs/\%#=2[0-9]//g



:[?2004h[?25hs/\%#=0\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\D//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9]//g
[?25l72 substitutions on 1 line0123456789~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\o//g



:[?2004h[?25hs/\%#=1\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\o//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-7]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\O//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l

[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-7]//g
[?25l74 substitutions on 1 line01234567~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\x//g




:[?2004h[?25hs/\%#=1\x//g




:[?2004h[?25hs/\%#=2\x//g




:[?2004h[?25hs/\%#=0[0-9A-Fa-f]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[0-9A-Fa-f]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\w//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\w//g





:[?2004h[?25hs/\%#=1[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=2[0-9A-Za-z_]//g




:[?2004h[?25hs/\%#=0\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\h//g




:[?2004h[?25hs/\%#=1\h//g




:[?2004h[?25hs/\%#=2\h//g




:[?2004h[?25hs/\%#=0[A-Za-z_]//g




:[?2004h[?25hs/\%#=1[A-Za-z_]//g




:[?2004h[?25hs/\%#=2[A-Za-z_]//g




:[?2004h[?25hs/\%#=0\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\a//g




:[?2004h[?25hs/\%#=1\a//g




:[?2004h[?25hs/\%#=2\a//g




:[?2004h[?25hs/\%#=0[A-Za-z]//g




:[?2004h[?25hs/\%#=1[A-Za-z]//g




:[?2004h[?25hs/\%#=2[A-Za-z]//g




:[?2004h[?25hs/\%#=0\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\l//g



:[?2004h[?25hs/\%#=1\l//g



:[?2004h[?25hs/\%#=2\l//g



:[?2004h[?25hs/\%#=0[a-z]//g



:[?2004h[?25hs/\%#=1[a-z]//g



:[?2004h[?25hs/\%#=2[a-z]//g



:[?2004h[?25hs/\%#=0\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\u//g



:[?2004h[?25hs/\%#=1\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\u//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[A-Z]//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l

[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=1[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=2[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~                                                                               [?25h[?25l




:[?2004h[?25hs/\%#=0\%210l^\t...//g



:[?2004h[?25hs/\%#=1\%211l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2\%212l^\t...//g

~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=0[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=2[0-z]//g


~                                                                               [?25h[?25l





:[?2004h[?25hs/\%#=1[^0-z]//g
[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l

[?25l34 substitutions on 1 line0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz~                                                                               [?25h[?25l:[?2004h[?25h/^start-here/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 105 lines, 4521 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test36 = test61; then \
#	  if diff test.out test36.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test36.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test36.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test37.in" 116 lines, 3262 charactersTest 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 --[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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![?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 72 lines, 1498 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTHk^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

. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25hset scrollopt=ver,jump
[?25l[?25h[?25l:[?2004h[?25hset scrolloff=2
[?25l[?25h[?25l:[?2004h[?25hset nowrap
[?25l[?25h[?25l:[?2004h[?25hset noequalalways
[?25l[?25h[?25l:[?2004h[?25hset splitbelow
[?25l[?25h[?25l:[?2004h[?25h" TEST using two windows open to one buffer, one extra empty window
[?25l[?25h[?25l:[?2004h[?25hsplit
[?25l^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

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02test37.in                                                                       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 11122

test37.in                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l:w! test.out             " Write contents of this file

:qa!ENDTESTtest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 8
[?25l:" ***** done with tests *****w! test.out             " Write contents of this file

:qa!ENDTESTstart of window 1

. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01

test37.in                                                                       :" ***** done with tests *****:w! test.out             " Write contents of this fileqa!ENDTESTstart of window 1[?25h[?25l/[?2004h[?25h^start of window 1$/
[?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hresize 7
[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lend of window 1start of window 2

. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03[?25h[?25l

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25htest37.in                                                                        [No Name]                                                                       [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[+][?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l2[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        test37.in                                                                       test37.in                                                                       test37.in                                                                        test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       test37.in                                                                        test37.in                                                                        test37.in                                                                       test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0656789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415UTSRQPONMLKJIHGREDCBA9876543210 09101112131415[?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[?25h[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" ****** tests using two different buffers *****
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        test37.in                                                                       [?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hclose
[?25lstart of window 20000000000[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noscrollbind
[?25l[?25h[?25l:[?2004h[?25h/^start of window 2$/,/^end of window 2$/y
[?25l18 lines yanked[?25h[?25l:[?2004h[?25hnew
[?25ltest37.in                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [?25htest37.in                                                                       [No Name]                                                                        test37.in                                                                        [No Name]                                                                       [?25l4 more lines[+][?25h





[?25l18 more linesstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l/[?2004h[?25h^start of window 1$/
[?25lsearch hit BOTTOM, continuing at TOPENDTESTstart of window 1010102020303[?25h[?25l

. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start of window 2$/
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03

. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollbind
[?25l[?25h[?25l:[?2004h[?25h" -- start of tests --
[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling down
[?25l[?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[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
[?25h[?25l0[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
[?25h[?25l1[?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[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l

. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
[?25h[?25l2[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?25h[?25l3[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST scrolling up
[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?25h[?25l4[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?25h[?25l5[?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
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?25h[?25l6[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l7[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" TEST horizontal scrolling
[?25l[?25h[?25l:[?2004h[?25hset scrollopt+=hor
[?25l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05

15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05

2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11

3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11

46 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06

56 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06

6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02

7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06UTSRQPONMLKJIHGREDCBA9876543210 07[?25htest37.in                                                                        [No Name] [+]                                                                   [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?25h[?25l

[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                    [No Name] [+]                                                                   [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[No Name] [+]                                                                   [No Name] [+]                                                                    [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415



UTSRQPONMLKJIHGREDCBA9876543210 0910111213141516[?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[?25h[?25l[?25h[No Name] [+]                                                                    [No Name] [+]                                                                   [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?25h[?25l

[?25htest37.in                                                                       [No Name] [+]                                                                    
test37.in                                                                        [No Name] [+]                                                                   [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?25h[?25l

[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset scrollopt-=hor
[?25l[?25h[?25l:[?2004h[?25h" TEST syncbind
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 201010202[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25h[?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25h[?25l



:[?2004h[?25h[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset noscb
[?25l[?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[?25h





test37.in                                                                        [No Name] [+]                                                                   [?25l:[?2004h[?25hset noscb
[?25l[?25h[?25lstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?25h[?25l:[?2004h[?25hset scb
[?25l[?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hset scb
[?25l[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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] [+]                                                                   [?25htest37.in                                                                       [No Name] [+]                                                                    [?25l:[?2004h[?25hsyncbind
[?25l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

:set scrollbind
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?25h[?25l



:[?2004h[?25h[?25l[?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[?25htest37.in                                                                        [No Name] [+]                                                                   test37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [?25l

^Wj:
[?25htest37.in                                                                       [No Name] [+]                                                                    test37.in                                                                        [No Name] [+]                                                                   [No Name] [+]                                                                    [No Name] [+]                                                                   [?25l

. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
[?25h[?25l



:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" ***** done with tests *****
[?25l[?25h[?25l:[?2004h[?25hw! test.out             " Write contents of this file
[?25l"test.out" [New File] 33 lines, 1329 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test37 = test61; then \
#	  if diff test.out test37.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test37.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test37.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test38.in" 35 lines, 455 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 29 lines, 407 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTopq 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[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?25h[?25l:[?2004h[?25hset t_kD=^^? t_kb=^^H
[?25l^[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

[?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

^Duvwxyz[?25h[?25l

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25l

abcdefghijk      lmn    opq rstuvwxyz[?25h[?25l:[?2004h[?25hset ai
[?25l[?25h[?25l:[?2004h[?25hset bs=2
[?25l[?25h[?2004l[?2004h[?25l 1

 A BCDEFGHIJ    KL        MNOPQR[?25h[?25l:[?2004h[?25hka
[?25l[?25h[?2004l[?2004h[?25labcdefghijk      lmn    opq rstuvwxyz[?25h

[?2004l[?2004h[?25l 1[?25h[?25l:[?2004h[?25h$
[?25l[?25h[?2004l[?2004h[?25lab      cdefghi jkl[?25h
[?2004l[?2004h[?25lAB......CDEFGHI.J[?25h[?2004l[?2004h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?2004l[?2004h[?25labcdefghijklmnopqrst[?25h
[?2004l[?2004h[?25lAB      IJKLMNO QR[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 13 lines, 107 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test38 = test61; then \
#	  if diff test.out test38.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test38.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test38.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test39.in" 118 lines, 2435 charactersTest Visual block mode commands

And test "U" in Visual mode, also on German sharp S.



#define BO_ALL      0x0001

#define BO_BS0x0002

#define BO_CRSR     0x0004



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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 2061 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" This only works when 'encoding' is "latin1", don't depend on the environment
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:exe ":norm! 2k\<C-V>$gj\<Esc>"

:let cpos=getpos("'>")

:$put ='col:'.cpos[2].' off:'.cpos[3]

:"

:" block_insert when replacing spaces in front of the block with tabs

:set ts=8 sts=4 sw=4

:4,7y

Gp

:exe ":norm! f0\<C-V>2jI\<tab>\<esc>"

:/^the/,$w >> test.out

:qa!

ENDTESTline1line2line3



aaaaaa

bbbbbb

cccccc

dddddd



xaaa[?25h[?25l/[?2004h[?25h^abcde
[?25lbbbb

cccc

dddd



yaaa


bbb



A23

4567



B23

4567



C23

4567



abcdefghijklm[?25h[?25l

:[?2004h[?25h" Test shift-right of a block
[?25l[?25h[?25l

abcdefghijklm[?25habcd[?25l[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

e

abcdefghijklm
abcd[?25h[?25l

3 lines >ed 1 time        efghijklm

abcd        efghijklm

abcd        efghijklm[?25h     ef[?25l[?25h[?25lg[?25h[?25lhg[?25h[?25lih[?25h[?25lji[?25h[?25l        ghijklm        ghijklm[?25h[?25l:[?2004h[?25h" Test shift-left of a block
[?25l[?25h[?25l

abcdefghijklm[?25h[?25l[?25h[?25li[?25h[?25l [?25h[?25l





3 lines <ed 1 timeef    efghijklmi[?25h[?25l:[?2004h[?25h" Test block-insert
[?25l[?25h

a[?25l[?25h[?25lb[?25h[?25lb[?25h[?25lb[?25h[?25l

ab

ab

ab[?2004l[?2004hxyzbcdefghijklm

axyzbcd

axyzbcd

axyzbcd[?25h

a[?25l:[?2004h[?25h" Test block-replace
[?25l[?25h





abcd[?25l[?25h[?25le[?25h[?25lb[?25h[?25lb[?25h[?25lbccf[?25h[?25lcddg[?25h[?25ld  h[?25h[?25lqqqq

axyzqqqq

axyzqqqq

abcdqqqq[?25h

axyz[?25l:[?2004h[?25h" Test block-change
[?25l[?25h



[?25l[?25h[?25lj[?25h[?25li[?25h[?25l     ghijkl[?25h[?25lef  gkl[?25h[?2004l[?2004h[?25lmnomnomno[?25h[?25l:[?2004h[?25h$-4,$w! test.out
[?25l"test.out" [New File] 5 lines, 108 characters written[?25h[?25l:[?2004h[?25h" Test block-insert using cursor keys for movement
[?25l[?25h[?25l/[?2004h[?25h^aaaa/
[?25lsearch hit BOTTOM, continuing at TOPaaaaaa

bbbbbb

cccccc

ddddddsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>jjjlllI\<Right>\<Right>  \<Esc>"
[?25l[?2004l[?2004h  aaa

bbb  bbb

ccc  ccc

ddd  ddd[?25h[?25l:[?2004h[?25h/^aa/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 37 characters appended[?25h[?25l/[?2004h[?25hxaaa$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! \<C-V>jjjI<>\<Left>p\<Esc>"
[?25l[?2004l[?2004h<p>xaaa

<p>bbbb

<p>cccc

<p>dddd[?25h[?25l:[?2004h[?25h/xaaa$/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5 lines, 33 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the last <C-v>$
[?25l[?25h[?25l/[?2004h[?25h^A23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$Aab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (1)
[?25l[?25h[?25l/[?2004h[?25h^B23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hAab\<Esc>"
[?25l[?2004l[?2004hab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 15 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block was created with the middle <C-v>$ (2)
[?25l[?25h[?25l/[?2004h[?25h^C23$/
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! l\<C-V>j$hhAab\<Esc>"
[?25l[?2004l[?2004hab

456ab7[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 3 lines, 14 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block insert when virtualedit=all and utf-8 encoding
[?25l[?25h[?25l:[?2004h[?25hset ve=all enc=utf-8
[?25laaa  aaa

bbb  bbb

ccc  ccc

ddd  ddd



<p>xaaa

<p>bbbb

<p>cccc

<p>dddd



yaaa

<bf><bf><bf>

bbb



A23ab

4567ab



B23 ab

4567ab



C23ab

456ab7[?25h[?25l





:[?2004h[?25h/\t\tline
[?25lsearch hit BOTTOM, continuing at TOPline1line2line3search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hexe ":norm! 07l\<C-V>jjIx\<Esc>"
[?25l[?2004l[?2004hxxx[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l"test.out" 4 lines, 49 characters appended[?25h[?25l:[?2004h[?25h" Test for Visual block append when virtualedit=all
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 012l\<C-v>jjAx\<Esc>"
[?25l[?2004l[?2004hx   line1x   line2x   line3[?25h[?25l:[?2004h[?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



yaaa


bbb



A23ab

4567ab



B23 ab

4567ab[?25h[?25l:[?2004h[?25h.,/^$/w >> test.out
[?25l[?25h[?25lC23ab

456ab7



axyzbcdefghijklm

axyzqqqq   mnoghijklm

axyzqqqqef mnoghijklm

axyzqqqqefgmnoklm

abcdqqqqijklm[?25h[?2004l[?2004h[?25l


[?25hthe [?25lYOUTUSSEUU end
the [?25h

the [?25l

:[?2004h[?25h" gUfx must uppercase until x, inclusive.
[?25l[?25h[?2004l[?2004h[?25l
- y[?25lOUSSTUSSEXu -
- y[?25h[?25l


:[?2004h[?25h" VU must uppercase a whole line
[?25l[?25h[?25l

[?25h[?25lTHE YOUTUSSEUU END
[?25h

[?25l

:[?2004h[?25h" same, when it's the last line in the buffer
[?25l[?25h[?25l[?25h[?25l

11[?25h[?25l
11[?25h[?25l
111THE YOUTUSSEUU END
[?25h[?25l~                                                                               [?25h[?25l111THE YOUTUSSEUU END


[?25l

:[?2004h[?25h" Uppercase two lines
[?25l[?25h[?2004l[?2004h[?25l

blah didoh dut[?25h[?25l
doh dut [?25h[?25lblah di t[?25h[?25l
BLAH DIDOH DUT[?25h[?25l


:[?2004h[?25h" Uppercase part of two lines
[?25l[?25h[?25l
~                                                                               [?25h[?25l


33[?25h

333the yo[?25h[?25lut[?25h[?25lUTUSSEUU END

333THE YOUTU[?25h[?25l



:[?2004h[?25h" visual replace using Enter or NL
[?25l[?25h

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^M65

98^M65

98^M65[?25h

98

[?2004l[?2004h[?25l123456789

123456789

123456789[?25h
12345[?25l[?25h[?25l66[?25h[?25l789[?25h[?25l789

12345

789
[?25h[?2004l[?2004h[?25l98765

98765

98765[?25h
98[?25l[?25h[?25l7

987

98[?25h[?25l^@65

98^@65

98^@65[?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test cursor position. When ve=block and Visual block mode and $gj
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h[?25l:[?2004h[?25hexe ":norm! 2k\<C-V>$gj\<Esc>"
[?25l[?25h[?25l:[?2004h[?25hlet cpos=getpos("'>")
[?25l[?25h[?25l:[?2004h[?25h$put ='col:'.cpos[2].' off:'.cpos[3]
[?25l

col:4 off:0[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" block_insert when replacing spaces in front of the block with tabs
[?25l[?25h[?25l:[?2004h[?25hset ts=8 sts=4 sw=4
[?25l[?25h[?25l:[?2004h[?25h4,7y
[?25l4 lines yanked[?25h[?25l

4 more lines

4 more lines[?25h[?25l

#define BO_ALL      0x0001[?25h[?25l

:[?2004h[?25hexe ":norm! f0\<C-V>2jI\<tab>\<esc>"
[?25l[?2004l[?2004h    0x0001

#define BO_BS0x0002

#define BO_CRSR0x0004[?25h[?25l





:[?2004h[?25h/^the/,$w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 31 lines, 322 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test39 = test61; then \
#	  if diff test.out test39.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test39.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test39.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test40.in" 63 lines, 1536 charactersTest for "*Cmd" autocommands



STARTTEST

:so small.vim

:/^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

:" 6     end of Xxx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1455 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^start/,$w! Xxx^I^I" write lines below to Xxx
[?25l"Xxx" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25hau BufReadCmd XtestA 0r Xxx|$del
[?25l[?25h[?25l:[?2004h[?25he XtestA^I^I^I" will read text of Xxd instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxx        test40end of Xxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau BufWriteCmd XtestA call append(line("$"), "write")
[?25l[?25h[?25l:[?2004h[?25hw^I^I^I^I" will append a line to the file
[?25lwrite[?25h[?25l:[?2004h[?25hr XtestA^I^I^I" should not read anything
[?25lE484: Can't open file XtestA[?25h[?25l:[?2004h[?25h^I^I^I^I" now we have:
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileReadCmd XtestB '[r Xxx
[?25l[?25h[?25l:[?2004h[?25h2r XtestB^I^I^I" will read Xxx below line 2 instead
[?25l"Xxx" 3 lines, 32 charactersstart of Xxxtest40

end of Xxx[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25hau FileWriteCmd XtestC '[,']copy $
[?25l[?25h[?2004l[?2004h[?25ltest401[?25h[?25l:[?2004h[?25h4,5w XtestC^I^I^I" will copy lines 4 and 5 to the end
[?25l        test401end of Xxx[?25h[?25l:[?2004h[?25hr XtestC^I^I^I" should not read anything
[?25lE484: Can't open file XtestC[?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hau FILEAppendCmd XtestD '[,']w! test.out
[?25l[?25h[?25l:[?2004h[?25hw >>XtestD^I^I^I" will write all lines to test.out
[?25l"test.out" [New File] 9 lines, 91 characters written[?25h[?25l:[?2004h[?25h$r XtestD^I^I^I" should not read anything
[?25lE484: Can't open file XtestD[?25h[?25l:[?2004h[?25h$w >>test.out^I^I^I" append "end of Xxx" to test.out
[?25l"test.out" 1 line, 11 characters appended[?25h[?25l:[?2004h[?25hau BufReadCmd XtestE 0r test.out|$del
[?25l[?25h[?25l:[?2004h[?25hsp XtestE^I^I^I" split window with test.out
[?25l"test.out" 10 lines, 102 charactersend of XxxXtestE                                                                          end of Xxxwrite        test401end of XxxXtestA                                                                          [?25h[?2004l[?2004h[?25lasdf[+][?25hXtestE [+]                                                                       XtestA                                                                          [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hau BufWriteCmd XtestE w! test.out
[?25l[?25h[?25l:[?2004h[?25hwall^I^I^I^I" will write other window to test.out
[?25l"test.out" 11 lines, 107 characters written   [?25h[?25l:[?2004h[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 2^I^Itest40
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 4^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 6^Iasdf
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 7^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 8^Iwrite
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 9^I^Itest401
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 10^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25h^I^I^I^I" 11^Iend of Xxx
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test40 = test61; then \
#	  if diff test.out test40.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test40.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test40.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test41.failed test.ok test.out X* viminfo
cp test41.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test41.in" 24 lines, 421 charactersTest for writing and reading a file of over 100 Kbyte



1 line: "This is the start"

3001 lines: "This is the leader"

1 line: "This is the middle"

3001 lines: "This is the trailer"

1 line: "This is the end"



STARTTEST

:%d

aThis is the start

This is the leader

This is the middle

This is the trailer

This is the end^[kY3000p2GY3000p

:w! Xtest

:%d

:e! Xtest

:.w! test.out

3003G:.w >>test.out

6005G:.w >>test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 of over 100 Kbyte[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 196 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lThis is the start

This is the leaderThis is the middleThis is the trailerThis is the end[?25h[?25l3000 more linestrailer

This is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailerThis is the trailer[?25h[?25lleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleaderleader[?25h

[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 6005 lines, 117092 characters written[?25h[?25l:[?2004h[?25h%d
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25he! Xtest
[?25l"Xtest" 6005 lines, 117092 charactersThis is the start

This is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leaderThis is the leader[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 18 characters written[?25h[?25lThis is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the leader

This is the middle

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 19 characters appended[?25h[?25lThis is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the trailer

This is the end
[?25h[?25l

:[?2004h[?25h.w >>test.out
[?25l"test.out" 1 line, 16 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test41 = test61; then \
#	  if diff test.out test41.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test41.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test41.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test42.in" 130 lines, 2368 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 111 lines, 2116 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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


utf-8

utf-8

utf-8-err

utf-8~@err

ucs-2


ucs-2le


[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25l: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

<fe><fe>latin-1

utf-8

<feff>utf-8

utf-8-err

<feff>utf-8<80>err

ucs-2

<fe><ff>^@u^@c^@s^@-^@2^@

ucs-2le

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l:[?2004h[?25hset fileencodings=ucs-bom,latin-1
[?25l[?25h[?25l:[?2004h[?25hset ff=unix ffs=unix           " This changes the file for DOS and MAC
[?25l[?25h[?25l:[?2004h[?25h" --- Write the test files
[?25l[?25h[?25l:[?2004h[?25h/^latin-1$/+1w! Xtest0
[?25l"Xtest0" [New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h/^utf-8$/+1w! Xtest1
[?25l"Xtest1" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h/^utf-8-err$/+1w! Xtest2
[?25l"Xtest2" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25h/^ucs-2$/+1w! Xtest3
[?25l"Xtest3" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25h/^ucs-2le$/+1w! Xtest4
[?25l"Xtest4" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h" Need to add a NUL byte after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest4                      " Ignore change from setting 'ff'
[?25l"Xtest4" 1 line, 17 characters<ff><fe>u^@c^@s^@-^@2^@l^@e^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

[?2004h[?25l^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest4" [Incomplete last line] 2 lines, 18 characters written[?25h[?25l:[?2004h[?25hset ffs& nobinary              " Allow default test42.in format
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25hset ff=unix                    " Format for files to write
[?25l[?25h[?25l:[?2004h[?25h/^ucs-4$/+1w! Xtest5
[?25l"Xtest5" [converted][New File] 1 line, 30 characters written[?25h[?25l:[?2004h[?25h/^ucs-4le$/+1w! Xtest6
[?25l"Xtest6" [converted][New File] 1 line, 35 characters written[?25h[?25l:[?2004h[?25h" Need to add three NUL bytes after the NL byte
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! Xtest6                      " ! for when setting 'ff' is a change
[?25l"Xtest6" 1 line, 33 characters<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l

~   [?2004h[?25l
^@^@^@[?25h[?25l:[?2004h[?25hset noeol
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtest6" [Incomplete last line] 2 lines, 36 characters written[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25he #
[?25l"test42.in" [converted] 130 lines, 2385 characters:$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þþlatin-1utf-8utf-8utf-8-errutf-8<80>errucs-2þÿ^@u^@c^@s^@-^@2^@ucs-2leÿþu^@c^@s^@-^@2^@l^@e^@ucs-4[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check that editing a latin-1 file doesn't see a BOM
[?25l[?25h[?25l:[?2004h[?25he! Xtest0
[?25l"Xtest0" [converted] 1 line, 12 charactersþþlatin-1~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hredir! >test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lþþlatin-1

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 12 characters appended[?25h[?25l:[?2004h[?25hset bomb fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw! Xtest0x
[?25l"Xtest0x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8
[?25l[?25h[?25l:[?2004h[?25he! Xtest1
[?25l"Xtest1" 1 line, 9 charactersutf-8[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-8


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest1x
[?25l"Xtest1x" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check utf-8 with an error (will fall back to latin-1)
[?25l[?25h[?25l:[?2004h[?25he! Xtest2
[?25l"Xtest2" [converted] 1 line, 17 charactersutf-8<80>err
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=latin1


nobomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lutf-8<80>err

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 17 characters appended[?25h[?25l:[?2004h[?25hset fenc=utf-8
[?25l[?25h[?25l:[?2004h[?25hw! Xtest2x
[?25l"Xtest2x" [New File] 1 line, 17 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2
[?25l[?25h[?25l:[?2004h[?25he! Xtest3
[?25l"Xtest3" [converted] 1 line, 8 charactersucs-2[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2
[?25l[?25h[?25l:[?2004h[?25hw! Xtest3x
[?25l"Xtest3x" [converted][New File] 1 line, 8 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-2le
[?25l[?25h[?25l:[?2004h[?25he! Xtest4
[?25l"Xtest4" [converted] 1 line, 10 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=utf-16le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-2le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-2le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest4x
[?25l"Xtest4x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4
[?25l[?25h[?25l:[?2004h[?25he! Xtest5
[?25l"Xtest5" [converted] 1 line, 10 characters4[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 6 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4
[?25l[?25h[?25l:[?2004h[?25hw! Xtest5x
[?25l"Xtest5x" [converted][New File] 1 line, 10 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check ucs-4le
[?25l[?25h[?25l:[?2004h[?25he! Xtest6
[?25l"Xtest6" [converted] 1 line, 12 charactersle
[?25h[?25l:[?2004h[?25hredir >>test.out
[?25l[?25h[?25l:[?2004h[?25hset fileencoding bomb?
[?25l  fileencoding=ucs-4le


  bomb


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25lucs-4le

~                                                                               [?25h[?25l:[?2004h[?25hset fenc=latin-1
[?25l[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" [converted] 1 line, 8 characters appended[?25h[?25l:[?2004h[?25hset fenc=ucs-4le
[?25l[?25h[?25l:[?2004h[?25hw! Xtest6x
[?25l"Xtest6x" [converted][New File] 1 line, 12 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" --- Check the files written with BOM
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 35 lines, 275 characters  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[?25h[?25l:[?2004h[?25h$r Xtest0x
[?25l"Xtest0x" 1 line, 10 charactersbomb

ucs-2lefileencoding=ucs-4

  bomb

ucs-4fileencoding=ucs-4le

  bomb

ucs-4le

<fe><fe>latin-1[?25h[?25l

:[?2004h[?25h$r Xtest1x
[?25l"Xtest1x" 1 line, 9 characters

<feff>utf-8[?25h[?25l

:[?2004h[?25h$r Xtest2x
[?25l"Xtest2x" 1 line, 17 characters

utf-8<80>err[?25h[?25l

:[?2004h[?25h$r Xtest3x
[?25l"Xtest3x" 1 line, 14 characters

<fe><ff>^@u^@c^@s^@-^@2^@[?25h[?25l

:[?2004h[?25h$r Xtest4x
[?25l"Xtest4x" [Incomplete last line] 2 lines, 18 characters

<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?25h[?25l

:[?2004h[?25h$r Xtest5x
[?25l"Xtest5x" 1 line, 28 characters^@

^@^@<fe><ff>^@^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@[?25h[?25l

:[?2004h[?25h$r Xtest6x
[?25l"Xtest6x" [Incomplete last line] 2 lines, 36 characters

<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@[?25h[?25l

:[?2004h[?25hset nobin ff&               " Write the file in default format
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 44 lines, 409 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test42 = test61; then \
#	  if diff test.out test42.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test42.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test42.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test43.failed test.ok test.out X* viminfo
cp test43.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test43.in" 34 lines, 473 charactersTests for regexp with various magic settings.



STARTTEST

:so small.vim

:set nocompatible viminfo+=nviminfo

/^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:$

:set undolevels=100

dv?bar?

Yup:"

:?^1?,$w! test.out

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various magic settings.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 19 lines, 268 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l/[?2004h[>c^[?25h1
[?25l

1 a aa abb abbccc[?25h[?25l

/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l

2 d dd dee deefff[?25h[?25l[?25h[?25l

:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l

3 g gg ghh ghhiii[?25h[?25l[?25h[?25l

/[?2004h[?25h\mj*k\{2}l\+/e
[?25l

4 j jj jkk jkklll[?25h[?25l[?25h[?25l

/[?2004h[?25h\vm*n{2}o+/e
[?25l

5 m mm mnn mnnooo[?25h[?25l[?25h[?25l

/[?2004h[?25h\V^aa$
[?25l

6 x ^aa$ x[?25h[?25laa$ x[?25h[?25l

:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l

7 (a)(b) abbaa[?25h[?25l[?25h[?25l

/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l

8 axx [ab]xx[?25h[?25lab]x[?25h[?25l

:[?2004h[?25h$
[?25l9 foobar[?25h[?25l

:[?2004h[?25hset undolevels=100
[?25l[?25h[?25l?[?2004h[?25hbar?
[?25l~                                                                               [?25h[?25l



1 more line; before #2  0 seconds agobar[?25h[?25l

9 foo
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 11L, 137C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test43 = test61; then \
#	  if diff test.out test43.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test43.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test43.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test44.in" 81 lines, 1492 charactersTests 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 nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

: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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1023 characters written[?25h[?25l:[?2004hset ff& cpo+=A



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo



:new

:$put =['dog(a', 'cat(']

/(/e+

"ayn:bd!

:$put =''

G"ap

: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l:[?2004h[?25h" c
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


:[?2004h[?25h" d
[?25l[?25h[?25l/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


:[?2004h[?25h" e
[?25l[?25h[?25l/[?2004h[?25h\%U12345678
[?25l


:[?2004h[?25h" f
[?25l[?25h[?25l/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


:[?2004h[?25h" g
[?25l[?25h[?25l/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" j Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       e y f z

g abb



test.out [+]                                                                    [?25h[?25l:[?2004h[?25h$put =['dog(a', 'cat(']
[?25ldog(acat([+][?25h[?25l/[?2004h[?25h(/e+
[?25l/(/e+1
[?25h[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hbd!
[?25l1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii


e y



[?25l

[?25h[?25la[?25h[?25l

cat(
[?25h[?25l

:[?2004h[?25hw!
[?25l"test.out" 25L, 271C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test44 = test61; then \
#	  if diff test.out test44.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test44.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test44.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test45.in" 92 lines, 1979 charactersTests for folding. vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:" 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("."))[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 75 lines, 1846 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:new

iTest fdm=indent and :move bug END

line2Test fdm=indent STARTline3line4^[

:set fdm=indent

:1m1

2jzc:m0

:%w >> test.out

:qa!

ENDTEST



1 aa

2 bb

3 cc

4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" We also need the +syntax feature here.
[?25l[?25h[?25l:[?2004h[?25hif !has("syntax")
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   w! test.out


[?25l:[?2004h  [?25h   qa!


[?25l:[?2004h  [?25h:endif
[?25l:new

iTest fdm=indent and :move bug END

line2Test fdm=indent START[?25h[?25l:[?2004h[?25h" basic test if a fold can be created, opened, moving to the end and closed
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", "manual " . getline(foldclosed(".")))
[?25l[?25h[?25l1 aa2 bb3 cc4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg

8 hh

9 ii

a jj[?25h[?25l:[?2004h[?25hcall append("$", foldclosed("."))
[?25l[?25h



[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l+--  3 lines: 1 aa--------------------------------------------------------------4 dd {{{

5 ee {{{ }}}

6 ff }}}

7 gg8 hh9 ii

a jj

b kk

last[?25h[?25l:[?2004h[?25hcall append("$", getline(foldclosed(".")))
[?25l[?25h[?25l:[?2004h[?25h" test folding with markers.
[?25l[?25h[?25l:[?2004h[?25hset fdm=marker fdl=1 fdc=3
[?25l   :new

   iTest fdm=indent and :move bug END

   line2

           Test fdm=indent START

           line3

           line4^[

   :set fdm=indent

   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa   2 bb   3 cc-  4 dd {{{

|- 5 ee {{{ }}}

|  6 ff }}}

   7 gg

   8 hh

   9 ii

   a jj[?25h[?25l/[?2004h[?25h^5
[?25l[?25h[?25l:[?2004h[?25hcall append("$", "marker " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?2004l[?2004h[?25l{{ |  6 ff }}}[?25h[?25l-{|

|

|

|[?25h[?25l





:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l6 ff }}}

 7 gg

 8 hh[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h" test folding with indent
[?25l[?25h[?25l:[?2004h[?25hset fdm=indent sw=2
[?25l-++---  3 lines: Test fdm=indent START-----------------------------------------:set fdm=indent:1m12jzc:m0%w >> test.out:qa!ENDTEST1 aa2 bb3 cc4 dd {{{5 ee {{{ }}}

 {{{  6 ff }}}  6 ff }}}

  7 gg 8 hh9 iia jj[?25h[?25l/[?2004h[?25h^2 b
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?2004l[?2004h[?25l
-  2 bb[?25h[?2004l[?2004h[?25l
|-    3 cc[?25h[?25l:[?2004h[?25hcall append("$", "indent " . foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25hset sw&
[?25l         Test fdm=indent START|        line3|        line4^[:set fdm=indent1m12jzc:m0:%w >> test.out:qa!ENDTEST

   1 aa  2 bb    3 cc4 dd {{{5 ee {{{ }}}{{{6 ff }}}6 ff }}}7 gg8 hh[?25h[?25l:[?2004h[?25h" test syntax folding
[?25l[?25h[?25l:[?2004h[?25hset fdm=syntax fdl=0
[?25l 

 

 [?25h[?25l:[?2004h[?25hsyn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
[?25l++--  8 lines: 4 dd ----------------------------------------------------------a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hsyn region Fd1 start="ee" end="ff" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd2 start="gg" end="hh" fold contained
[?25l[?25h[?25l:[?2004h[?25hsyn region Fd3 start="commentstart" end="commentend" fold contained
[?25l[?25h[?25l   1 aa

   marker 2

   1

   1

   0

   indent 2

   1[?25h[?25l:[?2004h[?25hcall append("$", "folding " . getline("."))
[?25l[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?2004l[?2004h[?25l
--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[?25h[?2004l[?2004h[?25l commentend- 

|-



| 

  

  

  

  

  

  [?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25hset fdl=0
[?25l++--  8 lines: 4 dd commentstart  commentend----------------------------------  a jj b kk  last manual 1 aa-13 cc1 aarker 2110indent[?25h[?25l
-4 dd {{{commentstart  commentend|-5 ee {{{ }}}

||{{{||6 ff }}}

|6 ff }}}|-7 gg

||8 hh

|9 iia jjb kklastmanual 1 aa-13 cc[?25h[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :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[?25h[?25l:[?2004h[?25hcall append("$", getline("."))
[?25l[?25h[?25l:[?2004h[?25h" test expression folding
[?25l[?25h[?25l:[?2004h[?25hfun Flvl()
[?25l

:[?2004h  [?25h  let l = getline(v:lnum)


[?25l:[?2004h  [?25h  if l =~ "bb$"


[?25l:[?2004h    [?25h    return 2


[?25l:[?2004h    [?25h  elseif l =~ "gg$"


[?25l:[?2004h    [?25h    return "s1"


[?25l:[?2004h    [?25h  elseif l =~ "ii$"


[?25l:[?2004h    [?25h    return ">2"


[?25l:[?2004h    [?25h  elseif l =~ "kk$"


[?25l:[?2004h    [?25h    return "0"


[?25l:[?2004h    [?25h  endif


[?25l:[?2004h  [?25h  return "="


[?25l:[?2004h  [?25hendfun
[?25l   :1m1

   2jzc:m0

   :%w >> test.out

   :qa!

   ENDTEST

   

   1 aa

     2 bb

       3 cc

-  4 dd {{{commentstart  commentend

|- 5 ee {{{ }}}

|| {{{[?25h[?25l:[?2004h[?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---------------------------------------------------~                                                                            ~                                                                            [?25h[?25l/[?2004h[?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[?25h[?25l:[?2004h[?25hcall append("$", "expr " . foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hhh$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hii$
[?25l-9 ii||a jjb kklastmanual 1 aa-13 cc[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l/[?2004h[?25hkk$
[?25l[?25h[?25l:[?2004h[?25hcall append("$", foldlevel("."))
[?25l[?25h[?25l:[?2004h[?25h/^last/+1,$w! test.out
[?25l"test.out" [New File] 18 lines, 96 characters written[?25h[?25l:[?2004h[?25hdelfun Flvl
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l   

   

   

   ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            ~                                                                            [No Name]                                                                       5 ee {{{ }}}{{{6 ff }}}|6 ff }}}|7 gg 8 hh

|-9 ii

||a jjb kklast

test45.in [+]                                                                   [?25h[?2004l[?2004h[?25lTest fdm=indent and :move bug ENDline2        Test fdm=indent START        line3        line4[+][?25h[?25l:[?2004h[?25hset fdm=indent
[?25l++--  3 lines: Test fdm=indent START------------------------------------------~                                                                            ~                                                                            [?25h[?25l:[?2004h[?25h1m1
[?25l[?25h[?25l:[?2004h[?25hm0
[?25l3 lines moved++--  3 lines: Test fdm=indent START------------------------------------------Test fdm=indent and :move bug END

 line2[?25h[?25l:[?2004h[?25h%w >> test.out
[?25l"test.out" 5 lines, 77 characters appendedtest.out [+]]  [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test45 = test61; then \
#	  if diff test.out test45.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test45.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test45.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test48.in" 83 lines, 1658 charactersThis is a test of 'virtualedit'.



STARTTEST

:so small.vim

:set noswf

:set ve=all

-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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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'.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 61 lines, 1442 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

this is a test[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswf
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l65 fewer linesthis is a test

"r"

"r"

a^Vb^Msd

abcv6efi.him0kl





~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               65 fewer lines[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
[?25l[?25h[?25l:[?2004h[?25h"    Repeating CTRL-N fixes it. (Mary Ellen Foster)
[?25l[?25h[?25l/[?2004h[?25hw
[?25l[?25h[?25l$[?2004lScanning tags.
The only match[?2004hword[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Using "C" then then <CR> moves the last remaining character to the next
[?25l[?25h[?25l:[?2004h[?25h"    line.  (Mary Ellen Foster)
[?25l[?25h
[?25l/[?2004h[?25hare
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l$[?2004l[?2004hare belong to vim

1 2 3 4 5 6

'i

'C

'a

'A

'D'this is a test



"r"     

a^Vb^Msdabcv6efi.him0kl[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   When past the end of a line that ends in a single character "b" skips
[?25l[?25h[?25l:[?2004h[?25h"    that word.
[?25l[?25h
[?25l$[?2004l[?2004h7[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'i' works
[?25l[?25h
'i'   [?2004l[?2004h[?25l<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'C' works
[?25l[?25h
'C'   [?25l$[?2004l[?2004h<-- should be 3 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'a' works
[?25l[?25h
'a'   [?2004l[?2004h[?25l <-- should be 4 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'A' works
[?25l[?25h
'A'   [?2004l[?2004h[?25l<-- should be 0 ' '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Make sure 'D' works
[?25l[?25h
'D'   [?2004l[?2004h[?25l<-- 'D' should be intact[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for yank bug reported by Mark Waggoner.
[?25l[?25h[?25l:[?2004h[?25hset ve=block
[?25l[?25h
[?25l[?25h[?25laaa[?25h[?25laaablock of 4 lines yanked[?25h[?25l3 more linesa

aa [?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" beyond the end of the line
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l/[?2004h[?25h^"r"
[?25lsearch hit BOTTOM, continuing at TOP[?25h"r"    [?25lx[?25h[?2004l[?2004h[?25lx<-- should be 'x'[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test "r" on a tab
[?25l[?25h[?25l:[?2004h[?25h" Note that for this test, 'ts' must be 8 (the default).
[?25l[?25h
"r"  [?25lx[?25h[?2004l[?2004h[?25lx  <-- should be '  x  '[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test to make sure 'x' can delete control characters
[?25l[?25h[?25l:[?2004h[?25hset display=uhex
[?25l<16>b<0d>sd[?25h
[?25l<16>b<0d>sd[?25h[?25lb<0d>sd[?25h[?25l<0d>sd[?25h[?25lsd[?25h[?25ld[?25h[?25l[?25h[?2004l[?2004h[?25l[This line should contain only the text between the brackets.][?25h[?25l:[?2004h[?25hset display=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"   Test for ^Y/^E due to bad w_virtcol value, reported by
[?25l[?25h[?25l:[?2004h[?25h"   Roy <royl@netropolis.net>.
[?25l[?25h
[?2004l[?2004h[?25l[?25h   [?2004l[?2004h[?25lv[?25hv   [?2004l[?2004h[?25li[?25hi   [?2004l[?2004h[?25lm   <-- should show the name of a noted text editor[?25h
[?2004l[?2004h[?25l[?25h    [?2004l[?2004h[?25l6[?25h6   [?2004l[?2004h[?25l.[?25h.   [?2004l[?2004h[?25l0   <-- and its version number[?25h[?25l

[?25h

    [?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test for yanking and pasting using the small delete register
[?25l[?25h[?25l/[?2004h[?25h^foo
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l, bar[?25h, [?25l[?25h[?25lba[?25h[?25l[?25h[?25lfoo[?25h

keyw[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 23 lines, 479 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test48 = test61; then \
#	  if diff test.out test48.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test48.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test48.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test53.failed test.ok test.out X* viminfo
cp test53.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test53.in" 75 lines, 1763 charactersTests for string and html text objects. vim: set ft=vim :



Note that the end-of-line moves the cursor to the next test line.



Also test match() and matchstr()



STARTTEST

:so small.vim

/^start:/

da"

0va'a'rx

02f`da`

0fXdi"

03f'vi'ry

:set quoteescape=+*-

di`

$F"va"oha"i"rz

:"

/^<begin

jfXdit

0fXdit

fXdat

0fXdat[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 string and html text objects. vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 47 lines, 1237 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:put =match('abc', '$', 4, 1) " -1

:put =match('abc', '\zs', 0, 1) " 0

:put =match('abc', '\zs', 0, 2) " 1

:put =match('abc', '\zs', 0, 3) " 2

:put =match('abc', '\zs', 0, 4) " 3

:put =match('abc', '\zs', 0, 5) " -1

:put =match('abc', '\zs', 1, 1) " 1

:put =match('abc', '\zs', 2, 1) " 2

:put =match('abc', '\zs', 3, 1) " 3

:put =match('abc', '\zs', 4, 1) " -1

:/^start:/,/^end:/wq! test.out

ENDTEST



start: "wo\"rd\\" foo

'foo' 'bar' 'piep'

bla bla `quote` blah

out " in "noXno"

"'" 'blah' rep 'buh'

bla `s*`d-`+++`l**` b`la

voo "nah" sdf " asdf" sdf " sdf" sd



<begin>

-<b>asdf<i>Xasdf</i>asdf</b>-[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l[?25h[?25lfo[?25h
[?25l[?25h[?25l'foo'[?25h[?25l 'bar'[?25h[?25l
xxxxxxxxxxxx
[?25h

[?25lblah[?25h
[?25l"[?25h
[?25l[?25h[?25l' rep[?25h[?25lyyyyy[?25h[?25l:[?2004h[?25hset quoteescape=+*-
[?25l[?25h[?25l` b`la[?25h[?25l[?25h[?25l" sdf"[?25h[?25l" [?25h[?25l"[?25h[?25l asdf" sdf [?25h[?25lah" sdf "
voo "[?25h[?25lzzzzzzzzzzzzzzzzzzzzzzzzzzzz
voo "[?25h

[?25l:[?2004h[?25h"
[?25l[?25h[?25l/[?2004h[?25h^<begin
[?25l[?25h

[?25l</i>asdf</b>-[?25h[?25l

-<b>asdX<i>a<i />sdf</i>asdf</b>-[?25h
[?25l</b>-[?25h[?25l

-<b>asdf<i>Xasdf</i>asdf</b>-
-<b>[?25h[?25lasdf</b>-[?25h[?25l

-<b>asdX<i>as<b />df</i>asdf</b>-[?25h
[?25l
--[?25h[?25l

-<b>
-[?25h[?25l<b></b>[?25h[?25l

</begin>[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, 2) " b
[?25l

b[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \"..\", 0, 2) " bc
[?25l

bc[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 2, 0) " c (zero and negative -> first match)
[?25l

c[?25h[?25l

:[?2004h[?25hput =matchstr(\"abcd\", \".\", 0, -1) " a
[?25l

a[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match(\"abcd\", \".\", 0, -1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 0, 4) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '.', 3, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 0, 2) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 1, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 2, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '$', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 1) " 0
[?25l

0[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 2) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 3) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 4) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 0, 5) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 1, 1) " 1
[?25l

1[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 2, 1) " 2
[?25l

2[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 3, 1) " 3
[?25l

3[?25h[?25l

:[?2004h[?25hput =match('abc', '\zs', 4, 1) " -1
[?25l

-1[?25h[?25l

:[?2004h[?25h/^start:/,/^end:/wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 45 lines, 284 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test53 = test61; then \
#	  if diff test.out test53.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test53.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test53.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test55.failed test.ok test.out X* viminfo
cp test55.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test55.in" 586 lines, 12256 charactersTests for List and Dictionary types.     vim: set ft=vim :



STARTTEST

:so small.vim

:fun Test(...)

:lang C

:" Creating List directly with different types

:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]

:$put =string(l)

:$put =string(l[-1])

:$put =string(l[-4])

:try

:  $put =string(l[-5])

:catch

:  $put =v:exception[:14]

:endtry

:" List slices

:$put =string(l[:])

:$put =string(l[1:])

:$put =string(l[:-2])

:$put =string(l[0:8])

:$put =string(l[8:-1])

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 List and Dictionary types.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 580 lines, 12170 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfun Test(...)
[?25l

:[?2004h  [?25h:lang C


[?25l:[?2004h  [?25h:" Creating List directly with different types


[?25l:[?2004h  [?25h:let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:$put =string(l[-4])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-5])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List slices


[?25l:[?2004h  [?25h:$put =string(l[:])


[?25l:[?2004h  [?25h:$put =string(l[1:])


[?25l:[?2004h  [?25h:$put =string(l[:-2])


[?25l:[?2004h  [?25h:$put =string(l[0:8])


[?25l:[?2004h  [?25h:$put =string(l[8:-1])


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" List identity


[?25l:[?2004h  [?25h:let ll = l


[?25l:[?2004h  [?25h:let lx = copy(l)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(l == ll) . (l isnot ll) . (l is ll) . (l == lx) . (l is lx) . (l


isnot lx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Creating Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {001: 'asd', 'b': [1, 2, function('strlen')], -1: {'a': 1},}


[?25l:[?2004h  [?25h:$put =string(d) . d.1


[?25l:[?2004h  [?25h:$put =string(sort(keys(d)))


[?25l:[?2004h  [?25h:$put =string (values(d))


[?25l:[?2004h  [?25h:for [key, val] in items(d)


[?25l:[?2004h    [?25h:  $put =key . ':' . string(val)


[?25l:[?2004h    [?25h:  unlet key val


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:call extend  (d, {3:33, 1:99})


[?25l:[?2004h  [?25h:call extend(d, {'b':'bbb', 'c':'ccc'}, "keep")


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  call extend(d, {3:333,4:444}, "error")


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:call filter(d, 'v:key =~ ''[ac391]''')


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary identity


[?25l:[?2004h  [?25h:let dd = d


[?25l:[?2004h  [?25h:let dx = copy(d)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =(d == dd) . (d isnot dd) . (d is dd) . (d == dx) . (d is dx) . (d


isnot dx)


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items with :unlet


[?25l:[?2004h  [?25h:unlet l[2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:let l = range(8)


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:unlet l[:3]


[?25l:[?2004h    [?25h:unlet l[1:]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:$put =v:exception


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:unlet d.c


[?25l:[?2004h  [?25h:unlet d[-1]


[?25l:[?2004h  [?25h:$put =string(d)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:1]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:3]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:4]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[2:5]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-1:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-2:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-3:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-4:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-5:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25hlet l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:unlet l[-6:2]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" assignment to a list


[?25l:[?2004h  [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h  [?25h:let [va, vb] = l[2:3]


[?25l:[?2004h  [?25h:$put =va


[?25l:[?2004h  [?25h:$put =vb


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let [va, vb] = l[1:1]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:14]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" manipulating a big Dictionary (hashtable.c has a border of 1000 entries)


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: let d[i] = 3000 - i


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:$put =d[0] . ' ' . d[100] . ' ' . d[999] . ' ' . d[1400] . ' ' . d[1499]


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  let n = d[1500]


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" lookup each items


[?25l:[?2004h  [?25h:for i in range(1500)


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h: let i += 1


[?25l:[?2004h  [?25h:" delete even items


[?25l:[?2004h  [?25h:while i >= 2


[?25l:[?2004h    [?25h: let i -= 2


[?25l:[?2004h    [?25h: unlet d[i]


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =get(d, 1500 - 100, 'NONE') . ' ' . d[1]


[?25l:[?2004h  [?25h:" delete odd items, checking value, one intentionally wrong


[?25l:[?2004h  [?25h:let d[33] = 999


[?25l:[?2004h  [?25h:let i = 1


[?25l:[?2004h  [?25h:while i < 1500


[?25l:[?2004h    [?25h: if d[i] != 3000 - i


[?25l:[?2004h      [?25h:  $put =i . '=' . d[i]


[?25l:[?2004h      [?25h: else


[?25l:[?2004h      [?25h:  unlet d[i]


[?25l:[?2004h      [?25h: endif


[?25l:[?2004h    [?25h: let i += 2


[?25l:[?2004h    [?25h:endwhile


[?25l:[?2004h  [?25h:$put =string(d)  " must be almost empty now


[?25l:[?2004h  [?25h:unlet d


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Dictionary function


[?25l:[?2004h  [?25h:let dict = {}


[?25l:[?2004h  [?25h:func dict.func(a) dict


[?25l:[?2004h    [?25h:  $put =a:a . len(self.data)


[?25l:[?2004h    [?25h:endfunc


[?25l:[?2004h    [?25h:let dict.data = [1,2,3]


[?25l:[?2004h    [?25h:call dict.func("len: ")


[?25l:[?2004h    [?25h:let x = dict.func("again: ")


[?25l:[?2004h    [?25h:let Fn = dict.func


[?25l:[?2004h    [?25h:call Fn('xxx')


[?25l:[?2004h    [?25h:" 


[?25l:[?2004h    [?25h:" Function in script-local List or Dict


[?25l:[?2004h    [?25h:let g:dict = {}


[?25l:[?2004h    [?25h:function g:dict.func() dict


[?25l:[?2004h      [?25h:  $put ='g:dict.func'.self.foo[1].self.foo[0]('asdf')


[?25l:[?2004h      [?25h:endfunc


[?25l:[?2004h      [?25h:let g:dict.foo = ['-', 2, 3]


[?25l:[?2004h      [?25h:call insert(g:dict.foo, function('strlen'))


[?25l:[?2004h      [?25h:call g:dict.func()


[?25l:[?2004h      [?25h:" 


[?25l:[?2004h      [?25h:" Nasty: remove func from Dict that's being called (works)


[?25l:[?2004h      [?25h:let d = {1:1}


[?25l:[?2004h      [?25h:func d.func(a)


[?25l:[?2004h[?25h:  return "a:". a:a


[?25l:[?2004h[?25h:endfunc


[?25l:[?2004h[?25h:$put =d.func(string(remove(d, 'func')))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Nasty: deepcopy() dict that refers to itself (fails when noref used


)

[?25l:[?2004h[?25h:let d = {1:1, 2:2}


[?25l:[?2004h[?25h:let l = [4, d, 6]


[?25l:[?2004h[?25h:let d[3] = l


[?25l:[?2004h[?25h:let dc = deepcopy(d)


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let dc = deepcopy(d, 1)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:let l2 = [0, l, l, 3]


[?25l:[?2004h[?25h:let l[1] = l2


[?25l:[?2004h[?25h:let l3 = deepcopy(l2)


[?25l:[?2004h[?25h:$put ='same list: ' . (l3[1] is l3[2])


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1][0] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1][1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[1] = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2]['6'][7] = 99


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2][6] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l[2] = {99: 99}


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      let l = [99]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Unletting locked variables


[?25l:[?2004h[?25h:$put ='Unletting:'


[?25l:[?2004h[?25h:for depth in range(5)


[?25l:[?2004h[?25h:  $put ='depth is ' . depth


[?25l:[?2004h[?25h:  for u in range(3)


[?25l:[?2004h[?25h:    unlet l


[?25l:[?2004h[?25h:    let l = [0, [1, [2, 3]], {4: 5, 6: {7: 8}}]


[?25l:[?2004h[?25h:    exe "lockvar " . depth . " l"


[?25l:[?2004h[?25h:    if u == 1


[?25l:[?2004h[?25h:      exe "unlockvar l"


[?25l:[?2004h[?25h:    elseif u == 2


[?25l:[?2004h[?25h:      exe "unlockvar " . depth . " l"


[?25l:[?2004h[?25h:    endif


[?25l:[?2004h[?25h:    let ps = islocked("l").islocked("l[1]").islocked("l[1][1]").i


slocked("l[1][1][0]").'-'.islocked("l[2]").islocked("l[2]['6']").islocked("l[2][


'6'][7]")


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:    let ps = ''


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]['6'][7]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2][6]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[2]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1][0]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1][1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l[1]


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    try


[?25l:[?2004h[?25h:      unlet l


[?25l:[?2004h[?25h:      let ps .= 'p'


[?25l:[?2004h[?25h:    catch


[?25l:[?2004h[?25h:      let ps .= 'F'


[?25l:[?2004h[?25h:    endtry


[?25l:[?2004h[?25h:    $put =ps


[?25l:[?2004h[?25h:  endfor


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Locked variables and :unlet or list / dict functions


[?25l:[?2004h[?25h:$put ='Locks and commands or functions:'


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put =':unlet after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet d.a


[?25l:[?2004h[?25h:  $put ='did :unlet'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='filter() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call filter(d, 'v:key != "a"')


[?25l:[?2004h[?25h:  $put ='did filter()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='map() after lock on dict:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar 1 d


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call map(d, 'v:val + 200')


[?25l:[?2004h[?25h:  $put ='did map()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() after lock on dict item:'


[?25l:[?2004h[?25h:unlet! d


[?25l:[?2004h[?25h:let d = {'a': 99, 'b': 100}


[?25l:[?2004h[?25h:lockvar d.a


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  $put =string(extend(d, {'a': 123}))


[?25l:[?2004h[?25h:  $put ='did extend()'


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No remove() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(remove(a:, 'this_is_a_loooooooooong_parameter_na


me'))


[?25l:[?2004h[?25h:    $put ='did remove()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No extend() of write-protected scope-level variable:'


[?25l:[?2004h[?25h:fun! Tfunc(this_is_a_loooooooooong_parameter_name)


[?25l:[?2004h[?25h:  try


[?25l:[?2004h[?25h:    $put =string(extend(a:, {'this_is_a_loooooooooong_parameter


_name': 1234}))


[?25l:[?2004h[?25h:    $put ='did extend()'


[?25l:[?2004h[?25h:  catch


[?25l:[?2004h[?25h:    $put =v:exception[:14]


[?25l:[?2004h[?25h:  endtry


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:call Tfunc('testval')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :unlet of variable in locked scope:'


[?25l:[?2004h[?25h:let b:testvar = 123


[?25l:[?2004h[?25h:lockvar 1 b:


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  unlet b:testvar


[?25l:[?2004h[?25h:  $put ='b:testvar was :unlet: '. (!exists('b:testvar'))


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:16]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:unlockvar 1 b:


[?25l:[?2004h[?25h:unlet! b:testvar


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:$put ='No :let += of locked list variable:'


[?25l:[?2004h[?25h:let l = ['a', 'b', 3]


[?25l:[?2004h[?25h:lockvar 1 l


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let l += ['x']


[?25l:[?2004h[?25h:  $put ='did :let +='


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:14]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:lockvar! l


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:unlet l[0:1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l[1:2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlockvar l[1]


[?25l:[?2004h[?25h:let l[0:1] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let l[1:2] = [0, 1]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:unlet l


[?25l:[?2004h[?25h:" :lockvar/islocked() triggering script autoloading


[?25l:[?2004h[?25h:set rtp+=./sautest


[?25l:[?2004h[?25h:lockvar g:footest#x


[?25l:[?2004h[?25h:unlockvar g:footest#x


[?25l:[?2004h[?25h:$put ='locked g:footest#x:'.islocked('g:footest#x')


[?25l:[?2004h[?25h:$put ='exists g:footest#x:'.exists('g:footest#x')


[?25l:[?2004h[?25h:$put ='g:footest#x: '.g:footest#x


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" a:000 function argument


[?25l:[?2004h[?25h:" first the tests that should fail


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000 = [1, 2]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[0] = 9


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[0]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2] = [9, 10]


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[2]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[3] = {9: 10}


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught a:000[3]'


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:" now the tests that should pass


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  let a:000[2][1] = 9


[?25l:[?2004h[?25h:  call extend(a:000[2], [5, 6])


[?25l:[?2004h[?25h:  let a:000[3][5] = 8


[?25l:[?2004h[?25h:  let a:000[3]['a'] = 12


[?25l:[?2004h[?25h:  $put =string(a:000)


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put ='caught ' . v:exception


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" reverse(), sort(), uniq()


[?25l:[?2004h[?25h:let l = ['-0', 'A11', 2, 2, 'xaaa', 4, 'foo', 'foo6', 'foo', [0, 


1, 2], 'x8', [0, 1, 2], 1.5]


[?25l:[?2004h[?25h:$put =string(uniq(copy(l)))


[?25l:[?2004h[?25h:$put =string(reverse(l))


[?25l:[?2004h[?25h:$put =string(reverse(reverse(l)))


[?25l:[?2004h[?25h:$put =string(sort(l))


[?25l:[?2004h[?25h:$put =string(reverse(sort(l)))


[?25l:[?2004h[?25h:$put =string(sort(reverse(sort(l))))


[?25l:[?2004h[?25h:$put =string(uniq(sort(l)))


[?25l:[?2004h[?25h:let l=[7, 9, 'one', 18, 12, 22, 'two', 10.0e-16, -1, 'three', 0xf


f, 0.22, 'four']


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'n'))


[?25l:[?2004h[?25h:let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'bar', 


'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', {}, []]


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 1))


[?25l:[?2004h[?25h:$put =string(sort(copy(l), 'i'))


[?25l:[?2004h[?25h:$put =string(sort(copy(l)))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" splitting a string to a List


[?25l:[?2004h[?25h:$put =string(split('  aa  bb '))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 0))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W\+', 1))


[?25l:[?2004h[?25h:$put =string(split('  aa  bb  ', '\W', 1))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 0))


[?25l:[?2004h[?25h:$put =string(split(':aa::bb:', ':', 1))


[?25l:[?2004h[?25h:$put =string(split('aa,,bb, cc,', ',\s*', 1))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs'))


[?25l:[?2004h[?25h:$put =string(split('abc', '\zs', 1))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare recursively linked list and dict


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4]


[?25l:[?2004h[?25h:let d = {'1': 1, '2': l, '3': 3}


[?25l:[?2004h[?25h:let l[1] = d


[?25l:[?2004h[?25h:$put =(l == l)


[?25l:[?2004h[?25h:$put =(d == d)


[?25l:[?2004h[?25h:$put =(l != deepcopy(l))


[?25l:[?2004h[?25h:$put =(d != deepcopy(d))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" compare complex recursively linked list and dict


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:call add(l, l)


[?25l:[?2004h[?25h:let dict4 = {"l": l}


[?25l:[?2004h[?25h:call add(dict4.l, dict4)


[?25l:[?2004h[?25h:let lcopy = deepcopy(l)


[?25l:[?2004h[?25h:let dict4copy = deepcopy(dict4)


[?25l:[?2004h[?25h:$put =(l == lcopy)


[?25l:[?2004h[?25h:$put =(dict4 == dict4copy)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same List to extend()


[?25l:[?2004h[?25h:let l = [1, 2, 3, 4, 5]


[?25l:[?2004h[?25h:call extend(l, l)


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend()


[?25l:[?2004h[?25h:let d = { 'a': {'b': 'B'}}


[?25l:[?2004h[?25h:call extend(d, d)


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Pass the same Dict to extend() with "error"


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  call extend(d, d, "error")


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  $put =v:exception[:15] . v:exception[-1:-1]


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:$put =string(d)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" test for range assign


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:let l[:] = [1, 2]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:endfun
[?25l:$put =string(l)

:endfun

:"

:call Test(1, 2, [3, 4], {5: 6})  " This may take a while

:"

:delfunc Test

:unlet dict

:call garbagecollect(1)

:"

:" test for patch 7.3.637

:let a = 'No error caught'

:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

o^R=a^M^[:"

:lang C

:redir => a

:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry

:redir END

o^R=a^M^[:"

:"

:/^start:/,$wq! test.out

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test(1, 2, [3, 4], {5: 6})  " This may take a while
[?25lError detected while processing function Test:

line   76:


E684: list index out of range: 1


line   91:


E684: list index out of range: 2


line  271:


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


E108: No such variable: "l"


line  441:


E741: Value is locked: l[0:1]


line  443:


E741: Value is locked: l[1:2]


line  446:


E741: Value is locked: l[0:1] = [0, 1]


line  448:


E741: Value is locked: l[1:2] = [0, 1]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb']

['aa', 'bb']

['', 'aa', 'bb', '']

['', '', 'aa', '', 'bb', '', '']

['aa', '', 'bb']

['', 'aa', '', 'bb', '']

['aa', '', 'bb', 'cc', '']

['a', 'b', 'c']

['', 'a', '', 'b', '', 'c', '']

1

1

0

0

1

1

[1, 2, 3, 4, 5, 1, 2, 3, 4, 5]

{'a': {'b': 'B'}}

Vim(call):E737: a

{'a': {'b': 'B'}}

[1, 2]

~                                                                               [?25h[?25l



:[?2004h[?25hdelfunc Test
[?25l[?25h[?25l:[?2004h[?25hunlet dict
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" test for patch 7.3.637
[?25l[?25h[?25l:[?2004h[?25hlet a = 'No error caught'
[?25l[?25h[?25l:[?2004h[?25htry|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25l[?25h[?2004l[?25l=[?2004h[?25ha
[?2004h[?25lVim(foldopen):E490:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hredir => a
[?25l[?25h[?25l:[?2004h[?25htry|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'


)|endtry


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 122, 18, 22, 255, 7, 9, [], {}]

['aa', 'bb'][?25h[?2004l[?25l

=[?2004h[?25ha
[?2004h[?25lError detected while processing :

E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*'))|endtry

[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 197 lines, 3821 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test55 = test61; then \
#	  if diff test.out test55.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test55.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test55.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test60.failed test.ok test.out X* viminfo
cp test60.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test60.in" 601 lines, 13116 charactersTests for the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :



STARTTEST

:so small.vim

:function! RunTest(str, result)

    if exists(a:str) == a:resultecho "OK"

    elseecho "FAILED: Checking for " . a:str

    endif

endfunction

:function! TestExists()

    augroup myagroupautocmd! BufEnter*.my     echo "myfile edited"autocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"

    augroup END

    set rtp+=./sautestlet test_cases = []" valid autocmd group

    let test_cases += [['#myagroup', 1]]

    " valid autocmd group with garbage[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 the exists() and has() functions.  vim: set ft=vim ts=8 sw=2 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 596 lines, 13023 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hfunction! RunTest(str, result)
[?25l

:[?2004h  [?25h    if exists(a:str) == a:result


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED: Checking for " . a:str


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x[?25h[?25l

:[?2004h[?25hfunction! TestExists()
[?25l

:[?2004h  [?25h    augroup myagroup


[?25l:[?2004h  [?25h^Iautocmd! BufEnter       *.my     echo "myfile edited"


[?25l:[?2004h  [?25h^Iautocmd! FuncUndefined  UndefFun exec "fu UndefFun()\nendfu"


[?25l:[?2004h  [?25h    augroup END


[?25l:[?2004h  [?25h    set rtp+=./sautest


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    let test_cases = []


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " valid autocmd group


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup', 1]]


[?25l:[?2004h  [?25h    " valid autocmd group with garbage


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup+b', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter', 1]]


[?25l:[?2004h  [?25h    " Valid autocmd event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#*.my', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group or event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup', 0]]


[?25l:[?2004h  [?25h    " Non-existing autocmd group and valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#xyzagroup#BufEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event with no matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#CmdwinEnter', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#xyzacmd', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd group and event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#myagroup#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event and non-matching pattern


[?25l:[?2004h  [?25h    let test_cases += [['#BufEnter#xyzpat', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group, event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['###', 0]]


[?25l:[?2004h  [?25h    " Empty autocmd group and event or empty event and pattern


[?25l:[?2004h  [?25h    let test_cases += [['##', 0]]


[?25l:[?2004h  [?25h    " Valid autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##FileReadCmd', 1]]


[?25l:[?2004h  [?25h    " Non-existing autocmd event


[?25l:[?2004h  [?25h    let test_cases += [['##MySpecialCmd', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&textwidth', 1]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&tw', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['&tw-', 0]]


[?25l:[?2004h  [?25h    " Global option


[?25l:[?2004h  [?25h    let test_cases += [['&g:errorformat', 1]]


[?25l:[?2004h  [?25h    " Local option


[?25l:[?2004h  [?25h    let test_cases += [['&l:errorformat', 1]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojoinspaces', 0]]


[?25l:[?2004h  [?25h    " Negative form of existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['&nojs', 0]]


[?25l:[?2004h  [?25h    " Non-existing option


[?25l:[?2004h  [?25h    let test_cases += [['&myxyzoption', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing and working option (long form)


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch', 1]]


[?25l:[?2004h  [?25h    " Existing and working option with garbage


[?25l:[?2004h  [?25h    let test_cases += [['+incsearch!1', 0]]


[?25l:[?2004h  [?25h    " Existing and working option (short form)


[?25l:[?2004h  [?25h    let test_cases += [['+is', 1]]


[?25l:[?2004h  [?25h    " Existing option that is hidden.


[?25l:[?2004h  [?25h    let test_cases += [['+autoprint', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing environment variable


[?25l:[?2004h  [?25h    let $EDITOR_NAME = 'Vim Editor'


[?25l:[?2004h  [?25h    let test_cases += [['$EDITOR_NAME', 1]]


[?25l:[?2004h  [?25h    " Non-existing environment variable


[?25l:[?2004h  [?25h    let test_cases += [['$NON_ENV_VAR', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal function


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr', 1]]


[?25l:[?2004h  [?25h    " Valid internal function with ()


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr()', 1]]


[?25l:[?2004h  [?25h    " Non-existing internal function


[?25l:[?2004h  [?25h    let test_cases += [['*myxyzfunc', 0]]


[?25l:[?2004h  [?25h    " Valid internal function with garbage


[?25l:[?2004h  [?25h    let test_cases += [['*bufnr&6', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*TestExists', 1]]


[?25l:[?2004h  [?25h    " Non-existing user defined function


[?25l:[?2004h  [?25h    let test_cases += [['*MyxyzFunc', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function that may be created by FuncUndefined event


[?25l:[?2004h  [?25h    let test_cases += [['*UndefFun', 0]]


[?25l:[?2004h  [?25h    " Function that may be created by script autoloading


[?25l:[?2004h  [?25h    let test_cases += [['*footest#F', 0]]


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    redir! > test.out


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    for [test_case, result] in test_cases


[?25l:[?2004h    [?25h        echo test_case . ": " . result


[?25l:[?2004h    [?25h        call RunTest(test_case, result)


[?25l:[?2004h    [?25h    endfor


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match)


[?25l:[?2004h  [?25h    echo ':edit: 2'


[?25l:[?2004h  [?25h    if exists(':edit') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (full match) with garbage


[?25l:[?2004h  [?25h    echo ':edit/a: 0'


[?25l:[?2004h  [?25h    if exists(':edit/a') == 0


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid internal command (partial match)


[?25l:[?2004h  [?25h    echo ':q: 1'


[?25l:[?2004h  [?25h    if exists(':q') == 1


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing internal command


[?25l:[?2004h  [?25h    echo ':invalidcmd: 0'


[?25l:[?2004h  [?25h    if !exists(':invalidcmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (full match)


[?25l:[?2004h  [?25h    command! MyCmd :echo 'My command'


[?25l:[?2004h  [?25h    echo ':MyCmd: 2'


[?25l:[?2004h  [?25h    if exists(':MyCmd') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " User defined command (partial match)


[?25l:[?2004h  [?25h    command! MyOtherCmd :echo 'Another command'


[?25l:[?2004h  [?25h    echo ':My: 3'


[?25l:[?2004h  [?25h    if exists(':My') == 3


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Command modifier


[?25l:[?2004h  [?25h    echo ':rightbelow: 2'


[?25l:[?2004h  [?25h    if exists(':rightbelow') == 2


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (full match)


[?25l:[?2004h  [?25h    delcommand MyCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':MyCmd: 0'


[?25l:[?2004h  [?25h    if !exists(':MyCmd')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing user defined command (partial match)


[?25l:[?2004h  [?25h    delcommand MyOtherCmd


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    echo ':My: 0'


[?25l:[?2004h  [?25h    if !exists(':My')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var: 1'


[?25l:[?2004h  [?25h    if exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local variable with garbage


[?25l:[?2004h  [?25h    let local_var = 1


[?25l:[?2004h  [?25h    echo 'local_var%n: 0'


[?25l:[?2004h  [?25h    if !exists('local_var%n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local variable


[?25l:[?2004h  [?25h    unlet local_var


[?25l:[?2004h  [?25h    echo 'local_var: 0'


[?25l:[?2004h  [?25h    if !exists('local_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing autoload variable that may be autoloaded


[?25l:[?2004h  [?25h    echo 'footest#x: 0'


[?25l:[?2004h  [?25h    if !exists('footest#x')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list


[?25l:[?2004h  [?25h    let local_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'local_list: 1'


[?25l:[?2004h  [?25h    if exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item


[?25l:[?2004h  [?25h    echo 'local_list[1]: 1'


[?25l:[?2004h  [?25h    if exists('local_list[1]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local list item with garbage


[?25l:[?2004h  [?25h    echo 'local_list[1]+5: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[1]+5')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Invalid local list item


[?25l:[?2004h  [?25h    echo 'local_list[2]: 0'


[?25l:[?2004h  [?25h    if !exists('local_list[2]')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local list


[?25l:[?2004h  [?25h    unlet local_list


[?25l:[?2004h  [?25h    echo 'local_list: 0'


[?25l:[?2004h  [?25h    if !exists('local_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Valid local dictionary


[?25l:[?2004h  [?25h    let local_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'local_dict: 1'


[?25l:[?2004h  [?25h    if exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local dictionary


[?25l:[?2004h  [?25h    unlet local_dict


[?25l:[?2004h  [?25h    echo 'local_dict: 0'


[?25l:[?2004h  [?25h    if !exists('local_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing local curly-brace variable


[?25l:[?2004h  [?25h    let str = "local"


[?25l:[?2004h  [?25h    let curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing local curly-brace variable


[?25l:[?2004h  [?25h    unlet curly_{str}_var


[?25l:[?2004h  [?25h    echo 'curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable


[?25l:[?2004h  [?25h    let g:global_var = 1


[?25l:[?2004h  [?25h    echo 'g:global_var: 1'


[?25l:[?2004h  [?25h    if exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global variable with garbage


[?25l:[?2004h  [?25h    echo 'g:global_var-n: 1'


[?25l:[?2004h  [?25h    if !exists('g:global_var-n')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global variable


[?25l:[?2004h  [?25h    unlet g:global_var


[?25l:[?2004h  [?25h    echo 'g:global_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global list


[?25l:[?2004h  [?25h    let g:global_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'g:global_list: 1'


[?25l:[?2004h  [?25h    if exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global list


[?25l:[?2004h  [?25h    unlet g:global_list


[?25l:[?2004h  [?25h    echo 'g:global_list: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global dictionary


[?25l:[?2004h  [?25h    let g:global_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'g:global_dict: 1'


[?25l:[?2004h  [?25h    if exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global dictionary


[?25l:[?2004h  [?25h    unlet g:global_dict


[?25l:[?2004h  [?25h    echo 'g:global_dict: 0'


[?25l:[?2004h  [?25h    if !exists('g:global_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing global curly-brace variable


[?25l:[?2004h  [?25h    let str = "global"


[?25l:[?2004h  [?25h    let g:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing global curly-brace variable


[?25l:[?2004h  [?25h    unlet g:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'g:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('g:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window variable


[?25l:[?2004h  [?25h    echo 'w:window_var: 1'


[?25l:[?2004h  [?25h    let w:window_var = 1


[?25l:[?2004h  [?25h    if exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window variable


[?25l:[?2004h  [?25h    unlet w:window_var


[?25l:[?2004h  [?25h    echo 'w:window_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window list


[?25l:[?2004h  [?25h    let w:window_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'w:window_list: 1'


[?25l:[?2004h  [?25h    if exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window list


[?25l:[?2004h  [?25h    unlet w:window_list


[?25l:[?2004h  [?25h    echo 'w:window_list: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window dictionary


[?25l:[?2004h  [?25h    let w:window_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'w:window_dict: 1'


[?25l:[?2004h  [?25h    if exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window dictionary


[?25l:[?2004h  [?25h    unlet w:window_dict


[?25l:[?2004h  [?25h    echo 'w:window_dict: 0'


[?25l:[?2004h  [?25h    if !exists('w:window_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing window curly-brace variable


[?25l:[?2004h  [?25h    let str = "window"


[?25l:[?2004h  [?25h    let w:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing window curly-brace variable


[?25l:[?2004h  [?25h    unlet w:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'w:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('w:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer variable


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 1'


[?25l:[?2004h  [?25h    let b:buffer_var = 1


[?25l:[?2004h  [?25h    if exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer variable


[?25l:[?2004h  [?25h    unlet b:buffer_var


[?25l:[?2004h  [?25h    echo 'b:buffer_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer list


[?25l:[?2004h  [?25h    let b:buffer_list = ["blue", "orange"]


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer list


[?25l:[?2004h  [?25h    unlet b:buffer_list


[?25l:[?2004h  [?25h    echo 'b:buffer_list: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_list')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer dictionary


[?25l:[?2004h  [?25h    let b:buffer_dict = {"xcord":100, "ycord":2}


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 1'


[?25l:[?2004h  [?25h    if exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer dictionary


[?25l:[?2004h  [?25h    unlet b:buffer_dict


[?25l:[?2004h  [?25h    echo 'b:buffer_dict: 0'


[?25l:[?2004h  [?25h    if !exists('b:buffer_dict')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing buffer curly-brace variable


[?25l:[?2004h  [?25h    let str = "buffer"


[?25l:[?2004h  [?25h    let b:curly_{str}_var = 1


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 1'


[?25l:[?2004h  [?25h    if exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing buffer curly-brace variable


[?25l:[?2004h  [?25h    unlet b:curly_{str}_var


[?25l:[?2004h  [?25h    echo 'b:curly_' . str . '_var: 0'


[?25l:[?2004h  [?25h    if !exists('b:curly_{str}_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Script-local tests


[?25l:[?2004h  [?25h    source test60.vim


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:version: 1'


[?25l:[?2004h  [?25h    if exists('v:version')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Non-existing Vim internal variable


[?25l:[?2004h  [?25h    echo 'v:non_exists_var: 0'


[?25l:[?2004h  [?25h    if !exists('v:non_exists_var')


[?25l:[?2004h    [?25h^Iecho "OK"


[?25l:[?2004h    [?25h    else


[?25l:[?2004h    [?25h^Iecho "FAILED"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h    " Function arguments


[?25l:[?2004h  [?25h    function TestFuncArg(func_arg, ...)


[?25l:[?2004h    [?25h        echo 'a:func_arg: 1'


[?25l:[?2004h    [?25h        if exists('a:func_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:non_exists_arg: 0'


[?25l:[?2004h    [?25h        if !exists('a:non_exists_arg')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:1: 1'


[?25l:[?2004h    [?25h        if exists('a:1')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h        echo 'a:2: 0'


[?25l:[?2004h    [?25h        if !exists('a:2')


[?25l:[?2004h      [?25h            echo "OK"


[?25l:[?2004h      [?25h        else


[?25l:[?2004h      [?25h            echo "FAILED"


[?25l:[?2004h      [?25h        endif


[?25l:[?2004h    [?25h    endfunction


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    call TestFuncArg("arg1", "arg2")


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    echo ' g:footest#x =' g:footest#x


[?25l:[?2004h    [?25h    echo '   footest#F()' footest#F()


[?25l:[?2004h    [?25h    echo 'UndefFun()' UndefFun()


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25h    redir END


[?25l:[?2004h    [?25hendfunction
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hcall TestExists()
[?25l#myagroup: 1

OK


#myagroup+b: 0


OK


#myagroup#BufEnter: 1


OK


#myagroup#BufEnter#*.my: 1


OK


#BufEnter: 1


OK


#BufEnter#*.my: 1


OK


#xyzagroup: 0


OK


#xyzagroup#BufEnter: 0


OK


#myagroup#CmdwinEnter: 0


OK


#myagroup#xyzacmd: 0


OK


#myagroup#BufEnter#xyzpat: 0


OK


#BufEnter#xyzpat: 0


OK


###: 0


OK


##: 0


OK


##FileReadCmd: 1


OK


##MySpecialCmd: 0


OK


&textwidth: 1


OK


&tw: 1


OK


&tw-: 0


OK


&g:errorformat: 1


OK


&l:errorformat: 1


OK


&nojoinspaces: 0


OK


&nojs: 0


OK


&myxyzoption: 0


OK


+incsearch: 1


OK


+incsearch!1: 0


OK


+is: 1


OK


+autoprint: 0


OK


$EDITOR_NAME: 1


OK


$NON_ENV_VAR: 0


OK


*bufnr: 1


OK


*bufnr(): 1


OK


*myxyzfunc: 0


OK


*bufnr&6: 0


OK


*TestExists: 1


OK


*MyxyzFunc: 0


OK


*UndefFun: 0


OK


*footest#F: 0


OK


:edit: 2


OK


:edit/a: 0


OK


:q: 1


OK


:invalidcmd: 0


OK


:MyCmd: 2


OK


:My: 3


OK


:rightbelow: 2


OK


:MyCmd: 0


OK


:My: 0


OK


local_var: 1


OK


local_var%n: 0


OK


local_var: 0


OK


footest#x: 0


OK


local_list: 1


OK


local_list[1]: 1


OK


local_list[1]+5: 0


OK


local_list[2]: 0


OK


local_list: 0


OK


local_dict: 1


OK


local_dict: 0


OK


curly_local_var: 1


OK


curly_local_var: 0


OK


g:global_var: 1


OK


g:global_var-n: 1


OK


g:global_var: 0


OK


g:global_list: 1


OK


g:global_list: 0


OK


g:global_dict: 1


OK


g:global_dict: 0


OK


g:curly_global_var: 1


OK


g:curly_global_var: 0


OK


w:window_var: 1


OK


w:window_var: 0


OK


w:window_list: 1


OK


w:window_list: 0


OK


w:window_dict: 1


OK


w:window_dict: 0


OK


w:curly_window_var: 1


OK


w:curly_window_var: 0


OK


b:buffer_var: 1


OK


b:buffer_var: 0


OK


b:buffer_list: 1


OK


b:buffer_list: 0


OK


b:buffer_dict: 1


OK


b:buffer_dict: 0


OK


b:curly_buffer_var: 1


OK


b:curly_buffer_var: 0


OK


s:script_var: 1


OK


s:script_var: 0


OK


s:script_list: 1


OK


s:script_list: 0


OK


s:script_dict: 1


OK


s:script_dict: 0


OK


s:curly_script_var: 1


OK


s:curly_script_var: 0


OK


*s:my_script_func: 1


OK


*s:my_script_func: 0


OK


v:version: 1


OK


v:non_exists_var: 0


OK


a:func_arg: 1


OK


a:non_exists_arg: 0


OK


a:1: 1


OK


a:2: 0


OK


 g:footest#x = 1


   footest#F() 0


UndefFun() 0


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25lendif

    endfunctioncall TestFuncArg("arg1", "arg2")echo ' g:footest#x =' g:footest#x

    echo '   footest#F()' footest#F()

    echo 'UndefFun()' UndefFun()redir END

endfunction

:call TestExists()

:"

:delfunc TestExists

:delfunc RunTest

:delfunc TestFuncArg

:edit! test.out

:set ff=unix

:w

:qa!

:while getchar(1) | call getchar() | endwhile

ENDTEST

[?25h[?25l

:[?2004h[?25hdelfunc TestExists
[?25l[?25h[?25l:[?2004h[?25hdelfunc RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestFuncArg
[?25l[?25h[?25l:[?2004h[?25hedit! test.out
[?25l"test.out" [Incomplete last line] 206 lines, 1940 characters#myagroup: 1OK

#myagroup+b: 0OK

#myagroup#BufEnter: 1OK#myagroup#BufEnter#*.my: 1OK

#BufEnter: 1OK#BufEnter#*.my: 1OK

#xyzagroup: 0OK#xyzagroup#BufEnter: 0

OK#myagroup#CmdwinEnter: 0

OK

#myagroup#xyzacmd: 0

OK#myagroup#BufEnter#xyzpat: 0

OK[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 206 lines, 1941 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test60 = test61; then \
#	  if diff test.out test60.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test60.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test60.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test64.failed test.ok test.out X* viminfo
cp test64.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test64.in" 654 lines, 27565 charactersTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns without multi-byte support.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 621 lines, 27090 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:for pat in [' \ze*', ' \zs*']

:  try

:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" tl is a List of Lists with:
[?25l[?25h[?25l:[?2004h[?25h"    regexp engine
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"""" Previously written tests """"""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b', 'abcdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abbdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'ccc', 'ccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc*', 'abdef', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c*', 'abdef', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abccccdef', 'bcccc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\+', 'abdef']) "no match
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"operator \|
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\|ab', 'cabd', 'a']) "alternation is ordered
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'c\?', 'ccb', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abd', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'bc\?', 'abccd', 'bc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}', 'ab', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'caad', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}', 'aaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vb{1}', 'abca', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{2}', 'abaa', 'baa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vba{3}', 'aabaac'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'dabc', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1}', 'acb'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'acb', "", ""])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){0,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){1,2}', 'ababc', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'ababcab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2,4}', 'abcababa', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'cdababe', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab){2}', 'abacabab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab){2}){2}', 'abacabababab', 'abababab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'daaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'daaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'adaac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})+', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){1}', 'aa', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){2}', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1}){1}', 'a', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2}){2}', 'aaabaaaa', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){2}', 'dadaac', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3}){2}', 'aaaaaaa', 'aaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'daaac', 'aaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaac', 'aaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){2}', 'daaaaac', 'aaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,3}){3}', 'daac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){2}', 'dac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'daac', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)+', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+){1,2}', 'aaa', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a+)(a+)', 'aaa', 'aaa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{3})+', 'daaaac', 'aaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c)+', 'aacb', 'aacb', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b|c){2}', 'abcb', 'ab', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abcabd', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc){2}', 'abdabcabc','abcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a*', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+)+', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'ab', 'ab', 'ab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(((ab)+)+)+', 'dababc', 'abab', 'abab', 'abab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{0,2})+', 'cc', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a*)+)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)*)+', '', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1,3}', 'aab', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2,3}', 'abaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{2})|(b{3})', 'bbabbbb', 'bbb', '', 'bbb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{2}|b{2}', 'abab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)+|(c)+', 'bbacbaacbbb', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbccccccccccccc', 'abbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}c', 'aabbbccccccccccccc', 'abbbc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vab{2,3}cd{2,3}e', 'aabbbcddee', 'abbbcdde'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va(bc){2}d', 'aabcbfbc' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'a', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aa', 'aa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'aaa', 'aaa' ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*a{2}', 'bbbabcc', ])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va*b*|a*c*', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\va{1}b{1}|a{1}b{1}', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)(b)', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(ab)(b)(c)', 'abbc', 'abbc', 'ab', 'b', 'c'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((a)(b))', 'ab', 'ab', 'ab', 'a', 'b'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a)|(b)', 'ab', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x', 'abcdef'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""" Simple tests """""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search single groups
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'aab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', 'baced'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ab', '                    ab           ', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Search multi-modifiers
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xcd', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'xxxxxxxxxxxxxxxxsofijiojgf', 'xxxxxxxxxxxxxxxx'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x*', 'abcdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" no match here
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdoin'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abcdeoijdfxxiuhfij', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'xxxxx', 'xxxxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\+', 'abc x siufhiush xxxxxxxxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'abc sfoij', '']) " empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\=', 'xxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'x sdfoij', 'x'])
[?25l[?25h[?25l:[?2004h[?25h" empty match is good
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'abc sfoij', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'x\?', 'xxxxxxxxxx c', 'x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,1}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a\{0,1}'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{1,0}', 'asiubid axxxaaa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaa asfoij afaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{3,6}', 'aaaaaaaa', 'aaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'iuash fiusahfliusah fiushfilushfi uhsaifuh askfj na


sfvius afg aaaa sfiuhuhiushf', 'aa'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{0,}', 'aaaaa aa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,}', 'aaaaasfoij ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaxxx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{5,}', 'xxaaaaaxxx ', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{,5}', 'aaaaaaaaaa', 'aaaaa'])
[?25l[?25h[?25l:[?2004h[?25h" leading star as normal char when \{} follows
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '***'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '****', '****'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^*\{4,}$', '*****', '*****'])
[?25l[?25h[?25l:[?2004h[?25h" same thing as 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{}', 'aaaaioudfh coisf jda', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,0}', 'abcdfdoij', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a?'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,1}', 'asiubid axxxaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aa siofuh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaa asfoij afaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-3,6}', 'aaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0}', 'asoiuj', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'aaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2}', 'abcdefghijklmnopqrestuvwxyz1234567890'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'oij sdigfusnf', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-0,}', 'aaaaa aa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'sdfiougjdsafg'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,}', 'aaaaasfoij ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,0}', 'oidfguih iuhi hiu aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-,5}', 'aaaaaaaaaa', ''])
[?25l[?25h[?25l:[?2004h[?25h" anti-greedy version of 'a*'
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'bbbcddiuhfcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-}', 'aaaaioudfh coisf jda', ''])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test groups of characters and submatches
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abc\)*', 'abcabcabc', 'abcabcabc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(ab\)\+', 'abababaaaaa', 'ababab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(abaaaaa\)*cd', 'cd', 'cd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\? \(test2\)\?', 'test1 test3', 'test1 ', 'test1', 


''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(test1\)\= \(test2\) \(test4443\)\=', ' test2 test4443 yupi


iiiiiiiiii', ' test2 test4443', '', 'test2', 'test4443'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(sub1\) hello \(sub 2\)\)', 'asterix sub1 hello sub 2 obe


lix', 'sub1 hello sub 2', 'sub1 hello sub 2', 'sub1', 'sub 2'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\(\(yyxxzz\)\)\)', 'abcdddsfiusfyyzzxxyyxxzz', 'yyxxzz', '


yyxxzz', 'yyxxzz', 'yyxxzz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)+|c+)+', 'abcccaba', 'abcccab', 'ab', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v((ab)|c*)+', 'abcccaba', 'abcccab', '', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a(c*)+b)+', 'acbababaaa', 'acbabab', 'ab', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|b*)+', 'aaaa', 'aaaa', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aá ^I', 'aá '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test greedy-ness and lazy-ness
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}','aaaaaaaaaaaaa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{-2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}','aaaaaaaaaaaaaaaaaaaa', 'aaaaaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\{2,7}x','aaaaaaaaax', 'aaaaaaax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.{-,8})yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz','ayxa


','xayzxayz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\vx(.*)yz(.*)','xayxayzxayzxayz','xayxayzxayzxayz', 'ayxayzx


ayzxa',''])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{1,2}){-2,3}','aaaaaaa','aaaa','aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a{-1,3})+', 'aa', 'aa', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\( x\|x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\zs\(x\| x$\)', ' x', ' x', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\s\{-}\ze\(x\| x$\)', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(\s\{-}\)\(x\| x$\)', ' x', ' x', '', ' x'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test Character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\d\+e\d\d','test 10e23 fd','10e23'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test collections and character range []
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[a]', 'abcd', 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[bcd]', 'abcd', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a[b-d]', 'acbd', 'ac'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-d][e-f][x-x]d', 'cexdxx', 'cexd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v[[:alpha:]]+', 'abcdefghijklmnopqrstuvwxyz6','abcdefghijkl


mnopqrstuvwxyz'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]\+]', '6x8','x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','abcabcabc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]','defghiasijvoinasoiunbvb','d'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^abc]\+','ddddddda','ddddddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-d]\+','aaaAAAZIHFNCddd','AAAZIHFNC'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','iiiiiiii',''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*','abcdefgh','abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-f]\+','abcdefgh','gh'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-c]\{-3,6}','abcabc','abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[:alpha:]]\+','abcccadfoij7787ysf287yrnccdu','7787'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-a]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-]', '-', '-'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-f]*\c','ABCDEFGH','ABCDEF'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[abc][xyz]\c','-af-AF-BY--','BY'])
[?25l[?25h[?25l:[?2004h[?25h" filename regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[-./[:alnum:]_~]\+', 'log13.file', 'log13.file'])
[?25l[?25h[?25l:[?2004h[?25h" special chars
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[\]\^\-\\]\+', '\^\\\-\---^', '\^\\\-\---^'])
[?25l[?25h[?25l:[?2004h[?25h" collation elem
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[.a.]]\+', 'aa', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" middle of regexp
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'siuhabc ii'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc[0-9]*ddd', 'adf abc44482ddd oijs', 'abc44482ddd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9\n]\+', 'asfi9888u', '9888'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[0-9]\+', "asfi\n9888u", "\n9888"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f', "  \na ", "\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_f\+', "  \na ", "\na"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9A-Za-z-_.]\+', " @0_a.A-{ ", "0_a.A-"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test start/end of line, start/end of file
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "a_\nb ", "a_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^a.', "b a \na_"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a$', " a b\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a.', "a a\na", "a "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%^a', " a \na "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n "])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.a\%$', " a\n_a", "_a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-7]\+', 'x0123456789x', '01234567'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-7]\+', '0a;X+% 897', 'a;X+% 89'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9]\+', 'x0123456789x', '0123456789'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9]\+', '0a;X+% 9', 'a;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-fA-F]\+', 'x0189abcdefg', '0189abcdef'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^0-9A-Fa-f]\+', '0189g;X+% ab', 'g;X+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z0-9]\+', ';+aso_SfOij ', 'aso_SfOij'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z0-9]\+', 'aSo_;+% sfOij', ';+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z_A-Z]\+', '0abyz_ABYZ;', 'abyz_ABYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z_A-Z]\+', 'abAB_09;+% yzYZ', '09;+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', '0abcxyz1', 'abcxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+', 'AabxyzZ', 'abxyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'a;X09+% x', ';X09+% '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-z]\+', 'abX0;%yz', 'X0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-zA-Z]\+', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^a-zA-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+', 'aABXYZz', 'ABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^A-Z]\+', 'ABx0;%YZ', 'x0;%'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[a-z]\+\c', '0abxyzABXYZ;', 'abxyzABXYZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[A-Z]\+\c', '0abABxzXZ9', 'abABxzXZ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^a-z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\c[^A-Z]\+', 'ab09_;+ XZ', '09_;+ '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\C[^A-Z]\+', 'ABCOIJDEOIFNSD jsfoij sa', ' jsfoij sa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \z features
[?25l[?25h[?25l:[?2004h[?25h" match ends at \ze
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'xx \ze test', 'xx '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zeend', 'oij abcend', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaxx', ' aaxx ', 'aaxx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aabb\|aa\zebb', ' aabb ', 'aabb'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa\zebb\|aaebb', ' aabb ', 'aa'])
[?25l[?25h[?25l:[?2004h[?25h" match starts at \zs
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\zsdd', 'ddabcddxyzt', 'dd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'aa \zsax', ' ax'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc \zsmatch\ze abc', 'abc abc abc match abc abc', 'match'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a \zsif .*){2}', 'a if then a if last', 'if last', 'a if 


last'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\>\zs.', 'aword. ', '.'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\s\+\ze\[/\|\s\zs\s\+', 'is   [a t', '  '])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Tests for \@= and \& features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'abc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=cd', 'abcd', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abc\@=', 'ababc', 'ab'])
[?25l[?25h[?25l:[?2004h[?25h" will never match, no matter the input text
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'abcd'])
[?25l[?25h[?25l:[?2004h[?25h" will never match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'abcd\@=e', 'any text in here ... '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(abc)@=..', 'xabcd', 'ab', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.*John\)\@=.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(John.*\)\@=.*Bob', 'John is Bobs friend', 'John is Bob', '


John is Bobs friend'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\S\+\())\)\@=', '$((i=i+1))', 'i=i+1', '))'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'here is John, and here is B'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.*John\&.*Bob', 'John is Bobs friend', 'John is Bob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test1)@=.*yep', 'this is a test1, yep it is', 'test1, yep


', 'test1'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\(bar\)\@!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if then else'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'if \(\(then\)\@!.\)*$', ' if else ', 'if else ', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!bar', 'foobar', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@!...bar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' bar foo '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo bar '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo xxx ', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\%([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:']


)[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ ]\@!\p\([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:', 


's'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, 'm\k\+_\@=\%(_\@!\k\)\@<=\k\+e', 'mx__xe', 'mx__xe'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%(\U\@<=S\k*\|S\l\)R', 'SuR', 'SuR'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '', 'abcd', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(())', 'any possible text', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v%(ab(xyz)c)', '   abxyzc ', 'abxyzc', 'xyz'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(test|)empty', 'tesempty', 'empty', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v(a|aa)(a|aa)', 'aaa', 'aa', 'a', 'a'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" \%u and friends
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d32', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%o40', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%x20', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%u0020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%U00000020', 'yes no', ' '])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%d0', "yes\x0ano", "\x0a"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \%[abc]
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobar', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'fooxx', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobxx', 'foob'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobaxx', 'fooba'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]', 'foobarxx', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobxx', 'foobx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'foo\%[bar]x', 'foobarxx', 'foobarx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'barxx', 'barx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'bxx', 'bx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%[bar]x', 'xxx', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'b\%[[]]r]', 'b]r bor', 'b]r'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '@\%[\w\-]*', '<http://john.net/pandoc/>[@pandoc]', '@pandoc'


])[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Alternatives, must use first longest match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|\<go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<goo\|go', 'google', 'goo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', ' abc abc', 'abc abc', 'abc'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\i\+\) \1', 'xgoo goox', 'goo goo', 'goo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7


\8\9', 'xabcddefghiabcddefghix', 'abcddefghiabcddefghi', 'a', 'b', 'c', 'dd', 'e


', 'f', 'g', 'h', 'i'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(\d*\)a \1b', ' a b ', 'a b', ''])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', "aaa\naaa\nb", "aaa\naaa", 'a'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo


.com', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo


.bat', 'bat', 'bat'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}', '2013-06-27${0}', '$


{0}', '0'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a*\)\1$', 'aaaaaaaa', 'aaaaaaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(a\{-2,}\)\1\+$', 'aaaaaaaaa', 'aaaaaaaaa', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Look-behind with limit
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@1<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '<\@2<=span.', 'xxspanxx<spanyyy', 'spany'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<<


'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@1<=span.', 'xxspanxxxx<spanxx<<spanyyy'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(<<\)\@2<=span.', 'xxspanxxxx<spanxx<<spanyyy', 'spany', '<


<'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<!bar.', 'xx foobar1 xbar2 xx', 'bar2'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" look-behind match in front of a zero-width item
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" test header'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v\C%(<Last Changed:\s+)@<=.*$', '" Last Changed: 1970', '19


70'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'foobar'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=\>', 'barfoo', '', 'foo'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(foo\)\@<=.*', 'foobar', 'bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" complicated look-behind match
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(r\@<=\|\w\@<!\)\/', 'x = /word/;', '/'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^[a-z]\+\ze \&\(asdf\)\@<!', 'foo bar', 'foo'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" \@>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>a', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(a*\)\@>b', 'aaab', 'aaab', 'aaa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\(.\{-}b\)\@>.', '  abcbd', '  abc', '  ab'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(.\{-}\)\(\)\@>$', 'abc', 'abc', 'abc', ''])
[?25l[?25h[?25l:[?2004h[?25h" TODO: BT engine does not restore submatch after failure
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, '\(a*\)\@>a\|a\+', 'aaaa', 'aaaa'])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" "\_" prepended negated collection matches EOL
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^8-9]\+', "asfi\n9888", "asfi\n"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\_[^a]\+', "asfi\n9888", "sfi\n9888"])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Requiring lots of states.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}', "


12345678-1234-1234-1234-123456789012 ", "12345678-1234-1234-1234-123456789012",


"1234-"])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Skip adding state twice
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=', "#if FOO", 


"#if", ' FOO'])
[?25l:for pat in [' \ze*', ' \zs*'][?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""" Test \%V atom
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\%>70vGesamt', 'Jean-Michel Charlier & Victor Hubinon\Gesamt


ausgabe [Salleck]    Buck Danny {Jean-Michel Charlier & Victor Hubinon}\Gesamtau


sgabe', 'Gesamt'])
[?25l:for pat in [' \ze*', ' \zs*']

:  try[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.

OK 2 - ^\(.\{-}b\)\@>.

OK 0 - \(.\{-}\)\(\)\@>$

OK 1 - \(.\{-}\)\(\)\@>$

OK 2 - \(.\{-}\)\(\)\@>$

OK 0 - \(a*\)\@>a\|a\+

OK 2 - \(a*\)\@>a\|a\+

OK 0 - \_[^8-9]\+

OK 1 - \_[^8-9]\+

OK 2 - \_[^8-9]\+

OK 0 - \_[^a]\+

OK 1 - \_[^a]\+

OK 2 - \_[^a]\+

OK 0 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 1 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}

OK 0 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 1 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=

OK 0 - \%>70vGesamt

OK 1 - \%>70vGesamt

OK 2 - \%>70vGesamt
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""""" multi-line tests """"""""""""""""""""
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" back references
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '^.\(.\).\_..\1.', ['aaa', 'aaa', 'b'], ['XX', 'b']])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\v.*\/(.*)\n.*\/\1$', ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/D


ir2/abcdefgh.bat', '', './Dir1/Dir2/file1.txt', './OtherDir1/OtherDir2/file1.txt


'], ['./Dir1/Dir2/zyxwvuts.txt', './Dir1/Dir2/abcdefgh.bat', '', 'XX']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" line breaks
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\S.*\nx', ['abc', 'def', 'ghi', 'xjk', 'lmn'], ['abc', 'def'


, 'XXjk', 'lmn']])
[?25lOK 0 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that \_[0-9] matching EOL does not break a following \>
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)


\.\)\{3\}\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>', ['', 'loca


lnet/192.168.0.1', ''], ['', 'localnet/XX', '']])
[?25lOK 0 - ^\(.\{-}b\)\@>.

OK 1 - ^\(.\{-}b\)\@>.[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a line break and ^ and $
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\n^b$\n^c', ['a', 'b', 'c'], ['XX']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\(^.\+\n\)\1', [' dog', ' dog', 'asdf'], ['XXasdf']])
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"""" Run the multi-line tests
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='multi-line tests'
[?25l

multi-line tests[?25h[?25l

:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let before = t[2]


[?25l:[?2004h  [?25h:  let after = t[3]


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re ==1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    new


[?25l:[?2004h    [?25h:    call setline(1, before)


[?25l:[?2004h    [?25h:    exe '%s/' . pat . '/XX/'


[?25l:[?2004h    [?25h:    let result = getline(1, '$')


[?25l:[?2004h    [?25h:    q!


[?25l:[?2004h    [?25h:    if result != after


[?25l:[?2004h      [?25h:      $put ='ERROR: pat: \"' . pat . '\", text: \"' . string(before) . 


'\", expected: \"' . string(after) . '\", got: \"' . string(result) . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?25l

:[?2004h[?25hunlet t tl
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check that using a pattern on two lines doesn't get messed up by using
[?25l[?25h[?25l:[?2004h[?25h" matchstr() with \ze in between.
[?25l[?25h[?25l:[?2004h[?25hset re=0
[?25l[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP:    let l = matchlist('x x', pat)

:    $put ='E888 NOT detected for ' . pat

:  catch

:    $put ='E888 detected for ' . pat

:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="">Ta 5</Title>

<T="">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2s/""/\='"'.matchstr(getline("."), '\d\+\ze<').'"'
[?25l5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?25l/[?2004h[?25h^Substitute here
[?25lsearch hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25h.+1,.+2yank
[?25l[?25h[?25lOK 2 - \%>70vGesamt

multi-line tests

OK 0 - ^.\(.\).\_..\1.

OK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1
[?25h[?2004l[?2004h[?25l

[?25h[?25l

<T="5">Ta 5</Title>
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check a pattern with a look beind crossing a line boundary
[?25l[?25h[?25l/[?2004h[?25h^Behind:
[?25lsearch hit BOTTOM, continuing at TOP:  endtry

:endfor

:"

:""""" Write the results """""""""""""

:/\%#=1^Results/,$wq! test.out

ENDTEST



Substitute here:

<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

search hit BOTTOM, continuing at TOP[?25h[?25l/[?2004h[?25h\(<\_[xy]\+\)\@3<=start
[?25l[?25h[?25l:[?2004h[?25h.yank
[?25l[?25h[?25lOK 1 - ^.\(.\).\_..\1.

OK 2 - ^.\(.\).\_..\1.

OK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>
[?25h[?2004l[?2004h[?25l

[?25h[?25l

xxstart3
[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching Visual area
[?25l[?25h[?25l/[?2004h[?25h^Visual:
[?25lsearch hit BOTTOM, continuing at TOP<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



Behind:

asdfasd<yyy

xxstart1

asdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexe the thexethe

andaxand andaxand

oooxofor foroxooo

oooxofor foroxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

search hit BOTTOM, continuing at TOP[?25h

the[?25l[?25h[?25lxe the the[?25h[?25l:[?2004h'<,'>[?25hs/\%Ve/E/g
[?25l3 substitutions on 1 linexE thE thE
[?25h

[?25landaxand andaxand 
[?25h[?25l:[?2004h'<,'>[?25hs/\%Va/A/g
[?25l6 substitutions on 1 lineAndAxAnd AndAxAnd[?25h

ooo[?25l[?25h[?25lxofor foro[?25h[?25lx

oooxofor foro[?25h[?25l:[?2004h'<,'>[?25hs/\%Vo/O/g
[?25l8 substitutions on 2 linesxOfOr fOrOx

oooxOfOr fOrO
[?25h[?25l:[?2004h[?25h/^Visual/+1,/^Visual/+4yank
[?25lsearch hit BOTTOM, continuing at TOP
4 lines yanked[?25h[?25lOK 0 - \v.*\/(.*)\n.*\/\1$

OK 1 - \v.*\/(.*)\n.*\/\1$

OK 2 - \v.*\/(.*)\n.*\/\1$

OK 0 - \S.*\nx

OK 1 - \S.*\nx

OK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3
[?25h[?2004l[?2004h[?25l

[?25h[?25l

4 more lines

thexE thE thExethe4 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check matching marks
[?25l[?25h[?25l/[?2004h[?25h^Marks:
[?25lsearch hit BOTTOM, continuing at TOPasdfasd<yy

xxxstart2

asdfasd<yy

xxstart3



Visual:

thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



Marks:

asdfSasdfsadfEasdf

asdfSas

dfsadfEasdf



Results of test64:

OK 0 - ab

OK 1 - ab

OK 2 - ab

OK 0 - b

OK 1 - b

OK 2 - b

search hit BOTTOM, continuing at TOP[?25h

asdf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s.*\%<'e../here/
[?25lhereasdf[?25h

asdf

dfsa
dfsadf[?25l:[?2004h[?25h.-4,.+6s/.\%>'s\_.*\%<'e../again/
[?25l

asdfagainasdfOK 0 - bc*[?25h[?25l:[?2004h[?25h/^Marks:/+1,/^Marks:/+3yank
[?25lsearch hit BOTTOM, continuing at TOP
3 lines yanked[?25h[?25lOK 2 - \S.*\nx

OK 0 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo
[?25h[?2004l[?2004h[?25l

[?25h[?25l

3 more linesasdfhereasdf

asdfagainasdf3 more lines[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check patterns matching cursor position.
[?25l[?25h[?25l:[?2004h[?25hfunc! Postest()
[?25l

:[?2004h  [?25h new


[?25l:[?2004h  [?25h call setline(1, ['ffooooo', 'boboooo', 'zoooooo', 'koooooo', 'moooooo', "\t


\t\tfoo", 'abababababababfoo', 'bababababababafoo', '********_', '        xxxxxx


xxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxx xx xxxx


xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxx xxxxxxxxxx


xxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxx xxxxxxxxxxx


x xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx xxxxxxxxx xxxx


xxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxx xxx xxx xx


xxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx xxxxxxxxxxxx x


xxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxxxxx


xxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx'])


[?25l:[?2004h  [?25h call setpos('.', [0, 1, 0, 0])


[?25l:[?2004h  [?25h s/\%>3c.//g


[?25l:[?2004h  [?25h call setpos('.', [0, 2, 4, 0])


[?25l:[?2004h  [?25h s/\%#.*$//g


[?25l:[?2004h  [?25h call setpos('.', [0, 3, 0, 0])


[?25l:[?2004h  [?25h s/\%<3c./_/g


[?25l:[?2004h  [?25h %s/\%4l\%>5c./_/g


[?25l:[?2004h  [?25h %s/\%6l\%>25v./_/g


[?25l:[?2004h  [?25h %s/\%>6l\%3c./!/g


[?25l:[?2004h  [?25h %s/\%>7l\%12c./?/g


[?25l:[?2004h  [?25h %s/\%>7l\%<9l\%>5v\%<8v./#/g


[?25l:[?2004h  [?25h $s/\%(|\u.*\)\@<=[^|\t]\+$//ge


[?25l:[?2004h  [?25h 1,$yank


[?25l:[?2004h  [?25h quit!


[?25l:[?2004h  [?25hendfunc
[?25lOK 1 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 2 - \<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(255\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>

OK 0 - a\n^b$\n^c

OK 1 - a\n^b$\n^c

OK 2 - a\n^b$\n^c

OK 0 - \(^.\+\n\)\1

OK 1 - \(^.\+\n\)\1

OK 2 - \(^.\+\n\)\1



<T="5">Ta 5</Title>

<T="7">Ac 7</Title>



xxstart3



thexE thE thExethe

AndAxAnd AndAxAnd

oooxOfOr fOrOxooo

oooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf[?25h[?25l~                                                                               [?25h[?2004l[?2004h[?25l

-0-[?25h[?25l

:[?2004h[?25hset re=0
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25loooxOfOr fOrOxooo



asdfhereasdf

asdfagainasdf-0-ffobob__ooooo

koooo__moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx[?25h[?2004l[?2004h[?25l

-1-[?25h[?25l

:[?2004h[?25hset re=1
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l-1-

ffo

bob

__ooooo

koooo__

moooooo

   f__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxx xxxx xx xxxxxxxx xxx xxxxxxx~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l-2-[?25h[?25l:[?2004h[?25hset re=2
[?25l[?25h[?25l:[?2004h[?25hcall Postest()
[?25l4 substitutions on 4 lines


10 lines yanked


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hput
[?25l10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l-2-

ffo

bob~                                                                               [?25h[?25l:[?2004h[?25h" start and end of buffer
[?25l[?25h[?25l/[?2004h[?25h\%^
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 2 - \v(a*)+

OK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}[?25h[?25l/[?2004h[?25h\%^..
[?25lsearch hit BOTTOM, continuing at TOPTest for regexp patterns without multi-byte support.

See test95 for multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

search hit BOTTOM, continuing at TOP[?25h[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l[?25h[?25lTest[?25h[?2004l[?2004h[?25lt END[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lOK 0 - \v((ab)+)+

OK 1 - \v((ab)+)+

OK 2 - \v((ab)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(((ab)+)+)+

OK 1 - \v(((ab)+)+)+

OK 2 - \v(((ab)+)+)+

OK 0 - \v(a{0,2})+

OK 1 - \v(a{0,2})+

OK 2 - \v(a{0,2})+

OK 0 - \v(a*)+

OK 1 - \v(a*)+

OK 2 - \v(a*)+

OK 0 - \v((a*)+)+

OK 1 - \v((a*)+)+

OK 2 - \v((a*)+)+

OK 0 - \v((ab)*)+

OK 1 - \v((ab)*)+

OK 2 - \v((ab)*)+

OK 0 - \va{1,3}

OK 1 - \va{1,3}[?25h[?25l/[?2004h[?25h\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h[?25l:" tl is a List of Lists with:

:"    regexp engine

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:"

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"""" Previously written tests """"""""""""""""""""""""""""""""

:""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

:"

:call add(tl, [2, 'ab', 'aab', 'ab'])

:call add(tl, [2, 'b', 'abcdef', 'b'])

:call add(tl, [2, 'bc*', 'abccccdef', 'bcccc'])

:call add(tl, [2, 'bc\{-}', 'abccccdef', 'b'])

:call add(tl, [2, 'bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])

:call add(tl, [2, 'bc*', 'abbdef', 'b'])

:call add(tl, [2, 'c*', 'ccc', 'ccc'])

:call add(tl, [2, 'bc*', 'abdef', 'b'])[?25h[?25l/[?2004h[?25h..\%$
[?25l-2-

ffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?bafoo

**!*****_

  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxx xxxx xxxxxxxxxxx xxx xxxxxxx xxxxxxxxx xx xxxxxx xx xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxxx xxxxxxxxx xxxx xxx xxxx xxx xxx xxxxxx xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxxx  xxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxx xxx xxx xxxxxxxx xxxxxxx  xxxx xxx xxxxxx xxxxx xxxxx xx xxxxxx xxxxxxx xxx  xxxxxxxxxxxx xxxx xxxxxxxxx xxxxxx xxxxxx xxxxx xxx xxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxxxx xxxxx

Test

Test END

~                                                                               ~                                                                               ~                                                                               [?25h
[?2004l[?2004h[?25l[?25h[?25lEN[?25h[?2004l[?2004h[?25l[?25h[?25lE[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Check for detecting error
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=2
[?25l[?25h[?25l:[?2004h[?25hfor pat in [' \ze*', ' \zs*']
[?25l

:[?2004h  [?25h:  try


[?25l:[?2004h    [?25h:    let l = matchlist('x x', pat)


[?25l:[?2004h    [?25h:    $put ='E888 NOT detected for ' . pat


[?25l:[?2004h    [?25h:  catch


[?25l:[?2004h    [?25h:    $put ='E888 detected for ' . pat


[?25l:[?2004h    [?25h:  endtry


[?25l:[?2004h  [?25h:endfor
[?25lffo

bob

__ooooo

koooo__

moooooof__

ab!babababababfoo

ba!ab##abab?ba

**!*****_  !     xxx?xxxxxxxx    xxxx xxxxxx xxxxxxx x xxxxxxxxx xx xxxxxx xxxxxx xxxxx xxxxxxxx xx xxxx xxxxxxxxxxxxx xxx xxxxxxx xxxxxxxxx  xxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxx  xxx xxxxxxx xxxx xxx xxxx xxx xxx xxxxxx x xxxxxxxxxxx xx xxxxx xxx xxxxxxxx xxxxxx xxx xxx  xxxxxxxxx xxxxxxx x x xx xxxxxx xxxxxxx  xxxxxxxxxx xxxxxxxxx xxx xxx xxxxxxxx   xxxx xxx xxxxxx xxxxx xxxxx xx   xxxxxxxxxxxx xxxx xxxxxxxxx xxxxx xxxxx xx xxxxxxxxx xxxxxxxxxx  xxxxxxxxxx xxxx xx xxxxxxxx xxx xxxxxxxxTestEND

EN888 detected for  \ze*

E888 detected for  \zs*[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h""""" Write the results """""""""""""
[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1107 lines, 22167 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test64 = test61; then \
#	  if diff test.out test64.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test64.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test64.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test66.failed test.ok test.out X* viminfo
cp test66.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test66.in" 33 lines, 509 charactersTest for visual block shift and tab characters.



STARTTEST

:so small.vim

/^one

fe^V4jR^[ugvr1:'<,'>w! test.out

/^abcdefgh

^V4jI    ^[j<<11|D

7|a^[

7|a^[

7|a^[4k13|^V4j<

:$-5,$w >> test.out

:$-4,$s/\s\+//g

^V4kI    ^[j<<

7|a^[

7|a^[

7|a^[4k13|^V4j3<

:$-4,$w >> test.out

:qa!

ENDTEST



one two three[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 16 lines, 234 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^one
[?25l[?25hon[?25l[?25h[?25le

one two three

one two three

one two three

one two three[?25h[?25l

4 fewer lines[?2004l[?2004habcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz[?25h[?25lmore lines; before #1  0 seconds agoone two three

one two three

one two threeone two threeone two three[?25h[?25le

one

one

one

on[?25h[?25l1

on1

on1

on1

on1[?25h[?25l:[?2004h[?25h'<,'>w! test.out
[?25l"test.out" [New File] 5 lines, 70 characters written[?25h[?25l/[?2004h[?25h^abcdefgh
[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz

abcdefghijklmnopqrstuvwxyz
[?25h[?25la

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc            defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 1 timeidefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-5,$w >> test.out
[?25l"test.out"6 lines, 151 characters appended[?25h[?25l:[?2004h[?25h$-4,$s/\s\+//g
[?25l7 substitutions on 4 linesabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25la

a

a

a[?25h[?25l

a

a

a

a[?2004l[?2004h    abcdefghijklmnopqrstuvwxyz

    abcdefghij

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz

    abcdefghijklmnopqrstuvwxyz[?25h

[?25labcdefghij[?25h

    ab[?2004l[?2004h[?25lc         defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                       defghijklmnopqrstuvwxyz[?25h[?2004l[?2004h[?25lc                 defghijklmnopqrstuvwxyz[?25h[?25l[?25h[?25li  [?25h[?25l

5 lines <ed 3 timesidefghijklmnopqrstuvwxyz    defghijklmnopqrstuvwxyzdefghijklmnopqrstuvwxyz[?25h[?25l:[?2004h[?25h$-4,$w >> test.out
[?25l"test.out"5 lines, 147 characters appended[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test66 = test61; then \
#	  if diff test.out test66.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test66.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test66.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test68.failed test.ok test.out X* viminfo
cp test68.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test68.in" 131 lines, 1004 charactersTest for text formatting.



Results of test68:



STARTTEST

:so small.vim

/^{/+1

:set noai tw=2 fo=t

gRa b^[

ENDTEST



{





}



STARTTEST

/^{/+1

:set ai tw=2 fo=tw

gqgqjjllab^[

ENDTEST



{[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 4 lines, 48 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset noai tw=2 fo=t
[?25l[?25h[?2004l[?2004h[?25la

b[?25h

[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 38 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l

a  b[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tw
[?25l[?25h[?25l

b[?25h[?25l

[?25h[?25l

a[?25ha [?2004l[?2004h[?25l

b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=3 fo=t

gqgqo

a ^V^A^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a ^A[?25h[?25l

:[?2004h[?25hset tw=3 fo=t
[?25l[?25h[?25l

^A[?25h[?2004l[?2004h[?25la

^A
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tcq1 comments=:#

gqgqjgqgqo

a b

#a b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

a b[?25h[?25l

:[?2004h[?25hset tw=2 fo=tcq1 comments=:#
[?25l[?25h[?25l

#a b[?25h[?2004l[?2004h[?25la b

#a b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 46 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=tcn comments=:#

A b^[jA b^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  1 a[?25h[?25l

:[?2004h[?25hset tw=5 fo=tcn comments=:#
[?25l[?25h[?2004l[?2004h[?25l

b[?25h[?25l

# 1 a[?25h[?2004l[?2004h[?25l

#   b[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+3
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 35 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=t2a si

i  ^[A_^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+3
[?25l{



  x a

  b[?25h[?25l

:[?2004h[?25hset tw=5 fo=t2a si
[?25l[?25h[?2004l[?2004h[?25l    b[?25h[?2004l[?2004h[?25l b_[?25h[?25l

c[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=qn comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# 1 a b[?25h[?25l

:[?2004h[?25hset tw=5 fo=qn comments=:#
[?25l[?25h[?25l[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 40 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=5 fo=q2 comments=:#

gwap

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

# x[?25h[?25l

:[?2004h[?25hset tw=5 fo=q2 comments=:#
[?25l[?25h[?25l# x a
[?25h[?25l

#   b[?25h[?25l

/[?2004h^STARTTEST
}



STARTTEST[?25h[?25l

/^{/+2
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 26 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw& fo=a

I^^^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+2
[?25l{

   1aa

   2bb[?25h[?25l

:[?2004h[?25hset tw& fo=a
[?25l[?25h[?2004l[?2004h[?25l1aa ^^2bb }STARTTEST[?25h

[?25l/[?2004h^STARTTEST
[?25h[?25l

/mno pqr/[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 69 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/

A vwx yz^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25hmno pqr/
[?25l/* abc def ghi jkl

 *    mno pqr stu[?25h[?25l

:[?2004h[?25hsetl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
[?25l[?25h[?2004l[?2004h[?25l

*    vwx yz[?25h[?25l

*/[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^#/
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:setl tw=12 fo=tqnc comments=:#

A foobar^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^#/
[?25l

# 1 xxxxx[?25h[?25l

:[?2004h[?25hsetl tw=12 fo=tqnc comments=:#
[?25l[?25h[?2004l[?2004h[?25l

#   foobar[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l63 fewer lines# 1 a#   b}{

# x a#   b}{ 1aa ^^2bb }/* abc def ghi jkl

 *    mno pqr stu

 *    vwx yz

 */# 1 xxxxx

#   foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 77 lines, 281 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test68 = test61; then \
#	  if diff test.out test68.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test68.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test68.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test69.failed test.ok test.out X* viminfo
cp test69.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test69.in" 192 lines, 2185 charactersTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 multi-byte text formatting.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 2 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for multi-byte text formatting.

Also test, that 'mps' with multibyte chars works.

And test "ra" on multi-byte characters.

Also test byteidx() and byteidxcomp()



STARTTEST

:so mbyte.vim

:set encoding=utf-8

ENDTEST



Results of test69:



STARTTEST

/^{/+1

:set tw=2 fo=t

gqgqjgqgqo

XYZ

abc XYZ^[

ENDTEST



{

XYZ

abc XYZ[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 58 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=t
[?25l[?25h

[?25l

XYZ[?25h[?2004l[?25l[?25h[?25lX[?25h[?25lY[?25h[?25l

Z

abc [?25h[?25l

X[?25h[?25lY[?25h[?2004h[?25lZ[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=1 fo=tm

gqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

X[?25h[?25l

:[?2004h[?25hset tw=1 fo=tm
[?25l[?25h[?25l

Xa[?25h[?25l

a[?25h[?25l

X a
[?25h[?25l

a[?25h[?25l

XY
[?25h[?25l

Y
[?25h[?25l

X Y
[?25h[?25l

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c

abXY^[

ENDTEST



{

X

Xa

X a

XY

X Y

aX

abX

abcX

abX c[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h

[?25la[?25h

[?25la[?25h

[?25lY
[?25h

[?25lY 
[?25h[?25l

aX
[?25h[?25l

X
[?25h[?25l

abX
[?25h[?25l

X
[?25h[?25l

abcX
[?25h[?25l

X
[?25h[?25l

abX c
[?25h[?25lX

c[?25h[?25l

abXY
[?25h[?25lX

Y
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25lX

a

[?25h[?25lX

a

[?25h[?25lX[?25h[?25lY

[?25h[?25lX [?25h[?25lY

a[?25h[?25lX

ab[?25h[?25lX

abc[?25h[?25lX

ab[?25h[?25lX

c

ab[?25h[?25l

X[?25h[?2004h[?25l

Y
[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 47 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set ai tw=2 fo=tm

gqgqjgqgqo

X

Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset ai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

  a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 53 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set noai tw=2 fo=tm

gqgqjgqgqo

  X

  Xa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

  X[?25h[?25l

:[?2004h[?25hset noai tw=2 fo=tm
[?25l[?25h  [?25l

Xa[?25h[?25l

a[?25h[?2004l[?25l[?25h[?25l

X

  [?25h[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 13 lines, 169 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa

XXY^[

ENDTEST



{

X

Xa

XaY

XY

XYZ

X Y

X YZ

XX

XXa[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l[?25h[?25l:[?2004h[?25hset tw=2 fo=cqm comments=n:X
[?25l[?25h



[?25lXY[?25h



[?25lXZ
[?25h



[?25l

X Z
[?25h[?25l

XX
[?25h[?25l

XXa
[?25h[?25l

XXY
[?25h[?2004l[?25l[?25h[?25l

X

[?25h[?25l

Xa

[?25h[?25lXa[?25h[?25lXY

[?25h[?25lX[?25h[?25l

Y

[?25h[?25lX[?25h[?25lY[?25h[?25lXZ

[?25h[?25lX [?25h[?25l

Y

[?25h[?25lX [?25h[?25lY[?25h[?25lX Z

[?25h[?25lX[?25h[?25l

X

[?25h[?25lX[?25h[?25l

Xa

[?25h[?25lX[?25h[?25lX[?25h[?2004h[?25lY[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 30 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set tw=2 fo=tm

RXa^[

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{[?25h[?25l

:[?2004h[?25hset tw=2 fo=tm
[?25l[?25h[?2004l[?2004h[?25l

X

a[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^{/+1
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 34 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set mps+=^Vu2018:^Vu2019

d%

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^{/+1
[?25l{

‘two three ’four[?25h[?25l

:[?2004h[?25hset mps+=^‘:^’
[?25l[?25h[?25l four[?25h[?25l

}[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

/^ra test
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 16 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTjVjra

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^ra test
[?25l

ra test[?25h[?25l

abba
[?25h[?25lbba 
[?25h[?25l

a

aab 
[?25h[?25laaaaaaa [?25h

[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set whichwrap+=h
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 4 lines, 43 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^x

dh

:set whichwrap-=h

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset whichwrap+=h
[?25l[?25h[?25l/[?2004h[?25h^x
[?25láx[?25h[?25lx[?25h

[?25l

:[?2004h[?25hset whichwrap-=h
[?25l[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:let a = '.é.' " one char of two bytes
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 9 lines, 548 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let b = '.é.' " normal e with composing char

/^byteidx

:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)])

:put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])

/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)])

:let b = '.é.'

:put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet a = '.é.' " one char of two bytes
[?25l[?25h[?25l:[?2004h[?25hlet b = '.eé.' " normal e with composing char
[?25l[?25h[?25l/[?2004h[?25h^byteidx
[?25l

byteidx[?25h[?25l

:[?2004h[?25hput =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), bytei


dx(a, 4)])
[?25l:set whichwrap-=h

ENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hput =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), bytei


dx(b, 4)])
[?25lENDTESTáxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5[?25h[?25l

/[?2004h[?25h^byteidxcomp
[?25l

byteidxcomp[?25h[?25l

:[?2004h[?25hput =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxc


omp(a, 3), byteidxcomp(a, 4)])
[?25láxSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1][?25h[?25l

:[?2004h[?25hlet b = '.eé.'
[?25l[?25h[?25l:[?2004h[?25hput =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxc


omp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])
[?25lSTARTTEST

:let a = '.é.' " one char of two bytesb = '.é.' " normal e with composing char

/^byteidx:put =string([byteidx(a, 0), byteidx(a, 1), byteidx(a, 2), byteidx(a, 3), byteiddx(a, 4)]):put =string([byteidx(b, 0), byteidx(b, 1), byteidx(b, 2), byteidx(b, 3), byteiddx(b, 4)])/^byteidxcomp

:put =string([byteidxcomp(a, 0), byteidxcomp(a, 1), byteidxcomp(a, 2), byteidxcoomp(a, 3), byteidxcomp(a, 4)]):let b = '.é.'put =string([byteidxcomp(b, 0), byteidxcomp(b, 1), byteidxcomp(b, 2), byteidxcoomp(b, 3), byteidxcomp(b, 4), byteidxcomp(b, 5)])ENDTESTbyteidx

[0, 1, 3, 4, -1]4, 5

byteidxcomp[0, 1, 3, 4, -1]2, 4, 5, -1][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

/^substitute
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 75 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:let y = substitute('123', '\zs', 'a', 'g')    | put =y

ENDTEST[?25h[?25lsubstitute[?25h[?25l



:[?2004hso! Xdotest
[?25h[?25l/[?2004h[?25h^substitute
[?25l[?25h[?25l:[?2004h[?25hlet y = substitute('123', '\zs', 'a', 'g')    | put =y
[?25la1a2a3a[?25h[?25l



/[?2004h^STARTTEST


STARTTEST[?25h[?25l:g/^STARTTEST/.,/^ENDTEST/d

:1;/^Results/,$wq! test.out[?25h[?25l



:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 2 lines, 56 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l



/ENDTEST[?25h
[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l104 fewer lines{ four}ra test

aaaaaaaáxbyteidx[0, 1, 3, 4, -1]

[0, 1, 4, 5, -1]byteidxcomp

[0, 1, 3, 4, -1]

[0, 1, 2, 4, 5, -1]substitute

a1a2a3a[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 166 lines, 730 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test69 = test61; then \
#	  if diff test.out test69.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test69.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test69.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test70.failed test.ok test.out X* viminfo
cp test70.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test70.in" 63 lines, 1501 charactersSmoke test for MzScheme interface and mzeval() function



STARTTEST

:so mzscheme.vim

:set nocompatible viminfo+=nviminfo

:function! MzRequire()

:redir => l:mzversion

:mz (version)

:redir END

:if strpart(l:mzversion, 1, 1) < "4"

:" MzScheme versions < 4.x:

:mz (require (prefix vim- vimext))

:else

:" newer versions:

:mz (require (prefix-in vim- 'vimext))

:mz (require r5rs)

:endif

:endfunction

:silent call MzRequire()

:mz (define l '("item0" "dictionary with list OK" "item2"))

:mz (define h (make-hash))

:mz (hash-set! h "list" l)

/^1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSmoke test for MzScheme interface and mzeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 55 lines, 1398 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:if l2[2] == l2

:let res = "OK"

:else

:let res = "FAILED: " . l2[2]

:endif

:call setline(search("^3"), "circular test " . res)

:" funcrefs

:mz (define vim:max (vim-eval "function('max')"))

:mz (define m (vim:max '(1 100 8)))

:let m = mzeval('m')

:if m == 100

:let fref_res = "OK"

:else

:let fref_res = "FAILED: " . m

:end

:call append(line('$'), 'funcrefs '. fref_res)

:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mzscheme.vim
[?25l"test.ok" 6 lines, 94 characters


"test.out" [New File] 6 lines, 94 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test70 = test61; then \
#	  if diff test.out test70.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test70.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test70.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test73.failed test.ok test.out X* viminfo
cp test73.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test73.in" 170 lines, 3664 charactersTests for find completion.



STARTTEST

:so small.vim

:set belloff=all

:" Do all test in a separate window to avoid E211 when we recursively

:" delete the Xfind directory during cleanup

:"

:" This will cause a few errors, do it silently.

:set visualbell

:set nocp viminfo+=nviminfo

:"

:" On windows a stale "Xfind" directory may exist, remove it so that

:" we start from a clean state.

:call delete("Xfind", "rf")

:new

:let cwd=getcwd()

:let test_out = cwd . '/test.out'

:call mkdir('Xfind')

:cd Xfind

:set path=

:find

:exec "w! " . test_out[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 find completion.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 165 lines, 3617 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:exec "cd " . cwd . "/Xfind/"

:set path=./path

:" Open the file where Jimmy Hoffa is found

:e in/file.txt

:" Find the file containing 'E.T.' in the Xfind/in/path directory

:find file

:exec "w >>" . test_out

:"

:" Test that completion works when path=.,,

:"

:set path=.,,

:" Open Jimmy Hoffa file

:e in/file.txt

:exec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu

:exec "w >>" . test_out

:q

:exec "cd " . cwd

:call delete("Xfind", "rf")

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" Do all test in a separate window to avoid E211 when we recursively
[?25l[?25h[?25l:[?2004h[?25h" delete the Xfind directory during cleanup
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" This will cause a few errors, do it silently.
[?25l[?25h[?25l:[?2004h[?25hset visualbell
[?25l[?25h[?25l:[?2004h[?25hset nocp viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>c"[?25h
[?25l[?25h[?25l:[?2004h[?25h" On windows a stale "Xfind" directory may exist, remove it so that
[?25l[?25h[?25l:[?2004h[?25h" we start from a clean state.
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTESTtest73.in                                                                       [?25h[?25l:[?2004h[?25hlet cwd=getcwd()
[?25l[?25h[?25l:[?2004h[?25hlet test_out = cwd . '/test.out'
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('Xfind')
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/<<PKGBUILDDIR>>/src/vim-nox/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE345: Can't find file "" in path[?25h[?25l:[?2004h[?25hexec "w! " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out"
<ild/vim-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test.out" [New] 0L, 0C written/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-nox/testdir/test73.in                    [?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-nox/testdir/test73.in                    [?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-nox/testdir/test73.in                    [?25h[?25l:[?2004h[?25hset path=./**
[?25l[?25h[?25l:[?2004h[?25hfind ...[?25l[?25h
[?25lE32: No file name[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 0L, 0C appended[?25h[?25l:[?2004h[?25hclose
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       xec "w >>" . test_out

:" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwd

:call delete("Xfind", "rf")

:qa!ENDTEST/<<PKGBUILDDIR>>/src/vim-nox/testdir/test73.in                    [?25h[?25l:[?2004h[?25h" We shouldn't find any file at this point, test.out must be empty.
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('in')
[?25l[?25h[?25l:[?2004h[?25hcd in
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/in[?25h[?25l:[?2004h[?25hcall mkdir('path')
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdirtest73.in                                                   [?25h[?25l:[?2004h[?25he Xfind/file.txt
[?25l"Xfind/file.txt" [New File]Xfind/file.txt[?25h[?25l-- INSERT --Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/file.txt" [New] 1L, 11C written    [?25h[?25l:[?2004h[?25he Xfind/in/file.txt
[?25l"Xfind/in/file.txt" [New File]in/file.txt[?25h[?25l-- INSERT --Jimmy Hoffa[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/file.txt" [New] 1L, 12C written    [?25h[?25l:[?2004h[?25he Xfind/in/stuff.txt
[?25l"Xfind/in/stuff.txt" [New File]stuff.txt[?25h[?25l-- INSERT --Another Holy Grail[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/stuff.txt" [New] 1L, 19C written    [?25h[?25l:[?2004h[?25he Xfind/in/path/file.txt
[?25l"Xfind/in/path/file.txt" [New File]path/file.txt[?25h[?25l-- INSERT --E.T.[+][?25h[?25l:[?2004h[?25hw
[?25l"Xfind/in/path/file.txt" [New] 1L, 5C written    [?25h[?25l:[?2004h[?25hset path=Xfind/**
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Rerun the previous three find completions, using fullpath in 'path'
[?25l[?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h" Same steps again, using relative and fullpath items that point to the same
[?25l[?25h[?25l:[?2004h[?25h" recursive location.
[?25l[?25h[?25l:[?2004h[?25h" This is to test that there are no duplicates in the completion list.
[?25l[?25h[?25l:[?2004h[?25hexec "set path+=Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h
[?25l"Xfind/file.txt" 1L, 11CHoly Grailfile.txtf         [?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffain/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h...[?25lpath/file.txt[?25h
[?25l"Xfind/in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25hfind file...[?25l./Xfind/file.txt[?25h...[?25lin/file.txt[?25h
[?25l"Xfind/in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25h" Test find completion for directory of current buffer, which at this point
[?25l[?25h[?25l:[?2004h[?25h" is Xfind/in/file.txt.
[?25l[?25h[?25l:[?2004h[?25hset path=.
[?25l[?25h[?25l:[?2004h[?25hfind st...[?25luff.txt[?25h
[?25l"Xfind/in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" .  test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25h" Test find completion for empty path item ",," which is the current directory
[?25l[?25h[?25l:[?2004h[?25hcd Xfind
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfindin/stuff.txtf       /<<PKGBUILDDIR>>/src/vim-nox/testdir/test73.in[?25h[?25l:[?2004h[?25hset path=,,
[?25l[?25h[?25l:[?2004h[?25hfind f...[?25lile.txt[?25h...[?25l[?25h
[?25l"file.txt" 1L, 11CHoly Grailfile.txt.     [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 11C appended[?25h[?25l:[?2004h[?25h" Test shortening of
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    foo/x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    foo/y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is above foo/ they should be shortened to (in order
[?25l[?25h[?25l:[?2004h[?25h" of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    y/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('foo')
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/file.txt[?25h[?25l:[?2004h[?25hcall mkdir('x')
[?25l[?25h[?25l:[?2004h[?25hcall mkdir('y')
[?25l[?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/x[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcall mkdir('bar')
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfindfile.txti                                                          [?25h[?25l:[?2004h[?25h" We should now be in the Xfind directory
[?25l[?25h[?25l:[?2004h[?25he foo/x/bar/voyager.txt
[?25l"foo/x/bar/voyager.txt" [New File]oo/x/bar/voyager.txt[?25h[?25l-- INSERT --Voyager 1[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/x/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25he foo/y/bar/voyager.txt
[?25l"foo/y/bar/voyager.txt" [New File]y/[?25h[?25l-- INSERT --Voyager 2[+][?25h[?25l:[?2004h[?25hw
[?25l"foo/y/bar/voyager.txt" [New] 1L, 10C written    [?25h[?25l:[?2004h[?25hexec "set path=" . cwd . "/Xfind/**"
[?25l[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h
[?25l"foo/x/bar/voyager.txt" 1L, 10C1x/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25lx/bar/voyager.txt[?25h...[?25ly[?25h
[?25l"foo/y/bar/voyager.txt" 1L, 10C2y/[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" When current directory is .../foo/y/bar they should be shortened to (in
[?25l[?25h[?25l:[?2004h[?25h" order of appearance):
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"    ./voyager.txt
[?25l[?25h[?25l:[?2004h[?25h"    x/bar/voyager.txt
[?25l[?25h[?25l:[?2004h[?25hcd foo
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/fooy/bar/voyager.txt.     [?25h[?25l:[?2004h[?25hcd y
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/ybar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/y/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25lx/bar/voyager.txt[?25h
[?25l<uild/vim-FU59NL/vim-8.0.1144/src/vim-nox/testdir/Xfind/foo/x/bar/voyager.txt"
<m-FU59NL/vim-8.0.1144/src/vim-nox/testdir/Xfind/foo/x/bar/voyager.txt" 1L, 10C1/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/x/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check the opposite too:
[?25l[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/y[?25h[?25l:[?2004h[?25hcd ..
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foox/bar/voyager.txt/                                                              [?25h[?25l:[?2004h[?25hcd x
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/xbar/voyager.txt   [?25h[?25l:[?2004h[?25hcd bar
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/x/barvoyager.txt.     [?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h
[?25l"voyager.txt" 1L, 10C[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25hfind voyager...[?25l./voyager.txt[?25h...[?25ly/bar/voyager.txt[?25h
[?25l<uild/vim-FU59NL/vim-8.0.1144/src/vim-nox/testdir/Xfind/foo/y/bar/voyager.txt"
<m-FU59NL/vim-8.0.1144/src/vim-nox/testdir/Xfind/foo/y/bar/voyager.txt" 1L, 10C2/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/foo/y/bar/voyager.txt[?25h[?25l:[?2004h[?25hexec "w >> " . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 10C appended[?25h[?25l:[?2004h[?25h" Check for correct handling of shorten_fname()'s behavior on windows
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/in"
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfind/in[?25h[?25l:[?2004h[?25hfind file...[?25l./file.txt[?25h
[?25l"file.txt" 1L, 12CJimmy Hoffafile.txti                                                                       [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Test for relative to current buffer 'path' item
[?25l[?25h[?25l:[?2004h[?25hexec "cd " . cwd . "/Xfind/"
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xfindin/file.txt[?25h[?25l:[?2004h[?25hset path=./path
[?25l[?25h[?25l:[?2004h[?25h" Open the file where Jimmy Hoffa is found
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12C[?25h[?25l:[?2004h[?25h" Find the file containing 'E.T.' in the Xfind/in/path directory
[?25l[?25h[?25l:[?2004h[?25hfind file...[?25ltxt[?25h
[?25l"in/path/file.txt" 1L, 5CE.T.path/file.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 5C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that completion works when path=.,,
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hset path=.,,
[?25l[?25h[?25l:[?2004h[?25h" Open Jimmy Hoffa file
[?25l[?25h[?25l:[?2004h[?25he in/file.txt
[?25l"in/file.txt" 1L, 12CJimmy Hoffafile.txte      [?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 12C appended[?25h[?25l:[?2004h[?25h" Search for the file containing Holy Grail in same directory as in/path.txt
[?25l[?25h[?25l:[?2004h[?25hfind stu...[?25lff.txt[?25h
[?25l"in/stuff.txt" 1L, 19CAnother Holy Grailstuff.txt[?25h[?25l:[?2004h[?25hexec "w >>" . test_out
[?25l"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test.out" 1L, 19C appended[?25h[?25l:[?2004h[?25hq
[?25l:exec "cd " . cwd . "/Xfind/"

:set path=./path:" Open the file where Jimmy Hoffa is found:e in/file.txt:" Find the file containing 'E.T.' in the Xfind/in/path directory:find file      :exec "w >>" . test_out:":" Test that completion works when path=.,,:":set path=.,,:" Open Jimmy Hoffa file in/file.txtexec "w >>" . test_out" Search for the file containing Holy Grail in same directory as in/path.txt

:find stu       exec "w >>" . test_out

:qexec "cd " . cwdcall delete("Xfind", "rf")

:qa!ENDTEST[?25h[?25l:[?2004h[?25hexec "cd " . cwd
[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir[?25h[?25l:[?2004h[?25hcall delete("Xfind", "rf")
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test73 = test61; then \
#	  if diff test.out test73.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test73.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test73.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test79.failed test.ok test.out X* viminfo
cp test79.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test79.in" 255 lines, 3381 charactersTest for *sub-replace-special* and *sub-replace-expression* on :substitute.

Test for submatch() on :substitue.

Test for *:s%* on :substitute.

Test for :s replacing \n with  line break.



STARTTEST

:so small.vim

ENDTEST



Results of test71:



STARTTEST

:set magic

:set cpo&

/^TEST/

j:s/A/&&/

j:s/B/\&/

j:s/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/

j:s/D/d/

j:s/E/~/

j:s/F/\~/

j:s/G/\ugg/

j:s/H/\Uh\Eh/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 *sub-replace-special* and *sub-replace-expression* on :substitute.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1 line, 14 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 347 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_1:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25lA
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l&[?25h

[?25l:[?2004h[?25hs/C\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25ld[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set nomagic
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 351 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/L/^V^M/

j:s/M/\r/

j:s/N/\^V^M/

j:s/O/\n/

j:s/P/\b/

j:s/Q/\t/

j:s/R/\\/

j:s/S/\c/

j:s/T/^V^@/

j:s/U/\L\uuUu\l\EU/

j:s/V/\U\lVvV\u\Ev/

ENDTEST



TEST_2:

A

B

C123456789

D

E

F

G

H

I[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/&&/
[?25l&&
[?25h

[?25l:[?2004h[?25hs/B/\&/
[?25l[?25h

[?25l:[?2004h[?25hs/\mC\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\0\9\8\7\6\5\4\3\2\1/
[?25l987654321
[?25h

[?25l:[?2004h[?25hs/D/d/
[?25ld[?25h

[?25l:[?2004h[?25hs/E/~/
[?25l~[?25h

[?25l:[?2004h[?25hs/F/\~/
[?25l~[?25h

[?25l:[?2004h[?25hs/G/\ugg/
[?25lg
[?25h

[?25l:[?2004h[?25hs/H/\Uh\Eh/
[?25lh
[?25h

[?25l:[?2004h[?25hs/I/\lII/
[?25liI
[?25h[?25l

J[?25h[?25l

:[?2004h[?25hs/J/\LJ\EJ/
[?25ljJ
[?25h[?25l

K[?25h[?25l

:[?2004h[?25hs/K/\Uk\ek/
[?25lk
[?25h[?25l

lLl[?25h[?25l

:[?2004h[?25hs/L/^^M/
[?25l

l[?25h[?25l

mMm
[?25h[?25l

:[?2004h[?25hs/M/\r/
[?25l

m[?25h[?25l

nNn
[?25h[?25l

:[?2004h[?25hs/N/\^^M/
[?25l^Mn
[?25h[?25l

oOo[?25h[?25l

:[?2004h[?25hs/O/\n/
[?25l^@o
[?25h[?25l

pPp[?25h[?25l

:[?2004h[?25hs/P/\b/
[?25l^Hp
[?25h[?25l

qQq[?25h[?25l

:[?2004h[?25hs/Q/\t/
[?25l       q
[?25h[?25l

rRr[?25h[?25l

:[?2004h[?25hs/R/\\/
[?25l\
[?25h[?25l

sSs[?25h[?25l

:[?2004h[?25hs/S/\c/
[?25lc
[?25h[?25l

tTt[?25h[?25l

:[?2004h[?25hs/T/^^@/
[?25l^@t
[?25h[?25l

U[?25h[?25l

:[?2004h[?25hs/U/\L\uuUu\l\EU/
[?25luuU
[?25h[?25l

V[?25h[?25l

:[?2004h[?25hs/V/\U\lVvV\u\Ev/
[?25lvVVv
[?25h[?25l/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 203 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\='\\'/

j:s/C/\='^V^M'/

j:s/D/\='\^V^M'/

j:s/E/\='\\^V^M'/

j:s/F/\='\r'/

j:s/G/\='^V^@'/

j:s/H/\='\^V^@'/

j:s/I/\='\\^V^@'/

j:s/J/\='\n'/

j:s/K/\="\r"/

j:s/L/\="\n"/

ENDTEST



TEST_3:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\='\'/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\='\\'/
[?25l\\b
[?25h

[?25l:[?2004h[?25hs/C/\='^^M'/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\='\^^M'/
[?25l\d[?25h

[?25l





:[?2004h[?25hs/E/\='\\^^M'/
[?25l\\

efFf[?25h

[?25l:[?2004h[?25hs/F/\='\r'/
[?25l\rf
[?25h[?25l

gGg[?25h[?25l

:[?2004h[?25hs/G/\='^^@'/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\='\^^@'/
[?25l

\h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\='\\^^@'/
[?25l

\\

i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\='\n'/
[?25l\nj
[?25h[?25l

kKk[?25h[?25l

:[?2004h[?25hs/K/\="\r"/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\="\n"/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 15 lines, 611 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTj:s/B/\=substitute(submatch(0), '.', '\\', '')/

j:s/C/\=substitute(submatch(0), '.', '^V^M', '')/

j:s/D/\=substitute(submatch(0), '.', '\^V^M', '')/

j:s/E/\=substitute(submatch(0), '.', '\\^V^M', '')/

j:s/F/\=substitute(submatch(0), '.', '\r', '')/

j:s/G/\=substitute(submatch(0), '.', '^V^@', '')/

j:s/H/\=substitute(submatch(0), '.', '\^V^@', '')/

j:s/I/\=substitute(submatch(0), '.', '\\^V^@', '')/

j:s/J/\=substitute(submatch(0), '.', '\n', '')/

j:s/K/\=substitute(submatch(0), '.', "\r", '')/

j:s/L/\=substitute(submatch(0), '.', "\n", '')/

ENDTEST



TEST_4:

aAa

bBb

cCc

dDd

eEe

fFf

gGg

hHh

iIi[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l[?25h

[?25l:[?2004h[?25hs/A/\=substitute(submatch(0), '.', '\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/B/\=substitute(submatch(0), '.', '\\', '')/
[?25l\
[?25h

[?25l:[?2004h[?25hs/C/\=substitute(submatch(0), '.', '^^M', '')/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/\=substitute(submatch(0), '.', '\^^M', '')/
[?25ld[?25h

[?25l





:[?2004h[?25hs/E/\=substitute(submatch(0), '.', '\\^^M', '')/
[?25l\efFf[?25h

[?25l:[?2004h[?25hs/F/\=substitute(submatch(0), '.', '\r', '')/
[?25l

f[?25h[?25l

gGg
[?25h[?25l

:[?2004h[?25hs/G/\=substitute(submatch(0), '.', '^^@', '')/
[?25l

g[?25h[?25l

hHh
[?25h[?25l

:[?2004h[?25hs/H/\=substitute(submatch(0), '.', '\^^@', '')/
[?25l

h[?25h[?25l

iIi
[?25h[?25l

:[?2004h[?25hs/I/\=substitute(submatch(0), '.', '\\^^@', '')/
[?25l

\i[?25h[?25l

jJj
[?25h[?25l

:[?2004h[?25hs/J/\=substitute(submatch(0), '.', '\n', '')/
[?25l

j[?25h[?25l

kKk
[?25h[?25l

:[?2004h[?25hs/K/\=substitute(submatch(0), '.', "\r", '')/
[?25l

k[?25h[?25l

lLl
[?25h[?25l

:[?2004h[?25hs/L/\=substitute(submatch(0), '.', "\n", '')/
[?25l

l[?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 5 lines, 445 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST/

j:s/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .. submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch((3) . submatch(2) . submatch(1)/

j:s/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), subbmatch(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), subbmatch(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25l

TEST_5:[?25h[?25l

A123456789
[?25h[?25l

:[?2004h[?25hs/A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=submatch(0) . submatch(9) .


submatch(8) . submatch(7) . submatch(6) . submatch(5) . submatch(4) . submatch(


3) . submatch(2) . submatch(1)/
[?25li\

i987654321[?25h[?25l

B123456789
[?25h[?25l

:[?2004h[?25hs/B\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)/\=string([submatch(0, 1), sub


match(9, 1), submatch(8, 1), submatch(7, 1), submatch(6, 1), submatch(5, 1), sub


match(4, 1), submatch(3, 1), submatch(2, 1), submatch(1, 1)])/
[?25li

j[['B123456789'], ['9'], ['8'], ['7'], ['6'], ['5'], ['4'], ['3'], ['2'], ['1']][?25h[?25l

/[?2004h^STARTTEST
STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 80 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST/^TEST/

:set cpo+=/

j:s/A/a/

j:s/B/%/

:set cpo-=/

j:s/C/c/

j:s/D/%/

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l/[?2004h[?25h^TEST/
[?25lTEST_6:

A

B[?25h[?25l





:[?2004h[?25hset cpo+=/
[?25l[?25h

[?25l:[?2004h[?25hs/A/a/
[?25la[?25h

[?25l:[?2004h[?25hs/B/%/
[?25la[?25h[?25l:[?2004h[?25hset cpo-=/
[?25l[?25h[?25lC

D[?25h[?25l





:[?2004h[?25hs/C/c/
[?25lc[?25h

[?25l:[?2004h[?25hs/D/%/
[?25l%[?25h[?25l/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:set magic&
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 11 lines, 303 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST:set cpo&

/^TEST_7/

j:s/A./\=submatch(0)/

j:s/B./\=submatch(0)/

j:s/C./\=strtrans(string(submatch(0, 1)))/

j:s/D.\nD/\=strtrans(string(submatch(0, 1)))/

j:s/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/

/^Q$

:s/Q[^\n]Q/\=submatch(0)."foobar"/

:" Avoid :s error breaks dotest map on Windows.

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset magic&
[?25l[?25h[?25l:[?2004h[?25hset cpo&
[?25l[?25h[?25l/[?2004h[?25h^TEST_7/
[?25l

TEST_7:[?25h[?25l

A^MA
[?25h[?25l

:[?2004h[?25hs/A./\=submatch(0)/
[?25l

A[?25h[?25l

B^@B
[?25h[?25l

:[?2004h[?25hs/B./\=submatch(0)/
[?25l

B[?25h[?25l

C^@C
[?25h[?25l

:[?2004h[?25hs/C./\=strtrans(string(submatch(0, 1)))/
[?25l['C^@']C
[?25h[?25l

D^@[?25h[?25l

:[?2004h[?25hs/D.\nD/\=strtrans(string(submatch(0, 1)))/
[?25l['D^@', 'D']
[?25h[?25l

E^@[?25h[?25l

:[?2004h[?25hs/E\_.\{-}E/\=strtrans(string(submatch(0, 1)))/
[?25l['E^@', '^@', '^@', '^@', '^@E']
[?25h[?25l/[?2004h[?25h^Q$
[?25l

Q[?25h[?25l

:[?2004h[?25hs/Q[^\n]Q/\=submatch(0)."foobar"/
[?25lE486: Pattern not found: Q[^\n]Q[?25h[?25l:[?2004h[?25h" Avoid :s error breaks dotest map on Windows.
[?25l[?25h[?25l/[?2004h^STARTTEST
Q



STARTTEST[?25h[?25l

:function! TitleString()
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 177 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTlet check = 'foo' =~ 'bar'

  return ""

endfunction

:set titlestring=%{TitleString()}

:/^test_one/s/.*/\="foo\nbar"/

:/^test_two/s/.*/\="foo\nbar"/c

y

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hfunction! TitleString()
[?25l

:[?2004h  [?25h  let check = 'foo' =~ 'bar'


[?25l:[?2004h  [?25h  return ""


[?25l:[?2004h  [?25hendfunction
[?25lTEST_7:

A[?25h[?25l

:[?2004h[?25hset titlestring=%{TitleString()}
[?25l[?25h[?25l:[?2004h[?25h/^test_one/s/.*/\="foo\nbar"/
[?25lfoo

bar[?25h[?25l

:[?2004h[?25h/^test_two/s/.*/\="foo\nbar"/c
[?25l

test_tworeplace with \="foo\nbar" (y/n/a/q/l/^E/^Y)?[?25h[?25l

foobar
[?25h[?25l

[?25h[?25l

/[?2004h^STARTTEST


STARTTEST[?25h[?25l

:g/^STARTTEST/.,/^ENDTEST/d
[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 3 lines, 72 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTEST[?25h[?25l

:1;/^Results/,$wq! test.out[?25h
[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l136 fewer linesaa

c

%TEST_7:AABB['C^@']C['D^@', 'D']

['E^@', '^@', '^@', '^@', '^@E']

Q

Qfoo

bar

foobar[?25h[?25l:[?2004h[?25h1;/^Results/,$wq! test.out
[?25l[?2004l"test.out" [New File] 134 lines, 574 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test79 = test61; then \
#	  if diff test.out test79.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test79.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test79.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test88.failed test.ok test.out X* viminfo
cp test88.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test88.in" 99 lines, 1449 charactersvim: set ft=vim



Tests for correct display (cursor column position) with +conceal and

tabulators.



STARTTEST

:so small.vim

:if !has('conceal')

   e! test.ok

   wq! test.out

:endif

:" Conceal settings.

:set conceallevel=2

:set concealcursor=nc

:syntax match test /|/ conceal

:" Save current cursor position. Only works in <expr> mode, can't be used

:" with :normal because it moves the cursor to the command line. Thanks to ZyX

:" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.

:let positions = []

:nnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"

:" Start test.

/^start:

:normal ztj[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lvim: set ft=vim[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 82 lines, 1216 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:normal W

GGk

:normal W

GGk

:normal W

GGk

:normal $

GGk

:" Display result.

:call append('$', 'end:')

:call append('$', positions)

:/^end/,$wq! test.out

ENDTEST



start:

.concealed.     text

|concealed|     text.concealed.     text|concealed|     text



.a.     .b.     .c.     .d.

|a|     |b|     |c|     |d|[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif !has('conceal')
[?25l

:[?2004h  [?25h   e! test.ok


[?25l:[?2004h  [?25h   wq! test.out


[?25l:[?2004h  [?25h:endif
[?25l:normal W

GGk

:normal W[?25h[?25l:[?2004h[?25h" Conceal settings.
[?25l[?25h[?25l:[?2004h[?25hset conceallevel=2
[?25l[?25h[?25l:[?2004h[?25hset concealcursor=nc
[?25l[?25h[?25l:[?2004h[?25hsyntax match test /|/ conceal
[?25lconcealed  concealed  





a       b       c       d[?25h[?25l:[?2004h[?25h" Save current cursor position. Only works in <expr> mode, can't be used
[?25l[?25h[?25l:[?2004h[?25h" with :normal because it moves the cursor to the command line. Thanks to ZyX
[?25l[?25h[?25l:[?2004h[?25h" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.
[?25l[?25h[?25l:[?2004h[?25hlet positions = []
[?25l[?25h[?25l:[?2004h[?25hnnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"
[?25l[?25h[?25l:[?2004h[?25h" Start test.
[?25l[?25h[?25l/[?2004h[?25h^start:
[?25l[?25h[?25l:[?2004h[?25hnormal ztj
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004hlet positions += ['2:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" We should end up in the same column when running these commands on the two
[?25l[?25h[?25l:[?2004h[?25h" lines.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['2:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['2:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['3:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['3:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['3:20']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['5:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Same for next test block.
[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['5:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['5:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['6:8']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal ft
[?25l[?25h[?25l:[?2004hlet positions += ['6:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['6:28']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j0j
[?25l[?25h[?25l:[?2004hlet positions += ['8:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" And check W with multiple tabs and conceals in a line.
[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['8:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['8:27']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal 0j
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset lbr
[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset list listchars=tab:>-
[?25l>------



>------->----

>------->------>----.b.>----.c.>----

a>------b>------c>------[?25h[?25l:[?2004h[?25hnormal 0
[?25l[?25h[?25l:[?2004hlet positions += ['9:1']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:9']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:17']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal W
[?25l[?25h[?25l:[?2004hlet positions += ['9:25']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hnormal $
[?25l[?25h[?25l:[?2004hlet positions += ['9:26']
[?25h[?25l[?25h[?25l[?25h[?25l:[?2004h[?25h" Display result.
[?25l[?25h[?25l:[?2004h[?25hcall append('$', 'end:')
[?25lend:[?25h[?25l:[?2004h[?25hcall append('$', positions)
[?25l2:12:172:203:13:173:205:85:255:286:86:256:288:1[?25h[?25l:[?2004h[?25h/^end/,$wq! test.out
[?25l[?2004l"test.out" [New File] 29 lines, 135 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test88 = test61; then \
#	  if diff test.out test88.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test88.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test88.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test94.failed test.ok test.out X* viminfo
cp test94.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test94.in" 257 lines, 4841 charactersTest for Visual mode and operators



Tests for the two kinds of operations: Those executed with Visual mode

followed by an operator and those executed via Operator-pending mode. Also

part of the test are mappings, counts, and repetition with the . command.



Test cases:

- Visual modes (v V CTRL-V) followed by an operator; count; repeating

- Visual mode maps; count; repeating

  - Simple

  - With an Ex command (custom text object)

- Operator-pending mode maps

  - Simple

  - With Ex command moving the cursor

  - With Ex command and Visual selection (custom text object)

- Patch 7.3.879: Properly abort Ex command in Operator-pending mode



STARTTEST

:so small.vim

:set belloff=all

:set enc=utf-8 nocp viminfo+=nviminfo

:

:" User functions[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Visual mode and operators[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 212 lines, 3854 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hset enc=utf-8 nocp viminfo+=nviminfo
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '

:set selection=exclusive

0v3l^[gvcxxx^[

:$put ='---'

:/^start:/+2,$w! test.out

:q!

ENDTEST



start:



apple banana cherry



line 1 line 1

line 2 line 2

line 3 line 3

line 4 line 4

line 5 line 5

line 6 line 6[?25h[?25l:[?2004h[>c[?25h[?25l:[?2004h[?25h" User functions
[?25l[?25h[?25l:[?2004h[?25hfunction MoveToCap()
[?25l

:[?2004h  [?25h:  call search('\u', 'W')


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'[?25h[?25l:[?2004h[?25hfunction SelectInCaps()
[?25l

:[?2004h  [?25h:  let [line1, col1] = searchpos('\u', 'bcnW')


[?25l:[?2004h  [?25h:  let [line2, col2] = searchpos('.\u', 'nW')


[?25l:[?2004h  [?25h:  call setpos("'<", [0, line1, col1, 0])


[?25l:[?2004h  [?25h:  call setpos("'>", [0, line2, col2, 0])


[?25l:[?2004h  [?25h:  normal! gv


[?25l:[?2004h  [?25h:endfunction
[?25lkv3lyjv3lpgvcxxx^[

:$put ='---'

:

:$put =''

:$put ='gv in exclusive select mode without operation'

:$put ='zzz '[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual modes followed by operator
[?25l[?25h[?25l/[?2004h[?25h^apple
[?25l[?25ha[?25l-- VISUAL --[?25h[?25lp[?25h[?25lle banana cherry[?25h[?25l banana cherry[?25h [?25lbanan-- VISUAL --[?25h[?25l
a  cherry[?25h[?25ly[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^line 1
[?25l[?25h[?25lline 1 line 1 -- VISUAL LINE --[?25h[?25lINSERT --Nnewline[?25h[?25l-- INSERT --newline[?25h[?25l
line 3 line 3 

line 4 line 4 





-- VISUAL LINE --[?25h[?25lline 5 line 5line 6 line 6xxxxxxxxxxxxx[?25h[?25lxxxxxxxxxxxxx

xxxxxxxxxxxxx[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^xxxx
[?25l[?25h[?25l





-- VISUAL BLOCK --[?25h[?25lx

[?25h[?25lx

x[?25h[?25lINSERT --O  

  [?25h [?25l





-- INSERT --  

    [?25h [?25l

xxxx

    xxxx

xxxxxxxx

xxxxxxxxxxxxx

-- VISUAL BLOCK --[?25h[?25l

-- INSERT --O----

    ----

xxxx----

xxxx----[?25h-[?25l-- INSERT ------------------[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Visual mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25hvnoremap W /\u/s-1<CR>
[?25l[?25h[?25l:[?2004h[?25hvnoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Kiwi
[?25lKiwiRaspberryDateWatermelonPeach[?25h[?25l

-- VISUAL --[?25h[?25l/[?2004h\u/s-1
Kiw[?25h[?25l

-- INSERT --NoRaspberryDateWatermelonPeach[?25ho[?25l

-- INSERT --NoberryDateWatermelonPeach[?25hoberry[?25lDateWat

-- VISUAL --[?25h[?25lrmelonPeach[?25h[?25lach[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Jambu
[?25l

JambuRambutanBananaTangerineMango[?25hJa[?25l

-- VISUAL --[?25h[?25l:[?2004h'<,'>call SelectInCaps()
Jamb[?25h[?25l

-- INSERT ---RambutanBananaTangerineMango[?25h-[?25l

-- INSERT ---tanBananaTangerineMango[?25h-[?25ltanBanana

-- VISUAL --[?25h[?25l
--angerineMango[?25ha[?25lgo[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Operator-pending mode maps (movement and text object)
[?25l[?25h[?25l:[?2004h[?25honoremap W /\u/<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap <Leader>W :<C-U>call MoveToCap()<CR>
[?25l[?25h[?25l:[?2004h[?25honoremap iW :<C-U>call SelectInCaps()<CR>
[?25l[?25h[?25l/[?2004h[?25h^Pineapple
[?25lPineappleQuinceLoganberryOrangeGrapefruitKiwiZ[?25h[?25l

/[?2004h\u/
-QuinceLoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---LoganberryOrangeGrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---GrapefruitKiwiZ[?25h-[?25l

/[?2004h\u/
-- INSERT ---Z[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Juniper
[?25l

JuniperDurianZ[?25h[?25l

:[?2004hcall MoveToCap()
Whavcre
[?25h[?25l:[?2004hcall MoveToCap()
Qhevna[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^Lemon
[?25l

LemonNectarineZ[?25h[?25l

:[?2004hcall SelectInCaps()
[?25h[?25lLemonLemonNectarineZ
Lemo[?25hn[?25l:[?2004hcall SelectInCaps()
NewNectarineZ[?25hwNecta[?25l

:[?2004hcall SelectInCaps()
wZ[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Patch 7.3.879: Properly abort Operator-pending mode for "dv:<Esc>" etc.
[?25l[?25h[?25l/[?2004h[?25h^zzzz
[?25lzzzz[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25lE21: Cannot make changes, 'modifiable' is off[?25h[?25l:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'ok' : 'failed'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset noma | let v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l

:[?2004h[?25hset ma | put = v:errmsg =~# '^E21' ? 'failed' : 'ok'
[?25l

ok[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: replace last line'
[?25l

characterwise visual mode: replace last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25hlet @" = 'x'
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l

-- VISUAL --[?25h[?25la[?25h[?25lx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h$put ='v:errmsg='.v:errmsg
[?25l

v:errmsg=[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle line'
[?25l

characterwise visual mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete middle two line'
[?25l

characterwise visual mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- VISUAL --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise visual mode: delete last line'
[?25l

characterwise visual mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise visual mode: delete last two line'
[?25l

characterwise visual mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- VISUAL --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" Select mode maps
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>End> <End>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Down> <Down>
[?25l[?25h[?25l:[?2004h[?25hsnoremap <lt>Del> <Del>
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle line'
[?25l

characterwise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la[?25h[?25lb

c

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete middle two line'
[?25l

characterwise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l





-- SELECT --[?25h[?25la 

[?25h[?25lb[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='characterwise select mode: delete last line'
[?25l

characterwise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l

-- SELECT --[?25h[?25lc[?25h[?25l[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='characterwise select mode: delete last two line'
[?25l

characterwise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25l



-- SELECT --[?25h[?25lb 

[?25h[?25lc[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle line'
[?25l

linewise select mode: delete middle line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25lbc

~                                                                               [?25h

[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete middle two line'
[?25l

linewise select mode: delete middle two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25la 





-- SELECT LINE --[?25h[?25la

b 
[?25h[?25lc~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='linewise select mode: delete last line'
[?25l

linewise select mode: delete last line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lc 

-- SELECT LINE --[?25h[?25l~                                                                               [?25h[?25l



:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='linewise select mode: delete last two line'
[?25l

linewise select mode: delete last two line[?25h[?25l

:[?2004h[?25h$put ='a'
[?25l

a[?25h[?25l

:[?2004h[?25h$put ='b'
[?25l

b[?25h[?25l

:[?2004h[?25h$put ='c'
[?25l

c[?25h[?25lb 



-- SELECT LINE --[?25h[?25lb

c 
[?25h[?25l~                                                                               ~                                                                               [?25h[?25l





:[?2004h[?25h$put ='---'
[?25l---[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l[?25h[?25l:[?2004h[?25h$put ='v_p: replace last character with line register at middle line'
[?25l

v_p: replace last character with line register at middle line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25laaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25lccc

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at middle line selecting


newline'
[?25llinewise select mode: delete middle two line

c---linewise select mode: delete last line

ab

---linewise select mode: delete last two line

a---v_p: replace last character with line register at middle line

aaabbaaaccc

---v_p: replace last character with line register at middle line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hbb[?25l



-- VISUAL --[?25h[?25lb[?25h[?25laaa[?25h[?25l

ccc
[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line'
[?25l

v_p: replace last character with line register at last line[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='v_p: replace last character with line register at last line selecting n


ewline'
[?25laaa

bbaaaccc

---v_p: replace last character with line register at middle line selecting newline

aaabbaaa

ccc

---v_p: replace last character with line register at last line

aaabbb

ccaaa---v_p: replace last character with line register at last line selecting newline[?25h[?25l

:[?2004h[?25h$put ='aaa'
[?25l

aaa[?25h[?25l

:[?2004h[?25h$put ='bbb'
[?25l

bbb[?25h[?25l

:[?2004h[?25h$put ='ccc'
[?25l

ccc[?25h[?25l

:[?2004h[?25h-2yank
[?25l[?25hcc[?25l

-- VISUAL --[?25h[?25lc[?25h[?25l

aaa[?25h[?25l

[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode after operation'
[?25l

gv in exclusive select mode after operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25h$put ='äà '
[?25l

äÃ[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l



-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h

[?25l

-- VISUAL --[?25h[?25läÃ[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h$put =''
[?25l

[?25h[?25l

:[?2004h[?25h$put ='gv in exclusive select mode without operation'
[?25l

gv in exclusive select mode without operation[?25h[?25l

:[?2004h[?25h$put ='zzz '
[?25l

zzz[?25h[?25l

:[?2004h[?25hset selection=exclusive
[?25l[?25h[?25l

-- VISUAL --[?25h[?25lzzz[?25h[?25l
zzz[?25h[?25l

-- VISUAL --zzz[?25h[?25lINSERT xxx[?25h[?25l

:[?2004h[?25h$put ='---'
[?25l

---[?25h[?25l

:[?2004h[?25h/^start:/+2,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 123L, 1328C written[?25h[?25l:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test94 = test61; then \
#	  if diff test.out test94.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test94.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test94.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test95.failed test.ok test.out X* viminfo
cp test95.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test95.in" 141 lines, 5827 charactersTest for regexp patterns with multi-byte support, using utf-8.

See test64 for the non-multi-byte tests.



A pattern that gives the expected result produces OK, so that we know it was

actually tried.



STARTTEST

:so small.vim

:so mbyte.vim

:set nocp encoding=utf-8 viminfo+=nviminfo nomore

:" tl is a List of Lists with:

:"    2: test auto/old/new  0: test auto/old  1: test auto/new

:"    regexp pattern

:"    text to test the pattern on

:"    expected match (optional)

:"    expected submatch 1 (optional)

:"    expected submatch 2 (optional)

:"    etc.

:"  When there is no match use only the first two items.

:let tl = []

:

:"""" Multi-byte character tests. These will fail unless vim is compiled

:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 regexp patterns with multi-byte support, using utf-8.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 131 lines, 5590 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h

[?25l





:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp encoding=utf-8 viminfo+=nviminfo nomore
[?25l:endif

:      endfor

:      unlet i

:    endif

:  endfor

:endfor

:unlet t tl e l

:

:" check that 'ambiwidth' does not change the meaning of \p

:set regexpengine=1 ambiwidth=single

:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=1 ambiwidth=double

:$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=single

:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')

:set regexpengine=2 ambiwidth=double

:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')

:

:/\%#=1^Results/,$wq! test.out

ENDTEST



Results of test95:

~                                                                               [?25h[?25l





:[?2004h[>c" tl is a List of Lists with:
[?25h[?25l:[?2004h[?25h"    2: test auto/old/new  0: test auto/old  1: test auto/new
[?25l[?25h[?25l:[?2004h[?25h"    regexp pattern
[?25l[?25h[?25l:[?2004h[?25h"    text to test the pattern on
[?25l[?25h[?25l:[?2004h[?25h"    expected match (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 1 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    expected submatch 2 (optional)
[?25l[?25h[?25l:[?2004h[?25h"    etc.
[?25l[?25h[?25l:[?2004h[?25h"  When there is no match use only the first two items.
[?25l[?25h[?25l:[?2004h[?25hlet tl = []
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Multi-byte character tests. These will fail unless vim is compiled
[?25l[?25h[?25l:[?2004h[?25h"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[[=a=]]\+', 'ddaãâbcd', 'aãâ'])^I^I^I^I^I^I^I^I" equivalence


classes
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oij


asoifjos'])
[?25l:endif[?25h[?25l





:[?2004h[?25hcall add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna']


)[?25l:endif[?25h[?25l





:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" this is not a normal "i" but 0xec
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p\+', 'ìa', 'ìa'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\p*', 'aあ', 'aあ'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test recognition of some character classes
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '\f\+', '&*<9f>fname ', 'fname'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test composing character matching
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.ม', 'xมม่x yมy', 'yม'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '.มม่', 'xมม่x yมy', 'xมม่'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ca", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "a\u0300", "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Test \Z
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ú\Z', 'x'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'יהוה', 'יהוה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'יהוה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְהווָה\Z', 'ייְהווָה', 'ייְהווָה'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, 'ייְ\Z', 'ווְייַ', 'ייַ'])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "ק\u200dx\\Z", "xק\u200dxy", "ק\u200dx"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xyz"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\u05b9\\Z", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Combining different tests and features
[?25l[?25h[?25l:[?2004h[?25hcall add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"""" Run the tests
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfor t in tl
[?25l

:[?2004h  [?25h:  let re = t[0]


[?25l:[?2004h  [?25h:  let pat = t[1]


[?25l:[?2004h  [?25h:  let text = t[2]


[?25l:[?2004h  [?25h:  let matchidx = 3


[?25l:[?2004h  [?25h:  for engine in [0, 1, 2]


[?25l:[?2004h    [?25h:    if engine == 2 && re == 0 || engine == 1 && re == 1


[?25l:[?2004h      [?25h:      continue


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    let &regexpengine = engine


[?25l:[?2004h    [?25h:    try


[?25l:[?2004h      [?25h:      let l = matchlist(text, pat)


[?25l:[?2004h      [?25h:    catch


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", caused an exception: \"' . v:exception . '\"'


[?25l:[?2004h      [?25h:    endtry


[?25l:[?2004h    [?25h:" check the match itself


[?25l:[?2004h    [?25h:    if len(l) == 0 && len(t) > matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", did not match, expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    elseif len(l) > 0 && len(t) == matchidx


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te


xt . '\", match: \"' . l[0] . '\", expected no match'


[?25l:[?2004h      [?25h:    elseif len(t) > matchidx && l[0] != t[matchidx]


[?25l:[?2004h      [?25h:      $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . te
t . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'


[?25l:[?2004h      [?25h:    else


[?25l:[?2004h      [?25h:      $put ='OK ' . engine . ' - ' . pat


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:    if len(l) > 0


[?25l:[?2004h      [?25h:"   check all the nine submatches


[?25l:[?2004h      [?25h:      for i in range(1, 9)


[?25l:[?2004h[?25h:        if len(t) <= matchidx + i


[?25l:[?2004h[?25h:          let e = ''


[?25l:[?2004h[?25h:        else


[?25l:[?2004h[?25h:          let e = t[matchidx + i]


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:        if l[i] != e


[?25l:[?2004h[?25h:          $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: 
"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'


[?25l:[?2004h[?25h:        endif


[?25l:[?2004h[?25h:      endfor


[?25l:[?2004h      [?25h:      unlet i


[?25l:[?2004h      [?25h:    endif


[?25l:[?2004h    [?25h:  endfor


[?25l:[?2004h  [?25h:endfor
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25hunlet t tl e l
[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" check that 'ambiwidth' does not change the meaning of \p
[?25l[?25h[?25l:[?2004h[?25hset regexpengine=1 ambiwidth=single
[?25lOK 2 - ק<200d>x\Z

OK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=1 ambiwidth=double
[?25lOK 0 - ק<200d>x\Z

OK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 1 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 1 ambi double: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=single
[?25lOK 1 - ק<200d>x\Z

OK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi single: 0[?25h[?25l

:[?2004h[?25hset regexpengine=2 ambiwidth=double
[?25lOK 2 - ק<200d>x\Z

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\Z

OK 1 - ֹ\Z

OK 2 - ֹ\Z

OK 0 - \Zֹ

OK 1 - \Zֹ

OK 2 - \Zֹ

OK 0 - ֹ\+\Z

OK 2 - ֹ\+\Z

OK 0 - \Zֹ\+

OK 2 - \Zֹ\+

OK 0 - [^[=a=]]\+

OK 1 - [^[=a=]]\+

OK 2 - [^[=a=]]\+

eng 1 ambi single: 0

eng 1 ambi double: 0

eng 2 ambi single: 0
[?25h[?25l

:[?2004h[?25h$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
[?25l

eng 2 ambi double: 0[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/\%#=1^Results/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New] 140L, 2022C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test95 = test61; then \
#	  if diff test.out test95.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test95.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test95.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test99.failed test.ok test.out X* viminfo
cp test99.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test99.in" 69 lines, 1400 charactersTests for regexp with multi-byte encoding and various magic settings.

Test matchstr() with a count and multi-byte chars.

See test44 for exactly the same test with re=1.



STARTTEST

:so mbyte.vim

:set nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo

:set re=2

/^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

[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 43 lines, 931 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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



[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible encoding=utf-8 termencoding=latin1 viminfo+=nviminfo
[?25l:" l Test what 7.3.192 fixed

/^l

:s/ \?/ /g

:?^1?,$w! test.out

:e! test.out





: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


[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l/[?2004h[?25ha*b\{2}c\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\Md\*e\{2}f\+/e
[?25l[?25h[?25l[?25h[?25l:[?2004h[?25hset nomagic
[?25l[?25h[?25l/[?2004h[?25hg\*h\{2}i\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\mj*k\{2}l\+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\vm*n{2}o+/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V^aa$
[?25l[?25h[?25laa$ x[?25h[?25l:[?2004h[?25hset magic
[?25l[?25h[?25l/[?2004h[?25h\v(a)(b)\2\1\1/e
[?25l[?25h[?25l[?25h[?25l/[?2004h[?25h\V[ab]\(\[xy]\)\1
[?25l[?25h[?25lab]x[?25h[?25l:[?2004h[?25h" Now search for multi-byte without composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" Now search for multi-byte with composing char
[?25l[?25h[?25lx[?25h[?25l:[?2004h[?25h" find word by change of word class
[?25l


:[?2004h[?25h" Test \%u, [\u] and friends
[?25l[?25h[?25l/[?2004h[?25h\%u20ac
[?25l


/[?2004h[?25h[\u4f7f\u5929]\+
[?25l


/[?2004h[?25h\%U12345678
[?25l


/[?2004h[?25h[\U1234abcd\u1234\uabcd]
[?25l


/[?2004h[?25h\%d21879b
[?25l


:[?2004h[?25h" Test backwards search from a multi-byte char
[?25l[?25h[?25l/[?2004h[?25hx
[?25l


?[?2004h[?25h.
[?25l[?25h[?25l:[?2004h[?25h@w
[?25l[?2004h


:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" l Test what 7.3.192 fixed
[?25l[?25h[?25l/[?2004h[?25h^l
[?25l


:[?2004h[?25hs/ \?/ /g
[?25l"test.out" [New] 19L, 250C written[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 19L, 250C1 a aa abb abbcc

2 d dd dee deeff

3 g gg ghh ghhii

4 j jj jkk jkkll

5 m mm mnn mnnoo

[?25l"test.out" 23L, 264C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test99 = test61; then \
#	  if diff test.out test99.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test99.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test99.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test108.failed test.ok test.out X* viminfo
cp test108.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test108.in" 88 lines, 1329 charactersTests for backtrace debug commands.     vim: set ft=vim :



STARTTEST

:so small.vim

:lang mess C

:function! Foo()

:   let var1 = 1

:   let var2 = Bar(var1) + 9

:   return var2

:endfunction

:

:function! Bar(var)

:    let var1 = 2 + a:var

:    let var2 = Bazz(var1) + 4

:    return var2

:endfunction

:

:function! Bazz(var)

:    let var1 = 3 + a:var

:    let var3 = "another var"

:    return var1

:endfunction

:new[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 backtrace debug commands.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 83 lines, 1251 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTup

b

echo "fil is not frame or finish, it is file"

fil

echo "\n- relative backtrace movement\n"

fr -1

frame

fra +1

fram

echo "\n- go beyond limits does not crash\n"

fr 100

fra

frame -40

fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hlang mess C
[?25l[?25h[?25l:[?2004h[?25hfunction! Foo()
[?25l

:[?2004h  [?25h:   let var1 = 1


[?25l:[?2004h  [?25h:   let var2 = Bar(var1) + 9


[?25l:[?2004h  [?25h:   return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bar(var)
[?25l

:[?2004h  [?25h:    let var1 = 2 + a:var


[?25l:[?2004h  [?25h:    let var2 = Bazz(var1) + 4


[?25l:[?2004h  [?25h:    return var2


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hfunction! Bazz(var)
[?25l

:[?2004h  [?25h:    let var1 = 3 + a:var


[?25l:[?2004h  [?25h:    let var3 = "another var"


[?25l:[?2004h  [?25h:    return var1


[?25l:[?2004h  [?25h:endfunction
[?25lup

b

echo "fil is not frame or finish, it is file"

fil[?25h[?25l

:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       echo "\n- final result 19:"

cont:0debuggreedy

:redir END$put =out

:w! test.out

:qa!ENDTESTtest108.in                                                                      [?25h[?25l:[?2004h[?25hdebuggreedy
[?25l[?25h[?25l:[?2004h[?25hredir => out
[?25l[?25h[?25l:[?2004h[?25hdebug echo Foo()
[?25l[?2004hEntering Debug mode.  Type "cont" to continue.


cmd: echo Foo()


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 1: let var1 = 1


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo


line 2: let var2 = Bar(var1) + 9


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 1: let var1 = 2 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 2: let var2 = Bazz(var1) + 4


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 1: let var1 = 3 + a:var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "- show backtrace:\n"


[?25l- show backtrace:


>[?2004h[?25hbacktrace


[?25l  2 function Foo[2]


  1 Bar[2]


->0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho "\nshow variables on different levels:\n"


[?25l

show variables on different levels:


>[?2004h[?25hecho var1


[?25l6

>[?2004h[?25hup


[?25l>[?2004h[?25hback


[?25l  2 function Foo[2]


->1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l3

>[?2004h[?25hu


[?25l>[?2004h[?25hbt


[?25l->2 function Foo[2]


  1 Bar[2]


  0 Bazz


line 2: let var3 = "another var"


>[?2004h[?25hecho var1


[?25l1

>[?2004h[?25hecho "\n- undefined vars:\n"


[?25l

- undefined vars:


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: return var1


>[?2004h[?25hframe 2


[?25l>[?2004h[?25hecho "undefined var3 on former level:"


[?25lundefined var3 on former level:


>[?2004h[?25hecho var3


[?25lError detected while processing function Foo[2]..Bar[2]..Bazz:


line    3:


E121: Undefined variable: var3


E15: Invalid expression: var3


>[?2004h[?25hfr 0


[?25l>[?2004h[?25hecho "here var3 is defined with \"another var\":"


[?25lhere var3 is defined with "another var":


>[?2004h[?25hecho var3


[?25lanother var


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar[2]..Bazz


line 3: End of function


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: return var2


>[?2004h[?25hstep
[?2004h

[?25lfunction Foo[2]..Bar


line 3: End of function


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nundefined var2 on former level"


[?25l

undefined var2 on former level


>[?2004h[?25hecho var2


[?25lError detected while processing function Foo[2]..Bar:


line    3:


E121: Undefined variable: var2


E15: Invalid expression: var2


>[?2004h[?25hdown


[?25l>[?2004h[?25hecho "here var2 is defined with 10:"


[?25lhere var2 is defined with 10:


>[?2004h[?25hecho var2


[?25l10


>[?2004h[?25hecho "\n- backtrace movements:\n"


[?25l

- backtrace movements:


>[?2004h[?25hb


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\nnext command cannot go down, we are on bottom\n"


[?25l

next command cannot go down, we are on bottom


>[?2004h[?25hdown


[?25lframe is zero


>[?2004h[?25hup


[?25l>[?2004h[?25hecho "\nnext command cannot go up, we are on top\n"


[?25l

next command cannot go up, we are on top


>[?2004h[?25hup


[?25lframe at highest level: 1


>[?2004h[?25hb


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "fil is not frame or finish, it is file"


[?25lfil is not frame or finish, it is file


>[?2004h[?25hfil


[?25l"[No Name]" --No lines in buffer--


>[?2004h[?25hecho "\n- relative backtrace movement\n"


[?25l

- relative backtrace movement


>[?2004h[?25hfr -1


[?25l>[?2004h[?25hframe


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hfra +1


[?25l>[?2004h[?25hfram


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- go beyond limits does not crash\n"


[?25l

- go beyond limits does not crash


>[?2004h[?25hfr 100


[?25lframe at highest level: 1


>[?2004h[?25hfra


[?25l->1 function Foo[2]


  0 Bar


line 3: End of function


>[?2004h[?25hframe -40


[?25lframe is zero


>[?2004h[?25hfram


[?25l  1 function Foo[2]


->0 Bar


line 3: End of function


>[?2004h[?25hecho "\n- final result 19:"


[?25l

- final result 19:


>[?2004h[?25hcont


[?25l19


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h0debuggreedy
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       fram

echo "\n- final result 19:"

cont

:0debuggreedy

:redir END

:$put =out

:w! test.out

:qa!

ENDTEST



test108.in                                                                      [?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25h$put =out
[?25l83 more lines->1 function Foo[2]

  0 Barline 3: End of functionframe is zero  1 function Foo[2]->0 Barline 3: End of function- final result 19:19[+][?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 84 lines, 1390 characters writtentest.out]      [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test108 = test61; then \
#	  if diff test.out test108.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test108.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test108.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_autoformat_join.failed test.ok test.out X* viminfo
cp test_autoformat_join.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autoformat_join.in" 23 lines, 524 charactersTests for setting the '[,'] marks when joining lines.



STARTTEST

:so small.vim

:/^\t\t/

0gqj:

:let a=string(getpos("'[")).'/'.string(getpos("']"))

:/^This line/;'}-join

:let b=string(getpos("'[")).'/'.string(getpos("']"))

:$put ='First test: Start/End '.string(a)

:$put ='Second test: Start/End '.string(b)

:/^\t\t/,$wq! test.out

ENDTESTO sodales, ludite, vos qui

attamen consulite per voster honur. Tua pulchra facies me fay planszer milies



This line.

Should be joined with the next line

and with this line



Results:[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 setting the '[,'] marks when joining lines.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 9 lines, 265 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/^\t\t/
[?25l[?25h[?25lattamen consulite per voster honur.

Tua pulchra facies me fay planszer milies[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hlet a=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h/^This line/;'}-join
[?25lThis line.  Should be joined with the next line and with this line





~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet b=string(getpos("'[")).'/'.string(getpos("']"))
[?25l[?25h[?25l:[?2004h[?25h$put ='First test: Start/End '.string(a)
[?25lFirst test: Start/End '[0, 16, 1, 0]/[0, 17, 1, 0]'[?25h[?25l:[?2004h[?25h$put ='Second test: Start/End '.string(b)
[?25lSecond test: Start/End '[0, 19, 11, 0]/[0, 19, 67, 0]'[?25h[?25l:[?2004h[?25h/^\t\t/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 8 lines, 292 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_autoformat_join = test61; then \
#	  if diff test.out test_autoformat_join.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_autoformat_join.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_autoformat_join.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_changelist.failed test.ok test.out X* viminfo
cp test_changelist.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_changelist.in" 22 lines, 288 charactersTest changelist position after splitting window

Set 'undolevels' to make changelist for sourced file



STARTTEST

:so small.vim

Gkylp:set ul=100

Gylp:set ul=100

gg

:vsplit

:try

:  normal g;

:  normal ggVGcpass^[

:catch

:  normal ggVGcfail^[

:finally

:  %w! test.out

:endtry

:qa!

ENDTEST



1

2

~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest changelist position after splitting window[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 14 lines, 163 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h



[?25l11[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l22[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h

[?25l:[?2004h[?25hvsplit
[?25l|

 window                                 |

Set 'undolevels' to make changelist for |

sourced file|

             |

STARTTEST       |

:so small.vim  |

Gkylp:set ul=100|

Gylp:set ul=100|

gg  |

:vsplit     |

:try                  |

:  normal g;|pass|

:catch  |

:  normal ggVGcfail^[|

:finally|

:  %w! test.out|

:endtry|

:qa!|

ENDTEST|

  |

test_changelist.in [+]                   Test changelist position after splitting windowSet 'undolevels' to make changelist forsourced fileSTARTTEST:so small.vimGkylp:set ul=100Gylp:set ul=100gg:vsplit:try:  normal g;:  normal ggVGcpass^[:catch:  normal ggVGcfail^[:finally:  %w! test.out:endtry:qa!ENDTESTtest_changelist.in [+]                 [?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:  normal g;


[?25l:[?2004h  [?25h:  normal ggVGcpass
[?25l21 fewer lines[?2004l[?2004h

:[?2004h  


:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:  normal ggVGcfail


[?25l:[?2004h  


:[?2004h  [?25h:finally


[?25l:[?2004h  [?25h:  %w! test.out


[?25l"test.out" [New File] 1 line, 5 characters written


:[?2004h  [?25h:endtry
[?25lpass||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                           pass~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                         [?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_changelist = test61; then \
#	  if diff test.out test_changelist.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_changelist.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_changelist.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_close_count.failed test.ok test.out X* viminfo
cp test_close_count.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_close_count.in" 154 lines, 2682 charactersTests for :[count]close! and :[count]hide     vim: set ft=vim :



STARTTEST

:so small.vim

:set belloff=all

:let tests = []

:for i in range(5)

:new

:endfor

:4wincmd w

:close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:$close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[count]close! and :[count]hide     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 42 lines, 766 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call add(tests, buffers)

:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:for i in range(5)

:new

:endfor

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:4wincmd w

:.hide[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hclose!
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+1close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File]test.out]  [?25h[?25l:[?2004h[?25hcall append(0, map(copy(tests), 'join(v:val, " ")'))
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5[+][?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 7 lines, 39 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 5~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l"test_close_count.in" 154 lines, 2682 characters:2wincmd w

:+1close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(0, map(copy(tests), 'join(v:val, " ")'))

:w:only!:b1ENDTESTSTARTTEST:let tests = []:for i in range(5):new:endfor:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers):4wincmd w:.hide:let buffers = [][?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 44 lines, 815 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:2wincmd w

:+hide

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:1wincmd w

:$ hide

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                       test_close_count.in                                                              [?25h[?25l:[?2004h[?25h.hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :b1

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :only!

:b1

ENDTEST



STARTTEST

test_close_count.in                                                             [?25h[?25l





:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h2hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25h3wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25h-hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h2wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h+hide
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 7 lines, 39 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l13 12 11 10 9 113 12 11 9 112 11 9 112 11 9[+][?25h[?25l12 9

15 12 9

15 12[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 15 lines, 106 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 9

15 12~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:+hide:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5):new:endfor:1wincmd w:$ hide:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 94 of 154 --61%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 25 lines, 448 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:1wincmd w

:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w

:only!

:b1

ENDTEST



STARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new

:endfor

:4wincmd w

^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h1wincmd w
[?25l[?25h[?25l:[?2004h[?25h$ hide
[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h$-1 close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l:[?2004h[?25h.+close!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 15 lines, 106 characters6 5 4 2 1

5 4 2 15 4 25 27 5 27 5test.out]  [?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l[+][?25h[?25l15 12 915 120 19 18 17 16

20 19 18 16

20 18 16
[?25h[?2004l[?2004h[?25l

[?25h[?25l



:[?2004h[?25hw
[?25l"test.out" 19 lines, 143 characters written    [?25h[?25l:[?2004h[?25honly!
[?25l6 5 4 2 1

5 4 2 1

5 4 2

5 2

7 5 2

7 5



13 12 11 10 9 1

13 12 11 9 1

12 11 9 1

12 11 9

12 9

15 12 9

15 12



20 19 18 17 16

20 19 18 16

20 18 16



~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hb1
[?25l:.+close!

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

Go^[

:w:only!:b1ENDTESTSTARTTEST

:let tests = []

:set hidden

:for i in range(5)

:new:endfor:4wincmd w

^Wc:let buffers = []:windo call add(buffers, bufnr('%')):call add(tests, buffers)"test_close_count.in" line 122 of 154 --79%-- col 1[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 28 lines, 511 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST1^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

9^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:1wincmd w

2^Wc

:let buffers = []

:windo call add(buffers, bufnr('%'))

:call add(tests, buffers)

:only!

:e! test.out

:call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hlet tests = []
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25hfor i in range(5)
[?25l

:[?2004h  [?25h:new


[?25l:[?2004h  [?25h:endfor
[?25l~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25h4wincmd w
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        test_close_count.in                                                             [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :call append(line('$'), map(copy(tests), 'join(v:val, " ")'))

:w

:qa!

ENDTEST



test_close_count.in                                                             [?25h[?25l

[?25h[?25l



:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25h1wincmd w
[?25l[No Name]                                                                       [No Name]                                                                        [?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       [?25h[?25l:[?2004h[?25hlet buffers = []
[?25l[?25h[?25l:[?2004h[?25hwindo call add(buffers, bufnr('%'))
[?25l[No Name]                                                                        [No Name]                                                                       [?25h[?25l:[?2004h[?25hcall add(tests, buffers)
[?25l[?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" line 19 of 19 --100%-- col 16 5 4 2 1

5 4 2 15 4 25 27 5 27 513 12 11 10 9 113 12 11 9 112 11 9 112 11 912 915 12 915 1220 19 18 17 1620 19 18 1620 18 16[?25h[?25l:[?2004h[?25hcall append(line('$'), map(copy(tests), 'join(v:val, " ")'))
[?25l25 24 23 21 124 23 21 124 23 2124 21[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 23 lines, 183 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_close_count = test61; then \
#	  if diff test.out test_close_count.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_close_count.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_close_count.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_erasebackword.failed test.ok test.out X* viminfo
cp test_erasebackword.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_erasebackword.in" 20 lines, 444 charactersTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G







:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 erasing backword[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 13 lines, 379 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for erasing backword



STARTTEST

:so small.vim

:set belloff=all

:so mbyte.vim

:set encoding=utf-8

G

o wwwこんにちわ世界ワールドvim ^W^[

o wwwこんにちわ世界ワールドvim ^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^[

o wwwこんにちわ世界ワールドvim ^W^W^W^W^W^W^[

:/^test/,$w! test.out

:qa!

ENDTEST



test starts here:



~                                                                               ~                                                                               ~                                                                               [?25h



[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25lド[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

 www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?2004l[?25l

www[?25h[?25lこ[?25h[?25lん[?25h[?25lに[?25h[?25lち[?25h[?25lわ[?25h[?25l世[?25h[?25l界[?25h[?25lワ[?25h[?25lー[?25h[?25lル[?25h[?2004h[?25l[?25h[?25l

:[?2004h[?25h/^test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 8 lines, 111 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_erasebackword = test61; then \
#	  if diff test.out test_erasebackword.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_erasebackword.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_erasebackword.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_eval.in" 247 lines, 6201 charactersTest for various eval features.   vim: set ft=vim :



Note: system clipboard is saved, changed and restored.



clipboard contents

something else



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:lang C

:fun AppendRegContents(reg)

  call AppendRegParts(a:reg, getregtype(a:reg), getreg(a:reg), string(getreg(a:rreg, 0, 1)), getreg(a:reg, 1), string(getreg(a:reg, 1, 1)))

:endfun

:fun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)

  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:reg, aa:type, a:cont, a:strcont, a:cont1, a:strcont1))

endfun

:command -nargs=? AR :call AppendRegContents(<q-args>)

:fun SetReg(...)

    call call('setreg', a:000)[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 233 lines, 6010 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun AppendRegContents(reg)
[?25l

:[?2004h  [?25h  call AppendRegParts(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:[?2004h  [?25h:endfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hfun AppendRegParts(reg, type, cont, strcont, cont1, strcont1)
[?25l

:[?2004h  [?25h  call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:re


g, a:type, a:cont, a:strcont, a:cont1, a:strcont1))


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n[?25h[?25l:[?2004h[?25hcommand -nargs=? AR :call AppendRegContents(<q-args>)
[?25l[?25h[?25l:[?2004h[?25hfun SetReg(...)
[?25l

:[?2004h  [?25h    call call('setreg', a:000)


[?25l:[?2004h  [?25h    call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))


[?25l:[?2004h  [?25h    call AppendRegContents(a:1)


[?25l:[?2004h  [?25h    if a:1 isnot# '='


[?25l:[?2004h    [?25h        execute "silent normal! Go==\n==\e\"".a:1."P"


[?25l:[?2004h    [?25h    endif


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun ErrExe(str)
[?25l

:[?2004h  [?25h    call append('$', 'Executing '.a:str)


[?25l:[?2004h  [?25h    try


[?25l:[?2004h    [?25h        execute a:str


[?25l:[?2004h    [?25h    catch


[?25l:[?2004h    [?25h        $put =v:exception


[?25l:[?2004h    [?25h    endtry


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn][?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h$put ='{{{1 let tests'


[?25l:[?2004h  [?25hlet @" = 'abc'


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\n"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @" = "abc\<C-m>"


[?25l:[?2004h  [?25hAR "


[?25l:[?2004h  [?25hlet @= = '"abc"'


[?25l:[?2004h  [?25hAR =


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Basic setreg tests'


[?25l:[?2004h  [?25hcall SetReg('a', 'abcA', 'c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcB', 'v')


[?25l:[?2004h  [?25hcall SetReg('c', 'abcC', 'l')


[?25l:[?2004h  [?25hcall SetReg('d', 'abcD', 'V')


[?25l:[?2004h  [?25hcall SetReg('e', 'abcE', 'b')


[?25l:[?2004h  [?25hcall SetReg('f', 'abcF', "\<C-v>")


[?25l:[?2004h  [?25hcall SetReg('g', 'abcG', 'b10')


[?25l:[?2004h  [?25hcall SetReg('h', 'abcH', "\<C-v>10")


[?25l:[?2004h  [?25hcall SetReg('I', 'abcI')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending single lines with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc', 'c')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAl', 'l')


[?25l:[?2004h  [?25hcall SetReg('A', 'abcAc2','c')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc', 'ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb', 'ba')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBc2','ca')


[?25l:[?2004h  [?25hcall SetReg('b', 'abcBb2','b50a')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCl', 'l')


[?25l:[?2004h  [?25hcall SetReg('C', 'abcCc', 'c')


[?25l:[?2004h  [?25hcall SetReg('D', 'abcDb', 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEb', 'b')


[?25l:[?2004h  [?25hcall SetReg('E', 'abcEl', 'l')


[?25l:[?2004h  [?25hcall SetReg('F', 'abcFc', 'c')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending NL with setreg()'


[?25l:[?2004h  [?25hcall setreg('a', 'abcA2', 'c')


[?25l:[?2004h  [?25hcall setreg('b', 'abcB2', 'v')


[?25l:[?2004h  [?25hcall setreg('c', 'abcC2', 'l')


[?25l:[?2004h  [?25hcall setreg('d', 'abcD2', 'V')


[?25l:[?2004h  [?25hcall setreg('e', 'abcE2', 'b')


[?25l:[?2004h  [?25hcall setreg('f', 'abcF2', "\<C-v>")


[?25l:[?2004h  [?25hcall setreg('g', 'abcG2', 'b10')


[?25l:[?2004h  [?25hcall setreg('h', 'abcH2', "\<C-v>10")


[?25l:[?2004h  [?25hcall setreg('I', 'abcI2')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', "\n")


[?25l:[?2004h  [?25hcall SetReg('B', "\n", 'c')


[?25l:[?2004h  [?25hcall SetReg('C', "\n")


[?25l:[?2004h  [?25hcall SetReg('D', "\n", 'l')


[?25l:[?2004h  [?25hcall SetReg('E', "\n")


[?25l:[?2004h  [?25hcall SetReg('F', "\n", 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA3'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3'], 'l')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC3'], 'b')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD3'])


[?25l:[?2004h  [?25hcall SetReg('e', [1, 2, 'abc', 3])


[?25l:[?2004h  [?25hcall SetReg('f', [1, 2, 3])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB3l'], 'la')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3b'], 'lb')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD32'])


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25hcall SetReg('A', ['abcA32'])


[?25l:[?2004h  [?25hcall SetReg('B', ['abcB3c'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ['abcC3l'], 'l')


[?25l:[?2004h  [?25hcall SetReg('D', ['abcD3b'], 'b')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Appending lists with NL with setreg()'


[?25l:[?2004h  [?25hcall SetReg('A', ["\n", 'abcA3l2'], 'l')


[?25l:[?2004h  [?25hcall SetReg('B', ["\n", 'abcB3c2'], 'c')


[?25l:[?2004h  [?25hcall SetReg('C', ["\n", 'abcC3b2'], 'b')


[?25l:[?2004h  [?25hcall SetReg('D', ["\n", 'abcD3b50'],'b50')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Setting lists with NLs with setreg()'


[?25l:[?2004h  [?25hcall SetReg('a', ['abcA4-0', "\n", "abcA4-2\n", "\nabcA4-3", "abcA4-4\nabcA4


-4-2"])


[?25l:[?2004h  [?25hcall SetReg('b', ['abcB4c-0', "\n", "abcB4c-2\n", "\nabcB4c-3", "abcB4c-4\na


bcB4c-4-2"], 'c')


[?25l:[?2004h  [?25hcall SetReg('c', ['abcC4l-0', "\n", "abcC4l-2\n", "\nabcC4l-3", "abcC4l-4\na


bcC4l-4-2"], 'l')


[?25l:[?2004h  [?25hcall SetReg('d', ['abcD4b-0', "\n", "abcD4b-2\n", "\nabcD4b-3", "abcD4b-4\na


bcD4b-4-2"], 'b')


[?25l:[?2004h  [?25hcall SetReg('e', ['abcE4b10-0', "\n", "abcE4b10-2\n", "\nabcE4b10-3", "abcE4


b10-4\nabcE4b10-4-2"], 'b10')


[?25l:[?2004h  [?25h


[?25l:[?2004h  [?25h$put ='{{{1 Search and expressions'


[?25l:[?2004h  [?25hcall SetReg('/', ['abc/'])


[?25l:[?2004h  [?25hcall SetReg('/', ["abc/\n"])


[?25l:[?2004h  [?25hcall SetReg('=', ['"abc/"'])


[?25l:[?2004h  [?25hcall SetReg('=', ["\"abc/\n\""])


[?25l:[?2004h  [?25h$put ='{{{1 System clipboard'


[?25l:[?2004h  [?25hif has('clipboard')


[?25l:[?2004h    [?25h" Save and restore system clipboard.


[?25l:[?2004h    [?25h" If no connection to X-Server is possible, test should succeed.


[?25l:[?2004h    [?25hlet _clipreg = ['*', getreg('*'), getregtype('*')]


[?25l:[?2004h    [?25hlet _clipopt = &cb


[?25l:[?2004h    [?25hlet &cb='unnamed'


[?25l:[?2004h    [?25h5y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25htabdo :windo :echo "hi"


[?25l:[?2004h    [?25h6y


[?25l:[?2004h    [?25hAR *


[?25l:[?2004h    [?25hlet &cb=_clipopt


[?25l:[?2004h    [?25hcall call('setreg', _clipreg)


[?25l:[?2004h    [?25helse


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "clipboard contents\n", "['clipboard conte


nts']", "clipboard contents\n", "['clipboard contents']")


[?25l:[?2004h    [?25h  call AppendRegParts('*', 'V', "something else\n", "['something else']", 


"something else\n", "['something else']")


[?25l:[?2004h    [?25hendif


[?25l:[?2004h  [?25h$put ='{{{1 Errors'


[?25l:[?2004h  [?25hcall ErrExe('call setreg()')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, 3, 4)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg([], 2)')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, {})')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, 2, [])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("/", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg("=", ["1", "2"])')


[?25l:[?2004h  [?25hcall ErrExe('call setreg(1, ["", "", [], ""])')


[?25l:[?2004h  [?25hendfun
[?25l:$put =str[:n]

:$put =str[n:n]

:unlet n

:let nn = 3

:$put =str[nn:]

:$put =str[:nn]

:$put =str[nn:nn]

:unlet nn

:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall Test()
[?25l[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h*: type V; value: something else^@ (['something else']), expr: something else^@  (['something else'])

{{{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
[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hdelfunction SetReg
[?25l[?25h[?25l:[?2004h[?25hdelfunction AppendRegContents
[?25l[?25h[?25l:[?2004h[?25hdelfunction ErrExe
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hdelcommand AR
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name not starting with capital
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! g:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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)8: Too many arguments for function: setreg[], 2)730: using List as a String1, {}1Dictionary as a String2, [])0List as a String"/", ["1", "2"])883: search pattern and expression register may not contain two or moore linesExecuting 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

Vim(function):E128: Function name must start with a capital or "s:": g:test()

~                                                                               [?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name includes a colon
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! b:test()


[?25l:[?2004h  [?25h:echo "test"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25l{{{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(function):E128: Function name must start with a capital or "s:": b:test()[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name folowed by #
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h:func! test2() "#


[?25l:[?2004h  [?25h:echo "test2"


[?25l:[?2004h  [?25h:endfunc


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" function name starting with/without "g:", buffer-local funcref.
[?25l[?25h[?25l:[?2004h[?25hfunction! g:Foo(n)
[?25l

:[?2004h  [?25h:  $put ='called Foo(' . a:n . ')'


[?25l:[?2004h  [?25h:endfunction
[?25lExecuting call setreg()

Vim(call):E119: Not enough arguments for function: setreg[?25h[?25l

:[?2004h[?25hlet b:my_func = function('Foo')
[?25l[?25h[?25l:[?2004h[?25hcall b:my_func(1)
[?25l

called Foo(1)[?25h[?25l

:[?2004h[?25hecho g:Foo(2)
[?25l0

called Foo(2)[?25h[?25l

:[?2004h[?25hecho Foo(3)
[?25l0

called Foo(3)[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" script-local function used in Funcref must exist.
[?25l[?25h[?25l:[?2004h[?25hso test_eval_func.vim
[?25ls:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Using $ instead of '$' must give an error
[?25l[?25h[?25l:[?2004h[?25htry
[?25l

:[?2004h  [?25h: call append($, 'foobar')


[?25l:[?2004h  [?25h:catch


[?25l:[?2004h  [?25h:$put =v:exception


[?25l:[?2004h  [?25h:endtry
[?25lExecuting 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 linesExecuting 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 Stringfunction):E128: Function name must start with a capital or "s:": g:test()btest2() "#

called Foo(123

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1func Bar exists: 1

Vim(call):E116: Invalid arguments for function append[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h$put ='{{{1 getcurpos/setpos'
[?25l

{{{1 getcurpos/setpos[?25h[?25l

/[?2004h[?25h^012345678
[?25lsearch hit BOTTOM, continuing at TOP:let b:nn = 4

:$put =str[b:nn:]

:$put =str[:b:nn]

:$put =str[b:nn:b:nn]

:unlet b:nn

:"

:/^start:/+1,$wq! test.out

:" vim: et ts=4 isk-=\: fmr=???,???

:call getchar()

ENDTEST



012345678

012345678



start:

{{{1 let tests

": type v; value: abc (['abc']), expr: abc (['abc'])

": type V; value: abc^@ (['abc']), expr: abc^@ (['abc'])

": type V; value: abc^M^@ (['abc^M']), expr: abc^M^@ (['abc^M'])

=: type v; value: abc (['abc']), expr: "abc" (['"abc"'])

{{{1 Basic setreg tests

{{{2 setreg('a', 'abcA', 'c')

a: type v; value: abcA (['abcA']), expr: abcA (['abcA'])

search hit BOTTOM, continuing at TOP[?25h012345[?25l:[?2004h[?25hlet sp = getcurpos()
[?25l[?25h
[?25l:[?2004h[?25hcall setpos('.', sp)
[?25l[?25h[?25l:[?2004h[?25h$put
[?25lExecuting 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 lines

Executing call setreg(1, ["", "", [], ""])

Vim(call):E730: using List as a String

Vim(function):E128: Function name must start with a capital or "s:": g:test()

Vim(function):E128: Function name must start with a capital or "s:": b:test()

Vim(function):E128: Function name must start with a capital or "s:": test2() "#

called Foo(1)

called Foo(2)

called Foo(3)

s:Testje exists: 0

func s:Testje exists: 1

Bar exists: 1

func Bar exists: 1

Vim(call):E116: Invalid arguments for function append

{{{1 getcurpos/setpos

6[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" substring and variable name
[?25l[?25h[?25l:[?2004h[?25hlet str = 'abcdef'
[?25l[?25h[?25l:[?2004h[?25hlet n = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[n:]
[?25l

def[?25h[?25l

:[?2004h[?25h$put =str[:n]
[?25l

abcd[?25h[?25l

:[?2004h[?25h$put =str[n:n]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet n
[?25l[?25h[?25l:[?2004h[?25hlet nn = 3
[?25l[?25h[?25l:[?2004h[?25h$put =str[nn:]
[?25ldef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:nn]
[?25labcd[?25h[?25l:[?2004h[?25h$put =str[nn:nn]
[?25l

d[?25h[?25l

:[?2004h[?25hunlet nn
[?25l[?25h[?25l:[?2004h[?25hlet b:nn = 4
[?25l[?25h[?25l:[?2004h[?25h$put =str[b:nn:]
[?25lef

~                                                                               [?25h[?25l



:[?2004h[?25h$put =str[:b:nn]
[?25labcde[?25h[?25l:[?2004h[?25h$put =str[b:nn:b:nn]
[?25l

e[?25h[?25l

:[?2004h[?25hunlet b:nn
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 362 lines, 11279 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_eval = test61; then \
#	  if diff test.out test_eval.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_eval.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_eval.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_fixeol.failed test.ok test.out X* viminfo
cp test_fixeol.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fixeol.in" 40 lines, 780 charactersTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol

:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol

:w! XXTestNoEol

:bwipe XXEol XXNoEol XXTestEol XXTestNoEol

:set fixeol[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'fixeol'vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 35 lines, 698 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:"

:" Append "END" to each file so that we can see what the last written char was.

ggdGaEND^[:w >>XXEol

:w >>XXNoEol

:w >>XXTestEol

:w >>XXTestNoEol

:"

:" Concatenate the results

:e! test.out

a0^[:$r XXEol

:$r XXNoEol

Go1^[:$r XXTestEol

:$r XXTestNoEol

:w

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25l[?25h[?25l:[?2004h[?25h" use Unix fileformat for consistency
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25lwith eol[?25h[?25l:[?2004h[?25hw! XXEol
[?25l"XXEol" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25henew!
[?25l[?25h[?25l:[?2004h[?25hset noeol nofixeol
[?25l[?25h[?2004l[?2004h[?25lwithout eol[?25h[?25l:[?2004h[?25hw! XXNoEol
[?25l"XXNoEol" [New File][Incomplete last line] 1 line, 11 characters written[?25h[?25l:[?2004h[?25hset eol fixeol
[?25l[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


2 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h" try editing files with 'fixeol' disabled
[?25l[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" 1 line, 9 characterswith eol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l

stays eol[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestEol
[?25l"XXTestEol" [New File] 2 lines, 19 characters written[?25h[?25l:[?2004h[?25he! XXNoEol
[?25l"XXNoEol" [Incomplete last line] 1 line, 11 charactersout eol

~                                                                               [?25h[?2004l[?2004h[?25l

stays without[?25h[?25l:[?2004h[?25hset nofixeol
[?25l[?25h[?25l:[?2004h[?25hw! XXTestNoEol
[?25l"XXTestNoEol" [New File][Incomplete last line] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol XXNoEol XXTestEol XXTestNoEol
[?25l"test_fixeol.in" 40 lines, 780 characters


4 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fixeol
[?25l:w! XXTestEol

:e! XXNoEol

ostays without^[:set nofixeol:w! XXTestNoEol:bwipe XXEol XXNoEol XXTestEol XXTestNoEol:set fixeol:":" Append "END" to each file so that we can see what the last written char was.ggdGaEND^[:w >>XXEol:w >>XXNoEol:w >>XXTestEol:w >>XXTestNoEol:":" Concatenate the results:e! test.outa0^[:$r XXEol:$r XXNoEolGo1^[:$r XXTestEol:$r XXTestNoEol:w:qa!ENDTEST[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25lTests for 'fixeol'vim: set ft=vim :



STARTTEST


:" use Unix fileformat for consistency

:set ff=unix

:enew!

awith eol^[:w! XXEol

:enew!

:set noeol nofixeol

awithout eol^[:w! XXNoEol

:set eol fixeol

:bwipe XXEol XXNoEol

:"

:" try editing files with 'fixeol' disabled

:e! XXEol

ostays eol^[:set nofixeol[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXEol
[?25l"XXEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXNoEol
[?25l"XXNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestEol
[?25l"XXTestEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXTestNoEol
[?25l"XXTestNoEol" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" [New File][?25h[?2004l[?2004h[?25l0[?25h[?25l:[?2004h[?25h$r XXEol
[?25l"XXEol" 2 lines, 13 characterswith eolEND[?25h[?25l:[?2004h[?25h$r XXNoEol
[?25l"XXNoEol" 1 line, 15 characterswithout eolEND[?25h[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXTestEol
[?25l"XXTestEol" 3 lines, 23 characterswith eolstays eolEND[?25h[?25l:[?2004h[?25h$r XXTestNoEol
[?25l"XXTestNoEol" 2 lines, 29 characterswithout eolstays withoutEND[?25h[?25l:[?2004h[?25hw
[?25l"test.out" [New File] 10 lines, 84 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_fixeol = test61; then \
#	  if diff test.out test_fixeol.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_fixeol.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_fixeol.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_insertcount.failed test.ok test.out X* viminfo
cp test_insertcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_insertcount.in" 14 lines, 204 charactersTests for repeating insert and replace.



STARTTEST

:so small.vim

:/Second

4gro

:/^First/,$wq! test.out

:" get here when failed and in Insert mode

^[:.wq! test.out

ENDTEST



First line

Second line

Last line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 repeating insert and replace.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 111 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h/Second
[?25l[?25h[?2004l[?2004h[?25looooecond line
ooo[?25h

Las[?25l:[?2004h[?25h/^First/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 3 lines, 36 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_insertcount = test61; then \
#	  if diff test.out test_insertcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_insertcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_insertcount.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_listchars.failed test.ok test.out X* viminfo
cp test_listchars.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listchars.in" 54 lines, 705 charactersTests for 'listchars' display with 'list' and :list



STARTTEST

:so small.vim

:set ff=unix

:let g:lines = []

:function GetScreenCharsForLine(lnum)

:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val))')), '')

:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"

:set listchars+=tab:>-,space:.,trail:<

:set list

:

/^start:/

:normal! jzt

GG

GG

GG

GG

GGH:

:set listchars-=trail:<[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 'listchars' display with 'list' and :list[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 25 lines, 431 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTESTGG

GG

GG

GG

GG:

:put =g:lines

:'[,']w! test.out

ENDTEST[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hlet g:lines = []
[?25l[?25h[?25l:[?2004h[?25hfunction GetScreenCharsForLine(lnum)
[?25l

:[?2004h  [?25h:  return join(map(range(1, virtcol('$')), 'nr2char(screenchar(a:lnum, v:val


))'), '')


[?25l:[?2004h  [?25h:endfunction
[?25l:endfunction

:nnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))\\<CR>"[?25h[?25l

:[?2004h[?25hnnoremap <expr> GG ":call add(g:lines, GetScreenCharsForLine(".screenrow()."))


\<CR>"
[?25l:endfunction[?25h[?25l

:[?2004h[?25hset listchars+=tab:>-,space:.,trail:<
[?25l[?25h[?25l:[?2004h[?25hset list
[?25l$.<expr>.GG.":call..\\<CR>"$

:set.$

:set.list$

:$$.jzt$

GG$

GG$

GG$

GG$

GGH:$

:set.$

GG$

GG$

GG$

GG$

GG:$

:put.$.$$

$[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:$[?25h[?25l

:[?2004h[?25hnormal! jzt
[?25l>-------aa>-----$

..bb>---<<$

...cccc><$

dd........ee<<>-$

<$

$

$

STARTTEST$

:set.listchars+=trail:<$

:set.nolist$

:$

/^start:/$

:redir!.>>.test.out$

:+1,$list$

:redir.END$

:q!$

ENDTEST$

$

start:$

..fff>--<<$

>-------gg>-----$

.....h>-$

iii<<<<><<$[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hset listchars-=trail:<
[?25l.....

.......>..[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(1))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(2))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(3))
[?25h[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(4))
[?25h

[?25l:[?2004hcall add(g:lines, GetScreenCharsForLine(5))
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hput =g:lines
[?25l10 more >-------aa>-----$$

..bb>---<<$$

...cccc><$$

dd........ee<<>-$$

<$$

>-------aa>-----$$

..bb>---..$$

...cccc>.$$

dd........ee..>-$$

.$$10 more lines[?25h[?25l:[?2004h[?25h'[,']w! test.out
[?25l"test.out" [New File] 10 lines, 124 characters written[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 8 lines, 93 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:+1,$list$

:redir.END$

:q!$

ENDTEST$[?25h[?25l

$[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hset listchars+=trail:<
[?25l[?25h[?25l:[?2004h[?25hset nolist
[?25l   >>  [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l/[?2004h[?25h^start:/
[?25l

start:[?25h[?25l

:[?2004h[?25hredir! >> test.out
[?25l[?25h[?25l:[?2004h[?25h+1,$list
[?25l..fff>--<<$


>-------gg>-----$


.....h>-$


iii<<<<><<$


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hredir END
[?25l>-------aa>-----$

..bb>---..$

...cccc>.$

dd........ee..>-$

.$STARTTEST:set listchars+=trail:<

:set nolist

:

/^start:/

:redir! >> test.out+1,$listredir END

:q!ENDTESTstart:  fff

        ggh

iii   [?25h[?25l

:[?2004h[?25hq!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_listchars = test61; then \
#	  if diff test.out test_listchars.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_listchars.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_listchars.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_search_mbyte.failed test.ok test.out X* viminfo
cp test_search_mbyte.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search_mbyte.in" 15 lines, 226 charactersTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 search('multi-byte char', 'bce')[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 6 lines, 140 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hsource small.vim
[?25l[?25h[?25l:[?2004h[?25hsource mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=utf-8
[?25lTest for search('multi-byte char', 'bce')



STARTTEST

:source small.vim

:source mbyte.vim

:set encoding=utf-8

:/^Test bce:/+1

:$put =search('A', 'bce', line('.'))

:1;/^Results:/,$wq! test.out

ENDTEST



Results:



Test bce:

A

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h/^Test bce:/+1
[?25l[?25h[?25l:[?2004h[?25h$put =search('A', 'bce', line('.'))
[?25l15[?25h[?25l:[?2004h[?25h1;/^Results:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 5 lines, 27 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_search_mbyte = test61; then \
#	  if diff test.out test_search_mbyte.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_search_mbyte.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_search_mbyte.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test_wordcount.failed test.ok test.out X* viminfo
cp test_wordcount.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_wordcount.in" 126 lines, 2815 charactersTest for wordcount() function



STARTTEST

:so small.vim

:so mbyte.vim

:set enc=utf8

:set selection=inclusive fileformat=unix fileformats=unix

:new

:fu DoRecordWin(...)

:wincmd k

:if exists("a:1")

:call cursor(a:1)

:endif

:let result=[]

:call add(result, g:test)

:call add(result, getline(1, '$'))

:call add(result, wordcount())

:wincmd j

:return result

:endfu

:fu PutInWindow(args)

:wincmd k

:%d _[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 wordcount() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 121 lines, 2753 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"


:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:0

v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:let g:test="Test 11: visual mode, single line"

:call PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])

:wincmd k

:set ls=2 stl=%{STL()}

:" start visual mode quickly and select complete buffer

:2

0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])

:let log[2]=g:visual_stat

:call Log()

:"

:/^RESULT test/,$w! test.out

:qa!

ENDTEST

RESULT test:
[?25h[?25l

:[?2004h[?25hset selection=inclusive fileformat=unix fileformats=unix
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       0v$y

:set stl= ls=1

:let log=DoRecordWin([3,99,0])[2]=g:visual_statcall Log()"/^RESULT test/,$w! test.out

:qa!ENDTEST

RESULT test:

test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hfu DoRecordWin(...)
[?25l

:[?2004h  [?25h:^Iwincmd k


[?25l:[?2004h  [?25h:       if exists("a:1")


[?25l:[?2004h    [?25h:           call cursor(a:1)


[?25l:[?2004h    [?25h:       endif


[?25l:[?2004h  [?25h:       let result=[]


[?25l:[?2004h  [?25h:       call add(result, g:test)


[?25l:[?2004h  [?25h:       call add(result, getline(1, '$'))


[?25l:[?2004h  [?25h:       call add(result, wordcount())


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:       return result


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu PutInWindow(args)
[?25l

:[?2004h  [?25h:       wincmd k


[?25l:[?2004h  [?25h:       %d _


[?25l:[?2004h  [?25h:       call append(1, a:args)


[?25l:[?2004h  [?25h:^Iwincmd j


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu Log()
[?25l

:[?2004h  [?25h:   $put ='----'


[?25l:[?2004h  [?25h:   $put =remove(g:log,0)


[?25l:[?2004h  [?25h:   $put =string(g:log)


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hfu! STL()
[?25l

:[?2004h  [?25h:    if mode() =~? 'V'


[?25l:[?2004h    [?25h:       let g:visual_stat=wordcount()


[?25l:[?2004h    [?25h:    endif


[?25l:[?2004h  [?25h:    return string(wordcount())


[?25l:[?2004h  [?25h:endfu
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet g:test="Test 1: empty window"
[?25l[?25h[?25l:[?2004h[?25hlet log=DoRecordWin()
[?25l[No Name]                                                                        test_wordcount.in                                                               [?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 1: empty window

[[''], {'chars': 0, 'cursor_chars': 0, 'words': 0, 'cursor_words': 0, 'bytes': 00, 'cursor_bytes': 0}][+][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 2: some words, cursor at start"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25lone two three[+][?25h[?25l:[?2004h[?25hlet log=DoRecordWin([1,1,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 2: some words, cursor at start

[['', 'one two three'], {'chars': 15, 'cursor_chars': 1, 'words': 3, 'cursor_worrds': 0, 'bytes': 15, 'cursor_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 3: some words, cursor at end"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 3: some words, cursor at end

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 4: some words, cursor at end, ve=all"
[?25l[?25h[?25l:[?2004h[?25hset ve=all
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 4: some words, cursor at end, ve=all

[['', 'one two three'], {'chars': 15, 'cursor_chars': 15, 'words': 3, 'cursor_woords': 3, 'bytes': 15, 'cursor_bytes': 15}][?25h[?25l





:[?2004h[?25hset ve=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 5: several lines with words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['one two three', 'one two three', 'one two three'])
[?25lone two threeone two three--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([4,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 5: several lines with words

[['', 'one two three', 'one two three', 'one two three'], {'chars': 43, 'cursor__chars': 42, 'words': 9, 'cursor_words': 9, 'bytes': 43, 'cursor_bytes': 42}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 6: one line with BOM set"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow('one two three')
[?25l~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25l[No Name] [+]                                                                   test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset bomb
[?25l[?25h[?25l:[?2004h[?25hw! Xtest
[?25l"Xtest" [New File] 2 lines, 18 characters writtenXtesta         [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 6: one line with BOM set

[['', 'one two three'], {'chars': 15, 'cursor_chars': 14, 'words': 3, 'cursor_woords': 3, 'bytes': 18, 'cursor_bytes': 14}][?25h[?25l





:[?2004h[?25hwincmd k
[?25lXtest                                                                           test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset nobomb
[?25l[+][?25h[?25l:[?2004h[?25hw!
[?25l"Xtest" 2 lines, 15 characters written    [?25h[?25l:[?2004h[?25hwincmd j
[?25lXtest                                                                            test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 7: one line with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh'])
[?25lÄne M¤ne Müh[+]--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([2,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 7: one line with multibyte words

[['', 'Äne M¤ne Müh'], {'chars': 14, 'cursor_chars': 13, 'words': 3, 'cursor_worrds': 3, 'bytes': 17, 'cursor_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 8: several lines with multibyte words"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25lund raus bist dü!--No lines in buffer--[?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 8: several lines with multibyte words

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'cursor_chars': 31, 'wwords': 7, 'cursor_words': 7, 'bytes': 36, 'cursor_bytes': 35}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 9: visual mode, complete buffer"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 3985, 'words': 579, 'cursor_words': 560, 'bytes': 4153, 'cursor_bytes': 4007}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l 

Äne M¤ne Müh 

und raus bist dü! ds': 7, 'bytes': 36, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}[?25h[?25lÄne M¤ne Mühnd raus bist dü!3 lines yankedursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 9: visual mode, complete buffer

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 32, 'visual_words': 7, 'visual_bytes': 36}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 10: visual mode (empty)"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4170, 'words': 606, 'cursor_words': 587, 'bytes': 4342, 'cursor_bytes': 4196}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h0
[?25l[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 0, 'visual_[?25h[?25l[?25h[?25lursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_[?25h2,1,3}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]a                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 10: visual mode (empty)

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 1, 'visual_words': 0, 'visual_bytes': 1}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hlet g:test="Test 11: visual mode, single line"
[?25l[?25h[?25l:[?2004h[?25hcall PutInWindow(['Äne M¤ne Müh', 'und raus bist dü!'])
[?25l--No lines in buffer--[?25h[?25l:[?2004h[?25hwincmd k
[?25lXtest [+]                                                                       test_wordcount.in [+]                                                            [?25h[?25l:[?2004h[?25hset ls=2 stl=%{STL()}
[?25l<ursor_chars': 1, 'words': 7, 'cursor_words': 0, 'bytes': 36, 'cursor_bytes': 1}<: 4347, 'words': 632, 'cursor_words': 613, 'bytes': 4521, 'cursor_bytes': 4377}[?25h[?25l:[?2004h[?25h" start visual mode quickly and select complete buffer
[?25l[?25h[?25l:[?2004h[?25h2
[?25l2,1,3}[?25h[?25lords': 7, 'bytes': 36, 'visual_chars': 1, 'visual_words': 1, 'visual_2}[?25h[?25lÄne M¤ne Mühds': 7, 'bytes': 36, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}[?25h[?25l
Äne M¤ne Mühursor_chars': 2, 'words': 7, 'cursor_words': 1, 'bytes': 36, 'cursor_bytes': 3}[?25hsor_chars': 15, 'words': 7, 'cursor_words': 4, 'bytes': 36, 'cursor_bytes': 18}[?25l:[?2004h[?25hset stl= ls=1
[?25lXtest [+]s                                                                       test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log=DoRecordWin([3,99,0])
[?25lXtest [+]                                                                        test_wordcount.in [+]                                                           [?25h[?25l:[?2004h[?25hlet log[2]=g:visual_stat
[?25l[?25h[?25l:[?2004h[?25hcall Log()
[?25l----

Test 11: visual mode, single line

[['', 'Äne M¤ne Müh', 'und raus bist dü!'], {'chars': 32, 'words': 7, 'bytes': 336, 'visual_chars': 13, 'visual_words': 3, 'visual_bytes': 16}][?25h[?25l





:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^RESULT test/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New File] 34 lines, 1905 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test_wordcount = test61; then \
#	  if diff test.out test_wordcount.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test_wordcount.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test_wordcount.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test11.in" 84 lines, 3366 charactersTests 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 48 lines, 2298 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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

line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25h" drop out when there is no gzip program
[?25l[?25h[?25l:[?2004h[?25hif !executable("gzip")
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l: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/[?25h[?25l:[?2004h[?25hlet $GZIP = ""
[?25l[?25h[?25l:[?2004h[?25hau FileChangedShell * echo "caught FileChangedShell"
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hau FileWritePre    *.gz   '[,']!gzip
[?25l[?25h[?25l:[?2004h[?25hau FileWritePost   *.gz   undo
[?25l[?25h[?25l:[?2004h[?25h/^start of testfile/,/^end of testfile/w! Xtestfile.gz
[?25l[?25h[?2004l[?2004h[?25l11 lines filtered

"Xtestfile.gz" [New File][Incomplete last line] 1 line, 111 characters written


10 more lines; before #1  0 seconds ago


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileReadPost    *.gz   '[,']!gzip -d
[?25l: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 autocommandse" Edit test.out againset nobin ff&   " use the default fileformat for writing

:wqa!ENDTESTstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx45678910

end of testfile[?25h[?25l

:[?2004h[?25h$r Xtestfile.gz                " Read and decompress the testfile
[?25l"Xtestfile.gz" [Incomplete last line] 1 line, 111 characters
[?25h[?2004l[?2004h[?25lstart of test.c

/*

 * Here is a new .c file

 */

end of test.c

start of testfile[?25h[?25l

:[?2004h[?25h?startstart?,$w! test.out      " Write contents of this file
[?25l"test.out" [New File] 29 lines, 788 characters written[?25h[?25l:[?2004h[?25hau BufNewFile      *.c    read Xtest.c
[?25l[?25h[?25l:[?2004h[?25h/^start of test.c/+1,/^end of test.c/-1w! Xtest.c
[?25lsearch hit BOTTOM, continuing at TOP"Xtest.c" [New File] 3 lines, 32 characters written[?25h[?25l:[?2004h[?25he! foo.c                       " Will load Xtest.c
[?25l"foo.c" [New File]

"Xtest.c" 3 lines, 32 characters


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau FileAppendPre   *.out  '[,']s/new/NEW/
[?25l/*

 * Here is a new .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FileAppendPost  *.out  !cat Xtest.c >>test.out
[?25l[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 4 lines, 33 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?25hau! FileAppendPre
[?25l/*

 * Here is a NEW .c file

 */

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" setup autocommands to decompress before reading and re-compress afterwards
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPre      *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   call rename(expand("<afile>"), expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25hau BufReadPost     *.gz   exe '!gzip ' . shellescape(expand("<afile>:r"))
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile.gz                " Edit compressed file
[?25l:!gzip -d 'Xtestfile.gz'


[?25h[?2004l[?2004h[?25l"Xtestfile.gz""Xtestfile.gz" 11 lines, 357 characters:!gzip 'Xtestfile'


[?25h[?2004l[?2004h[?25lcaught FileChangedShell


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw>>test.out                    " Append it to the output file
[?25l"test.out" 11 lines, 357 characters appended


:!cat Xtest.c >>test.out


[?25h[?2004l[?2004h

Press ENTER or type command to continue[?25l:[?2004h[?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

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  call rename(expand("<afile>"), expand("<afile>") . "


.t")
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !sed s/e/E/ ' . shellescape(expand("<afi


le>")) . ".t >" . shellescape(expand("<afile>"))
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPre   *.out  exe 'silent !rm ' . shellescape(expand("<afile>")) .


'.t'
[?25lstart of testfile[?25h[?25l:[?2004h[?25hau FilterReadPost  *.out  '[,']s/x/X/g
[?25l[?25h[?25l:[?2004h[?25he! test.out                    " Edit the output file
[?25l"test.out" 50 lines, 1242 charactersstarstart 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[?25h[?25l:[?2004h[?25h23,$!cat
[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25l218 substitutions on 15 lines


28 lines filtered


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h23,$s/\r$//                 " remove CR for when sed adds them
[?25lE486: Pattern not found: \r$

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau! FileReadPre    *.gz   exe 'silent !gzip -d ' . shellescape(expand("<afile>


"))
[?25lstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxE 5  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[?25h[?25l

:[?2004h[?25hau  FileReadPre    *.gz   call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?25h[?25l:[?2004h[?25hau! FileReadPost   *.gz   '[,']s/l/L/
[?25l[?25h[?25l:[?2004h[?25h$r Xtestfile.gz             " Read compressed file
[?25l[?25h[?2004l[?2004h[?25l"Xtestfile.gz" 11 lines, 357 characters


11 substitutions on 11 lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw                           " write it, after filtering
[?25l"test.out"61 lines, 1599 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hau!             " remove all autocommands
[?25lE216: No such group or event: " remove all autocommands


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25he               " Edit test.out again
[?25l"test.out"61 lines, 1599 charactersstartstart

start of testfile

line 2  Abcdefghijklmnopqrstuvwxyz

line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"test.out" 61 lines, 1599 characters[?25h[?25l:[?2004h[?25hset nobin ff&   " use the default fileformat for writing
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 61 lines, 1599 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test11 = test61; then \
#	  if diff test.out test11.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test11.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test11.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test52.failed test.ok test.out X* viminfo
cp test52.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test52.in" 65 lines, 1645 charactersTests for reading and writing files with conversion for Win32.



STARTTEST

:so mbyte.vim

:" make this a dummy test for non-Win32 systems

:if !has("win32") | e! test.ok | wq! test.out | endif

:"

:" write tests:

:" combine three values for 'encoding' with three values for 'fileencoding'

:" also write files for read tests

/^1

:set encoding=utf-8

:.w! ++enc=utf-8 test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=utf-8 Xutf8

/^2

:set encoding=cp1251

:.w ++enc=utf-8 >>test.out

:.w ++enc=cp1251 >>test.out

:.w ++enc=cp866 >>test.out

:.w! ++enc=cp1251 Xcp1251

/^3[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 reading and writing files with conversion for Win32.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 57 lines, 1333 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:e Xcp1251

:.w ++enc=cp1251 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp1251 >>test.out

:"

:" read three 'fileencoding's with cp866 'encoding'

:set encoding=cp866 fencs=utf-8,cp1251

:e Xutf8

:.w ++enc=cp866 >>test.out

:e Xcp1251

:.w ++enc=cp866 >>test.out

:set fencs=utf-8,cp866

:e Xcp866

:.w ++enc=cp866 >>test.out

:"

:qa!

ENDTEST






[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h" make this a dummy test for non-Win32 systems
[?25l[?25h[?25l:[?2004h[?25hif !has("win32") | e! test.ok | wq! test.out | endif
[?25l"test.ok" 18 lines, 1374 characters[?2004l


"test.out" [New File] 18 lines, 1374 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test52 = test61; then \
#	  if diff test.out test52.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test52.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test52.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test85.failed test.ok test.out X* viminfo
cp test85.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test85.in" 86 lines, 1885 charactersTest for Lua interface and luaeval() function



STARTTEST

:so small.vim

:set belloff=all

:so lua.vim

:set nocompatible viminfo+=nviminfo

:lua l = vim.list():add"item0":add"dictionary with list OK":add"item2"

:lua h = vim.dict(); h.list = l

:call garbagecollect()

/^1

:" change buffer contents

:lua curbuf = vim.buffer()

:lua curline = vim.eval"line('.')"

:lua curbuf[curline] = "1 changed line 1"

:" scalar test

:let tmp_string = luaeval('"string"')

:let tmp_1000 = luaeval('1000')

:if printf("%s%.0f", tmp_string, tmp_1000) == "string1000"

:let scalar_res = "OK"

:else

:let scalar_res = "FAILED"

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 Lua interface and luaeval() function[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 78 lines, 1792 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")

:lua d[4] = d[0]

:lua d[5] = d[1]

:lua d[6] = d[2]

:lua d[7] = d[3]

:lua d[3] = nil

:lua d[2] = nil

:lua d[1] = nil

:lua d[0] = nil

:lua d = nil

:$put =string(d)



:?^1?,$w! test.out

:qa!

ENDTEST



1 line 1

2 line 2

3 line 3[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25hso lua.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hua l = vim.list():add"item0":add"dictionary with list OK":add"item2"
[?25l[?25h[?25l:[?2004h[?25hlua h = vim.dict(); h.list = l
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect()
[?25l[?25h[?25l/[?2004h[?25h^1
[?25l[?25h[?25l:[?2004h[?25h" change buffer contents
[?25l[?25h[?25l:[?2004h[?25hlua curbuf = vim.buffer()
[?25l[?25h[?25l:[?2004h[?25hlua curline = vim.eval"line('.')"
[?25l[?25h[?25l:[?2004h[?25hlua curbuf[curline] = "1 changed line 1"
[?25lchanged line 1
[?25h[?25l:[?2004h[?25h" scalar test
[?25l[?25h[?25l:[?2004h[?25hlet tmp_string = luaeval('"string"')
[?25l[?25h[?25l:[?2004h[?25hlet tmp_1000 = luaeval('1000')
[?25l[?25h[?25l:[?2004h[?25hif printf("%s%.0f", tmp_string, tmp_1000) == "string1000"
[?25l

:[?2004h  [?25h:let scalar_res = "OK"


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:let scalar_res = "FAILED"


[?25l:[?2004h  [?25h:endif
[?25l:lua d = vim.eval("d")

:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")[?25h[?25l





:[?2004h[?25hcall append(search("^1"), "scalar test " . scalar_res)
[?25lscalar test OK

2 line 2[?25h[?25l:[?2004h[?25h" dictionary containing a list
[?25l[?25h[?25l:[?2004h[?25hlet tmp = luaeval("h").list[1]
[?25l[?25h[?25l:[?2004h[?25h/^2/put =tmp
[?25l

dictionary with list OK[?25h[?25l

:[?2004h[?25h" circular list (at the same time test lists containing lists)
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = l
[?25l[?25h[?25l:[?2004h[?25hlet l2 = luaeval("h").list
[?25l[?25h[?25l:[?2004h[?25hif l2[2] == l2
[?25l

:[?2004h  [?25h:let res = "OK"


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:let res = "FAILED"


[?25l:[?2004h  [?25h:endif
[?25l:lua d[0] = 123

:lua d[1] = "abc"

:lua d[2] = vim.eval("[1, 2, 3]")

:lua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")[?25h[?25l

:[?2004h[?25hcall setline(search("^3"), "circular test " . res)
[?25l

circular test OK[?25h[?25l

:[?2004h[?25hlet l = []
[?25l[?25h[?25l:[?2004h[?25hlua l = vim.eval("l")
[?25l[?25h[?25l:[?2004h[?25hlua l:add(123)
[?25l[?25h[?25l:[?2004h[?25hlua l:add("abc")
[?25l[?25h[?25l:[?2004h[?25hlua l:add(vim.eval("[1, 2, 3]"))
[?25l[?25h[?25l:[?2004h[?25hlua l:add(vim.eval("{'a':1, 'b':2, 'c':3}"))
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(123)
[?25l[?25h[?25l:[?2004h[?25hlua l:insert("abc")
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(vim.eval("[1, 2, 3]"))
[?25l[?25h[?25l:[?2004h[?25hlua l:insert(vim.eval("{'a':1, 'b':2, 'c':3}"))
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = l[0]
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = l[1]
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = l[2]
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = l[3]
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = 123
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = "abc"
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = vim.eval("[1, 2, 3]")
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
[?25l[?25h[?25l:[?2004h[?25hlua l[3] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[2] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[1] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l[0] = nil
[?25l[?25h[?25l:[?2004h[?25hlua l = nil
[?25l[?25h[?25l:[?2004h[?25h$put =string(l)
[?25l

[123.0, 'abc', [1, 2, 3], {'a': 1, 'b': 2, 'c': 3}][?25h[?25l

:[?2004h[?25hlet d = {}
[?25l[?25h[?25l:[?2004h[?25hlua d = vim.eval("d")
[?25l[?25h[?25l:[?2004h[?25hlua d[0] = 123
[?25l[?25h[?25l:[?2004h[?25hlua d[1] = "abc"
[?25l[?25h[?25l:[?2004h[?25hlua d[2] = vim.eval("[1, 2, 3]")
[?25l[?25h[?25l:[?2004h[?25hlua d[3] = vim.eval("{'a':1, 'b':2, 'c':3}")
[?25l[?25h[?25l:[?2004h[?25hlua d[4] = d[0]
[?25l[?25h[?25l:[?2004h[?25hlua d[5] = d[1]
[?25l[?25h[?25l:[?2004h[?25hlua d[6] = d[2]
[?25l[?25h[?25l:[?2004h[?25hlua d[7] = d[3]
[?25l[?25h[?25l:[?2004h[?25hlua d[3] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[2] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[1] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d[0] = nil
[?25l[?25h[?25l:[?2004h[?25hlua d = nil
[?25l[?25h[?25l:[?2004h[?25h$put =string(d)
[?25l

{'4': 123.0, '5': 'abc', '6': [1, 2, 3], '7': {'a': 1, 'b': 2, 'c': 3}}[?25h[?25l

:[?2004h[?25h?^1?,$w! test.out
[?25l"test.out" [New] 7L, 206C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test85 = test61; then \
#	  if diff test.out test85.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test85.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test85.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test86.failed test.ok test.out X* viminfo
cp test86.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test86.in" 1711 lines, 48481 charactersTests for various python features.     vim: set ft=vim :



NOTE: This will cause errors when run under valgrind.

This would require recompiling Python with:

  ./configure --without-pymalloc

See http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup



STARTTEST

:so small.vim

:set encoding=latin1

:set noswapfile

:if !has('python') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py import vim

:py cb = vim.current.buffer

:let l = []

:py l=vim.bindeval('l')

:py f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py l.extend([1, "as'd", [1, 2, f, {'a': 1}]])

:$put =string(l)

:$put =string(l[-1])[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1700 lines, 48188 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset encoding=latin1
[?25l:   endif

:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python') | e! test.ok | wq! test.out | endif
[?25l"test.ok" 1445 lines, 67439 characters[?2004l


"test.out" [New File] 1445 lines, 67439 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test86 = test61; then \
#	  if diff test.out test86.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test86.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test86.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test87.failed test.ok test.out X* viminfo
cp test87.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test87.in" 1720 lines, 50002 charactersTests for various python features.     vim: set ft=vim :



STARTTEST

:so small.vim

:set noswapfile

:if !has('python3') | e! test.ok | wq! test.out | endif

:lang C

:fun Test()

:py3 import vim

:py3 cb = vim.current.buffer

:let l = []

:py3 l=vim.bindeval('l')

:py3 f=vim.bindeval('function("strlen")')

:" Extending List directly with different types

:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]

:$put =string(l)

:$put =string(l[-1])

:try

:  $put =string(l[-4])

:catch

:  $put =v:exception[:13]

:endtry

:" List assignment[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 various python features.     vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 1714 lines, 49918 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h

[?25l



:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset noswapfile
[?25l[?25h[?25l:[?2004h[?25hif !has('python3') | e! test.ok | wq! test.out | endif
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hfun Test()
[?25l

:[?2004h  [?25h:py3 import vim


[?25l:[?2004h  [?25h:py3 cb = vim.current.buffer


[?25l:[?2004h  [?25h:let l = []


[?25l:[?2004h  [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h  [?25h:py3 f=vim.bindeval('function("strlen")')


[?25l:[?2004h  [?25h:" Extending List directly with different types


[?25l:[?2004h  [?25h:py3 l+=[1, "as'd", [1, 2, f, {'a': 1}]]


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:$put =string(l[-1])


[?25l:[?2004h  [?25h:try


[?25l:[?2004h    [?25h:  $put =string(l[-4])


[?25l:[?2004h    [?25h:catch


[?25l:[?2004h    [?25h:  $put =v:exception[:13]


[?25l:[?2004h    [?25h:endtry


[?25l:[?2004h  [?25h:" List assignment


[?25l:[?2004h  [?25h:py3 l[0]=0


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:py3 l[-2]=f


[?25l:[?2004h  [?25h:$put =string(l)


[?25l:[?2004h  [?25h:"


[?25l:[?2004h  [?25h:" Extending Dictionary directly with different types


[?25l:[?2004h  [?25h:let d = {}


[?25l:[?2004h  [?25h:fun d.f()


[?25l:[?2004h    [?25h:  return 1


[?25l:[?2004h    [?25h:endfun


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25hd=vim.bindeval('d')


[?25l:[?2004h    [?25hd['1']='asd'


[?25l:[?2004h    [?25hd.update()  # Must not do anything, including throwing errors


[?25l:[?2004h    [?25hd.update(b=[1, 2, f])


[?25l:[?2004h    [?25hd.update((('-1', {'a': 1}),))


[?25l:[?2004h    [?25hd.update({'0': -1})


[?25l:[?2004h    [?25hdk = d.keys()


[?25l:[?2004h    [?25hdv = d.values()


[?25l:[?2004h    [?25hdi = d.items()


[?25l:[?2004h    [?25hdk.sort(key=repr)


[?25l:[?2004h    [?25hdv.sort(key=repr)


[?25l:[?2004h    [?25hdi.sort(key=repr)


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:$put =py3eval('d[''f''](self={})')


[?25l:[?2004h    [?25h:$put =py3eval('repr(dk)')


[?25l:[?2004h    [?25h:$put =substitute(py3eval('repr(dv)'),'0x\x\+','','g')


[?25l:[?2004h    [?25h:$put =substitute(py3eval('repr(di)'),'0x\x\+','','g')


[?25l:[?2004h    [?25h:for [key, Val] in sort(items(d))


[?25l:[?2004h      [?25h:  $put =string(key) . ' : ' . string(Val)


[?25l:[?2004h      [?25h:  unlet key Val


[?25l:[?2004h      [?25h:endfor


[?25l:[?2004h    [?25h:py3 del dk


[?25l:[?2004h    [?25h:py3 del di


[?25l:[?2004h    [?25h:py3 del dv


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" removing items with del


[?25l:[?2004h    [?25h:py3 del l[2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:try


[?25l:[?2004h      [?25h:   py3 del l[:3]


[?25l:[?2004h      [?25h:   py3 del l[1:]


[?25l:[?2004h      [?25h:catch


[?25l:[?2004h      [?25h:   $put =v:exception


[?25l:[?2004h      [?25h:endtry


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:py3 del d['-1']


[?25l:[?2004h    [?25h:py3 del d['f']


[?25l:[?2004h    [?25h:$put =string(py3eval('d.get(''b'', 1)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''b'')'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.get(''b'', 1)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''1'', 2)'))


[?25l:[?2004h    [?25h:$put =string(py3eval('d.pop(''1'', 2)'))


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.has_key(''0''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.has_key(''1''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(''0'' in d)')


[?25l:[?2004h    [?25h:$put =py3eval('repr(''1'' in d)')


[?25l:[?2004h    [?25h:$put =py3eval('repr(list(iter(d)))')


[?25l:[?2004h    [?25h:$put =string(d)


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.popitem())')


[?25l:[?2004h    [?25h:$put =py3eval('repr(d.get(''0''))')


[?25l:[?2004h    [?25h:$put =py3eval('repr(list(iter(d)))')


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" removing items out of range: silently skip items that don't exist


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:" The following two ranges delete nothing as they match empty list:


[?25l:[?2004h    [?25h:py3 del l[2:1]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[2:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[2:3]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:4]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:5]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:6]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:" The following two ranges delete nothing as they match empty list:


[?25l:[?2004h    [?25h:py3 del l[-1:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[-2:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:py3 del l[-3:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-4:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-5:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[-6:2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[::2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[3:0:-2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 del l[2:4:-2]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Slice assignment to a list


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[0:0]=['a']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[1:2]=['b']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:4]=['c']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[4:4]=['d']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[-1:2]=['e']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[-10:2]=['f']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:-10]=['g']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = []


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[0:0]=['h']


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:6:2] = [10, 20]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2:-2] = [10, 20]


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[6:2:1] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:let l = range(8)


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:py3 l[2:2:1] = ()


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Locked variables


[?25l:[?2004h    [?25h:let l = [0, 1, 2, 3]


[?25l:[?2004h    [?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h    [?25h:lockvar! l


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25hdef emsg(ei):


[?25l:[?2004h    [?25h    return ei[0].__name__ + ':' + repr(ei[1].args)


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25htry:


[?25l:[?2004h    [?25h    l[2]='i'


[?25l:[?2004h    [?25hexcept vim.error:


[?25l:[?2004h    [?25h    cb.append('l[2] threw vim.error: ' + emsg(sys.exc_info()))


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:$put =string(l)


[?25l:[?2004h    [?25h:unlockvar! l


[?25l:[?2004h    [?25h:"


[?25l:[?2004h    [?25h:" Function calls


[?25l:[?2004h    [?25hpy3 << EOF


[?25l:[?2004h    [?25himport sys


[?25l:[?2004h    [?25himport re


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25hpy33_type_error_pattern = re.compile('^__call__\(\) takes (\d+) positional


argument but (\d+) were given$')


[?25l:[?2004h    [?25h


[?25l:[?2004h    [?25hdef ee(expr, g=globals(), l=locals()):


[?25l:[?2004h    [?25h    cb = vim.current.buffer


[?25l:[?2004h    [?25h    try:


[?25l:[?2004h    [?25h        try:


[?25l:[?2004h    [?25h            exec(expr, g, l)


[?25l:[?2004h    [?25h        except Exception as e:


[?25l:[?2004h    [?25h            if sys.version_info >= (3, 3) and e.__class__ is AttributeErro


r and str(e).find('has no attribute')>=0 and not str(e).startswith("'vim."):


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((e.__class__, AttributeError(s


tr(e)[str(e).rfind(" '") + 2:-1]))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 3) and e.__class__ is ImportError


and str(e).find('No module named \'') >= 0:


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((e.__class__, ImportError(str(


e).replace("'", '')))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 6) and e.__class__ is ModuleNotFo


undError:


[?25l:[?2004h    [?25h                # Python 3.6 gives ModuleNotFoundError, change it to an Im


portError


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((ImportError, ImportError(str(


e).replace("'", '')))))


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 3) and e.__class__ is TypeError:


[?25l:[?2004h    [?25h                m = py33_type_error_pattern.search(str(e))


[?25l:[?2004h    [?25h                if m:


[?25l:[?2004h    [?25h                    msg = '__call__() takes exactly {0} positional argumen


t ({1} given)'.format(m.group(1), m.group(2))


[?25l:[?2004h    [?25h                    cb.append(expr + ':' + repr((e.__class__, TypeError(ms


g))))


[?25l:[?2004h    [?25h                else:


[?25l:[?2004h    [?25h                    msg = repr((e.__class__, e))


[?25l:[?2004h    [?25h                    # Messages changed with Python 3.6, change new to old.


[?25l:[?2004h    [?25h                    newmsg1 = """'argument must be str, bytes or bytearray


, not None'"""


[?25l:[?2004h    [?25h                    oldmsg1 = '''"Can't convert 'NoneType' object to str i


mplicitly"'''


[?25l:[?2004h    [?25h                    if msg.find(newmsg1) > -1:


[?25l:[?2004h    [?25h                        msg = msg.replace(newmsg1, oldmsg1)


[?25l:[?2004h    [?25h                    newmsg2 = """'argument must be str, bytes or bytearray


, not int'"""


[?25l:[?2004h    [?25h                    oldmsg2 = '''"Can't convert 'int' object to str implic


itly"'''


[?25l:[?2004h    [?25h                    if msg.find(newmsg2) > -1:


[?25l:[?2004h    [?25h                        msg = msg.replace(newmsg2, oldmsg2)


[?25l:[?2004h    [?25h                    cb.append(expr + ':' + msg)


[?25l:[?2004h    [?25h            elif sys.version_info >= (3, 5) and e.__class__ is ValueError 


and str(e) == 'embedded null byte':


[?25l:[?2004h    [?25h                cb.append(expr + ':' + repr((TypeError, TypeError('expecte


d bytes with no null'))))


[?25l:[?2004h    [?25h            else:


[?25l:[?2004h    [?25h                msg = repr((e.__class__, e))


[?25l:[?2004h    [?25h                # Some Python versions say can't, others cannot.


[?25l:[?2004h    [?25h                if msg.find('can\'t') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace('can\'t', 'cannot')


[?25l:[?2004h    [?25h                # Some Python versions use single quote, some double quote


[?25l:[?2004h    [?25h                if msg.find('"cannot ') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace('"cannot ', '\'cannot ')


[?25l:[?2004h    [?25h                if msg.find(' attributes"') > -1:


[?25l:[?2004h    [?25h                    msg = msg.replace(' attributes"', ' attributes\'')


[?25l:[?2004h    [?25h                cb.append(expr + ':' + msg)


[?25l:[?2004h    [?25h        else:


[?25l:[?2004h    [?25h            cb.append(expr + ':NOT FAILED')


[?25l:[?2004h    [?25h    except Exception as e:


[?25l:[?2004h    [?25h        cb.append(expr + '::' + repr((e.__class__, e)))


[?25l:[?2004h    [?25hEOF


[?25l:[?2004h    [?25h:fun New(...)


[?25l:[?2004h      [?25h:   return ['NewStart']+a:000+['NewEnd']


[?25l:[?2004h      [?25h:endfun


[?25l:[?2004h      [?25h:fun DictNew(...) dict


[?25l:[?2004h[?25h:   return ['DictNewStart']+a:000+['DictNewEnd', self]


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:let l=[function('New'), function('DictNew')]


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25h:py3 l.extend(list(l[0](1, 2, 3)))


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 l.extend(list(l[1](1, 2, 3, self={'a': 'b'})))


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 l+=[l[0].name]


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:py3 ee('l[1](1, 2, 3)')


[?25l:[?2004h[?25h:py3 f=l[0]


[?25l:[?2004h[?25h:delfunction New


[?25l:[?2004h[?25h:py3 ee('f(1, 2, 3)')


[?25l:[?2004h[?25h:if has('float')


[?25l:[?2004h[?25h:   let l=[0.0]


[?25l:[?2004h[?25h:   py3 l=vim.bindeval('l')


[?25l:[?2004h[?25h:   py3 l.extend([0.0])


[?25l:[?2004h[?25h:   $put =string(l)


[?25l:[?2004h[?25h:else


[?25l:[?2004h[?25h:   $put ='[0.0, 0.0]'


[?25l:[?2004h[?25h:endif


[?25l:[?2004h[?25h:let messages=[]


[?25l:[?2004h[?25h:delfunction DictNew


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport sys


[?25l:[?2004h[?25hd=vim.bindeval('{}')


[?25l:[?2004h[?25hm=vim.bindeval('messages')


[?25l:[?2004h[?25hdef em(expr, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(expr, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        if sys.version_info >= (3, 5) and e.__class__ is ValueError an


d str(e) == 'embedded null byte':


[?25l:[?2004h[?25h            m.extend([TypeError.__name__])


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            m.extend([e.__class__.__name__])


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hem('d["abc1"]')


[?25l:[?2004h[?25hem('d["abc1"]="\\0"')


[?25l:[?2004h[?25hem('d["abc1"]=vim')


[?25l:[?2004h[?25hem('d[""]=1')


[?25l:[?2004h[?25hem('d["a\\0b"]=1')


[?25l:[?2004h[?25hem('d[b"a\\0b"]=1')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hem('d.pop("abc1")')


[?25l:[?2004h[?25hem('d.popitem()')


[?25l:[?2004h[?25hdel em


[?25l:[?2004h[?25hdel m


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put =messages


[?25l:[?2004h[?25h:unlet messages


[?25l:[?2004h[?25h:" locked and scope attributes


[?25l:[?2004h[?25h:let d={} | let dl={} | lockvar dl


[?25l:[?2004h[?25h:for s in split("d dl v: g:")


[?25l:[?2004h[?25h:    let name=tr(s, ':', 's')


[?25l:[?2004h[?25h:    execute 'py3 '.name.'=vim.bindeval("'.s.'")'


[?25l:[?2004h[?25h:    let toput=s.' : '.join(map(['locked', 'scope'], 'v:val.":".py3e


val(name.".".v:val)'), ';')


[?25l:[?2004h[?25h:    $put =toput


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:silent! let d.abc2=1


[?25l:[?2004h[?25h:silent! let dl.abc3=1


[?25l:[?2004h[?25h:py3 d.locked=True


[?25l:[?2004h[?25h:py3 dl.locked=False


[?25l:[?2004h[?25h:silent! let d.def=1


[?25l:[?2004h[?25h:silent! let dl.def=1


[?25l:[?2004h[?25h:put ='d:'.string(d)


[?25l:[?2004h[?25h:put ='dl:'.string(dl)


[?25l:[?2004h[?25h:unlet d dl


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:let l=[] | let ll=[] | lockvar ll


[?25l:[?2004h[?25h:for s in split("l ll")


[?25l:[?2004h[?25h:    let name=tr(s, ':', 's')


[?25l:[?2004h[?25h:    execute 'py3 '.name.'=vim.bindeval("'.s.'")'


[?25l:[?2004h[?25h:    let toput=s.' : locked:'.py3eval(name.'.locked')


[?25l:[?2004h[?25h:    $put =toput


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:silent! call extend(l, [0])


[?25l:[?2004h[?25h:silent! call extend(ll, [0])


[?25l:[?2004h[?25h:py3 l.locked=True


[?25l:[?2004h[?25h:py3 ll.locked=False


[?25l:[?2004h[?25h:silent! call extend(l, [1])


[?25l:[?2004h[?25h:silent! call extend(ll, [1])


[?25l:[?2004h[?25h:put ='l:'.string(l)


[?25l:[?2004h[?25h:put ='ll:'.string(ll)


[?25l:[?2004h[?25h:unlet l ll


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" py3eval()


[?25l:[?2004h[?25h:let l=py3eval('[0, 1, 2]')


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:let d=py3eval('{"a": "b", "c": 1, "d": ["e"]}')


[?25l:[?2004h[?25h:$put =sort(items(d))


[?25l:[?2004h[?25h:let v:errmsg = ''


[?25l:[?2004h[?25h:$put ='py3eval(\"None\") = ' . py3eval('None') . v:errmsg


[?25l:[?2004h[?25h:if has('float')


[?25l:[?2004h[?25h:   let f=py3eval('0.0')


[?25l:[?2004h[?25h:   $put =string(f)


[?25l:[?2004h[?25h:else


[?25l:[?2004h[?25h:   $put ='0.0'


[?25l:[?2004h[?25h:endif


[?25l:[?2004h[?25h:" Invalid values:


[?25l:[?2004h[?25h:for e in ['"\0"', '{"\0": 1}', 'undefined_name', 'vim']


[?25l:[?2004h[?25h:   try


[?25l:[?2004h[?25h:      let v=py3eval(e)


[?25l:[?2004h[?25h:   catch


[?25l:[?2004h[?25h:      let toput=e.":\t".v:exception[:13]


[?25l:[?2004h[?25h:      $put =toput


[?25l:[?2004h[?25h:   endtry


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" threading


[?25l:[?2004h[?25h:let l = [0]


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport threading


[?25l:[?2004h[?25himport time


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass T(threading.Thread):


[?25l:[?2004h[?25h    def __init__(self):


[?25l:[?2004h[?25h        threading.Thread.__init__(self)


[?25l:[?2004h[?25h        self.t = 0


[?25l:[?2004h[?25h        self.running = True


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def run(self):


[?25l:[?2004h[?25h        while self.running:


[?25l:[?2004h[?25h            self.t += 1


[?25l:[?2004h[?25h            time.sleep(0.1)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25ht = T()


[?25l:[?2004h[?25hdel T


[?25l:[?2004h[?25ht.start()


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:sleep 1


[?25l:[?2004h[?25h:py3 t.running = False


[?25l:[?2004h[?25h:py3 t.join()


[?25l:[?2004h[?25h:" Check if the background thread is working.  Count should be 10, but


on a


[?25l:[?2004h[?25h:" busy system (AppVeyor) it can be much lower.


[?25l:[?2004h[?25h:py3 l[0] = t.t > 4


[?25l:[?2004h[?25h:py3 del time


[?25l:[?2004h[?25h:py3 del threading


[?25l:[?2004h[?25h:py3 del t


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" settrace


[?25l:[?2004h[?25h:let l = []


[?25l:[?2004h[?25h:py3 l=vim.bindeval('l')


[?25l:[?2004h[?25hpy3 <<EOF


[?25l:[?2004h[?25himport sys


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef traceit(frame, event, arg):


[?25l:[?2004h[?25h    global l


[?25l:[?2004h[?25h    if event == "line":


[?25l:[?2004h[?25h        l += [frame.f_lineno]


[?25l:[?2004h[?25h    return traceit


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef trace_main():


[?25l:[?2004h[?25h    for i in range(5):


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:py3 sys.settrace(traceit)


[?25l:[?2004h[?25h:py3 trace_main()


[?25l:[?2004h[?25h:py3 sys.settrace(None)


[?25l:[?2004h[?25h:py3 del traceit


[?25l:[?2004h[?25h:py3 del trace_main


[?25l:[?2004h[?25h:$put =string(l)


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Slice


[?25l:[?2004h[?25h:py3 ll = vim.bindeval('[0, 1, 2, 3, 4, 5]')


[?25l:[?2004h[?25h:py3 l = ll[:4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[2:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[:-4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-2:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[2:4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-4:-2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-2:-4]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[:]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[0:6]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[-10:10]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2:-1]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[::2]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 l = ll[4:2:1]


[?25l:[?2004h[?25h:$put =string(py3eval('l'))


[?25l:[?2004h[?25h:py3 del l


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Vars


[?25l:[?2004h[?25h:let g:foo = 'bac'


[?25l:[?2004h[?25h:let w:abc3 = 'def'


[?25l:[?2004h[?25h:let b:baz = 'bar'


[?25l:[?2004h[?25h:let t:bar = 'jkl'


[?25l:[?2004h[?25h:try


[?25l:[?2004h[?25h:  throw "Abc"


[?25l:[?2004h[?25h:catch


[?25l:[?2004h[?25h:  put =py3eval('vim.vvars[''exception'']')


[?25l:[?2004h[?25h:endtry


[?25l:[?2004h[?25h:put =py3eval('vim.vars[''foo'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.window.vars[''abc3'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.buffer.vars[''baz'']')


[?25l:[?2004h[?25h:put =py3eval('vim.current.tabpage.vars[''bar'']')


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Options


[?25l:[?2004h[?25h:" paste:          boolean, global


[?25l:[?2004h[?25h:" previewheight   number,  global


[?25l:[?2004h[?25h:" operatorfunc:   string,  global


[?25l:[?2004h[?25h:" number:         boolean, window-local


[?25l:[?2004h[?25h:" numberwidth:    number,  window-local


[?25l:[?2004h[?25h:" colorcolumn:    string,  window-local


[?25l:[?2004h[?25h:" statusline:     string,  window-local/global


[?25l:[?2004h[?25h:" autoindent:     boolean, buffer-local


[?25l:[?2004h[?25h:" shiftwidth:     number,  buffer-local


[?25l:[?2004h[?25h:" omnifunc:       string,  buffer-local


[?25l:[?2004h[?25h:" preserveindent: boolean, buffer-local/global


[?25l:[?2004h[?25h:" path:           string,  buffer-local/global


[?25l:[?2004h[?25h:let g:bufs=[bufnr('%')]


[?25l:[?2004h[?25h:new


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:wincmd j


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:let g:bufs+=[bufnr('%')]


[?25l:[?2004h[?25h:wincmd l


[?25l:[?2004h[?25h:fun RecVars(opt)


[?25l:[?2004h[?25h:  let gval =string(eval('&g:'.a:opt))


[?25l:[?2004h[?25h:  let wvals=join(map(range(1, 4),  'v:val.":".string(getwinvar(v:va


l, "&".a:opt))'))


[?25l:[?2004h[?25h:  let bvals=join(map(copy(g:bufs), 'v:val.":".string(getbufvar(v:va


l, "&".a:opt))'))


[?25l:[?2004h[?25h:  put ='  G: '.gval


[?25l:[?2004h[?25h:  put ='  W: '.wvals


[?25l:[?2004h[?25h:  put ='  B: '.wvals


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef e(s, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(s, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        vim.command('return ' + repr(e.__class__.__name__))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef ev(s, g=globals(), l=locals()):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        return eval(s, g, l)


[?25l:[?2004h[?25h    except Exception as e:


[?25l:[?2004h[?25h        vim.command('let exc=' + repr(e.__class__.__name__))


[?25l:[?2004h[?25h        return 0


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:fun E(s)


[?25l:[?2004h[?25h:   python3 e(vim.eval('a:s'))


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:fun Ev(s)


[?25l:[?2004h[?25h:   let r=py3eval('ev(vim.eval("a:s"))')


[?25l:[?2004h[?25h:   if exists('exc')


[?25l:[?2004h[?25h:       throw exc


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   return r


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:py3 gopts1=vim.options


[?25l:[?2004h[?25h:py3 wopts1=vim.windows[2].options


[?25l:[?2004h[?25h:py3 wopts2=vim.windows[0].options


[?25l:[?2004h[?25h:py3 wopts3=vim.windows[1].options


[?25l:[?2004h[?25h:py3 bopts1=vim.buffers[vim.bindeval("g:bufs")[2]].options


[?25l:[?2004h[?25h:py3 bopts2=vim.buffers[vim.bindeval("g:bufs")[1]].options


[?25l:[?2004h[?25h:py3 bopts3=vim.buffers[vim.bindeval("g:bufs")[0]].options


[?25l:[?2004h[?25h:$put ='wopts iters equal: '.py3eval('list(wopts1) == list(wopts


2)')


[?25l:[?2004h[?25h:$put ='bopts iters equal: '.py3eval('list(bopts1) == list(bopts


2)')


[?25l:[?2004h[?25h:py3 gset=set(iter(gopts1))


[?25l:[?2004h[?25h:py3 wset=set(iter(wopts1))


[?25l:[?2004h[?25h:py3 bset=set(iter(bopts1))


[?25l:[?2004h[?25h:set path=.,..,,


[?25l:[?2004h[?25h:let lst=[]


[?25l:[?2004h[?25h:let lst+=[['paste',          1,     0,     1,     2,      1,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['previewheight',  5,     1,     6,     'a',    0,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['operatorfunc',   'A',   'B',   'C',   2,      0,   


1,      0    ]]


[?25l:[?2004h[?25h:let lst+=[['number',         0,     1,     1,     0,      1,   


0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['numberwidth',    2,     3,     5,     -100,   0,   


0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['colorcolumn',    '+1',  '+2',  '+3',  'abc4',  0,  


 0,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['statusline',     '1',   '2',   '4',   0,      0,   


1,      1    ]]


[?25l:[?2004h[?25h:let lst+=[['autoindent',     0,     1,     1,     2,      1,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['shiftwidth',     0,     2,     1,     3,      0,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['omnifunc',       'A',   'B',   'C',   1,      0,   


0,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['preserveindent', 0,     1,     1,     2,      1,   


1,      2    ]]


[?25l:[?2004h[?25h:let lst+=[['path',           '.,,', ',,',  '.',   0,      0,   


1,      2    ]]


[?25l:[?2004h[?25h:for       [oname,            oval1, oval2, oval3, invval, bool,


global, local] in lst


[?25l:[?2004h[?25h:   py3 oname=vim.eval('oname')


[?25l:[?2004h[?25h:   py3 oval1=vim.bindeval('oval1')


[?25l:[?2004h[?25h:   py3 oval2=vim.bindeval('oval2')


[?25l:[?2004h[?25h:   py3 oval3=vim.bindeval('oval3')


[?25l:[?2004h[?25h:   if invval is 0 || invval is 1


[?25l:[?2004h[?25h:       py3 invval=bool(vim.bindeval('invval'))


[?25l:[?2004h[?25h:   else


[?25l:[?2004h[?25h:       py3 invval=vim.bindeval('invval')


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   if bool


[?25l:[?2004h[?25h:       py3 oval1=bool(oval1)


[?25l:[?2004h[?25h:       py3 oval2=bool(oval2)


[?25l:[?2004h[?25h:       py3 oval3=bool(oval3)


[?25l:[?2004h[?25h:   endif


[?25l:[?2004h[?25h:   put ='>>> '.oname


[?25l:[?2004h[?25h:   $put ='  g/w/b:'.py3eval('oname in gset').'/'.py3eval('ona


me in wset').'/'.py3eval('oname in bset')


[?25l:[?2004h[?25h:   $put ='  g/w/b (in):'.py3eval('oname in gopts1').'/'.py3ev


al('oname in wopts1').'/'.py3eval('oname in bopts1')


[?25l:[?2004h[?25h:   for v in ['gopts1', 'wopts1', 'bopts1']


[?25l:[?2004h[?25h:       try


[?25l:[?2004h[?25h:           put ='  p/'.v.': '.Ev('repr('.v.'['''.oname.''


'])')


[?25l:[?2004h[?25h:       catch


[?25l:[?2004h[?25h:           put ='  p/'.v.'! '.v:exception


[?25l:[?2004h[?25h:       endtry


[?25l:[?2004h[?25h:       let r=E(v.'['''.oname.''']=invval')


[?25l:[?2004h[?25h:       if r isnot 0


[?25l:[?2004h[?25h:           put ='  inv: '.string(invval).'! '.r


[?25l:[?2004h[?25h:       endif


[?25l:[?2004h[?25h:       for vv in (v is# 'gopts1' ? [v] : [v, v[:-2].'2', v[


:-2].'3'])


[?25l:[?2004h[?25h:           let val=substitute(vv, '^.opts', 'oval', '')


[?25l:[?2004h[?25h:           let r=E(vv.'['''.oname.''']='.val)


[?25l:[?2004h[?25h:           if r isnot 0


[?25l:[?2004h[?25h:               put ='  '.vv.'! '.r


[?25l:[?2004h[?25h:           endif


[?25l:[?2004h[?25h:       endfor


[?25l:[?2004h[?25h:   endfor


[?25l:[?2004h[?25h:   call RecVars(oname)


[?25l:[?2004h[?25h:   for v in ['wopts3', 'bopts3']


[?25l:[?2004h[?25h:       let r=E('del '.v.'["'.oname.'"]')


[?25l:[?2004h[?25h:       if r isnot 0


[?25l:[?2004h[?25h:           put ='  del '.v.'! '.r


[?25l:[?2004h[?25h:       endif


[?25l:[?2004h[?25h:   endfor


[?25l:[?2004h[?25h:   call RecVars(oname)


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:delfunction RecVars


[?25l:[?2004h[?25h:delfunction E


[?25l:[?2004h[?25h:delfunction Ev


[?25l:[?2004h[?25h:py3 del ev


[?25l:[?2004h[?25h:py3 del e


[?25l:[?2004h[?25h:only


[?25l:[?2004h[?25h:for buf in g:bufs[1:]


[?25l:[?2004h[?25h:   execute 'bwipeout!' buf


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:py3 del gopts1


[?25l:[?2004h[?25h:py3 del wopts1


[?25l:[?2004h[?25h:py3 del wopts2


[?25l:[?2004h[?25h:py3 del wopts3


[?25l:[?2004h[?25h:py3 del bopts1


[?25l:[?2004h[?25h:py3 del bopts2


[?25l:[?2004h[?25h:py3 del bopts3


[?25l:[?2004h[?25h:py3 del oval1


[?25l:[?2004h[?25h:py3 del oval2


[?25l:[?2004h[?25h:py3 del oval3


[?25l:[?2004h[?25h:py3 del oname


[?25l:[?2004h[?25h:py3 del invval


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test buffer object


[?25l:[?2004h[?25h:vnew


[?25l:[?2004h[?25h:put ='First line'


[?25l:[?2004h[?25h:put ='Second line'


[?25l:[?2004h[?25h:put ='Third line'


[?25l:[?2004h[?25h:1 delete _


[?25l:[?2004h[?25h:py3 b=vim.current.buffer


[?25l:[?2004h[?25h:wincmd w


[?25l:[?2004h[?25h:mark a


[?25l:[?2004h[?25h:augroup BUFS


[?25l:[?2004h[?25h:   autocmd BufFilePost * python3 cb.append(vim.eval('expand("<a


buf>")') + ':BufFilePost:' + vim.eval('bufnr("%")'))


[?25l:[?2004h[?25h:   autocmd BufFilePre * python3 cb.append(vim.eval('expand("<ab


uf>")') + ':BufFilePre:' + vim.eval('bufnr("%")'))


[?25l:[?2004h[?25h:augroup END


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25h# Tests BufferAppend and BufferItem


[?25l:[?2004h[?25hcb.append(b[0])


[?25l:[?2004h[?25h# Tests BufferSlice and BufferAssSlice


[?25l:[?2004h[?25hcb.append('abc5') # Will be overwritten


[?25l:[?2004h[?25hcb[-1:] = b[:-2]


[?25l:[?2004h[?25h# Test BufferLength and BufferAssSlice


[?25l:[?2004h[?25hcb.append('def') # Will not be overwritten


[?25l:[?2004h[?25hcb[len(cb):] = b[:]


[?25l:[?2004h[?25h# Test BufferAssItem and BufferMark


[?25l:[?2004h[?25hcb.append('ghi') # Will be overwritten


[?25l:[?2004h[?25hcb[-1] = repr((len(cb) - cb.mark('a')[0], cb.mark('a')[1]))


[?25l:[?2004h[?25h# Test BufferRepr


[?25l:[?2004h[?25hcb.append(repr(cb) + repr(b))


[?25l:[?2004h[?25h# Modify foreign buffer


[?25l:[?2004h[?25hb.append('foo')


[?25l:[?2004h[?25hb[0]='bar'


[?25l:[?2004h[?25hb[0:0]=['baz']


[?25l:[?2004h[?25hvim.command('call append("$", getbufline(%i, 1, "$"))' % b.numbe


r)

[?25l:[?2004h[?25h# Test assigning to name property


[?25l:[?2004h[?25himport os


[?25l:[?2004h[?25hold_name = cb.name


[?25l:[?2004h[?25hcb.name = 'foo'


[?25l:[?2004h[?25hcb.append(cb.name[-11:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hb.name = 'bar'


[?25l:[?2004h[?25hcb.append(b.name[-11:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hcb.name = old_name


[?25l:[?2004h[?25hcb.append(cb.name[-17:].replace(os.path.sep, '/'))


[?25l:[?2004h[?25hdel old_name


[?25l:[?2004h[?25h# Test CheckBuffer


[?25l:[?2004h[?25hfor _b in vim.buffers:


[?25l:[?2004h[?25h    if _b is not cb:


[?25l:[?2004h[?25h        vim.command('bwipeout! ' + str(_b.number))


[?25l:[?2004h[?25hdel _b


[?25l:[?2004h[?25hcb.append('valid: b:%s, cb:%s' % (repr(b.valid), repr(cb.valid))


)

[?25l:[?2004h[?25hfor expr in ('b[1]','b[:] = ["A", "B"]','b[:]','b.append("abc6")


'):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        exec(expr)


[?25l:[?2004h[?25h    except vim.error:


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        # Usually a SEGV here


[?25l:[?2004h[?25h        # Should not happen in any case


[?25l:[?2004h[?25h        cb.append('No exception for ' + expr)


[?25l:[?2004h[?25hvim.command('cd .')


[?25l:[?2004h[?25hdel b


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.buffers object


[?25l:[?2004h[?25h:set hidden


[?25l:[?2004h[?25h:edit a


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25h:edit b


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25h:edit c


[?25l:[?2004h[?25h:buffer #


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25h# Check GCing iterator that was not fully exhausted


[?25l:[?2004h[?25hi = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i:' + str(next(i)))


[?25l:[?2004h[?25h# and also check creating more than one iterator at a time


[?25l:[?2004h[?25hi2 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i2:' + str(next(i2)))


[?25l:[?2004h[?25hcb.append('i:' + str(next(i)))


[?25l:[?2004h[?25h# The following should trigger GC and not cause any problems


[?25l:[?2004h[?25hdel i


[?25l:[?2004h[?25hdel i2


[?25l:[?2004h[?25hi3 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i3:' + str(next(i3)))


[?25l:[?2004h[?25hdel i3


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hprevnum = 0


[?25l:[?2004h[?25hfor b in vim.buffers:


[?25l:[?2004h[?25h    # Check buffer order


[?25l:[?2004h[?25h    if prevnum >= b.number:


[?25l:[?2004h[?25h        cb.append('!!! Buffer numbers not in strictly ascending 


order')


[?25l:[?2004h[?25h    # Check indexing: vim.buffers[number].number == number


[?25l:[?2004h[?25h    cb.append(str(b.number) + ':' + repr(vim.buffers[b.number]) 


+ '=' + repr(b))


[?25l:[?2004h[?25h    prevnum = b.number


[?25l:[?2004h[?25hdel prevnum


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append(str(len(vim.buffers)))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hbnums = list(map(lambda b: b.number, vim.buffers))[1:]


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h# Test wiping out buffer with existing iterator


[?25l:[?2004h[?25hi4 = iter(vim.buffers)


[?25l:[?2004h[?25hcb.append('i4:' + str(next(i4)))


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(0)))


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    next(i4)


[?25l:[?2004h[?25hexcept vim.error:


[?25l:[?2004h[?25h    pass


[?25l:[?2004h[?25helse:


[?25l:[?2004h[?25h    cb.append('!!!! No vim.error')


[?25l:[?2004h[?25hi4 = iter(vim.buffers)


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(-1)))


[?25l:[?2004h[?25hvim.command('bwipeout! ' + str(bnums.pop(-1)))


[?25l:[?2004h[?25hcb.append('i4:' + str(next(i4)))


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    next(i4)


[?25l:[?2004h[?25hexcept StopIteration:


[?25l:[?2004h[?25h    cb.append('StopIteration')


[?25l:[?2004h[?25hdel i4


[?25l:[?2004h[?25hdel bnums


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.{tabpage,window}list and vim.{tabpage,window} object


s

[?25l:[?2004h[?25h:tabnew 0


[?25l:[?2004h[?25h:tabnew 1


[?25l:[?2004h[?25h:vnew a.1


[?25l:[?2004h[?25h:tabnew 2


[?25l:[?2004h[?25h:vnew a.2


[?25l:[?2004h[?25h:vnew b.2


[?25l:[?2004h[?25h:vnew c.2


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hcb.append('Number of tabs: ' + str(len(vim.tabpages)))


[?25l:[?2004h[?25hcb.append('Current tab pages:')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef W(w):


[?25l:[?2004h[?25h    if '(unknown)' in repr(w):


[?25l:[?2004h[?25h        return '<window object (unknown)>'


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return repr(w)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef Cursor(w, start=len(cb)):


[?25l:[?2004h[?25h    if w.buffer is cb:


[?25l:[?2004h[?25h        return repr((start - w.cursor[0], w.cursor[1]))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return repr(w.cursor)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hfor t in vim.tabpages:


[?25l:[?2004h[?25h    cb.append('  ' + repr(t) + '(' + str(t.number) + ')' + ': ' 


+ str(len(t.windows)) + ' windows, current is ' + W(t.window))


[?25l:[?2004h[?25h    cb.append('  Windows:')


[?25l:[?2004h[?25h    for w in t.windows:


[?25l:[?2004h[?25h        cb.append('    ' + W(w) + '(' + str(w.number) + ')' + ':


displays buffer ' + repr(w.buffer) + '; cursor is at ' + Cursor(w))


[?25l:[?2004h[?25h        # Other values depend on the size of the terminal, so th


ey are checked partly:


[?25l:[?2004h[?25h        for attr in ('height', 'row', 'width', 'col'):


[?25l:[?2004h[?25h            try:


[?25l:[?2004h[?25h                aval = getattr(w, attr)


[?25l:[?2004h[?25h                if type(aval) is not int:


[?25l:[?2004h[?25h                    raise TypeError


[?25l:[?2004h[?25h                if aval < 0:


[?25l:[?2004h[?25h                    raise ValueError


[?25l:[?2004h[?25h            except Exception as e:


[?25l:[?2004h[?25h                cb.append('!!!!!! Error while getting attribute 


' + attr + ': ' + e.__class__.__name__)


[?25l:[?2004h[?25h        del aval


[?25l:[?2004h[?25h        del attr


[?25l:[?2004h[?25h        w.cursor = (len(w.buffer), 0)


[?25l:[?2004h[?25hdel W


[?25l:[?2004h[?25hdel Cursor


[?25l:[?2004h[?25hcb.append('Number of windows in current tab page: ' + str(len(vi


m.windows)))


[?25l:[?2004h[?25hif list(vim.windows) != list(vim.current.tabpage.windows):


[?25l:[?2004h[?25h    cb.append('!!!!!! Windows differ')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.current


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef H(o):


[?25l:[?2004h[?25h    return repr(o)


[?25l:[?2004h[?25hcb.append('Current tab page: ' + repr(vim.current.tabpage))


[?25l:[?2004h[?25hcb.append('Current window: ' + repr(vim.current.window) + ': ' +


H(vim.current.window) + ' is ' + H(vim.current.tabpage.window))


[?25l:[?2004h[?25hcb.append('Current buffer: ' + repr(vim.current.buffer) + ': ' +


H(vim.current.buffer) + ' is ' + H(vim.current.window.buffer)+ ' is ' + H(vim.c


urrent.tabpage.window.buffer))


[?25l:[?2004h[?25hdel H


[?25l:[?2004h[?25h# Assigning: fails


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    vim.current.window = vim.tabpages[0].window


[?25l:[?2004h[?25hexcept ValueError:


[?25l:[?2004h[?25h    cb.append('ValueError at assigning foreign tab window')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hfor attr in ('window', 'tabpage', 'buffer'):


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        setattr(vim.current, attr, None)


[?25l:[?2004h[?25h    except TypeError:


[?25l:[?2004h[?25h        cb.append('Type error at assigning None to vim.current.'


+ attr)


[?25l:[?2004h[?25hdel attr


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h# Assigning: success


[?25l:[?2004h[?25hvim.current.tabpage = vim.tabpages[-2]


[?25l:[?2004h[?25hvim.current.buffer = cb


[?25l:[?2004h[?25hvim.current.window = vim.windows[0]


[?25l:[?2004h[?25hvim.current.window.cursor = (len(vim.current.buffer), 0)


[?25l:[?2004h[?25hcb.append('Current tab page: ' + repr(vim.current.tabpage))


[?25l:[?2004h[?25hcb.append('Current window: ' + repr(vim.current.window))


[?25l:[?2004h[?25hcb.append('Current buffer: ' + repr(vim.current.buffer))


[?25l:[?2004h[?25hcb.append('Current line: ' + repr(vim.current.line))


[?25l:[?2004h[?25hws = list(vim.windows)


[?25l:[?2004h[?25hts = list(vim.tabpages)


[?25l:[?2004h[?25hfor b in vim.buffers:


[?25l:[?2004h[?25h    if b is not cb:


[?25l:[?2004h[?25h        vim.command('bwipeout! ' + str(b.number))


[?25l:[?2004h[?25hdel b


[?25l:[?2004h[?25hcb.append('w.valid: ' + repr([w.valid for w in ws]))


[?25l:[?2004h[?25hcb.append('t.valid: ' + repr([t.valid for t in ts]))


[?25l:[?2004h[?25hdel w


[?25l:[?2004h[?25hdel t


[?25l:[?2004h[?25hdel ts


[?25l:[?2004h[?25hdel ws


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:tabonly!


[?25l:[?2004h[?25h:only!


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test types


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hfor expr, attr in (


[?25l:[?2004h[?25h    ('vim.vars',                         'Dictionary'),


[?25l:[?2004h[?25h    ('vim.options',                      'Options'),


[?25l:[?2004h[?25h    ('vim.bindeval("{}")',               'Dictionary'),


[?25l:[?2004h[?25h    ('vim.bindeval("[]")',               'List'),


[?25l:[?2004h[?25h    ('vim.bindeval("function(\'tr\')")', 'Function'),


[?25l:[?2004h[?25h    ('vim.current.buffer',               'Buffer'),


[?25l:[?2004h[?25h    ('vim.current.range',                'Range'),


[?25l:[?2004h[?25h    ('vim.current.window',               'Window'),


[?25l:[?2004h[?25h    ('vim.current.tabpage',              'TabPage'),


[?25l:[?2004h[?25h):


[?25l:[?2004h[?25h    cb.append(expr + ':' + attr + ':' + repr(type(eval(expr)) is


getattr(vim, attr)))


[?25l:[?2004h[?25hdel expr


[?25l:[?2004h[?25hdel attr


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test __dir__() method


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hfor name, o in (


[?25l:[?2004h[?25h        ('current',    vim.current),


[?25l:[?2004h[?25h        ('buffer',     vim.current.buffer),


[?25l:[?2004h[?25h        ('window',     vim.current.window),


[?25l:[?2004h[?25h        ('tabpage',    vim.current.tabpage),


[?25l:[?2004h[?25h        ('range',      vim.current.range),


[?25l:[?2004h[?25h        ('dictionary', vim.bindeval('{}')),


[?25l:[?2004h[?25h        ('list',       vim.bindeval('[]')),


[?25l:[?2004h[?25h        ('function',   vim.bindeval('function("tr")')),


[?25l:[?2004h[?25h        ('output',     sys.stdout),


[?25l:[?2004h[?25h    ):


[?25l:[?2004h[?25h    cb.append(name + ':' + ','.join(dir(o)))


[?25l:[?2004h[?25hdel name


[?25l:[?2004h[?25hdel o


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.*.__new__


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary({})'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary(a=1)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Dictionary(((''a'', 1),))'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.List()'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.List(iter(''abc7''))'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'')'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4])'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[])'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', self={})'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], se


lf={})'))


[?25l:[?2004h[?25h:$put ='auto_rebind'


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', auto_rebind=False)')


)

[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], au


to_rebind=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[], auto_rebind


=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', self={}, auto_rebind


=False)'))


[?25l:[?2004h[?25h:$put =string(py3eval('vim.Function(''tr'', args=[123, 3, 4], se


lf={}, auto_rebind=False)'))


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test vim.Function


[?25l:[?2004h[?25h:function Args(...)


[?25l:[?2004h[?25h:   return a:000


[?25l:[?2004h[?25h:endfunction


[?25l:[?2004h[?25h:function SelfArgs(...) dict


[?25l:[?2004h[?25h:   return [a:000, self]


[?25l:[?2004h[?25h:endfunction


[?25l:[?2004h[?25h:" The following four lines should not crash


[?25l:[?2004h[?25h:let Pt = function('tr', [[]], {'l': []})


[?25l:[?2004h[?25h:py3 Pt = vim.bindeval('Pt')


[?25l:[?2004h[?25h:unlet Pt


[?25l:[?2004h[?25h:py3 del Pt


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef ecall(out_prefix, func, *args, **kwargs):


[?25l:[?2004h[?25h    line = out_prefix + ': '


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        ret = func(*args, **kwargs)


[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        line += '!exception: ' + emsg(sys.exc_info())


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        line += '!result: ' + str(vim.Function('string')(ret


), 'utf-8')


[?25l:[?2004h[?25h    cb.append(line)


[?25l:[?2004h[?25ha = vim.Function('Args')


[?25l:[?2004h[?25hpa1 = vim.Function('Args', args=['abcArgsPA1'])


[?25l:[?2004h[?25hpa2 = vim.Function('Args', args=[])


[?25l:[?2004h[?25hpa3 = vim.Function('Args', args=['abcArgsPA3'], self={'abcSe


lfPA3': 'abcSelfPA3Val'})


[?25l:[?2004h[?25hpa4 = vim.Function('Args', self={'abcSelfPA4': 'abcSelfPA4Va


l'})


[?25l:[?2004h[?25hcb.append('a: ' + repr(a))


[?25l:[?2004h[?25hcb.append('pa1: ' + repr(pa1))


[?25l:[?2004h[?25hcb.append('pa2: ' + repr(pa2))


[?25l:[?2004h[?25hcb.append('pa3: ' + repr(pa3))


[?25l:[?2004h[?25hcb.append('pa4: ' + repr(pa4))


[?25l:[?2004h[?25hsa = vim.Function('SelfArgs')


[?25l:[?2004h[?25hpsa1 = vim.Function('SelfArgs', args=['abcArgsPSA1'])


[?25l:[?2004h[?25hpsa2 = vim.Function('SelfArgs', args=[])


[?25l:[?2004h[?25hpsa3 = vim.Function('SelfArgs', args=['abcArgsPSA3'], self={


'abcSelfPSA3': 'abcSelfPSA3Val'})


[?25l:[?2004h[?25hpsa4 = vim.Function('SelfArgs', self={'abcSelfPSA4': 'abcSel


fPSA4Val'})


[?25l:[?2004h[?25hpsa5 = vim.Function('SelfArgs', self={'abcSelfPSA5': 'abcSel


fPSA5Val'}, auto_rebind=0)


[?25l:[?2004h[?25hpsa6 = vim.Function('SelfArgs', args=['abcArgsPSA6'], self={


'abcSelfPSA6': 'abcSelfPSA6Val'}, auto_rebind=())


[?25l:[?2004h[?25hpsa7 = vim.Function('SelfArgs', args=['abcArgsPSA7'], auto_r


ebind=[])


[?25l:[?2004h[?25hpsa8 = vim.Function('SelfArgs', auto_rebind=False)


[?25l:[?2004h[?25hpsa9 = vim.Function('SelfArgs', self={'abcSelfPSA9': 'abcSel


fPSA9Val'}, auto_rebind=True)


[?25l:[?2004h[?25hpsaA = vim.Function('SelfArgs', args=['abcArgsPSAA'], self={


'abcSelfPSAA': 'abcSelfPSAAVal'}, auto_rebind=1)


[?25l:[?2004h[?25hpsaB = vim.Function('SelfArgs', args=['abcArgsPSAB'], auto_r


ebind={'abcARPSAB': 'abcARPSABVal'})


[?25l:[?2004h[?25hpsaC = vim.Function('SelfArgs', auto_rebind=['abcARPSAC'])


[?25l:[?2004h[?25hcb.append('sa: ' + repr(sa))


[?25l:[?2004h[?25hcb.append('psa1: ' + repr(psa1))


[?25l:[?2004h[?25hcb.append('psa2: ' + repr(psa2))


[?25l:[?2004h[?25hcb.append('psa3: ' + repr(psa3))


[?25l:[?2004h[?25hcb.append('psa4: ' + repr(psa4))


[?25l:[?2004h[?25hcb.append('psa5: ' + repr(psa5))


[?25l:[?2004h[?25hcb.append('psa6: ' + repr(psa6))


[?25l:[?2004h[?25hcb.append('psa7: ' + repr(psa7))


[?25l:[?2004h[?25hcb.append('psa8: ' + repr(psa8))


[?25l:[?2004h[?25hcb.append('psa9: ' + repr(psa9))


[?25l:[?2004h[?25hcb.append('psaA: ' + repr(psaA))


[?25l:[?2004h[?25hcb.append('psaB: ' + repr(psaB))


[?25l:[?2004h[?25hcb.append('psaC: ' + repr(psaC))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hpsar = vim.Function('SelfArgs', args=[{'abcArgsPSAr': 'abcAr


gsPSArVal'}], self={'abcSelfPSAr': 'abcSelfPSArVal'})


[?25l:[?2004h[?25hpsar.args[0]['abcArgsPSAr2'] = [psar.self, psar.args[0]]


[?25l:[?2004h[?25hpsar.self['rec'] = psar


[?25l:[?2004h[?25hpsar.self['self'] = psar.self


[?25l:[?2004h[?25hpsar.self['args'] = psar.args


[?25l:[?2004h[?25h


[?25l:[?2004h[?25htry:


[?25l:[?2004h[?25h    cb.append('psar: ' + repr(psar))


[?25l:[?2004h[?25hexcept Exception:


[?25l:[?2004h[?25h    cb.append('!!!!!!!! Caught exception: ' + emsg(sys.exc_i


nfo()))


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put ='s(a): '.string(py3eval('a'))


[?25l:[?2004h[?25h:$put ='s(pa1): '.string(py3eval('pa1'))


[?25l:[?2004h[?25h:$put ='s(pa2): '.string(py3eval('pa2'))


[?25l:[?2004h[?25h:$put ='s(pa3): '.string(py3eval('pa3'))


[?25l:[?2004h[?25h:$put ='s(pa4): '.string(py3eval('pa4'))


[?25l:[?2004h[?25h:$put ='s(sa): '.string(py3eval('sa'))


[?25l:[?2004h[?25h:$put ='s(psa1): '.string(py3eval('psa1'))


[?25l:[?2004h[?25h:$put ='s(psa2): '.string(py3eval('psa2'))


[?25l:[?2004h[?25h:$put ='s(psa3): '.string(py3eval('psa3'))


[?25l:[?2004h[?25h:$put ='s(psa4): '.string(py3eval('psa4'))


[?25l:[?2004h[?25h:$put ='s(psa5): '.string(py3eval('psa5'))


[?25l:[?2004h[?25h:$put ='s(psa6): '.string(py3eval('psa6'))


[?25l:[?2004h[?25h:$put ='s(psa7): '.string(py3eval('psa7'))


[?25l:[?2004h[?25h:$put ='s(psa8): '.string(py3eval('psa8'))


[?25l:[?2004h[?25h:$put ='s(psa9): '.string(py3eval('psa9'))


[?25l:[?2004h[?25h:$put ='s(psaA): '.string(py3eval('psaA'))


[?25l:[?2004h[?25h:$put ='s(psaB): '.string(py3eval('psaB'))


[?25l:[?2004h[?25h:$put ='s(psaC): '.string(py3eval('psaC'))


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:for v in ['sa', 'psa1', 'psa2', 'psa3', 'psa4', 'psa5', 'ps


a6', 'psa7', 'psa8', 'psa9', 'psaA', 'psaB', 'psaC']


[?25l:[?2004h[?25h:   let d = {'f': py3eval(v)}


[?25l:[?2004h[?25h:   $put ='d.'.v.'(): '.string(d.f())


[?25l:[?2004h[?25h:endfor


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a()', a, )


[?25l:[?2004h[?25h:py3 ecall('pa1()', pa1, )


[?25l:[?2004h[?25h:py3 ecall('pa2()', pa2, )


[?25l:[?2004h[?25h:py3 ecall('pa3()', pa3, )


[?25l:[?2004h[?25h:py3 ecall('pa4()', pa4, )


[?25l:[?2004h[?25h:py3 ecall('sa()', sa, )


[?25l:[?2004h[?25h:py3 ecall('psa1()', psa1, )


[?25l:[?2004h[?25h:py3 ecall('psa2()', psa2, )


[?25l:[?2004h[?25h:py3 ecall('psa3()', psa3, )


[?25l:[?2004h[?25h:py3 ecall('psa4()', psa4, )


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(42, 43)', a, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa1(42, 43)', pa1, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa2(42, 43)', pa2, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa3(42, 43)', pa3, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('pa4(42, 43)', pa4, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('sa(42, 43)', sa, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa1(42, 43)', psa1, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa2(42, 43)', psa2, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa3(42, 43)', psa3, 42, 43)


[?25l:[?2004h[?25h:py3 ecall('psa4(42, 43)', psa4, 42, 43)


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(42, self={"20": 1})', a, 42, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa1(42, self={"20": 1})', pa1, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa2(42, self={"20": 1})', pa2, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa3(42, self={"20": 1})', pa3, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('pa4(42, self={"20": 1})', pa4, 42, self={'20': 1


})

[?25l:[?2004h[?25h:py3 ecall('sa(42, self={"20": 1})', sa, 42, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa1(42, self={"20": 1})', psa1, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa2(42, self={"20": 1})', psa2, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa3(42, self={"20": 1})', psa3, 42, self={'20':


1})


[?25l:[?2004h[?25h:py3 ecall('psa4(42, self={"20": 1})', psa4, 42, self={'20':


1})


[?25l:[?2004h[?25h:


[?25l:[?2004h[?25h:py3 ecall('a(self={"20": 1})', a, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa1(self={"20": 1})', pa1, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa2(self={"20": 1})', pa2, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa3(self={"20": 1})', pa3, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('pa4(self={"20": 1})', pa4, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('sa(self={"20": 1})', sa, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa1(self={"20": 1})', psa1, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa2(self={"20": 1})', psa2, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa3(self={"20": 1})', psa3, self={'20': 1})


[?25l:[?2004h[?25h:py3 ecall('psa4(self={"20": 1})', psa4, self={'20': 1})


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef s(v):


[?25l:[?2004h[?25h    if v is None:


[?25l:[?2004h[?25h        return repr(v)


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        return str(vim.Function('string')(v), 'utf-8')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.args: ' + s(a.args))


[?25l:[?2004h[?25hcb.append('pa1.args: ' + s(pa1.args))


[?25l:[?2004h[?25hcb.append('pa2.args: ' + s(pa2.args))


[?25l:[?2004h[?25hcb.append('pa3.args: ' + s(pa3.args))


[?25l:[?2004h[?25hcb.append('pa4.args: ' + s(pa4.args))


[?25l:[?2004h[?25hcb.append('sa.args: ' + s(sa.args))


[?25l:[?2004h[?25hcb.append('psa1.args: ' + s(psa1.args))


[?25l:[?2004h[?25hcb.append('psa2.args: ' + s(psa2.args))


[?25l:[?2004h[?25hcb.append('psa3.args: ' + s(psa3.args))


[?25l:[?2004h[?25hcb.append('psa4.args: ' + s(psa4.args))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.self: ' + s(a.self))


[?25l:[?2004h[?25hcb.append('pa1.self: ' + s(pa1.self))


[?25l:[?2004h[?25hcb.append('pa2.self: ' + s(pa2.self))


[?25l:[?2004h[?25hcb.append('pa3.self: ' + s(pa3.self))


[?25l:[?2004h[?25hcb.append('pa4.self: ' + s(pa4.self))


[?25l:[?2004h[?25hcb.append('sa.self: ' + s(sa.self))


[?25l:[?2004h[?25hcb.append('psa1.self: ' + s(psa1.self))


[?25l:[?2004h[?25hcb.append('psa2.self: ' + s(psa2.self))


[?25l:[?2004h[?25hcb.append('psa3.self: ' + s(psa3.self))


[?25l:[?2004h[?25hcb.append('psa4.self: ' + s(psa4.self))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.name: ' + s(a.name))


[?25l:[?2004h[?25hcb.append('pa1.name: ' + s(pa1.name))


[?25l:[?2004h[?25hcb.append('pa2.name: ' + s(pa2.name))


[?25l:[?2004h[?25hcb.append('pa3.name: ' + s(pa3.name))


[?25l:[?2004h[?25hcb.append('pa4.name: ' + s(pa4.name))


[?25l:[?2004h[?25hcb.append('sa.name: ' + s(sa.name))


[?25l:[?2004h[?25hcb.append('psa1.name: ' + s(psa1.name))


[?25l:[?2004h[?25hcb.append('psa2.name: ' + s(psa2.name))


[?25l:[?2004h[?25hcb.append('psa3.name: ' + s(psa3.name))


[?25l:[?2004h[?25hcb.append('psa4.name: ' + s(psa4.name))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append('a.auto_rebind: ' + s(a.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa1.auto_rebind: ' + s(pa1.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa2.auto_rebind: ' + s(pa2.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa3.auto_rebind: ' + s(pa3.auto_rebind))


[?25l:[?2004h[?25hcb.append('pa4.auto_rebind: ' + s(pa4.auto_rebind))


[?25l:[?2004h[?25hcb.append('sa.auto_rebind: ' + s(sa.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa1.auto_rebind: ' + s(psa1.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa2.auto_rebind: ' + s(psa2.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa3.auto_rebind: ' + s(psa3.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa4.auto_rebind: ' + s(psa4.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa5.auto_rebind: ' + s(psa5.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa6.auto_rebind: ' + s(psa6.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa7.auto_rebind: ' + s(psa7.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa8.auto_rebind: ' + s(psa8.auto_rebind))


[?25l:[?2004h[?25hcb.append('psa9.auto_rebind: ' + s(psa9.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaA.auto_rebind: ' + s(psaA.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaB.auto_rebind: ' + s(psaB.auto_rebind))


[?25l:[?2004h[?25hcb.append('psaC.auto_rebind: ' + s(psaC.auto_rebind))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel s


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel a


[?25l:[?2004h[?25hdel pa1


[?25l:[?2004h[?25hdel pa2


[?25l:[?2004h[?25hdel pa3


[?25l:[?2004h[?25hdel pa4


[?25l:[?2004h[?25hdel sa


[?25l:[?2004h[?25hdel psa1


[?25l:[?2004h[?25hdel psa2


[?25l:[?2004h[?25hdel psa3


[?25l:[?2004h[?25hdel psa4


[?25l:[?2004h[?25hdel psa5


[?25l:[?2004h[?25hdel psa6


[?25l:[?2004h[?25hdel psa7


[?25l:[?2004h[?25hdel psa8


[?25l:[?2004h[?25hdel psa9


[?25l:[?2004h[?25hdel psaA


[?25l:[?2004h[?25hdel psaB


[?25l:[?2004h[?25hdel psaC


[?25l:[?2004h[?25hdel psar


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdel ecall


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test stdout/stderr


[?25l:[?2004h[?25h:redir => messages


[?25l:[?2004h[?25h:py3 sys.stdout.write('abc8') ; sys.stdout.write('def')


[?25l:[?2004h[?25h:py3 sys.stderr.write('abc9') ; sys.stderr.write('def')


[?25l:[?2004h[?25h:py3 sys.stdout.writelines(iter('abcA'))


[?25l:[?2004h[?25h:py3 sys.stderr.writelines(iter('abcB'))


[?25l:[?2004h[?25h:redir END


[?25l:[?2004h[?25h:$put =string(substitute(messages, '\d\+', '', 'g'))


[?25l:[?2004h[?25h:" Test subclassing


[?25l:[?2004h[?25h:fun Put(...)


[?25l:[?2004h[?25h:   $put =string(a:000)


[?25l:[?2004h[?25h:   return a:000


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hclass DupDict(vim.Dictionary):


[?25l:[?2004h[?25h    def __setitem__(self, key, value):


[?25l:[?2004h[?25h        super(DupDict, self).__setitem__(key, value)


[?25l:[?2004h[?25h        super(DupDict, self).__setitem__('dup_' + key, val


ue)


[?25l:[?2004h[?25hdd = DupDict()


[?25l:[?2004h[?25hdd['a'] = 'b'


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass DupList(vim.List):


[?25l:[?2004h[?25h    def __getitem__(self, idx):


[?25l:[?2004h[?25h        return [super(DupList, self).__getitem__(idx)] * 2


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdl = DupList()


[?25l:[?2004h[?25hdl2 = DupList(iter('abcC'))


[?25l:[?2004h[?25hdl.extend(dl2[0])


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass DupFun(vim.Function):


[?25l:[?2004h[?25h    def __call__(self, arg):


[?25l:[?2004h[?25h        return super(DupFun, self).__call__(arg, arg)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdf = DupFun('Put')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:$put =string(sort(keys(py3eval('dd'))))


[?25l:[?2004h[?25h:$put =string(py3eval('dl'))


[?25l:[?2004h[?25h:$put =string(py3eval('dl2'))


[?25l:[?2004h[?25h:$put =string(py3eval('df(2)'))


[?25l:[?2004h[?25h:$put =string(py3eval('dl') is# py3eval('dl'))


[?25l:[?2004h[?25h:$put =string(py3eval('dd') is# py3eval('dd'))


[?25l:[?2004h[?25h:$put =string(py3eval('df'))


[?25l:[?2004h[?25h:delfunction Put


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdel DupDict


[?25l:[?2004h[?25hdel DupList


[?25l:[?2004h[?25hdel DupFun


[?25l:[?2004h[?25hdel dd


[?25l:[?2004h[?25hdel dl


[?25l:[?2004h[?25hdel dl2


[?25l:[?2004h[?25hdel df


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test chdir


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25himport os


[?25l:[?2004h[?25hfnamemodify = vim.Function('fnamemodify')


[?25l:[?2004h[?25hcb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25hcb.append(vim.eval('@%'))


[?25l:[?2004h[?25hos.chdir('..')


[?25l:[?2004h[?25hpath = fnamemodify('.', ':p:h:t')


[?25l:[?2004h[?25hif path != b'src':


[?25l:[?2004h[?25h  # Running tests from a shadow directory, so move up anot


her level


[?25l:[?2004h[?25h  # This will result in @% looking like shadow/testdir/tes


t87.in, hence the


[?25l:[?2004h[?25h  # slicing to remove the leading path and path separator


[?25l:[?2004h[?25h  os.chdir('..')


[?25l:[?2004h[?25h  cb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25h  cb.append(vim.eval('@%')[len(path)+1:].replace(os.path.s


ep, '/'))


[?25l:[?2004h[?25h  os.chdir(path)


[?25l:[?2004h[?25helse:


[?25l:[?2004h[?25h  cb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25h  cb.append(vim.eval('@%').replace(os.path.sep, '/'))


[?25l:[?2004h[?25hdel path


[?25l:[?2004h[?25hos.chdir('testdir')


[?25l:[?2004h[?25hcb.append(str(fnamemodify('.', ':p:h:t')))


[?25l:[?2004h[?25hcb.append(vim.eval('@%'))


[?25l:[?2004h[?25hdel fnamemodify


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test errors


[?25l:[?2004h[?25h:fun F() dict


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25h:fun D()


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hd = vim.Dictionary()


[?25l:[?2004h[?25hned = vim.Dictionary(foo='bar', baz='abcD')


[?25l:[?2004h[?25hdl = vim.Dictionary(a=1)


[?25l:[?2004h[?25hdl.locked = True


[?25l:[?2004h[?25hl = vim.List()


[?25l:[?2004h[?25hll = vim.List('abcE')


[?25l:[?2004h[?25hll.locked = True


[?25l:[?2004h[?25hnel = vim.List('abcO')


[?25l:[?2004h[?25hf = vim.Function('string')


[?25l:[?2004h[?25hfd = vim.Function('F')


[?25l:[?2004h[?25hfdel = vim.Function('D')


[?25l:[?2004h[?25hvim.command('delfunction D')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef subexpr_test(expr, name, subexprs):


[?25l:[?2004h[?25h    cb.append('>>> Testing %s using %s' % (name, expr)


)

[?25l:[?2004h[?25h    for subexpr in subexprs:


[?25l:[?2004h[?25h        ee(expr % subexpr)


[?25l:[?2004h[?25h    cb.append('<<< Finished')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef stringtochars_test(expr):


[?25l:[?2004h[?25h    return subexpr_test(expr, 'StringToChars', (


[?25l:[?2004h[?25h        '1',       # Fail type checks


[?25l:[?2004h[?25h        'b"\\0"',  # Fail PyString_AsStringAndSize(obj


ect, , NULL) check


[?25l:[?2004h[?25h        '"\\0"',   # Fail PyString_AsStringAndSize(byt


es, , NULL) check


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass Mapping(object):


[?25l:[?2004h[?25h    def __init__(self, d):


[?25l:[?2004h[?25h        self.d = d


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __getitem__(self, key):


[?25l:[?2004h[?25h        return self.d[key]


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        return self.d.keys()


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def items(self):


[?25l:[?2004h[?25h        return self.d.items()


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef convertfrompyobject_test(expr, recurse=True):


[?25l:[?2004h[?25h    # pydict_to_tv


[?25l:[?2004h[?25h    stringtochars_test(expr % '{%s : 1}')


[?25l:[?2004h[?25h    if recurse:


[?25l:[?2004h[?25h        convertfrompyobject_test(expr % '{"abcF" : %s}


', False)


[?25l:[?2004h[?25h    # pymap_to_tv


[?25l:[?2004h[?25h    stringtochars_test(expr % 'Mapping({%s : 1})')


[?25l:[?2004h[?25h    if recurse:


[?25l:[?2004h[?25h        convertfrompyobject_test(expr % 'Mapping({"abc


G" : %s})', False)


[?25l:[?2004h[?25h    # pyseq_to_tv


[?25l:[?2004h[?25h    iter_test(expr)


[?25l:[?2004h[?25h    return subexpr_test(expr, 'ConvertFromPyObject', (


[?25l:[?2004h[?25h        'None',                 # Not conversible


[?25l:[?2004h[?25h        '{b"": 1}',             # Empty key not allowe


d

[?25l:[?2004h[?25h        '{"": 1}',              # Same, but with unico


de object


[?25l:[?2004h[?25h        'FailingMapping()',     #


[?25l:[?2004h[?25h        'FailingMappingKey()',  #


[?25l:[?2004h[?25h        'FailingNumber()',      #


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef convertfrompymapping_test(expr):


[?25l:[?2004h[?25h    convertfrompyobject_test(expr)


[?25l:[?2004h[?25h    return subexpr_test(expr, 'ConvertFromPyMapping', 


(

[?25l:[?2004h[?25h        '[]',


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef iter_test(expr):


[?25l:[?2004h[?25h    return subexpr_test(expr, '*Iter*', (


[?25l:[?2004h[?25h        'FailingIter()',


[?25l:[?2004h[?25h        'FailingIterNext()',


[?25l:[?2004h[?25h    ))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hdef number_test(expr, natural=False, unsigned=False):


[?25l:[?2004h[?25h    if natural:


[?25l:[?2004h[?25h        unsigned = True


[?25l:[?2004h[?25h    return subexpr_test(expr, 'NumberToLong', (


[?25l:[?2004h[?25h        '[]',


[?25l:[?2004h[?25h        'None',


[?25l:[?2004h[?25h    ) + (('-1',) if unsigned else ())


[?25l:[?2004h[?25h    + (('0',) if natural else ()))


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingTrue(object):


[?25l:[?2004h[?25h    def __bool__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('bool')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIter(object):


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('iter')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIterNext(object):


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        return self


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __next__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('next')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingIterNextN(object):


[?25l:[?2004h[?25h    def __init__(self, n):


[?25l:[?2004h[?25h        self.n = n


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __iter__(self):


[?25l:[?2004h[?25h        return self


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def __next__(self):


[?25l:[?2004h[?25h        if self.n:


[?25l:[?2004h[?25h            self.n -= 1


[?25l:[?2004h[?25h            return 1


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            raise NotImplementedError('next N')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingMappingKey(object):


[?25l:[?2004h[?25h    def __getitem__(self, item):


[?25l:[?2004h[?25h        raise NotImplementedError('getitem:mappingkey'


)

[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        return list("abcH")


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingMapping(object):


[?25l:[?2004h[?25h    def __getitem__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('getitem:mapping')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25h    def keys(self):


[?25l:[?2004h[?25h        raise NotImplementedError('keys')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingList(list):


[?25l:[?2004h[?25h    def __getitem__(self, idx):


[?25l:[?2004h[?25h        if i == 2:


[?25l:[?2004h[?25h            raise NotImplementedError('getitem:list')


[?25l:[?2004h[?25h        else:


[?25l:[?2004h[?25h            return super(FailingList, self).__getitem_


_(idx)


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass NoArgsCall(object):


[?25l:[?2004h[?25h    def __call__(self):


[?25l:[?2004h[?25h        pass


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingCall(object):


[?25l:[?2004h[?25h    def __call__(self, path):


[?25l:[?2004h[?25h        raise NotImplementedError('call')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hclass FailingNumber(object):


[?25l:[?2004h[?25h    def __int__(self):


[?25l:[?2004h[?25h        raise NotImplementedError('int')


[?25l:[?2004h[?25h


[?25l:[?2004h[?25hcb.append("> Output")


[?25l:[?2004h[?25hcb.append(">> OutputSetattr")


[?25l:[?2004h[?25hee('del sys.stdout.softspace')


[?25l:[?2004h[?25hnumber_test('sys.stdout.softspace = %s', unsigned=True


)

[?25l:[?2004h[?25hnumber_test('sys.stderr.softspace = %s', unsigned=True


)

[?25l:[?2004h[?25hee('assert sys.stdout.isatty()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.seekable()==False')


[?25l:[?2004h[?25hee('sys.stdout.close()')


[?25l:[?2004h[?25hee('sys.stdout.flush()')


[?25l:[?2004h[?25hee('assert sys.stderr.isatty()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.seekable()==False')


[?25l:[?2004h[?25hee('sys.stderr.close()')


[?25l:[?2004h[?25hee('sys.stderr.flush()')


[?25l:[?2004h[?25hee('sys.stdout.attr = None')


[?25l:[?2004h[?25hcb.append(">> OutputWrite")


[?25l:[?2004h[?25hee('assert sys.stdout.writable()==True')


[?25l:[?2004h[?25hee('assert sys.stdout.readable()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.writable()==True')


[?25l:[?2004h[?25hee('assert sys.stderr.readable()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.closed()==False')


[?25l:[?2004h[?25hee('assert sys.stderr.closed()==False')


[?25l:[?2004h[?25hee('assert sys.stdout.errors=="strict"')


[?25l:[?2004h[?25hee('assert sys.stderr.errors=="strict"')


[?25l:[?2004h[?25hee('assert sys.stdout.encoding==sys.stderr.encoding')


[?25l:[?2004h[?25hee('sys.stdout.write(None)')


[?25l:[?2004h[?25hcb.append(">> OutputWriteLines")


[?25l:[?2004h[?25hee('sys.stdout.writelines(None)')


[?25l:[?2004h[?25hee('sys.stdout.writelines([1])')


[?25l:[?2004h[?25hiter_test('sys.stdout.writelines(%s)')


[?25l:[?2004h[?25hcb.append("> VimCommand")


[?25l:[?2004h[?25hstringtochars_test('vim.command(%s)')


[?25l:[?2004h[?25hee('vim.command("", 2)')


[?25l:[?2004h[?25h#! Not checked: vim->python exceptions translating: ch


ecked later


[?25l:[?2004h[?25hcb.append("> VimToPython")


[?25l:[?2004h[?25h#! Not checked: everything: needs errors in internal p


ython functions


[?25l:[?2004h[?25hcb.append("> VimEval")


[?25l:[?2004h[?25hstringtochars_test('vim.eval(%s)')


[?25l:[?2004h[?25hee('vim.eval("", FailingTrue())')


[?25l:[?2004h[?25h#! Not checked: everything: needs errors in internal p


ython functions


[?25l:[?2004h[?25hcb.append("> VimEvalPy")


[?25l:[?2004h[?25hstringtochars_test('vim.bindeval(%s)')


[?25l:[?2004h[?25hee('vim.eval("", 2)')


[?25l:[?2004h[?25h#! Not checked: vim->python exceptions translating: ch


ecked later


[?25l:[?2004h[?25hcb.append("> VimStrwidth")


[?25l:[?2004h[?25hstringtochars_test('vim.strwidth(%s)')


[?25l:[?2004h[?25hcb.append("> VimForeachRTP")


[?25l:[?2004h[?25hee('vim.foreach_rtp(None)')


[?25l:[?2004h[?25hee('vim.foreach_rtp(NoArgsCall())')


[?25l:[?2004h[?25hee('vim.foreach_rtp(FailingCall())')


[?25l:[?2004h[?25hee('vim.foreach_rtp(int, 2)')


[?25l:[?2004h[?25hcb.append('> import')


[?25l:[?2004h[?25hold_rtp = vim.options['rtp']


[?25l:[?2004h[?25hvim.options['rtp'] = os.getcwd().replace('\\', '\\\\')


.replace(',', '\\,')


[?25l:[?2004h[?25hee('import xxx_no_such_module_xxx')


[?25l:[?2004h[?25hee('import failing_import')


[?25l:[?2004h[?25hee('import failing')


[?25l:[?2004h[?25hvim.options['rtp'] = old_rtp


[?25l:[?2004h[?25hdel old_rtp


[?25l:[?2004h[?25hcb.append("> Options")


[?25l:[?2004h[?25hcb.append(">> OptionsItem")


[?25l:[?2004h[?25hee('vim.options["abcQ"]')


[?25l:[?2004h[?25hee('vim.options[""]')


[?25l:[?2004h[?25hstringtochars_test('vim.options[%s]')


[?25l:[?2004h[?25hcb.append(">> OptionsContains")


[?25l:[?2004h[?25hstringtochars_test('%s in vim.options')


[?25l:[?2004h[?25hcb.append("> Dictionary")


[?25l:[?2004h[?25hcb.append(">> DictionaryConstructor")


[?25l:[?2004h[?25hee('vim.Dictionary("abcI")')


[?25l:[?2004h[?25h##! Not checked: py_dict_alloc failure


[?25l:[?2004h[?25hcb.append(">> DictionarySetattr")


[?25l:[?2004h[?25hee('del d.locked')


[?25l:[?2004h[?25hee('d.locked = FailingTrue()')


[?25l:[?2004h[?25hee('vim.vvars.locked = False')


[?25l:[?2004h[?25hee('d.scope = True')


[?25l:[?2004h[?25hee('d.xxx = True')


[?25l:[?2004h[?25hcb.append(">> _DictionaryItem")


[?25l:[?2004h[?25hee('d.get("a", 2, 3)')


[?25l:[?2004h[?25hstringtochars_test('d.get(%s)')


[?25l:[?2004h[?25hee('d.pop("a")')


[?25l:[?2004h[?25hee('dl.pop("a")')


[?25l:[?2004h[?25hcb.append(">> DictionaryContains")


[?25l:[?2004h[?25hee('"" in d')


[?25l:[?2004h[?25hee('0 in d')


[?25l:[?2004h[?25hcb.append(">> DictionaryIterNext")


[?25l:[?2004h[?25hee('for i in ned: ned["a"] = 1')


[?25l:[?2004h[?25hdel i


[?25l:[?2004h[?25hcb.append(">> DictionaryAssItem")


[?25l:[?2004h[?25hee('dl["b"] = 1')


[?25l:[?2004h[?25hstringtochars_test('d[%s] = 1')


[?25l:[?2004h[?25hconvertfrompyobject_test('d["a"] = %s')


[?25l:[?2004h[?25hcb.append(">> DictionaryUpdate")


[?25l:[?2004h[?25hcb.append(">>> kwargs")


[?25l:[?2004h[?25hcb.append(">>> iter")


[?25l:[?2004h[?25hee('d.update(FailingMapping())')


[?25l:[?2004h[?25hee('d.update([FailingIterNext()])')


[?25l:[?2004h[?25hee('d.update([FailingIterNextN(1)])')


[?25l:[?2004h[?25hiter_test('d.update(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('d.update(%s)')


[?25l:[?2004h[?25hstringtochars_test('d.update(((%s, 0),))')


[?25l:[?2004h[?25hconvertfrompyobject_test('d.update((("a", %s),))')


[?25l:[?2004h[?25hcb.append(">> DictionaryPopItem")


[?25l:[?2004h[?25hee('d.popitem(1, 2)')


[?25l:[?2004h[?25hcb.append(">> DictionaryHasKey")


[?25l:[?2004h[?25hee('d.has_key()')


[?25l:[?2004h[?25hcb.append("> List")


[?25l:[?2004h[?25hcb.append(">> ListConstructor")


[?25l:[?2004h[?25hee('vim.List(1, 2)')


[?25l:[?2004h[?25hee('vim.List(a=1)')


[?25l:[?2004h[?25hiter_test('vim.List(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('vim.List([%s])')


[?25l:[?2004h[?25hcb.append(">> ListItem")


[?25l:[?2004h[?25hee('l[1000]')


[?25l:[?2004h[?25hcb.append(">> ListAssItem")


[?25l:[?2004h[?25hee('ll[1] = 2')


[?25l:[?2004h[?25hee('l[1000] = 3')


[?25l:[?2004h[?25hcb.append(">> ListAssSlice")


[?25l:[?2004h[?25hee('ll[1:100] = "abcJ"')


[?25l:[?2004h[?25hiter_test('l[:] = %s')


[?25l:[?2004h[?25hee('nel[1:10:2]  = "abcK"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[1:10:2]  = "a"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[1:1:-1]  = "a"')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hee('nel[:] = FailingIterNextN(2)')


[?25l:[?2004h[?25hcb.append(repr(tuple(nel)))


[?25l:[?2004h[?25hconvertfrompyobject_test('l[:] = [%s]')


[?25l:[?2004h[?25hcb.append(">> ListConcatInPlace")


[?25l:[?2004h[?25hiter_test('l.extend(%s)')


[?25l:[?2004h[?25hconvertfrompyobject_test('l.extend([%s])')


[?25l:[?2004h[?25hcb.append(">> ListSetattr")


[?25l:[?2004h[?25hee('del l.locked')


[?25l:[?2004h[?25hee('l.locked = FailingTrue()')


[?25l:[?2004h[?25hee('l.xxx = True')


[?25l:[?2004h[?25hcb.append("> Function")


[?25l:[?2004h[?25hcb.append(">> FunctionConstructor")


[?25l:[?2004h[?25hcb.append(">>> FunctionConstructor")


[?25l:[?2004h[?25hee('vim.Function("123")')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx")')


[?25l:[?2004h[?25hee('vim.Function("xxx#non#existent#function#xxx")')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx2", arg


s=[])')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx3", sel


f={})')


[?25l:[?2004h[?25hee('vim.Function("xxx_non_existent_function_xxx4", arg


s=[], self={})')


[?25l:[?2004h[?25hcb.append(">>> FunctionNew")


[?25l:[?2004h[?25hee('vim.Function("tr", self="abcFuncSelf")')


[?25l:[?2004h[?25hee('vim.Function("tr", args=427423)')


[?25l:[?2004h[?25hee('vim.Function("tr", self="abcFuncSelf2", args="abcF


uncArgs2")')


[?25l:[?2004h[?25hee('vim.Function(self="abcFuncSelf2", args="abcFuncArg


s2")')


[?25l:[?2004h[?25hee('vim.Function("tr", "", self="abcFuncSelf2", args="


abcFuncArgs2")')


[?25l:[?2004h[?25hee('vim.Function("tr", "")')


[?25l:[?2004h[?25hcb.append(">> FunctionCall")


[?25l:[?2004h[?25hconvertfrompyobject_test('f(%s)')


[?25l:[?2004h[?25hconvertfrompymapping_test('fd(self=%s)')


[?25l:[?2004h[?25hcb.append("> TabPage")


[?25l:[?2004h[?25hcb.append(">> TabPageAttr")


[?25l:[?2004h[?25hee('vim.current.tabpage.xxx')


[?25l:[?2004h[?25hcb.append("> TabList")


[?25l:[?2004h[?25hcb.append(">> TabListItem")


[?25l:[?2004h[?25hee('vim.tabpages[1000]')


[?25l:[?2004h[?25hcb.append("> Window")


[?25l:[?2004h[?25hcb.append(">> WindowAttr")


[?25l:[?2004h[?25hee('vim.current.window.xxx')


[?25l:[?2004h[?25hcb.append(">> WindowSetattr")


[?25l:[?2004h[?25hee('vim.current.window.buffer = 0')


[?25l:[?2004h[?25hee('vim.current.window.cursor = (100000000, 100000000)


')

[?25l:[?2004h[?25hee('vim.current.window.cursor = True')


[?25l:[?2004h[?25hnumber_test('vim.current.window.height = %s', unsigned


=True)


[?25l:[?2004h[?25hnumber_test('vim.current.window.width = %s', unsigned=


True)


[?25l:[?2004h[?25hee('vim.current.window.xxxxxx = True')


[?25l:[?2004h[?25hcb.append("> WinList")


[?25l:[?2004h[?25hcb.append(">> WinListItem")


[?25l:[?2004h[?25hee('vim.windows[1000]')


[?25l:[?2004h[?25hcb.append("> Buffer")


[?25l:[?2004h[?25hcb.append(">> StringToLine (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[0] = "\\na"')


[?25l:[?2004h[?25hee('vim.current.buffer[0] = b"\\na"')


[?25l:[?2004h[?25hcb.append(">> SetBufferLine (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[0] = True')


[?25l:[?2004h[?25hcb.append(">> SetBufferLineList (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer[:] = True')


[?25l:[?2004h[?25hee('vim.current.buffer[:] = ["\\na", "bc"]')


[?25l:[?2004h[?25hcb.append(">> InsertBufferLines (indirect)")


[?25l:[?2004h[?25hee('vim.current.buffer.append(None)')


[?25l:[?2004h[?25hee('vim.current.buffer.append(["\\na", "bc"])')


[?25l:[?2004h[?25hee('vim.current.buffer.append("\\nbc")')


[?25l:[?2004h[?25hcb.append(">> RBItem")


[?25l:[?2004h[?25hee('vim.current.buffer[100000000]')


[?25l:[?2004h[?25hcb.append(">> RBAsItem")


[?25l:[?2004h[?25hee('vim.current.buffer[100000000] = ""')


[?25l:[?2004h[?25hcb.append(">> BufferAttr")


[?25l:[?2004h[?25hee('vim.current.buffer.xxx')


[?25l:[?2004h[?25hcb.append(">> BufferSetattr")


[?25l:[?2004h[?25hee('vim.current.buffer.name = True')


[?25l:[?2004h[?25hee('vim.current.buffer.xxx = True')


[?25l:[?2004h[?25hcb.append(">> BufferMark")


[?25l:[?2004h[?25hee('vim.current.buffer.mark(0)')


[?25l:[?2004h[?25hee('vim.current.buffer.mark("abcM")')


[?25l:[?2004h[?25hee('vim.current.buffer.mark("!")')


[?25l:[?2004h[?25hcb.append(">> BufferRange")


[?25l:[?2004h[?25hee('vim.current.buffer.range(1, 2, 3)')


[?25l:[?2004h[?25hcb.append("> BufMap")


[?25l:[?2004h[?25hcb.append(">> BufMapItem")


[?25l:[?2004h[?25hee('vim.buffers[100000000]')


[?25l:[?2004h[?25hnumber_test('vim.buffers[%s]', natural=True)


[?25l:[?2004h[?25hcb.append("> Current")


[?25l:[?2004h[?25hcb.append(">> CurrentGetattr")


[?25l:[?2004h[?25hee('vim.current.xxx')


[?25l:[?2004h[?25hcb.append(">> CurrentSetattr")


[?25l:[?2004h[?25hee('vim.current.line = True')


[?25l:[?2004h[?25hee('vim.current.buffer = True')


[?25l:[?2004h[?25hee('vim.current.window = True')


[?25l:[?2004h[?25hee('vim.current.tabpage = True')


[?25l:[?2004h[?25hee('vim.current.xxx = True')


[?25l:[?2004h[?25hdel d


[?25l:[?2004h[?25hdel ned


[?25l:[?2004h[?25hdel dl


[?25l:[?2004h[?25hdel l


[?25l:[?2004h[?25hdel ll


[?25l:[?2004h[?25hdel nel


[?25l:[?2004h[?25hdel f


[?25l:[?2004h[?25hdel fd


[?25l:[?2004h[?25hdel fdel


[?25l:[?2004h[?25hdel subexpr_test


[?25l:[?2004h[?25hdel stringtochars_test


[?25l:[?2004h[?25hdel Mapping


[?25l:[?2004h[?25hdel convertfrompyobject_test


[?25l:[?2004h[?25hdel convertfrompymapping_test


[?25l:[?2004h[?25hdel iter_test


[?25l:[?2004h[?25hdel number_test


[?25l:[?2004h[?25hdel FailingTrue


[?25l:[?2004h[?25hdel FailingIter


[?25l:[?2004h[?25hdel FailingIterNext


[?25l:[?2004h[?25hdel FailingIterNextN


[?25l:[?2004h[?25hdel FailingMapping


[?25l:[?2004h[?25hdel FailingMappingKey


[?25l:[?2004h[?25hdel FailingList


[?25l:[?2004h[?25hdel NoArgsCall


[?25l:[?2004h[?25hdel FailingCall


[?25l:[?2004h[?25hdel FailingNumber


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:delfunction F


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test import


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hsys.path.insert(0, os.path.join(os.getcwd(), 'python_b


efore'))


[?25l:[?2004h[?25hsys.path.append(os.path.join(os.getcwd(), 'python_afte


r'))


[?25l:[?2004h[?25hvim.options['rtp'] = os.getcwd().replace(',', '\\,').r


eplace('\\', '\\\\')


[?25l:[?2004h[?25hl = []


[?25l:[?2004h[?25hdef callback(path):


[?25l:[?2004h[?25h    l.append(os.path.relpath(path))


[?25l:[?2004h[?25hvim.foreach_rtp(callback)


[?25l:[?2004h[?25hcb.append(repr(l))


[?25l:[?2004h[?25hdel l


[?25l:[?2004h[?25hdef callback(path):


[?25l:[?2004h[?25h    return os.path.relpath(path)


[?25l:[?2004h[?25hcb.append(repr(vim.foreach_rtp(callback)))


[?25l:[?2004h[?25hdel callback


[?25l:[?2004h[?25hfrom module import dir as d


[?25l:[?2004h[?25hfrom modulex import ddir


[?25l:[?2004h[?25hcb.append(d + ',' + ddir)


[?25l:[?2004h[?25himport before


[?25l:[?2004h[?25hcb.append(before.dir)


[?25l:[?2004h[?25himport after


[?25l:[?2004h[?25hcb.append(after.dir)


[?25l:[?2004h[?25himport topmodule as tm


[?25l:[?2004h[?25himport topmodule.submodule as tms


[?25l:[?2004h[?25himport topmodule.submodule.subsubmodule.subsubsubmodul


e as tmsss


[?25l:[?2004h[?25hcb.append(tm.__file__.replace(os.path.sep, '/')[-len('


modulex/topmodule/__init__.py'):])


[?25l:[?2004h[?25hcb.append(tms.__file__.replace(os.path.sep, '/')[-len(


'modulex/topmodule/submodule/__init__.py'):])


[?25l:[?2004h[?25hcb.append(tmsss.__file__.replace(os.path.sep, '/')[-le


n('modulex/topmodule/submodule/subsubmodule/subsubsubmodule.py'):])


[?25l:[?2004h[?25hdel before


[?25l:[?2004h[?25hdel after


[?25l:[?2004h[?25hdel d


[?25l:[?2004h[?25hdel ddir


[?25l:[?2004h[?25hdel tm


[?25l:[?2004h[?25hdel tms


[?25l:[?2004h[?25hdel tmsss


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Test exceptions


[?25l:[?2004h[?25h:fun Exe(e)


[?25l:[?2004h[?25h:   execute a:e


[?25l:[?2004h[?25h:endfun


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hExe = vim.bindeval('function("Exe")')


[?25l:[?2004h[?25hee('vim.command("throw \'abcN\'")')


[?25l:[?2004h[?25hee('Exe("throw \'def\'")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'throw \'\'ghi\'\'\')")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'echoerr \'\'jkl\'\'\')")')


[?25l:[?2004h[?25hee('vim.eval("Exe(\'xxx_non_existent_command_xxx\')"


)')


[?25l:[?2004h[?25hee('vim.eval("xxx_unknown_function_xxx()")')


[?25l:[?2004h[?25hee('vim.bindeval("Exe(\'xxx_non_existent_command_xxx


\')")')


[?25l:[?2004h[?25hdel Exe


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:delfunction Exe


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Regression: interrupting vim.command propagates t


o next vim.command


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdef test_keyboard_interrupt():


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        vim.command('while 1 | endwhile')


[?25l:[?2004h[?25h    except KeyboardInterrupt:


[?25l:[?2004h[?25h        cb.append('Caught KeyboardInterrupt')


[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught exception: ' + em


sg(sys.exc_info()))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! No exception')


[?25l:[?2004h[?25h    try:


[?25l:[?2004h[?25h        vim.command('$ put =\'Running :put\'')


[?25l:[?2004h[?25h    except KeyboardInterrupt:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught KeyboardInterrupt


')

[?25l:[?2004h[?25h    except Exception:


[?25l:[?2004h[?25h        cb.append('!!!!!!!! Caught exception: ' + em


sg(sys.exc_info()))


[?25l:[?2004h[?25h    else:


[?25l:[?2004h[?25h        cb.append('No exception')


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:debuggreedy


[?25l:[?2004h[?25h:call inputsave()


[?25l:[?2004h[?25h:call feedkeys("s\ns\ns\ns\nq\n")


[?25l:[?2004h[?25h:redir => output


[?25l:[?2004h[?25h:debug silent! py3 test_keyboard_interrupt()


[?25l:[?2004h[?25h:redir END


[?25l:[?2004h[?25h:0 debuggreedy


[?25l:[?2004h[?25h:call inputrestore()


[?25l:[?2004h[?25h:silent $put =output


[?25l:[?2004h[?25h:unlet output


[?25l:[?2004h[?25h:py3 del test_keyboard_interrupt


[?25l:[?2004h[?25h:"


[?25l:[?2004h[?25h:" Cleanup


[?25l:[?2004h[?25hpy3 << EOF


[?25l:[?2004h[?25hdel cb


[?25l:[?2004h[?25hdel ee


[?25l:[?2004h[?25hdel emsg


[?25l:[?2004h[?25hdel sys


[?25l:[?2004h[?25hdel os


[?25l:[?2004h[?25hdel vim


[?25l:[?2004h[?25hEOF


[?25l:[?2004h[?25h:endfun
[?25l:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out

:/^start:/,$w! test.out

:" vim: et ts=4 isk-=\:

:while getchar(0) isnot 0|endwhile

ENDTEST



start:[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hfun RunTest()
[?25l

:[?2004h  [?25h:let checkrefs = !empty($PYTHONDUMPREFS)


[?25l:[?2004h  [?25h:let start = getline(1, '$')


[?25l:[?2004h  [?25h:for i in range(checkrefs ? 10 : 1)


[?25l:[?2004h    [?25h:   if i != 0


[?25l:[?2004h      [?25h:       %d _


[?25l:[?2004h      [?25h:       call setline(1, start)


[?25l:[?2004h      [?25h:   endif


[?25l:[?2004h    [?25h:   call Test()


[?25l:[?2004h    [?25h:   if i == 0


[?25l:[?2004h      [?25h:       let result = getline(1, '$')


[?25l:[?2004h      [?25h:   endif


[?25l:[?2004h    [?25h:endfor


[?25l:[?2004h  [?25h:if checkrefs


[?25l:[?2004h    [?25h:   %d _


[?25l:[?2004h    [?25h:   call setline(1, result)


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h:endfun
[?25l:   call Test()

:   if i == 0

:let result = getline(1, '$')

:   endif

:endfor

:if checkrefs

:   %d _

:   call setline(1, result)

:endif

:endfun

:"

:call RunTest()

:delfunction RunTest

:delfunction Test

:call garbagecollect(1)

:"

:/^start:/,$wq! test.out[?25h[?25l



:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall RunTest()
[?25l8 more lin

3 more lines[?25h[?2004l[?2004h


[?25l"a" [New File]


"b" [New File]


"c" [New File]


"0" [New File]


"1" [New File]


"a.1" [New File]


"2" [New File]


"a.2" [New File]


"b.2" [New File]


"c.2" [New File]


Already only one window


abc8def


Error detected while processing function RunTest[8]..Test:


line 1119:


abc9def


abcA


line 1121:


abcB


8 more lines[?2004h


Entering Debug mode.  Type "cont" to continue.


function RunTest[8]..Test


line 1663: py3 test_keyboard_interrupt()


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: while 1 | endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: while 1 | endwhile


>[?2004hs
[?2004h

function RunTest[8]..Test


line 1663: endwhile


>[?2004hq
[?2004l[?2004h['.']

'.'

3,xx

before

after

pythonx/topmodule/__init__.py

pythonx/topmodule/submodule/__init__.py

pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py

vim.command("throw 'abcN'"):(<class 'vim.error'>, error('abcN',))

Exe("throw 'def'"):(<class 'vim.error'>, error('def',))

vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',))

vim.eval("Exe('echoerr ''jkl''')"):(<class 'vim.error'>, error('Vim(echoerr):jkll',))

vim.eval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vimm:E492: Not an editor command: xxx_non_existent_command_xxx',))

vim.eval("xxx_unknown_function_xxx()"):(<class 'vim.error'>, error('Vim:E117: Unnknown function: xxx_unknown_function_xxx',))

vim.bindeval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error(('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',))

Caught KeyboardInterrupt

Running :put

No exception



"test87.in" [Modified][Not edited] line 3164 of 3164 --100%-- col 1[?25h[?25l:[?2004h[?25hdelfunction RunTest
[?25l[?25h[?25l:[?2004h[?25hdelfunction Test
[?25l[?25h[?25l:[?2004h[?25hcall garbagecollect(1)
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h/^start:/,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP[?2004l
"test.out" [New File] 1445 lines, 77744 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test87 = test61; then \
#	  if diff test.out test87.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test87.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test87.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test12.in" 52 lines, 1199 charactersTests 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 nocompatible viminfo+=nviminfo

: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/[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 40 lines, 965 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:!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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cs[?25het dir=.,~
[?25l[?25h[?25l:[?2004h[?25h/start of testfile/,/end of testfile/w! Xtest1
[?25l"Xtest1" [New] 4L, 70C written[?25h[?25l:[?2004h[?25h" do an ls of the current dir to find the swap file (should not be there)
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:  !ls .X*.swp >test.out


[?25l:!ls .X*.swp >test.out[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access '.X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25helse


[?25l:[?2004h  [?25h:  r !ls X*.swp >test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25h!echo first line >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70Cstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:" Do an ls of the current dir to find the swap file, remove the leading dot


[?25l:[?2004h  [?25h:" to make the result the same for all systems.


[?25l:[?2004h  [?25h:  r!ls .X*.swp
[?2004l[?2004h

[?25l:[?2004h  :[?25h  s/\.*X/X/


[?25l:[?2004h  [?25h:  .w >>test.out
[?25l"test.out" 1L, 11C appended


:[?2004h  [?25h:  undo


[?25l1 line less; before #1  0 seconds ago


:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:  !ls X*.swp >>test.out


[?25l:[?2004h  [?25h:endif
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest2
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hset dir=./Xtest2,.,~
[?25lstart of testfile

line 2 Abcdefghij

line 3 Abcdefghij

end of testfile

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25he Xtest1
[?25l"Xtest1" 4L, 70C[?25h[?25l:[?2004h[?25h!ls X*.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004lls: cannot access 'X*.swp': No such file or directory
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under under >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest1.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir Xtest.je
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hset dir=Xtest.je,~
[?25l[?25h[?25l:[?2004h[?25he Xtest2/Xtest3
[?25l"Xtest2/Xtest3" 4L, 70C[?25h[?25l:[?2004h[?25hswap
[?25lXtest.je/Xtest3.swp[?25h[?25l:[?2004h[?25h!ls Xtest2 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3 >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ls Xtest.je >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!echo under Xtest3.swp >>test.out
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test12 = test61; then \
#	  if diff test.out test12.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test12.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test12.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test25.failed test.ok test.out X* viminfo
cp test25.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test25.in" 31 lines, 840 charactersTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 jumping to a tag with 'hidden' set, with symbolic link in path of tag.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 17 lines, 540 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset hidden
[?25l[?25h[?25l:[?2004h[?25h" Create a link from test25.dir to the current directory.
[?25l[?25h[?25l:[?2004h[?25h!rm -f test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!ln -s . test25.dir
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h" Create tags.text, with the current directory name inserted.
[?25lTest for jumping to a tag with 'hidden' set, with symbolic link in path of tag.

This only works for Unix, because of the symbolic link.



STARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST

[?25h[?25l

/[?2004h[?25htags line
[?25l

tags line:[?25h[?25l

:[?2004h[?25hr !pwd
[?25l[?25h[?2004l[?2004h[?25lSTARTTEST

:so small.vim

:set hidden

:" Create a link from test25.dir to the current directory.

:!rm -f test25.dir

:!ln -s . test25.dir

:" Create tags.text, with the current directory name inserted.

/tags line

:r !pwd

d$/test

hP:.w! tags.test

:" Try jumping to a tag in the current file, but with a path that contains a

:" symbolic link.  When wrong, this will give the ATTENTION message.  The next

:" space will then be eaten by hit-return, instead of moving the cursor to 'd'.

:set tags=tags.test

G^] x:.w! test.out

:!rm -f test25.dir tags.test

:qa!

ENDTEST



tags line:

/<<PKGBUILDDIR>>/src/vim-nox/testdir
[?25h[?25l[?25h[?25l

/[?2004h[?25htest
[?25l

SECTION_OFF     /test25.dir/test25.in   /^#define  SECTION_OFF  3$/[?25h[?25l/<<PKGBUILDDIR>>/src/vim-nox/testdir/test25.dir/te@                                                                               

SECTION_OFF     /<<PKGBUILDDIR>>/src/vim-nox/testdir/test25.dir/teest25.in /^#define  SECTION_OFF  3$/[?25h[?25l



:[?2004h[?25h.w! tags.test
[?25l"tags.test" [New File] 1 line, 112 characters written[?25h[?25l:[?2004h[?25h" Try jumping to a tag in the current file, but with a path that contains a
[?25l[?25h[?25l:[?2004h[?25h" symbolic link.  When wrong, this will give the ATTENTION message.  The next
[?25l[?25h[?25l:[?2004h[?25h" space will then be eaten by hit-return, instead of moving the cursor to 'd'.
[?25l[?25h[?25l:[?2004h[?25hset tags=tags.test
[?25l[?25h[?25l/*tx.c*/

#define  SECTION_OFF  3

#define  NUM_SECTIONS 3



SECTION_OFF[?25h#[?25lefine  SECTION_OFF  3[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New File] 1 line, 23 characters written[?25h[?25l:[?2004h[?25h!rm -f test25.dir tags.test
[?25l[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test25 = test61; then \
#	  if diff test.out test25.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test25.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test25.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test49.in" 32 lines, 705 charactersThis 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 nocp nomore viminfo+=nviminfo

:lang mess C

:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 23 lines, 475 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:endfor

:for v in keys(g:)

:  silent! exe "unlet " . v

:endfor

:unlet v

:qa!

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp nomore viminfo+=nviminfo
[?25l[?25h[?25l:[?2004h[>cl[?25hang mess C
[?25l[?25h[?25l:[?2004h[?25hso test49.vim
[?25lError detected while processing function F:


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 /<<PKGBUILDDIR>>/src/vim-nox/test


dir/test49.vim:


line  784:


E171: Missing :endif: endwhile 


*** Test  17: OK (285127993)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"/tmp/vqGUjLr/0" [New] 53L, 1582C written14L, 358C appended26L, 824C appended34L, 986C appended


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/1" 16L, 304C appended17L, 326C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/2[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/2"' -c 'breakad


dfile 8 /tmp/vqGUjLr/1' -S /tmp/vqGUjLr/1[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/2" 3L, 6C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/3" 6L, 127C appended7L, 149C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/4[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/4"' -c 'breakad


dfile 4 /tmp/vqGUjLr/3' -S /tmp/vqGUjLr/3[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/4" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/5" 21L, 486C appended22L, 508C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/6[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/6"' -c 'breakad


dfunc 7 F' -S /tmp/vqGUjLr/5[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/6" 3L, 18C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/7" 13L, 364C appended14L, 386C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/8[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/8"' -c 'breakad


dfunc 3 G' -S /tmp/vqGUjLr/7[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/8" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  18: OK (67224583)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/9" 12L, 201C appended13L, 223C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/10[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/10"' -S /tmp/vqGUj


Lr/9[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/10" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/11" 12L, 205C appended13L, 227C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/12[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/12"' -S /tmp/vqGUj


Lr/11[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/12" 2L, 7C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/13" 6L, 122C appended7L, 144C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/14[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/14"' -S /tmp/vqGUj


Lr/13[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/14" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/15" 8L, 176C appended9L, 198C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/16[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/16"' -S /tmp/vqGUj


Lr/15[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/16" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/17" 10L, 215C appended11L, 237C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/18[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/18"' -S /tmp/vqGUj


Lr/17[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/18" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/19" 7L, 149C appended8L, 171C8L, 170C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/20[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/20"' -S /tmp/vqGUj


Lr/19[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/20" 1L, 9C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  19: OK (69275973)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/21" 9L, 135C appended10L, 157C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/22[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/22"' -S /tmp/vqGUj


Lr/21[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/22" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/23" 10L, 155C appended11L, 177C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/24[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/24"' -S /tmp/vqGUj


Lr/23[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/24" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/25" 12L, 204C appended13L, 226C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/26[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/26"' -S /tmp/vqGUj


Lr/25[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/26" 4L, 18C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/27" 12L, 214C appended13L, 236C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/28[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/28"' -S /tmp/vqGUj


Lr/27[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/28" 4L, 22C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/29" 12L, 211C appended13L, 233C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/30[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/30"' -S /tmp/vqGUj


Lr/29[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/30" 3L, 22C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/31" 14L, 263C appended15L, 285C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/32[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/32"' -S /tmp/vqGUj


Lr/31[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/32" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/33" 14L, 277C appended15L, 299C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/34[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/34"' -S /tmp/vqGUj


Lr/33[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/34" 4L, 40C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  20: OK (1874575085)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/35" 58L, 1022C appended59L, 1044C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/36[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/36"' -S /tmp/vqGUj


Lr/35[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/36" 9L, 56C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  21: OK (147932225)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/37" 23L, 418C appended24L, 440C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/38[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/38"' -S /tmp/vqGUj


Lr/37[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/38" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/39" 23L, 437C appended24L, 459C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/40[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/40"' -c 'breaka


dd func 2 Interrupt' -S /tmp/vqGUjLr/39[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/40" 1L, 3C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/41" 21L, 386C appended22L, 408C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/42[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/42"' -S /tmp/vqGUj


Lr/41[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/42" 1L, 5C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  22: OK (4161)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/43" 25L, 432C appended26L, 454C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/44[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/44"' -S /tmp/vqGUj


Lr/43[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/44" 3L, 8C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  23: OK (49)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/45" 16L, 392C appended17L, 414C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/46[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/46"' -S /tmp/vqGUj


Lr/45[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/46" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/vqGUjLr/47"[noeol] 17L, 552C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/vqGUjLr/47" 14L, 502C written
"test49.in" 32L, 705C

   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/vqGUjLr/48"[noeol] 13L, 406C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/vqGUjLr/48" 10L, 378C written
"test49.in" 32L, 705C

   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/vqGUjLr/49"[noeol] 13L, 409C

10 substitutions on 10 lines

Pattern not found: ^\s*$
"/tmp/vqGUjLr/49" 10L, 381C written
"test49.in" 32L, 705C

*** Test  28: OK (1996459)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/50" 39L, 721C appended40L, 743C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/vqGUjLr/51[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/51"' -S /tmp/vqGUjLr/50[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/51" 6L, 21C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885Ctest49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/52" 23L, 509C appended24L, 531C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/53[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/53"' -S /tmp/vqGUj


Lr/52[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/53" 4L, 34C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  29: OK (170428555)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/54" 60L, 1101C appended61L, 1123C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/55[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nv


iminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/55"' -


c'breakadd func 3 F' -c 'breakadd file 19 /tmp/vqGUjLr/54' -c 'breakadd file 31


/tmp/vqGUjLr/54' -S /tmp/vqGUjLr/54[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/55" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  30: OK (190905173)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/56" 60L, 1122C appended61L, 1144C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/57[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/57"' -S /tmp/vqGUj


Lr/56[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/57" 16L, 89C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  31: OK (190905173)


*** Test  32: OK (354833067)


*** Test  33: OK (1216907538)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/58" 63L, 1288C appended64L, 1310C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/59[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUj


Lr/59"' -c 'breakadd func 16 C' -S /tmp/vqGUjLr/58[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/59" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  34: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/60" 63L, 1285C appended64L, 1307C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/61[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUj


Lr/61"' -c 'breakadd func 16 B' -S /tmp/vqGUjLr/60[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/61" 17L, 127C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  35: OK (2146584868)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/62" 66L, 1430C appended67L, 1452C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/63[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/


63"' -c 'breakadd func 16 R' -S /tmp/vqGUjLr/62[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/63" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  36: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/64" 73L, 1488C appended74L, 1510C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/65[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/65"' -c 'breakadd


func 16 F' -S /tmp/vqGUjLr/64[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/65" 9L, 81C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  37: OK (1071644672)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/66[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/66" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/67[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUj


Lr/67"' -c 'breakadd func 16 E' -S /tmp/vqGUjLr/66[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/67" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  38: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/68" 83L, 1538C appended84L, 1560C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/69[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -


c'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVi


mResult = "/tmp/vqGUjLr/69"' -c 'breakadd func 16 I' -c 'breakadd func 22 I' -S


/tmp/vqGUjLr/68[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/69" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  39: OK (357908480)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/70" 82L, 1519C appended83L, 1541C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/71[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vi


minfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUj


Lr/71"' -c 'breakadd func 16 T' -S /tmp/vqGUjLr/70[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/71" 8L, 63C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** 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/vqGUjLr/72"[noeol] 11L, 334C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vqGUjLr/72" 8L, 295C written
"test49.in" 32L, 705C

   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/vqGUjLr/73"[noeol] 12L, 364C

9 substitutions on 9 lines

Pattern not found: ^\s*$
"/tmp/vqGUjLr/73" 9L, 323C written
"test49.in" 32L, 705C

   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/vqGUjLr/74"[noeol] 11L, 332C

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vqGUjLr/74" 8L, 305C written
"test49.in" 32L, 705C

*** Test  50: OK (363550045)

*** Test  51: OK (40744667)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/76" 2L, 41C appended3L, 63C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C

:!>/tmp/vqGUjLr/77[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/77"' -S /tmp/vqGUjLr/76[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/77" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/75" 8L, 182C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/78" 7L, 115C appended8L, 137C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/79[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/79"' -S /tmp/vqGUjLr/78[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/79" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/75" 8L, 181C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/80" 12L, 180C appended13L, 202C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/81[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/81"' -S /tmp/vqGUjLr/80[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/81" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/75" 10L, 209C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/82" 8L, 139C appended9L, 161C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/83[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/83"' -S /tmp/vqGUjLr/82[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/83" 2L, 11C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/75" 10L, 217C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/84" 5L, 87C appended6L, 109C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/85[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir!


>/tmp/vqGUjLr/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin =


1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/85"' -c 'breakadd file 4 /tmp/vqGUjLr


/84' -S /tmp/vqGUjLr/84[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/85" 1L, 7C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/75" [noeol] 9L, 202C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/86" 7L, 189C appended8L, 211C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/87[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/87"' -S /tmp/vqGUjLr/86[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/87" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/75" 9L, 252C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/88" 7L, 199C appended8L, 221C8L, 220C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/89[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/75' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/89"' -S /tmp/vqGUjLr/88[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/89" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/75" 9L, 214C
"test49.in" 32L, 705C


*** Test  52: OK (1247112011)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/91" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/92[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/92"' -S /tmp/vqGUjLr/91[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/92" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/93" 3L, 39C appended4L, 61C


3 substitutions on 3 lines
"/tmp/vqGUjLr/93" 4L, 58C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/94[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/94"' -S /tmp/vqGUjLr/93[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/94" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/95" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/vqGUjLr/95" 5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/96[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/96"' -S /tmp/vqGUjLr/95[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/96" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/97" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vqGUjLr/97" 4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/98[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/98"' -S /tmp/vqGUjLr/97[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/98" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/99" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/vqGUjLr/99" 6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/100[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/100"' -S /tmp/vqGUjLr/99[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/100" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/101" 1L, 9C appended2L, 31C2L, 30C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/102[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/102"' -S /tmp/vqGUjLr/101[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/102" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 153C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/103" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/vqGUjLr/103"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/104[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/104"' -S /tmp/vqGUjLr/103[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/104" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/105" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/vqGUjLr/105"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/106[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/106"' -S /tmp/vqGUjLr/105[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/106" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/107" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/vqGUjLr/107"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/108[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/108"' -S /tmp/vqGUjLr/107[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/108" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/109" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vqGUjLr/109"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/110[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/110"' -S /tmp/vqGUjLr/109[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/110" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/111" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/112[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/112"' -S /tmp/vqGUjLr/111[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/112" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 157C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/113" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/vqGUjLr/113"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/114[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/114"' -S /tmp/vqGUjLr/113[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/114" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/115" 4L, 46C appended5L, 68C


4 substitutions on 4 lines
"/tmp/vqGUjLr/115"5L, 64C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/116[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/116"' -S /tmp/vqGUjLr/115[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/116" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/117" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/vqGUjLr/117"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/118[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/118"' -S /tmp/vqGUjLr/117[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/118" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/119" 5L, 66C appended6L, 88C


5 substitutions on 5 lines
"/tmp/vqGUjLr/119"6L, 83C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/120[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/120"' -S /tmp/vqGUjLr/119[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/120" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 161C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/121" 4L, 37C appended5L, 59C


4 substitutions on 4 lines
"/tmp/vqGUjLr/121"5L, 55C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/122[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/122"' -S /tmp/vqGUjLr/121[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/122" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 150C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/123" 4L, 41C appended5L, 63C


4 substitutions on 4 lines
"/tmp/vqGUjLr/123"5L, 59C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/124[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/90' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1'


-c 'let ExtraVimResult = "/tmp/vqGUjLr/124"' -S /tmp/vqGUjLr/123[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/124" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/90" 6L, 159C
"test49.in" 32L, 705C


*** Test  53: OK (131071)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/126" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/127[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/127"' -S /tmp/vqGUjLr/126[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/127" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 164C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/128" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vqGUjLr/128"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/129[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/129"' -S /tmp/vqGUjLr/128[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/129" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/130" 3L, 38C appended4L, 60C


3 substitutions on 3 lines
"/tmp/vqGUjLr/130"4L, 57C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/131[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/131"' -S /tmp/vqGUjLr/130[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/131" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/132" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/vqGUjLr/132"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/133[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/133"' -S /tmp/vqGUjLr/132[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/133" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/134" 4L, 53C appended5L, 75C


4 substitutions on 4 lines
"/tmp/vqGUjLr/134"5L, 71C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/135[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/135"' -S /tmp/vqGUjLr/134[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/135" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/136" 5L, 62C appended6L, 84C


5 substitutions on 5 lines
"/tmp/vqGUjLr/136"6L, 79C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/137[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/137"' -S /tmp/vqGUjLr/136[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/137" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/138" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vqGUjLr/138"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/139[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/139"' -S /tmp/vqGUjLr/138[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/139" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 154C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/140" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vqGUjLr/140"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/141[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/141"' -S /tmp/vqGUjLr/140[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/141" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/142" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/vqGUjLr/142"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/143[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/143"' -S /tmp/vqGUjLr/142[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/143" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 167C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/144" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/vqGUjLr/144"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/145[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/145"' -S /tmp/vqGUjLr/144[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/145" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 168C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/146" 7L, 95C appended8L, 117C


7 substitutions on 7 lines
"/tmp/vqGUjLr/146"8L, 110C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/147[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/125' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/147"' -S /tmp/vqGUjLr/146[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/147" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/125" 6L, 167C
"test49.in" 32L, 705C


*** Test  54: OK (2047)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/149" 1L, 13C appended2L, 35C2L, 34C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/150[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/150"' -S /tmp/vqGUjLr/149[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/150" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 172C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/151" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vqGUjLr/151"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/152[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/152"' -S /tmp/vqGUjLr/151[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/152" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/153" 4L, 48C appended5L, 70C


4 substitutions on 4 lines
"/tmp/vqGUjLr/153"5L, 66C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/154[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/154"' -S /tmp/vqGUjLr/153[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/154" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/155" 3L, 36C appended4L, 58C


3 substitutions on 3 lines
"/tmp/vqGUjLr/155"4L, 55C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/156[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/156"' -S /tmp/vqGUjLr/155[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/156" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/157" 5L, 68C appended6L, 90C


5 substitutions on 5 lines
"/tmp/vqGUjLr/157"6L, 85C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/158[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/158"' -S /tmp/vqGUjLr/157[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/158" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 176C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/159" 1L, 10C appended2L, 32C2L, 31C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/160[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/160"' -S /tmp/vqGUjLr/159[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/160" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 166C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/161" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vqGUjLr/161"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/162[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/162"' -S /tmp/vqGUjLr/161[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/162" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/163" 4L, 45C appended5L, 67C


4 substitutions on 4 lines
"/tmp/vqGUjLr/163"5L, 63C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/164[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/164"' -S /tmp/vqGUjLr/163[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/164" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/165" 3L, 33C appended4L, 55C


3 substitutions on 3 lines
"/tmp/vqGUjLr/165"4L, 52C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/166[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/166"' -S /tmp/vqGUjLr/165[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/166" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 170C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/167" 5L, 65C appended6L, 87C


5 substitutions on 5 lines
"/tmp/vqGUjLr/167"6L, 82C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/168[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/148' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/168"' -S /tmp/vqGUjLr/167[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/168" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/148" 6L, 170C
"test49.in" 32L, 705C


*** Test  55: OK (1023)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/170" 1L, 11C appended2L, 33C2L, 32C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/171[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/171"' -S /tmp/vqGUjLr/170[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/171" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 158C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/172" 3L, 34C appended4L, 56C


3 substitutions on 3 lines
"/tmp/vqGUjLr/172"4L, 53C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/173[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/173"' -S /tmp/vqGUjLr/172[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/173" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/174" 3L, 40C appended4L, 62C


3 substitutions on 3 lines
"/tmp/vqGUjLr/174"4L, 59C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/175[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/175"' -S /tmp/vqGUjLr/174[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/175" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 162C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/176" 3L, 32C appended4L, 54C


3 substitutions on 3 lines
"/tmp/vqGUjLr/176"4L, 51C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/177[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/177"' -S /tmp/vqGUjLr/176[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/177" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/178" 3L, 35C appended4L, 57C


3 substitutions on 3 lines
"/tmp/vqGUjLr/178"4L, 54C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/179[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/179"' -S /tmp/vqGUjLr/178[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/179" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/180" 4L, 44C appended5L, 66C


4 substitutions on 4 lines
"/tmp/vqGUjLr/180"5L, 62C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/181[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/181"' -S /tmp/vqGUjLr/180[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/181" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/182" 4L, 47C appended5L, 69C


4 substitutions on 4 lines
"/tmp/vqGUjLr/182"5L, 65C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/183[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/183"' -S /tmp/vqGUjLr/182[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/183" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 155C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/184" 5L, 64C appended6L, 86C


5 substitutions on 5 lines
"/tmp/vqGUjLr/184"6L, 81C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/185[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/185"' -S /tmp/vqGUjLr/184[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/185" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 152C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/186" 5L, 67C appended6L, 89C


5 substitutions on 5 lines
"/tmp/vqGUjLr/186"6L, 84C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/187[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/t


mp/vqGUjLr/169' -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1


'-c 'let ExtraVimResult = "/tmp/vqGUjLr/187"' -S /tmp/vqGUjLr/186[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/187" 0L, 0C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/tmp/vqGUjLr/169" 6L, 155C
"test49.in" 32L, 705C


*** Test  56: OK (511)


   function FuncException()


1      let g:exception = v:exception


   endfunction"/tmp/vqGUjLr/188" [noeol] 4L, 80C

Pattern not found: ^\s*$
"/tmp/vqGUjLr/188"1L, 36C written
"test49.in" 32L, 705C

   function FuncThrowpoint()


1      let g:throwpoint = v:throwpoint


   endfunction"/tmp/vqGUjLr/189" [noeol] 4L, 83C

Pattern not found: ^\s*$
"/tmp/vqGUjLr/189"1L, 38C written
"test49.in" 32L, 705C

   function T(arg, line)


1      if a:line == 2


2throw a:arg" in line 2


3      elseif a:line == 4


4throw a:arg" in line 4


5      elseif a:line == 6


6throw a:arg" in line 6


7      elseif a:line == 8


8throw a:arg" in line 8


9      endif


   endfunction"/tmp/vqGUjLr/190"[noeol] 12L, 341C

9 substitutions on 9 lines

8 substitutions on 8 lines

Pattern not found: ^\s*$
"/tmp/vqGUjLr/190"9L, 292C written
"test49.in" 32L, 705C

   function G(arg, line)

1      call T(a:arg, a:line)

   endfunction"/tmp/vqGUjLr/191"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/vqGUjLr/191"1L, 30C written
"test49.in" 32L, 705C

   function F(arg, line)

1      call G(a:arg, a:line)

   endfunction"/tmp/vqGUjLr/192"[noeol] 4L, 69C

Pattern not found: ^\s*$
"/tmp/vqGUjLr/192"1L, 30C written
"test49.in" 32L, 705C

*** Test  57: OK (2147450880)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C

:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/193" 87L, 1700C appended88L, 1722C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/194[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/194"' -c 'break


add func 4 T' -S /tmp/vqGUjLr/193[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/194" 8L, 36C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  58: OK (624945)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/195" 293L, 5789C appended294L, 5811C


3 substitutions on 3 lines
"/tmp/vqGUjLr/195"294L, 5808C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/196[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/196"' -c 'br


eakadd file 115 /tmp/vqGUjLr/195' -c 'breakadd file 225 /tmp/vqGUjLr/195' -S /tm


p/vqGUjLr/195[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/196" 28L, 162C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  59: OK (2038431743)
"/n/o/n/w/r/i/t/a/b/l/e/_/f/i/l/e"
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/197" 33L, 765C appended34L, 787C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/198[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/198"' -c 'break


add file 7 /tmp/vqGUjLr/197' -S /tmp/vqGUjLr/197[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/198" 3L, 27C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  60: OK (311511339)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/199" 115L, 2272C appended116L, 2294C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/200[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set vimin


fo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/


200"' -c 'breakadd file 8 /tmp/vqGUjLr/199' -c 'breakadd file 36 /tmp/vqGUjLr/19


9' -c 'breakadd file 40 /tmp/vqGUjLr/199' -c 'breakadd file 69 /tmp/vqGUjLr/199'


-c 'breakadd file 95 /tmp/vqGUjLr/199' -c 'breakadd file 97 /tmp/vqGUjLr/199' -


S/tmp/vqGUjLr/199[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"200" 14L, 81C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  61: OK (374889517)


   function F()


1      while 1


2      " Missing :endwhile


   endfunction"/tmp/vqGUjLr/201"[noeol] 5L, 73C

Pattern not found: ^\s*$
"/tmp/vqGUjLr/201"2L, 40C written
"test49.in" 32L, 705C

*** Test  62: OK (286331153)
"/i/m/p/o/s/s/i/b/l/e" Error detected while processing /<<PKGBUILDDIR>>/src/vim-nox/test


dir/test49.vim:


line 5500:


"/i/m/p/o/s/s/i/b/l/e" E212: Can't open file for writing


*** Test  63: OK (236978127)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/202" 149L, 2828C appended150L, 2850C


6 substitutions on 6 lines
"/tmp/vqGUjLr/202"150L, 2844C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/203[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/203"' -c 'break


add file 63 /tmp/vqGUjLr/202' -S /tmp/vqGUjLr/202[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/203" 16L, 97C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  64: OK (1499645335)


*** Test  65: OK (70187)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/204" 78L, 1520C appended79L, 1542C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/205[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/205"' -c 'break


add func 8 F' -S /tmp/vqGUjLr/204[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/205" 6L, 22C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  66: OK (5464)


*** Test  67: OK (212514423)


*** Test  68: OK (212514423)


*** Test  69: OK (8995471)


*** Test  70: OK (69544277)


*** Test  71: OK (34886997)


*** Test  72: OK (1789569365)


   function F0()


   endfunction


   function F1()


   endfunction


*** Test  73: OK (9032615)
"/tmp/vqGUjLr/206" [New File]
"test49.in" 32L, 705C
"/tmp/vqGUjLr/207" [New File]
"test49.in" 32L, 705C


*** Test  74: OK (224907669)


*** Test  75: OK (2000403408)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/208" 253L, 6369C appended254L, 6391C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/209[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|


set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp


/vqGUjLr/209"' -c 'breakadd func 2 INT' -S /tmp/vqGUjLr/208[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/209" 28L, 167C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  76: OK (1610087935)


Error detected while processing function ERR:


line    2:


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


E492: Not an editor command:     asdf


*** Test  77: OK (1388671)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/210" 161L, 4543C appended162L, 4565C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/211[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/211"' -S /tmp/vqGU


jLr/210[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/211" 1L, 10C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  78: OK (134217728)


Error detected while processing function NEXT:


line    1:


E121: Undefined variable: novar


E15: Invalid expression: novar | Xloop 1


E121: Undefined variable: novar


E488: Trailing characters


E108: No such variable: "novar"


E488: Trailing characters


E121: Undefined variable: novar


E15: Invalid expression: novar


E475: Invalid argument: {novar} | Xloop 1


E121: Undefined variable: novar


E15: Invalid expression:  novar


E475: Invalid argument: { novar} | Xloop 1


*** Test  79: OK (70288929)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-nox/test


dir/test49.vim:


line 7985:


E584: :elseif after :else: elseif 1 ||| 2


line 7995:


E584: :elseif after :else: elseif 1 ||| 2


line 8003:


E582: :elseif without :if: elseif 1 ||| 2


line 8011:


E582: :elseif without :if:     elseif 1 ||| 2


*** Test  80: OK (17895765)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/212" 15L, 272C appended16L, 294C16L, 293C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/213[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/213"' -S /tmp/vqGU


jLr/212[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/213" 2L, 4C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/214" 12L, 227C appended13L, 249C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/215[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/215"' -c 'break


add file 8 /tmp/vqGUjLr/214' -S /tmp/vqGUjLr/214[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/215" 2L, 8C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  81: OK (387)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/216" 20L, 417C appended21L, 439C21L, 438C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/217[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/217"' -S /tmp/vqGU


jLr/216[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/217" 1L, 2C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/218" 24L, 480C appended25L, 502C25L, 501C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/219[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/219"' -S /tmp/vqGU


jLr/218[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/219" 1L, 4C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/220" 17L, 390C appended18L, 412C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/221[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/221"' -c 'break


add file 7 /tmp/vqGUjLr/220' -S /tmp/vqGUjLr/220[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/221" 1L, 6C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/222" 21L, 444C appended22L, 466C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/223[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/223"' -c 'break


add func 6 I' -S /tmp/vqGUjLr/222[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/223" 1L, 8C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  82: OK (8454401)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/224" 17L, 307C appended18L, 329C18L, 328C written
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/225[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c '


let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/225"' -S /tmp/vqGU


jLr/224[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/225" 3L, 7C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/226" 14L, 266C appended15L, 288C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/227[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -


c'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/227"' -c 'break


add file 8 /tmp/vqGUjLr/226' -S /tmp/vqGUjLr/226[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

shell returned 1



Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/227" 3L, 13C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  83: OK (2835)
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/228" 154L, 3580C appended155L, 3602C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/229[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo


'-c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/229"' -c 'br


eakadd func 1 INT' -S /tmp/vqGUjLr/228[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/229" 18L, 118C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"test49.in" 32L, 705C


*** Test  84: OK (934782101)


TMP
"/tmp/vqGUjLr/230" [noeol] 2L, 6C/[?2004h  
"test49.in" 32L, 705C
"/n/o/n/e/x/i/s/t/e/n/t"


"/tmp/vqGUjLr/232" 1L, 1C
"test49.in" 32L, 705C


:!echo XYZ >/tmp/vqGUjLr/233[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/234" [New File]
"test49.in" 32L, 705C


*** Test  85: OK (198689)


Error detected while processing /<<PKGBUILDDIR>>/src/vim-nox/test


dir/test49.vim:


line 8769:


E123: Undefined function: F


Make_all.mak[?2004l[?2004h
"Make_all.mak" line 1 of 216 --0%-- col 1


line 8772:


E926: Current location list was changed


line 8773:


E193: :endfunction not inside a function


Error detected while processing function ExecAsScript[2]..MakeScript:


line    3:


E123: Undefined function: F[?2004l[?2004h
"/tmp/vqGUjLr/235" c[noeol] 4L, 109C


search hit BOTTOM, continuing at TOP
line   10:

E486: Pattern not found: .*F(.*)


search hit BOTTOM, continuing at TOP
line   11:

E486: Pattern not found: ^\d*\s*endfunction\>


4 substitutions on 4 lines[?2004l[?2004h
"/tmp/vqGUjLr/235"3L, 109C written
"Make_all.mak" 216L, 4391C


Error detected while processing /tmp/vqGUjLr/235:


line    1:


E492: Not an editor command: Error detected while processing function ExecAsScr


ipt[2]..MakeScript:


line    2:


E492: Not an editor command: line    3:


line    3:


E492: Not an editor command: E123: Undefined function: F


Error detected while processing /<<PKGBUILDDIR>>/src/vim-nox/test


dir/test49.vim:


line 8779:


E130: Unknown function: F


*** Test  86: OK (0)


5

*** Test  87: OK (0)[?2004l[?2004h
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!echo 'source /tmp/vqGUjLr/0' >/tmp/vqGUjLr/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l/[?2004h^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/vqGUjLr/236" 151L, 3929C appended152L, 3951C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C


:!>/tmp/vqGUjLr/237[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:!echo 'q^Mq^Mq^Mq' | ../vim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nvimi


nfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/vqGUjLr/237"' -c


'breakadd func 5 ThrowOnInterrupt' -S /tmp/vqGUjLr/236[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l"/tmp/vqGUjLr/237" 16L, 281C
"/<<PKGBUILDDIR>>/src/vim-nox/testdir/test49.vim"
<-FU59NL/vim-8.0.1144/src/vim-nox/testdir/test49.vim" [readonly] 9009L, 206885C
"Make_all.mak" 216L, 4391C


*** Test  88: OK (50443995)


Press ENTER or type command to continue:[?2004h[?25h" Go back to this file and append the results from register r.
[?25l#

# Common Makefile, defines the list of tests to run.

#



# Options for protecting the tests against undesirable interaction with the

# environment

NO_PLUGINS = --noplugin --not-a-term

NO_INITS = -U NONE $(NO_PLUGINS)



# The first script creates small.vim.

SCRIPTS_FIRST = \test1.out



# Tests that run on all systems.

SCRIPTS_ALL = \test3.out \test4.out \test5.out \test7.out \test8.out \test14.out \test15.out \test19.out \[?25h[?25l:[?2004h[?25hbuf test49.in
[?25l"test49.in" 32L, 705C:so test49.vim

:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$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:):  silent! exe "unlet " . v

:endfor:unlet v:qa!ENDTESTResults of test49.vim:[?25h

[?25l

83 more lines

*** Test  16: OK (8722)83 more lines[?25h[?25l:[?2004h[?25h/^Results/,$w! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [New] 84L, 2484C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" make valgrind happy
[?25l[?25h[?25l:[?2004h[?25hredir => funclist
[?25l[?25h[?25l:[?2004h[?25hsilent func
[?25l[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hfor line in split(funclist, "\n")
[?25l

:[?2004h  [?25h:  let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')


[?25l:[?2004h  [?25h:  if name != ''


[?25l:[?2004h    [?25h:    exe "delfunc " . name


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in

G"rp:/^Results/,$w! test.out

:"

:" make valgrind happy[?25h[?25l

:[?2004h[?25hfor v in keys(g:)
[?25l

:[?2004h  [?25h:  silent! exe "unlet " . v


[?25l:[?2004h  [?25h:endfor
[?25l:" Go back to this file and append the results from register r.

:buf test49.in[?25h[?25l

:[?2004h[?25hunlet v
[?25l[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test49 = test61; then \
#	  if diff test.out test49.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test49.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test49.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test54.failed test.ok test.out X* viminfo
cp test54.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test54.in" 22 lines, 658 charactersSome tests for buffer-local autocommands



STARTTEST

:so small.vim

:e xx

:if has("vms")

: !del test.out.*

: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.oout

:else

: !rm -f test.out

: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out

:endif

:e somefile" here, autocommand for xx shall write test.out

:" but autocommand shall not apply to buffer named <buffer>:bwipe xx" here, autocommand shall be auto-deleted

:e xx" nothing shall be written

:e somefile" nothing shall be written

:qa!

ENDTEST



start of test file xx

end of test file xx[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lSome tests for buffer-local autocommands[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 15 lines, 555 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25he xx
[?25l"xx" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !del test.out.*


[?25l:[?2004h  [?25h: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > te


st.out


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !rm -f test.out


[?25l:!rm -f test.out[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out


[?25l:[?2004h  [?25h:endif
[?25l:[?2004h[?25he somefile           " here, autocommand for xx shall write test.out 
[?25l:!echo buffer-local autommand in xx>> test.out


[?25h[?2004l[?2004h[?25l"somefile" [New File]


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h                     " but autocommand shall not apply to buffer named <buffer


>[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe xx             " here, autocommand shall be auto-deleted
[?25l[?25h[?25l:[?2004h[?25he xx                 " nothing shall be written
[?25l"xx" [New File][?25h[?25l:[?2004h[?25he somefile           " nothing shall be written
[?25l"somefile" [New File][?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test54 = test61; then \
#	  if diff test.out test54.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test54.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test54.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test17.in" 135 lines, 2431 charactersTests for:

- "gf" on ${VAR},

- ":checkpath!" with various 'include' settings.



STARTTEST

:so small.vim

:if has("ebcdic")

: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}

:else

: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}

:endif

:"

:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/TDIR

:endif[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 27 lines, 564 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:" 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.out

gf

:set ff=unix

:w! test.out

:brewind

ENDTEST[?25h[?25l

[?25h[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hif has("ebcdic")
[?25l

:[?2004h  [?25h: set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}


[?25l:[?2004h  [?25h:endif
[?25l:"

:if has("unix")

:let $CDIR = "."

/CDIR[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hif has("unix")
[?25l

:[?2004h  [?25h:let $CDIR = "."


[?25l:[?2004h  [?25h/CDIR


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h:if has("amiga")


[?25l:[?2004h    [?25h:let $TDIR = "/testdir"


[?25l:[?2004h    [?25h:else


[?25l:[?2004h    [?25h:let $TDIR = "."


[?25l:[?2004h    [?25h:endif


[?25l:[?2004h  [?25h/TDIR


[?25l:[?2004h  [?25h:endif
[?25l:if has("unix")

:let $CDIR = "."

/CDIR

:else

:if has("amiga")

:let $TDIR = "/testdir"

:else

:let $TDIR = "."

:endif

/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[?25h[?25l

:[?2004h[?25h" Dummy writing for making that sure gf doesn't fail even if the current
[?25l[?25h[?25l:[?2004h[?25h" file is modified. It can be occurred when executing the following command
[?25l[?25h[?25l:[?2004h[?25h" directly on Windows without fixing the 'fileformat':
[?25l[?25h[?25l:[?2004h[?25h"  > nmake -f Make_dos.mak test17.out
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 135 lines, 2431 characters written[?25h[?25l

"/<<PKGBUILDDIR>>/src/vim-nox/testdir/./test17a.in" 3 lines, 88 c


haracters


Press ENTER or type command to continue[?25h[?25lThis file is just to test "gf" in test 17.

The contents is not important.

Just testing!

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset ff=unix
[?25l[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" 3 lines, 88 characters written[?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters:" 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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":e! Xdir1/dir2/foo.ai#include   "bar.a"^[:[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 23 lines, 396 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!mkdir Xdir1

:!mkdir "Xdir1/dir2"

:let &include='^\s*%inc\s*/\zs[^/]\+\ze'

:function! DotsToSlashes()

:  return substitute(v:fname, '\.', '/', 'g') . '.b'

:endfunction[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' without \zs or \ze
[?25l[?25h[?25l:[?2004h[?25hlang C
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.a")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25he! Xdir1/dir2/foo.a
[?25l"Xdir1/dir2/foo.a" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l#include   "bar.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.a" [New File] 1 line, 19 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.a
[?25l"Xdir1/dir2/bar.a" [New File][?25h[?2004l[?2004h[?25l#include      "baz.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.a" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.a
[?25l"Xdir1/dir2/baz.a" [New File][?25h[?2004l[?2004h[?25l#include"foo.a"[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.a" [New File] 1 line, 28 characters written[?25h[?25l:[?2004h[?25he Xbase.a
[?25l"Xbase.a" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l#include    <foo.a>[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.a" [New File] 1 line, 20 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l#include    <foo.a>

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi#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 delete("Xdir1", "rf"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*/\zs[^/]\+\ze':function! DotsToSlashes():  return substitute(v:fname, '\.', '/', 'g') . '.b':endfunction:let &includeexpr='DotsToSlashes()'[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 27 lines, 532 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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 delete("Xdir1", "rf")

:!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][?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.b")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25hlet &include='^\s*%inc\s*/\zs[^/]\+\ze'
[?25l: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 delete("Xdir1", "rf")

:!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][?25h[?25l:[?2004h[?25hfunction! DotsToSlashes()
[?25l

:[?2004h  [?25h:  return substitute(v:fname, '\.', '/', 'g') . '.b'


[?25l:[?2004h  [?25h:endfunction
[?25l:e Xdir1/dir2/baz.b

i%inc/foo/^[:[?25h[?25l:[?2004h[?25hlet &includeexpr='DotsToSlashes()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.b
[?25l"Xdir1/dir2/foo.b" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   /bar/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.b" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.b
[?25l"Xdir1/dir2/bar.b" [New File][?25h[?2004l[?2004h[?25l%inc      /baz/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.b" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.b
[?25l"Xdir1/dir2/baz.b" [New File][?25h[?2004l[?2004h[?25l%inc/foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.b" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.b
[?25l"Xbase.b" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    /foo/[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.b" [New File] 1 line, 14 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    /foo/

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 charactersi%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 delete("Xdir1", "rf"):!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]:  endif[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" 39 lines, 745 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST: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
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25h" check for 'include' with \zs and no \ze
[?25l[?25h[?25l:[?2004h[?25hcall delete("./Xbase.c")
[?25l[?25h[?25l:[?2004h[?25hcall delete("Xdir1", "rf")
[?25l[?25h[?25l:[?2004h[?25h!mkdir Xdir1
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?25h!mkdir "Xdir1/dir2"
[?25l[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h[?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

[?25h[?25l

:[?2004h[?25hfunction! StripNewlineChar()
[?25l

:[?2004h  [?25h:  if v:fname =~ '\n$'


[?25l:[?2004h    [?25h:    return v:fname[:-2]


[?25l:[?2004h    [?25h:  endif


[?25l:[?2004h  [?25h:  return v:fname


[?25l:[?2004h  [?25h:endfunction
[?25l:w

:e Xdir1/dir2/baz.c

i%incfoo.c^[:

:w

:e Xdir1/dir2/FALSE.c[?25h[?25l

:[?2004h[?25hlet &includeexpr='StripNewlineChar()'
[?25l[?25h[?25l:[?2004h[?25he! Xdir1/dir2/foo.c
[?25l"Xdir1/dir2/foo.c" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?2004h[?25l%inc   bar.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/foo.c" [New File] 1 line, 13 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/bar.c
[?25l"Xdir1/dir2/bar.c" [New File][?25h[?2004l[?2004h[?25l%inc      baz.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/bar.c" [New File] 1 line, 16 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/baz.c
[?25l"Xdir1/dir2/baz.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/baz.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xdir1/dir2/FALSE.c
[?25l"Xdir1/dir2/FALSE.c" [New File][?25h[?2004l[?2004h[?25l%incfoo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xdir1/dir2/FALSE.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25he Xbase.c
[?25l"Xbase.c" [New File][?25h[?25l:[?2004h[?25hset path=Xdir1/dir2
[?25l[?25h[?2004l[?2004h[?25l%inc    FALSE.c foo.c[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xbase.c" [New File] 1 line, 22 characters written[?25h[?25l:[?2004h[?25hredir! >>test.out
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l:[?2004h[?25hredir END
[?25l%inc    FALSE.c foo.c

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbrewind
[?25l"test17.in" 135 lines, 2431 characters: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[?25h[?25l:[?2004h[?25h" change "\" to "/" for Windows and fix 'fileformat'
[?25l[?25h[?25l:[?2004h[?25he test.out
[?25l"test.out" 33 lines, 655 charactersThis 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)[?25h[?25l:[?2004h[?25h%s#\\#/#g
[?25lE486: Pattern not found: \\[?25h[?25l:[?2004h[?25hset ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 33 lines, 655 characters written[?25h[?25l:[?2004h[?25hq
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test17 = test61; then \
#	  if diff test.out test17.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test17.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test17.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available.



STARTTEST

:so small.vim

:set belloff=all

:" first write three test files, one in each format

:set fileformat=unix

:set fileformats=

:/^unix/;/eof/-1w! XXUnix

:/^dos/;/eof/-1w! XXDos

:set bin noeol

:$w! XXMac

Gonoeol^[

:$w! XXEol

:set nobin eol

:enew!

:bwipe XXUnix XXDos XXMac

:" create mixed format files

:if has("vms")

: !copy XXUnix,XXDos XXUxDs.

: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 222 lines, 3609 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72

Go8^[:$r XXtt81

:$r XXtt82

Go9^[:$r XXtt91

:$r XXtt92

:$r XXtt93

Go10^[:$r XXUnix

:set nobinary ff&

:w

:qa!

ENDTEST



unix

unix

eof



dos^M

dos^M

eof



mac^Mmac^M[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h" first write three test files, one in each format
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25hset fileformats=
[?25l[?25h[?25l:[?2004h[?25h/^unix/;/eof/-1w! XXUnix
[?25l"XXUnix" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25h/^dos/;/eof/-1w! XXDos
[?25l"XXDos" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25hset bin noeol
[?25l[?25h[?25l:[?2004h[?25h$w! XXMac
[?25l"XXMac" [New File][Incomplete last line] 1 line, 8 characters written[?25h[?2004l[?2004h[?25l

noeol[?25h[?25l

:[?2004h[?25h$w! XXEol
[?25l"XXEol" [New File][Incomplete last line] 1 line, 5 characters written[?25h[?25l:[?2004h[?25hset nobin eol
[?25l[?25h[?25l:[?2004h[?25henew!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l3 buffers wiped out[?25h[?25l:[?2004h[?25h" create mixed format files
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: !copy XXUnix,XXDos XXUxDs.


[?25l:[?2004h  [?25h: !copy XXUnix,XXMac XXUxMac.


[?25l:[?2004h  [?25h: !copy XXDos,XXMac  XXDosMac.


[?25l:[?2004h  [?25h: !copy XXMac,XXEol  XXMacEol.


[?25l:[?2004h  [?25h: !copy XXUnix,XXDos,XXMac XXUxDsMc.


[?25l:[?2004h  [?25h:elseif has("win32")


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos XXUxDs


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXMac XXUxMac


[?25l:[?2004h  [?25h: !copy /b XXDos+XXMac XXDosMac


[?25l:[?2004h  [?25h: !copy /b XXMac+XXEol XXMacEol


[?25l:[?2004h  [?25h: !copy /b XXUnix+XXDos+XXMac XXUxDsMc


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: !cat XXUnix XXDos >XXUxDs


[?25l:!cat XXUnix XXDos >XXUxDs[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXMac >XXUxMac


[?25l:!cat XXUnix XXMac >XXUxMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXDos XXMac >XXDosMac


[?25l:!cat XXDos XXMac >XXDosMac[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXMac XXEol >XXMacEol


[?25l:!cat XXMac XXEol >XXMacEol[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25h !cat XXUnix XXDos XXMac >XXUxDsMc


[?25l:!cat XXUnix XXDos XXMac >XXUxDsMc[?2004l[?1l>[?25h[?1049l

[?2004l[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25l:[?2004h  :[?25hendif
[?25l:[?2004h[?25h"
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' empty
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUnix
[?25l"XXUnix" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" 2 lines, 10 charactersdos^M

dos^M[?25h[?25l:[?2004h[?25hw! XXtt01
[?25l"XXtt01" [New File] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line] 1 line, 8 charactersmacmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt02
[?25l"XXtt02" [New File] 1 line, 9 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=dos
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdos^Mdos^Meofmac^Mmac^M[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [CR missing][dos format] 2 lines, 10 charactersunixunix~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt11
[?25l"XXtt11" [New File][dos format] 2 lines, 12 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [dos format] 2 lines, 10 charactersdosdos[?25h[?25l:[?2004h[?25hw! XXtt12
[?25l"XXtt12" [New File][dos format] 2 lines, 10 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [Incomplete last line][dos format] 1 line, 8 charactersmac^Mmac^M

~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt13
[?25l"XXtt13" [New File][dos format] 1 line, 10 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset fileformat=mac
[?25l:$r XXtt64

Go7^[:$r XXtt71

:$r XXtt72Go8^[:$r XXtt81:$r XXtt82Go9^[:$r XXtt91:$r XXtt92:$r XXtt93Go10^[:$r XXUnix:set nobinary ff&:w:qa!ENDTESTunixunixeofdosdoseofmac^Jmac[?25h[?25l

:[?2004h[?25he! XXUnix
[?25l"XXUnix" [Incomplete last line][mac format] 1 line, 10 charactersunix^Junix^J

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt21
[?25l"XXtt21" [New File][mac format] 1 line, 11 characters written[?25h[?25l:[?2004h[?25he! XXDos
[?25l"XXDos" [Incomplete last line][mac format] 3 lines, 10 charactersdos^Jdos^J[?25h[?25l:[?2004h[?25hw! XXtt22
[?25l"XXtt22" [New File][mac format] 3 lines, 11 characters written[?25h[?25l:[?2004h[?25he! XXMac
[?25l"XXMac" [mac format] 2 lines, 8 charactersmac

mac~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt23
[?25l"XXtt23" [New File][mac format] 2 lines, 8 characters written[?25h[?25l:[?2004h[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters


3 buffers wiped out


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l^Jdos

^Jeof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to one format
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt31
[?25l"XXtt31" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt32
[?25l"XXtt32" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [mac format] 4 lines, 28 charactersunix^Junix^Jdos^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt33
[?25l"XXtt33" [New File][mac format] 4 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [Incomplete last line][mac format] 5 lines, 3779 characters^Jdoseof^J^Jmac

mac^J[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to two formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunixdos^M

dos^M

mac^Mmac^M[?25h[?25l:[?2004h[?25hw! XXtt41
[?25l"XXtt41" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt42
[?25l"XXtt42" [New File] 3 lines, 19 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [Incomplete last line][dos format] 3 lines, 18 charactersdodos

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt43
[?25l"XXtt43" [New File][dos format] 3 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=unix,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" 4 lines, 20 charactersunixunix

dos^Mdos^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt51
[?25l"XXtt51" [New File] 4 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt52
[?25l"XXtt52" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXDosMac
[?25l"XXDosMac" [mac format] 4 lines, 18 charactersdo^Jdos

^Jmacmac

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt53
[?25l"XXtt53" [New File][mac format] 4 lines, 18 characters written[?25h[?25l:[?2004h[?25hbwipe XXDosMac
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt54
[?25l"XXtt54" [New File] 2 lines, 20 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDs
[?25l"XXUxDs" [CR missing][dos format] 4 lines, 20 charactersunixunix

dosdos

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt61
[?25l"XXtt61" [New File][dos format] 4 lines, 22 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDs
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxMac
[?25l"XXUxMac" [Incomplete last line][CR missing][dos format] 3 lines, 18 charactersunixunix

mac^Mmac^M~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:dos[?25h[?25l:[?2004h[?25hw! XXtt62
[?25l"XXtt62" [New File][dos format] 4 lines, 35 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxMac
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line][CR missing][dos format] 5 lines, 28 character


s

Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hw! XXtt63
[?25l"XXtt63" [New File][dos format] 5 lines, 32 characters written


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' option



Note: This test will fail if "cat" is not available."test30.in" [CR missing][dos format] 238 lines, 3779 characters[?25h[?25l:[?2004h[?25he! XXMacEol
[?25l"XXMacEol" [Incomplete last line][mac format] 3 lines, 13 charactersmacmac

noeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25ldos,mac:mac[?25h[?25l:[?2004h[?25hw! XXtt64
[?25l"XXtt64" [New File][mac format] 4 lines, 26 characters written[?25h[?25l:[?2004h[?25hbwipe XXMacEol
[?25l"test30.in" [CR missing][dos format] 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" try reading and writing with 'fileformats' set to three formats
[?25l[?25h[?25l:[?2004h[?25hset fileformats=unix,dos,mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt71
[?25l"XXtt71" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lunix,dos,mac:unix[?25h[?25l:[?2004h[?25hw! XXtt72
[?25l"XXtt72" [New File] 2 lines, 24 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac,dos,unix
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt81
[?25l"XXtt81" [New File] 5 lines, 29 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25he! XXEol
[?25l"XXEol" [Incomplete last line][mac format] 1 line, 5 charactersnoeol~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?2004l[?25l=[?2004h[?25h&ffs
[?25l=[?2004h[?25h&ff
[?2004h[?25lmac,dos,unix:mac[?25h[?25l:[?2004h[?25hw! XXtt82
[?25l"XXtt82" [New File][mac format] 2 lines, 23 characters written[?25h[?25l:[?2004h[?25hbwipe XXEol
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25h" try with 'binary' set
[?25l[?25h[?25l:[?2004h[?25hset fileformats=mac,unix,dos
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt91
[?25l"XXtt91" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=mac
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt92
[?25l"XXtt92" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25hbwipe XXUxDsMc
[?25l"test30.in" 238 lines, 3779 charactersTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:set belloff=all:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMacGonoeol^[:$w! XXEol:set nobin eol:enew!:bwipe XXUnix XXDos XXMac:" create mixed format files:if has("vms"): !copy XXUnix,XXDos XXUxDs.: !copy XXUnix,XXMac XXUxMac.[?25h[?25l:[?2004h[?25hset fileformats=dos
[?25l[?25h[?25l:[?2004h[?25he! XXUxDsMc
[?25l"XXUxDsMc" [Incomplete last line] 5 lines, 28 charactersunixunix

dos^Mdos^M

mac^Mmac^M

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hw! XXtt93
[?25l"XXtt93" [New File][Incomplete last line] 5 lines, 28 characters written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?25h[?25l:[?2004h[?25hset fileformat=unix nobin
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?2004l[?2004h[?25lEND[?25h[?25l:[?2004h[?25hw >>XXtt01
[?25l"XXtt01" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt02
[?25l"XXtt02" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt11
[?25l"XXtt11" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt12
[?25l"XXtt12" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt13
[?25l"XXtt13" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt21
[?25l"XXtt21" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt22
[?25l"XXtt22" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt23
[?25l"XXtt23" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt31
[?25l"XXtt31" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt32
[?25l"XXtt32" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt33
[?25l"XXtt33" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt41
[?25l"XXtt41" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt42
[?25l"XXtt42" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt43
[?25l"XXtt43" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt51
[?25l"XXtt51" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt52
[?25l"XXtt52" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt53
[?25l"XXtt53" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt54
[?25l"XXtt54" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt61
[?25l"XXtt61" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt62
[?25l"XXtt62" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt63
[?25l"XXtt63" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt64
[?25l"XXtt64" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt71
[?25l"XXtt71" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt72
[?25l"XXtt72" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt81
[?25l"XXtt81" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt82
[?25l"XXtt82" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt91
[?25l"XXtt91" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt92
[?25l"XXtt92" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25hw >>XXtt93
[?25l"XXtt93" 1 line, 4 characters appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Concatenate the results.
[?25l[?25h[?25l:[?2004h[?25h" Make fileformat of test.out the native fileformat.
[?25l[?25h[?25l:[?2004h[?25h" Add a newline at the end.
[?25l[?25h[?25l:[?2004h[?25hset binary
[?25l[?25h[?25l:[?2004h[?25he! test.out
[?25l"test.out" 2 lines, 10 charactersunix

unix[?25h[?25l:[?2004h[?25h$r XXtt01
[?25l"XXtt01" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt02
[?25l"XXtt02" 2 lines, 13 charactersmac^Mmac^MEND[?25h

[?2004l[?2004h[?25l

1[?25h[?25l:[?2004h[?25h$r XXtt11
[?25l"XXtt11" 3 lines, 16 charactersunix^Munix^MEND[?25h[?25l:[?2004h[?25h$r XXtt12
[?25l"XXtt12" 3 lines, 14 charactersdos^Mdos^MEND[?25h[?25l:[?2004h[?25h$r XXtt13
[?25l"XXtt13" 2 lines, 14 charactersmac^Mmac^M^MEND[?25h

[?2004l[?2004h[?25l

2[?25h[?25l:[?2004h[?25h$r XXtt21
[?25l"XXtt21" 3 lines, 15 charactersunixunix^MEND[?25h[?25l:[?2004h[?25h$r XXtt22
[?25l"XXtt22" 3 lines, 15 charactersdos^Mdos^M^MEND[?25h[?25l:[?2004h[?25h$r XXtt23
[?25l"XXtt23" 1 line, 12 characters

mac^Mmac^MEND[?25h[?2004l[?2004h[?25l

3[?25h[?25l

:[?2004h[?25h$r XXtt31
[?25l"XXtt31" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt32
[?25l"XXtt32" 6 lines, 36 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt33
[?25l"XXtt33" 5 lines, 32 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

4[?25h[?25l

:[?2004h[?25h$r XXtt41
[?25l"XXtt41" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt42
[?25l"XXtt42" 4 lines, 23 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt43
[?25l"XXtt43" 4 lines, 24 charactersunix

mac^Mmac^M

END

dos^M[?25h[?25ldos^M

mac^Mmac^M^M

END
[?25h[?2004l[?2004h[?25l

5[?25h[?25l

:[?2004h[?25h$r XXtt51
[?25l"XXtt51" 5 lines, 24 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt52
[?25l"XXtt52" 6 lines, 33 charactersunix

dos^M

dos^M

END

unix[?25h[?25l

:[?2004h[?25h$r XXtt53
[?25l"XXtt53" 3 lines, 22 charactersunix

dos^M

dos^M

mac^Mmac^M

END

dos^M[?25h[?25l

:[?2004h[?25h$r XXtt54
[?25l"XXtt54" 3 lines, 24 charactersdos^M

mac^Mmac^MEND

unix,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

6[?25h[?25l

:[?2004h[?25h$r XXtt61
[?25l"XXtt61" 5 lines, 26 characters

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt62
[?25l"XXtt62" 5 lines, 39 charactersunix^M

dos^M

dos^M

END

dos,mac:dos^M[?25h[?25l

:[?2004h[?25h$r XXtt63
[?25l"XXtt63" 6 lines, 36 charactersunix^M

unix^M

mac^Mmac^M^M

END

unix^M[?25h[?25l

:[?2004h[?25h$r XXtt64
[?25l"XXtt64" 1 line, 30 charactersunix^M

dos^M

dos^M

mac^Mmac^M^M

END

dos,mac:mac^Mmac^Mmac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

7[?25h[?25l

:[?2004h[?25h$r XXtt71
[?25l"XXtt71" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt72
[?25l"XXtt72" 3 lines, 28 charactersunix

dos^M

dos^M

mac^Mmac^M

END

unix,dos,mac:unix[?25h[?25lnoeol

END
[?25h[?2004l[?2004h[?25l

8[?25h[?25l

:[?2004h[?25h$r XXtt81
[?25l"XXtt81" 6 lines, 33 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt82
[?25l"XXtt82" 1 line, 27 charactersunix

dos^M

dos^M

mac^Mmac^M

END

mac,dos,unix:mac^Mnoeol^MEND[?25h[?2004l[?2004h[?25l

9[?25h[?25l

:[?2004h[?25h$r XXtt91
[?25l"XXtt91" 5 lines, 32 characters

unix[?25h[?25l

:[?2004h[?25h$r XXtt92
[?25l"XXtt92" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25l

:[?2004h[?25h$r XXtt93
[?25l"XXtt93" 5 lines, 32 charactersunix

dos^M

dos^M

mac^Mmac^MEND

unix[?25h[?25lunix

dos^M

dos^M

mac^Mmac^MEND
[?25h[?2004l[?2004h[?25l

10[?25h[?25l

:[?2004h[?25h$r XXUnix
[?25l"XXUnix" 2 lines, 10 characters

unix[?25h[?25l

:[?2004h[?25hset nobinary ff&
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"test.out" 130 lines, 786 characters written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l

# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test30 = test61; then \
#	  if diff test.out test30.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test30.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test30.in; \
#	  fi \
#	fi"
# 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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test32.in" 61 lines, 1408 charactersTest 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[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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[?25h[?25l/[?2004h^STARTTEST
[?25h[?25l

:so small.vim[?25h[?25l

:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 28 lines, 550 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l

/ENDTESTO^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[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hse nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
[?25l"Xtestfile" [New] 3L, 57C written[?25h[?25l:[?2004h[>cs[?25het belloff=all
[?25l[?25h[?25l:[?2004h[?25hse cot=
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       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

ENDTESTstart of testfile

run1run2test32.in                                                                       [?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[+][?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h[?25l3[?25h

[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) match 1 of 117-- 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[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?25h

[?25l:[?2004h[?25hse cpt=.,w,i
[?25l[?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 58INSERT --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 58Addinge 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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=kXtestfile
[?25l[?25h[?25l:[?2004h[?25hw Xtest11.one
[?25l"Xtest11.one" [New] 9L, 104C writtenXtest11.one+   [?25h[?25l:[?2004h[?25hw Xtest11.two
[?25l"Xtest11.two" [New] 9L, 104C written[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning dictionary: Xtestfile-match in file Xtestfile-- Keyword completion (^N^P) match 1 of 9test11[+]I[?25h [?25l-- Keyword completion (^N^P) match 1 of 9-- INSERT --[?25h[?25l-- INSERT --Xtest11
[?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[?25h[?25l-- INSERT --[?25h[?25l:[?2004h[?25h" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
[?25l[?25h[?25l:[?2004h[?25h" CTRL-X CTRL-F again to verify this doesn't cause trouble.
[?25l[?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 5.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 423.
Make_all.mak

run1 run2d[?25h [?25l-- INSERT --[?25h[?25l
run1 run2~                                                                               [?25h

[?25l:[?2004h[?25hse cpt=w
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=u nohid
[?25l[?25h[?25l



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h[?25l:[?2004h[?25hse cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
[?25l[?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[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?25h

ru[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New] 15L, 175C written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test32 = test61; then \
#	  if diff test.out test32.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test32.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test32.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test59.failed test.ok test.out X* viminfo
cp test59.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 106 lines, 2520 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1










[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Don't want to depend on the locale from the environment.  The .aff and .dic
[?25l[?25h[?25l:[?2004h[?25h" text is in latin1, the test text is utf-8.
[?25l[?25h[?25l:[?2004h[?25hset enc=latin1
[?25l:call TestOne('3', '3')

:call TestOne('4', '4')

:call TestOne('5', '5')

:call TestOne('6', '6')

:call TestOne('7', '7')

:"

:" clean up for valgrind

:delfunc TestOne

:set spl= enc=latin1

:"

gg:/^test output:/,$wq! test.out

ENDTEST



1affstart

SET ISO8859-1









[?25l"test59.in" 626 lines, 10897 charactersTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :STARTTESTso small.vimso mbyte.vimDon't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.enc=latin1e!

:set enc=utf-8:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=$put =''

  $put ='test '. a:aff . '-' . a:dic  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest  " use that spell file[?25h[?25l:[?2004h[?25hset enc=utf-8
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25hset fenc=
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Function to test .aff/.dic with list of good and bad words.
[?25l[?25h[?25l:[?2004h[?25hfunc TestOne(aff, dic)
[?25l

:[?2004h  [?25h  set spellfile=


[?25l:[?2004h  [?25h  $put =''


[?25l:[?2004h  [?25h  $put ='test '. a:aff . '-' . a:dic


[?25l:[?2004h  [?25h  " Generate a .spl file from a .dic and .aff file.


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'


[?25l:[?2004h  [?25h  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'


[?25l:[?2004h  [?25h  mkspell! Xtest Xtest


[?25l:[?2004h  [?25h  " use that spell file


[?25l:[?2004h  [?25h  set spl=Xtest.utf-8.spl spell


[?25l:[?2004h  [?25h  " list all valid words


[?25l:[?2004h  [?25h  spelldump


[?25l:[?2004h  [?25h  %yank


[?25l:[?2004h  [?25h  quit


[?25l:[?2004h  [?25h  $put


[?25l:[?2004h  [?25h  $put ='-------'


[?25l:[?2004h  [?25h  " find all bad words and suggestions for them


[?25l:[?2004h  [?25h  exe '1;/^' . a:aff . 'good:'


[?25l:[?2004h  [?25h  normal 0f:]s


[?25l:[?2004h  [?25h  let prevbad = ''


[?25l:[?2004h  [?25h  while 1


[?25l:[?2004h    [?25h    let [bad, a] = spellbadword()


[?25l:[?2004h    [?25h    if bad == '' || bad == prevbad || bad == 'badend'


[?25l:[?2004h      [?25h      break


[?25l:[?2004h      [?25h    endif


[?25l:[?2004h    [?25h    let prevbad = bad


[?25l:[?2004h    [?25h    let lst = spellsuggest(bad, 3)


[?25l:[?2004h    [?25h    normal mm


[?25l:[?2004h    [?25h    $put =bad


[?25l:[?2004h    [?25h    $put =string(lst)


[?25l:[?2004h    [?25h    normal `m]s


[?25l:[?2004h    [?25h  endwhile


[?25l:[?2004h  [?25hendfunc
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('1', '1')
[?25l"Xtest.aff" [New File] 48 lines, 768 characters written


"Xtest.dic" [New File] 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25lthe end

uk

wrong

-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']the['put', 'uk', 'test']gebletegek[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kepereneven[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

everles gesvets etele[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" and now with SAL instead of SOFO items; test automatic reloading
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^affstart_sal/+1,/^affend_sal/-1w! Xtest.aff
[?25l"Xtest.aff" 153 lines, 3426 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest Xtest
[?25lReading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 131 nodes; 102 (77%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 510 bytes


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.utf-8.sug ...


Estimated runtime memory use: 241 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h$put =soundfold('goobledygoook')
[?25l-------

bad

['put', 'uk', 'OK']

inputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end['put', 'uk', 'test']

the['put', 'uk', 'test']gebletegekkepereneveneverles gesvet etelekbltykk[?25h[?25l

:[?2004h[?25h$put =soundfold('kóopërÿnôven')
[?25l

kprnfn[?25h[?25l

:[?2004h[?25h$put =soundfold('oeverloos gezwets edale')
[?25l

*fls kswts tl[?25h[?25l

:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" also use an addition file
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^addstart/+1,/^addend/-1w! Xtest.utf-8.add
[?25l"Xtest.utf-8.add" [New File] 3 lines, 38 characters written[?25h[?25l:[?2004h[?25hmkspell! Xtest.utf-8.add.spl Xtest.utf-8.add
[?25lReading word file Xtest.utf-8.add ...

Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.utf-8.add.spl ...


Done!


Estimated runtime memory use: 145 bytes


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hset spellfile=Xtest.utf-8.add
[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"[?25h[?25l/[?2004h[?25h^test2:
[?25ltomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !![?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25linputs

['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_us.utf-8.spl
[?25l[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['input', 'puts', 'outputs']

comment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lcomment

['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hset spl=Xtest_gb.utf-8.spl
[?25lelequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['Comment', 'outtest', 'the end']

ok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lok

['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_nz.utf-8.spl
[?25lelequint

elekwint

elekwint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'uk', 'put']

Ok

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25lOk

['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent
[?25h[?25l

:[?2004h[?25hset spl=Xtest_ca.utf-8.spl
[?25lelequint

elekwint

elekwint



elequint

[?25h[?25l/[?2004h[?25h^test2:
[?25lsearch hit BOTTOM, continuing at TOPtomato tomatotomato startend startword startwordword startwordendstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



search hit BOTTOM, continuing at TOP[?25h

[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25l['OK', 'Uk', 'Put']

test

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint
[?25h[?25lstartwordwordend startwordwordwordend prebork preborkborkpreborkborkborknouword

bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomatoendstart endend startstart wordend wordstartpreborkprebork  preborkpreborkborkstartwordwordwordwordend borkpreborkpreborkborkutilsbork  startnouword

badend



test2:

elequint test elekwint test elekwent asdf



Test affix flags with two characters



5affstart

SET ISO8859-1



FLAG long



NEEDAFFIX !!



COMPOUNDRULE ssmm*ee[?25h[?25l:[?2004h[?25hlet [str, a] = spellbadword()
[?25l[?25h[?25l:[?2004h[?25h$put =str
[?25ltest

['Test', 'testn', 'testen']

déôl

['deol', 'déôr', 'test']

end

['put', 'uk', 'test']

the

['put', 'uk', 'test']

gebletegek

kepereneven

everles gesvets etele

kbltykk

kprnfn

*fls kswts tl

elekwent

elequint

elekwint

elekwint

elekwent

elequint

elekwent

elequint

elekwint
[?25h[?25l

:[?2004h[?25hunlet str a
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Postponed prefixes
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('2', '1')
[?25l"Xtest.aff" 46 lines, 461 characters written


"Xtest.dic" 11 lines, 71 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 102 nodes; 92 (90%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 525 bytes


17 lines yanked


17 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25laddstart

/regions=usgbnz

elequint/2

elekwint/3

addend



1good: wrong OK puts. Test the end

bad:  inputs comment ok Ok. test déôl end the

badend



2good: puts

bad: inputs comment ok Ok end the. test déôl

badendTest rules for compounding.3affstart

SET ISO8859-1COMPOUNDMIN 3

COMPOUNDRULE m*

NEEDCOMPOUND x

3affend[?25h[?25l:[?2004h[?25h" Compound words
[?25l[?25h[?25l:[?2004h[?25hcall TestOne('3', '3')
[?25l"Xtest.aff" 5 lines, 60 characters written


"Xtest.dic" 5 lines, 29 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 31 nodes; 25 (80%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 125 bytes


3 lines yanked


3 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('4', '4')
[?25l"Xtest.aff" 45 lines, 559 characters written


"Xtest.dic" 8 lines, 59 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


12 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('5', '5')
[?25l"Xtest.aff" 25 lines, 237 characters written


"Xtest.dic" 6 lines, 57 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 107 nodes; 88 (82%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


10 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('6', '6')
[?25l"Xtest.aff" 23 lines, 211 characters written


"Xtest.dic" 6 lines, 53 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall TestOne('7', '7')
[?25l"Xtest.aff" 26 lines, 338 characters written


"Xtest.dic" 6 lines, 67 characters written


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 91 nodes; 72 (79%) remaining


Writing spell file Xtest.utf-8.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


9 more lines


Press ENTER or type command to continue[?25h[?25l:[?2004h[?25h"
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaébar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h" clean up for valgrind
[?25l[?25h[?25l:[?2004h[?25hdelfunc TestOne
[?25l[?25h[?25l:[?2004h[?25hset spl= enc=latin1
[?25l1234

mee/391,111,9999

bar/17,61003,123

lead/2

tail/123

middle/77,1

7dicend



7good: meea1 meeaé bar prebar barmeat prebarmeat  leadprebarlead tail leadtail  leadmiddletail

bad: mee meea2 prabar probarmaat middle leadmiddle middletail tailleadleadprobar

badend



test output:



test 1-1

# file: Xtest.utf-8.spl

Comment

deol

déôr

input

OK[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25lTests for spell checking with 'encoding' set to "utf-8".  vim: set ft=vim :



STARTTEST

:so small.vim

:so mbyte.vim

:"

:" Don't want to depend on the locale from the environment.  The .aff and .dic

:" text is in latin1, the test text is utf-8.

:set enc=latin1

:e!

:set enc=utf-8

:set fenc=

:"

:" Function to test .aff/.dic with list of good and bad words.

:func TestOne(aff, dic)

  set spellfile=

  $put =''

  $put ='test '. a:aff . '-' . a:dic

  " Generate a .spl file from a .dic and .aff file.

  exe '1;/^' . a:aff . 'affstart/+1,/^' . a:aff . 'affend/-1w! Xtest.aff'

  exe '1;/^' . a:dic . 'dicstart/+1,/^' . a:dic . 'dicend/-1w! Xtest.dic'

  mkspell! Xtest Xtest

  " use that spell file[?25h[?25l:[?2004h[?25h/^test output:/,$wq! test.out
[?25l[?2004l"test.out" [New File] 270 lines, 3685 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test59 = test61; then \
#	  if diff test.out test59.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test59.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test59.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test72.failed test.ok test.out X* viminfo
cp test72.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test72.in" 146 lines, 2107 charactersTests for undo file.

Since this script is sourced we need to explicitly break changes up in

undo-able pieces.  Do that by setting 'undolevels'.



STARTTEST

:so small.vim

:set belloff=all

:"

:" Test 'undofile': first a simple one-line change.

:set nocompatible viminfo+=nviminfo visualbell

:set ul=100 undofile nomore

:e! Xtestfile

ggdGithis is one line^[:set ul=100

:s/one/ONE/

:set ul=100

:w

:bwipe!

:e Xtestfile

u:.w! test.out

:"

:" Test 'undofile', change in original file fails check

:set noundofile

:e! Xtestfile[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 undo file.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 135 lines, 1910 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar

:.w >>test.out

u:.w >>test.out

u:.w >>test.out

u:.w >>test.out

:"

:" Rename the undo file so that it gets cleaned up.

:if has("vms")

: call rename("_un_Xtestfile", "Xtestundo")

:else

: call rename(".Xtestfile.un~", "Xtestundo")

:endif

:qa!

ENDTEST



1111 -----

2222 -----



123456789[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset belloff=all
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile': first a simple one-line change.
[?25l[?25h[?25l:[?2004h[?25hset nocompatible viminfo+=nviminfo visualbell
[?25l[?25h[?25l:[?2004h[>cs[?25het ul=100 undofile nomore
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l-- INSERT --this is one line[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hs/one/ONE/
[?25lONE
[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" [New] 1L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 change; before #2  0 seconds agoone
[?25h[?25l:[?2004h[?25h.w! test.out
[?25l"test.out" [New] 1L, 17C written[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', change in original file fails check
[?25l[?25h[?25l:[?2004h[?25hset noundofile
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 1L, 17CONE
[?25h[?25l:[?2004h[?25hs/line/Line/
[?25lL
[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 1L, 17C written[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!:e Xtestfilefoo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 1L, 17Cthis is ONE Line

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25lAlready at oldest change[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 17C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test 'undofile', add 10 lines, delete 6 lines, undo 3
[?25l[?25h[?25l:[?2004h[?25hset undofile
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --one

twothreefourfivesixseveneightnineten[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hw
[?25l"Xtestfile" 4L, 17C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 4L, 17Conetwonineten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 7L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Test that reading the undofiles when setting undofile works
[?25l[?25h[?25l:[?2004h[?25hset noundofile ul=0
[?25l[?25h[?25l-- INSERT --six
u[?25hs[?25l[?25h[?25l1 line less; before #8  0 seconds ago

~                                                                               [?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cnine

ten~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile ul=100
[?25l[?25h[?25l1 more line; before #7  0 seconds agoeight[?25h[?25l1 more line; before #6  0 seconds agoseven[?25h[?25l1 more line; before #5  0 seconds agosix[?25h[?25l1 more line; before #4  0 seconds agofive[?25h[?25l1 more line; before #3  0 seconds agofour[?25h[?25l1 more line; before #2  0 seconds agothree[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 10L, 49C appended[?25h[?25l:[?2004h[?25h" And now with encryption, cryptmethod=zip
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" 4L, 17Cninten~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hset undofile cm=zip
[?25l[?25h[?25l~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l-- INSERT --monday

tuesdaywednesdaythursdayfriday[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25lmonday

friday

~                                                                               [?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [crypted] 2L, 14C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2bar:set key=/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [crypted] 2L, 14Cmonday

friday

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [crypted] 2L, 14C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l1 more line; before #11  0 seconds agothursday[?25h[?25l1 more line; before #10  0 seconds agowednesday[?25h[?25l:[?2004h[?25hw >>test.out
[?25l"test.out" 4L, 33C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][crypted] 1L, 14C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lWarning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25lEnter same key again:[?2004h [?25h******


[?25ljan

feb

bar apr[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h******


[?25l"Xtestfile" [blowfish] 4L, 20Cjan

feb

bar apr

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #15  0 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #14  0 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #13  0 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" With encryption, cryptmethod=blowfish2
[?25l[?25h[?25l:[?2004h[?25he! Xtestfile
[?25l"Xtestfile" Need encryption key for "Xtestfile"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h [?25h*******



~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [noeol][blowfish] 1L, 20C[?25h[?25l:[?2004h[?25hset undofile cm=blowfish2 ff&
[?25l[?25h[?25l--No lines in buffer--[?25h[?25l-- INSERT --jan

febmaraprjun[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h
[?25l-- INSERT --foo mar[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l

~                                                                               [?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l-- INSERT --bar apr[?25h[?25l:[?2004h[?25hset ul=100
[?25l[?25h[?25l:[?2004h[?25hX
[?25lEnter encryption key:[?2004h [?25h*******


[?25lEnter same key again:[?2004h [?25h*******


[?25ljan

feb[?25h[?25l:[?2004h[?25hw!
[?25l"Xtestfile" [blowfish2] 4L, 20C written[?25h[?25l:[?2004h[?25hbwipe!
[?25l"test72.in" 146L, 2107C:bwipe!

:e Xtestfile

foo2ba

:set key=

/bar:.w >>test.outu:.w >>test.outu:.w >>test.outu:.w >>test.out:":" Rename the undo file so that it gets cleaned up.:if has("vms"): call rename("_un_Xtestfile", "Xtestundo"):else: call rename(".Xtestfile.un~", "Xtestundo"):endif:qa!ENDTEST1111 -----2222 -----123456789[?25h[?25l:[?2004h[?25he Xtestfile
[?25l"Xtestfile" 
Need encryption key for "Xtestfile"


Enter encryption key:[?2004h [?25h*******


[?25l"Xtestfile" [blowfish2] 4L, 20Cjan

feb

bar ap

jun~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               "Xtestfile" [blowfish2] 4L, 20C[?25h[?25l:[?2004h[?25hset key=
[?25l[?25h[?25l/[?2004h[?25hbar
[?25l[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #19  1 seconds agoap[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l1 more line; before #18  1 seconds agofoo mar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?25h[?25l1 change; before #17  1 seconds agomar[?25h[?25l:[?2004h[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?25h[?25l:[?2004h[?25h"
[?25l[?25h[?25l:[?2004h[?25h" Rename the undo file so that it gets cleaned up.
[?25l[?25h[?25l:[?2004h[?25hif has("vms")
[?25l

:[?2004h  [?25h: call rename("_un_Xtestfile", "Xtestundo")


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: call rename(".Xtestfile.un~", "Xtestundo")


[?25l:[?2004h  [?25h:endif
[?25ljan

feb

mar

apr[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test72 = test61; then \
#	  if diff test.out test72.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test72.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test72.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test78.failed test.ok test.out X* viminfo
cp test78.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test78.in" 46 lines, 1476 charactersInserts 10000 lines with text to fill the swap file with two levels of pointer

blocks.  Then recovers from the swap file and checks all text is restored.



We need about 10000 lines of 100 characters to get two levels of pointer

blocks.



STARTTEST

:so small.vim

:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all

:e! Xtest

ggdG

:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01223456789abcdefghijklmnoparstuvwxyz0123456789"

:let i = 1

:let linecount = 10000

:while i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile

:preserve

:" get the name of the swap file

:redir => swapname

:swapname

:redir END

:let swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][::cntrl:]]*$', '\1', '')[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f


f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lInserts 10000 lines with text to fill the swap file with two levels of pointer[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 37 lines, 1220 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:set nobin

:new

:only!

:bwipe! Xtest

:call rename('Xswap', swapname)

:recover Xtest

:call delete(swapname)

:new

:call append(0, 'recovery start')

:wincmd w

:let linedollar = line('$')

:if linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected "" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let linnecount = linedollar | endif

:let i = 1

:while i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appendd(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile

:q!

:call append(line('$'), 'recovery end')

:w! test.out

:qa!

ENDTEST
[?25h

[?25l

:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso small.vim
[?25l[?25h[?25l:[?2004h[?25hset nocp fileformat=unix undolevels=-1 viminfo+=nviminfo belloff=all
[?25l[?25h[?25l:[?2004h[>ce[?25h! Xtest
[?25l"Xtest" [New File]~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hlet text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01


23456789abcdefghijklmnoparstuvwxyz0123456789"
[?25l[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hlet linecount = 10000
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | call append(i - 1, i . text) | let i += 1 | endwhile
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899991    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899992    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899993    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899994    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899995    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899996    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899997    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899998    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789[?25h[?25l:[?2004h[?25hpreserve
[?25lFile preserved[?25h[?25l:[?2004h[?25h" get the name of the swap file
[?25l[?25h[?25l:[?2004h[?25hredir => swapname
[?25l[?25h[?25l:[?2004h[?25hswapname
[?25l.Xtest.swp[?25h[?25l:[?2004h[?25hredir END
[?25l[?25h[?25l:[?2004h[?25hlet swapname = substitute(swapname, '[[:blank:][:cntrl:]]*\(.\{-}\)[[:blank:][


:cntrl:]]*$', '\1', '')
[?25l9990    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899a[?25h[?25l

:[?2004h[?25h" make a copy of the swap file in Xswap
[?25l[?25h[?25l:[?2004h[?25hset bin
[?25l[?25h[?25l:[?2004h[?25hexe 'sp ' . swapname
[?25l".Xtest.swp"[noeol] 611L, 1224704Cb0VIM 8.0^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@^Y ^@^@buildd^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@mb-lxc-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-nox/testdiir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^.Xtest.swp                                                                      799a

999899a

999999a

1000099a~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hw! Xswap
[?25l"Xswap" [New][noeol] 611L, 1224704C written[?25h[?25l:[?2004h[?25hecho swapname
[?25l.Xtest.sw[?25h[?25l:[?2004h[?25hset nobin
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       b0VIM 8.0^@^@^@^@^P^@^@^@^@^@^@^@^@^@^@^Y ^@^@buildd^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@mb-lxc-01^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/<<PKGBUILDDIR>>/src/vim-nox/testdiir/Xtest^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^.Xtest.swp                                                                      9999    abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

10000   abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789



~                                                                               Xtest [+]                                                                       [?25h[?25l:[?2004h[?25honly!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hbwipe! Xtest
[?25l[?25h[?25l:[?2004h[?25hcall rename('Xswap', swapname)
[?25l[?25h[?25l:[?2004h[?25hrecover Xtest
[?25lUsing swap file ".Xtest.swp"


Original file "/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xtest"


"/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xtest" [New File]Recovery completed. You should check if everything is OK.


(You might want to write out this file under another name


and run diff with the original file to check for changes)


You may want to delete the .swp file now.






Press ENTER or type command to continue[?25h[?25l:[?2004h[?25hcall delete(swapname)
[?25l1abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

2abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

3abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

4abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz0123456789

5       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567896       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567897       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567898       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz01234567899       abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678910      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678911      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567899abcdefghijklmnoparstuvwxyz012345678912      abcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@                                                                               [?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       199a

299a

399a

4 99a

5 99a

Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hcall append(0, 'recovery start')
[?25lrecovery start[+][?25h[?25l:[?2004h[?25hwincmd w
[?25l[No Name] [+]                                                                    Xtest [+]                                                                       [?25h[?25l:[?2004h[?25hlet linedollar = line('$')
[?25l[?25h[?25l:[?2004h[?25hif linedollar < linecount | exe 'wincmd w' | call append(line('$'), "expected 


" . linecount . " lines but found only " . linedollar) | exe 'wincmd w' | let li


necount = linedollar | endif
[?25lrecovery start[?25h[?25l:[?2004h[?25hlet i = 1
[?25l[?25h[?25l:[?2004h[?25hwhile i <= linecount | if getline(i) != i . text | exe 'wincmd w' | call appen


d(line('$'), i . ' differs') | exe 'wincmd w' | endif | let i += 1 | endwhile
[?25lrecovery start[?25h[?25l:[?2004h[?25hq!
[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hcall append(line('$'), 'recovery end')
[?25lrecovery end[?25h[?25l:[?2004h[?25hw! test.out
[?25l"test.out" [New] 3L, 29C written[?25h[?25l:[?2004h[?25hqa!
[?25l[?2004l[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test78 = test61; then \
#	  if diff test.out test78.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test78.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test78.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test83.failed test.ok test.out X* viminfo
cp test83.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;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test83.in" 76 lines, 1273 charactersTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l:[?2004h[?25hset cp
[?25l[?25h[?25l:[?2004h[?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 tag search with !_TAG_FILE_ENCODING.[?25h[?25l/[?2004h^STARTTEST
[?25h

[?25l:[?2004hset ff=unix cpo-=A
[?25h[?25l:[?2004h.,/ENDTEST/-1w! Xdotest
"Xdotest" [New File] 58 lines, 1021 characters written[?25h[?25l:[?2004hset ff& cpo+=A
[?25h[?25l/ENDTEST:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h

[?25l:[?2004hso! Xdotest
[?25h[?25l:[?2004h[?25hso mbyte.vim
[?25l[?25h[?25l:[?2004h[?25hset enc=utf8
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'

:else

: close

: put ='case3: ok'

:endif

:close

:

:wq! test.out

ENDTEST



text for tags1

abcdefghijklmnopqrs



text for tags2

ABC



text for tags3

ABC



tags1[?25h[?25l:[?2004h[?25hif !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
[?25l

:[?2004h  [?25h: e! test.ok


[?25l:[?2004h  [?25h: w! test.out


[?25l:[?2004h  [?25h: qa!


[?25l:[?2004h  [?25h:endif
[?25l:tag abc50

:if v:errmsg =~ 'E426:' || getline('.') != 'ABC'

: close

: put ='case3: failed'[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
[?25l"Xtags1.txt" [New File] 2 lines, 35 characters written[?25h[?25l:[?2004h[?25h/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
[?25l"Xtags2.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
[?25l"Xtags3.txt" [New File] 2 lines, 25 characters written[?25h[?25l:[?2004h[?25h/^tags1$/+1,/^tags1-end$/-1w! Xtags1
[?25l"Xtags1" [New File] 2 lines, 81 characters written[?25h[?25l:[?2004h[?25h[?25l[?25h[?25lTests for tag search with !_TAG_FILE_ENCODING.



STARTTEST

:so mbyte.vim

:set enc=utf8

:if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"

: e! test.ok

: w! test.out

: qa!

:endif

:

:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt

:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt

:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt

:/^tags1$/+1,/^tags1-end$/-1w! Xtags1

:

ggdG:

:

:call setline('.', 'Results of test83')

:

:" case1:

:new

:set tags=Xtags1[?25h[?25l~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               --No lines in buffer--[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hcall setline('.', 'Results of test83')
[?25lResults of test83
[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case1:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l[No Name]                                                                       Results of test83test83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=Xtags1
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abcdefghijklmnopqrs
[?25l"Xtags1.txt" 2 lines, 35 characterstext for tags1

abcdefghijklmnopqrsXtags1.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'abcdefghijklmnopqrs'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case1: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case2:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               [No Name]                                                                       Results of test83case1: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags2
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag /.BC
[?25l"Xtags2.txt" 2 lines, 25 characterstext for tags2

ABCXtags2.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case2: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25h" case3:
[?25l[?25h[?25l:[?2004h[?25hnew
[?25l~                                                                               ~                                                                               [No Name]                                                                       case1: okcase2: oktest83.in [+]                                                                   [?25h[?25l:[?2004h[?25hset tags=test83-tags3
[?25l[?25h[?25l:[?2004h[?25hlet v:errmsg = ''
[?25l[?25h[?25l:[?2004h[?25htag abc50
[?25l"Xtags3.txt" 2 lines, 25 characterstext for tags3

ABCXtags3.txt[?25h[?25l:[?2004h[?25hif v:errmsg =~ 'E426:' || getline('.') != 'ABC'
[?25l

:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: failed'


[?25l:[?2004h  [?25h:else


[?25l:[?2004h  [?25h: close


[?25l:[?2004h  [?25h: put ='case3: ok'


[?25l:[?2004h  [?25h:endif
[?25lResults of test83

case1: ok

case2: ok

case3: ok

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?25h[?25l:[?2004h[?25hclose
[?25lE37: No write since last change (add ! to override)[?25h[?25l:[?2004h[?25h[?25l[?25h[?25l:[?2004h[?25hwq! test.out
[?25l[?2004l"test.out" [New File] 4 lines, 48 characters written


[?2004l[?1l>[?25h[?1049l# For flaky tests retry one time.  No tests at the moment.
#@/bin/sh -c "if test -f test.out -a test83 = test61; then \
#	  if diff test.out test83.ok; \
#	  then echo flaky test ok first time; \
#	  else rm -rf test83.failed test.out X* viminfo; \
#		VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -s dotest.in test83.in; \
#	  fi \
#	fi"
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arabic.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arabic.vim" 613 lines, 18247 characters


Executing Test_arabic_input()!ﻡﻼﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 !مالس                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_arabic_toggle()


Executing Test_arabic_toggle_keymap()٢١21٢١                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_delcombine()ﻞﺳ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               ~~~~~~~~~~[No Name] [+]                                                                   <arab>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_final()ﻶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_combination_isolated()ﻵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final()ﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺶﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺺﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺾﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻊﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻖﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻚﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻞﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻢﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻦﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻲﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_final_to_medial()ﺐﺊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺔ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺬ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﺰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻮ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏﻰ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺐ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺶ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺺ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﺾ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻂ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻆ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻊ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻎ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻒ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻖ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻚ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻞ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻢ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻦ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻪ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺐﻲ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_initial()ﻎﺋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺷ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺻ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺿ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻋ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻗ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻛ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻟ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻣ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻧ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻳ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_iso_to_medial()ﻍﺀﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺂﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺆﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺎﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺒﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺪﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﺰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺸﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﺼﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻀﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻄﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻈﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻌﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻐﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎـﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻔﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻘﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻜﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻠﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻤﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻨﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻬﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻮﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍﻰﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻎﻴﺑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 Executing Test_shape_isolated()ﺀ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺃ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺇ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺓ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺫ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ـ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻭ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻯ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺏ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺵ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺹ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﺽ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻁ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻅ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻉ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻍ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻑ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻕ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻙ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻝ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻡ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻥ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻩ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 ﻱ

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   <lang>

" Simplistic testing of Arabic mode.

" NOTE: This just checks if the code works. If you know Arabic please add

" functional tests that check the shaping works with real text.



if !has('arabic') || !has('multi_byte')

  finish

endif



source view_util.vim



test_arabic.vim                                                                 "test_arabic.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [New File][New] 15L, 422C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_arglist.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_arglist.vim" 358 lines, 7814 characters


Executing Test_arg_all_expand()
"notexist" [New File]

Executing Test_argadd()
"a" [New File]bababababdsome file" [New File]


Executing Test_argc()
"a" [New File]

Executing Test_argdelete()
"a" [New File]a" [New File]
"bb


Executing Test_argedit()
"a" [New File]baCcx


"x" [New File]


Executing Test_argidx()
"a" [New File]c


"a" [New File]
"bc


Executing Test_arglist_autocmd()
"Xxx1" 1L, 15C
"Xxx21L, 15C1L, 15C
"Xxx1" line 1 of 1 --100%-- col 1 ((3) of 2)
"Xxx21 of 2)

3 buffers wiped out


Executing Test_arglistid()
"a" [New File]

Executing Test_argpos()
"a" [New File]d


"c" [New File]
"ba


"d" [New File]
"a


Executing Test_argument()
"d" [New File]cbafile] --No lines in buffer-- (1 of 4)
"c3


a b [c] d
"c" [New File]


"x" [New File]
"z


Executing Test_argv()
"a" [New file] --No lines in buffer--


Executing Test_zero_argadd()
"b" [New file] --No lines in buffer-- (2 of 4)
"aFbedited" [New File]
"a" [New File]file with spaces" [New File]
"test_arglist.r[New] 0L, 0C written


Executed 12 tests
"messages" 15L, 422C30L, 779C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_assert.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_assert.vim" 147 lines, 3536 characters


Executing Test_assert_equal()


Executing Test_assert_exception()


Executing Test_assert_fail_fails()


Executing Test_assert_false()


Executing Test_assert_inrange()


Executing Test_assert_notequal()


Executing Test_assert_report()


Executing Test_assert_true()


Executing Test_assert_with_msg()


Executing Test_compare_fail()


Executing Test_match()


Executing Test_notmatch()


Executing Test_override()


Executing Test_user_is_happy()




oooo$$$$$$$$$$$$oooo


oo$$$$$$$$$$$$$$$$$$$$$$$$o


oo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$oo$   $$ o$


     o $ ooo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o$$ $$ $$o$


  oo $ $ "$      o$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$o$$$o$$o$


  "$$$$$$o$     o$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$o    $$$$$$$$


    $$$$$$$    $$$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$$$$$$$$$$$$$$


    $$$$$$$$$$$$$$$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$$$$$$  """$$$


     "$$$""""$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$


      $$$   o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$o


     o$$"   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o


     $$$    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" "$$$$$$ooooo$$$$o


    o$$$oooo$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$   o$$$$$$$$$$$$$$$$$


    $$$$$$$$"$$$$   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     $$$$""""""""


   """"$$$$    "$$$$$$$$$$$$$$$$$$$$$$$$$$$$"      o$$$


"$$$o     """$$$$$$$$$$$$$$$$$$"$$"$$$


$$$o"$$""$$$$$$""""o$$$


$$$$oo$$$"


"$$$$o      o$$$$$$o"$$$$oo$$$$


"$$$$$oo     ""$$$$o$$$$$o   o$$$$""


""$$$$$oooo  "$$$o$$$$$$$$$"""


""$$$$$$$oo $$$$$$$$$$


""""$$$$$$$$$$$


$$$$$$$$$$$$


$$$$$$$$$$"


"$$$""""


[?25h[?2004l[?2004h[?25lExecuting Test_wrong_error_type()
"test_assert.res" [New File][New] 0L, 0C written


Executed 15 tests
"messages" 30L, 779C48L, 1277C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autochdir.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autochdir.vim" 17 lines, 332 characters


Executing Test_set_filename()
"samples/Xtest" [New] 0L, 0C written
"test_autochdir.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"48L, 1277C52L, 1349C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_autocmd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_BufEnter()
"NewFile" [New File]Xdir" is a directory


Executing Test_BufleaveWithDelete()
"Xfile1" [New File]

Executing Test_OptionSet()


Executing Test_OptionSet_diffmode()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_OptionSet_diffmode_close()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_augroup_deleted()


W19: Deleting augroup that is still in use
Executing Test_augroup_warning()

W19: Deleting augroup that is still in useentering


Executing Test_autocmd_bufunload_avoiding_SEGV_01()


"aa.txt" [New File]


"bb.txt" [New File]


Executing Test_autocmd_bufunload_avoiding_SEGV_02()[?2004l[?2004h


"a.txt" [New File]


"test_autocmd.vim" 647 lines, 17194 characters


Executing Test_autocmd_bufunload_with_tabnext()


Executing Test_autocmd_bufwinleave_with_tabfirst()


"a.txt" [New File]


Executing Test_autocmd_bufwipe_in_SessLoadPost()[?2004l[?2004h


Executing Test_autocmd_bufwipe_in_SessLoadPost2()[?2004l[?2004h


Executing Test_bufunload()


Executing Test_cursorhold_insert()[?2004l[?25h[?2004h[?25l_ctrl_x()[?2004l[?25h[?2004h[?25learly_bar()

Executing Test_empty_doau()


No matching autocommands


Executing Test_three_windows()


"Xtestje1" [New File]


"Xtestje1" [New File] 1 line, 8 characters written


"Xtestje2" [New File]


"Xtestje2" [New File] 1 line, 8 characters written


"Xtestje3" [New File]


"Xtestje3" [New File] 1 line, 8 characters written


"Xtestje1" 1 line, 8 characters


"Xtestje3" 1 line, 8 characters


"Xtestje2" 1 line, 8 characters


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


"Xtestje1" 1 line, 8 characters


"Xanother" [New File]


Already only one window
"help.txt" [readonly] 225 lines, 8437 characters


Executing Test_vim_did_enter()


Executing Test_win_tab_autocmd()


"somefile" [New File]


"test_autocmd.res" [New File][?2004l


"test_autocmd.res" [New File] 0 lines, 0 characters written


Executed 21 tests


"messages" 52 lines, 1349 characters


"messages" 76 lines, 2180 characters written


[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_backspace_opt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_backspace_opt.vim" 59 lines, 1673 characters


Executing Test_backspace_option()
"test_backspace_opt.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"76L, 2180C80L, 2260C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_breakindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_breakindent.vim" 298 lines, 7493 characters


Executing Test_breakindent01()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    qrstuvwxyzABCDEF|

    GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent02()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

    >>qrstuvwxyzABCD|

    >>EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent03()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

++  qrstuvwxyzABCDEF|

++  GHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent04()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

  qrstuvwxyzABCDEFGH|

  IJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent05()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|qrstuvwxyzABCD|EFGHIJKLMNOP  |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent06()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

    abcdefghijklmnop|

   qrstuvwxyzABCDEFG|

   HIJKLMNOP|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

?mnopqrstuvw|

?xyzABCDEFGH|

?IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent07a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

    ?    mnopqrstuvw|

    ?    xyzABCDEFGH|

    ?    IJKLMNOP   ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

#      opqrstuvwxyzA|

#      BCDEFGHIJKLMN|

#      OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent08a()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

    #  opqrstuvwxyzA|

    #  BCDEFGHIJKLMN|

    #  OP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent09()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 $|

  2 ^Iabcdefghijklmn|

       #opqrstuvwxyz|

       #ABCDEFGHIJKL|

       #MNOP$||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent10()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2 abcdefgh|

~ijklmnop|

~qrstuvwx|

~yzABCDEF|

~GHIJKLMN|

~OP      ||||~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                              1 |

  2     abcdefghijkl|

~mnopqrstuvwx|

~yzABCDEFGHIJ|

~KLMNOP      ||||||~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent11()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent12()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                             1 |

 2 >--->--->--->--->|

   ---{      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        {~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent13()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent14()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |

e|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  e~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent15()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            |1234567890|||||||||~                             

~                             

~                             

~                             

~                             

~                             

~                             

~                             

[No Name] [+]                  1234567890~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                ~                                                [No Name] [+]                                    " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

Executing Test_breakindent16()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim

test_breakindent.vim                                                            ~                   

~                   

~                   

~                   

~                   

                    7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            7890123456789012|

    3456789012345678|

    9012345678901234|

    5678901234567890|

    1234567890123456|

    7890|

[No Name] [+]        1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

test_breakindent.vim                                                            " Test for breakindent

"

" Note: if you get strange failures when adding new tests, it might be that

" while the test is run, the breakindent cacheing gets in its way.

" It helps to change the tabstop setting and force a redraw (e.g. see

" Test_breakindent08())

if !exists('+breakindent')

  finish

endif



source view_util.vim



let s:input ="\tabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP"



function s:screen_lines(lnum, width) abort

  return ScreenLines([a:lnum, a:lnum + 2], a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

"test_breakindent.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 80L, 2260C101L, 2866C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_bufwintabinfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_bufwintabinfo.vim" 116 lines, 3459 characters


Executing Test_get_buf_options()


Executing Test_get_win_options()


Executing Test_getbufwintabinfo()
"Xtestfile1" [New File]212


Already only one window
"test_bufwintabinfo.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"101L, 2866C107L, 3013C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cdo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cdo.vim" 205 lines, 5116 characters


Executing Test_cdo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2


Executing Test_ldo()
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile1" 3L, 18C


(2 of 6): Line1
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2


(4 of 6): Line2
"Xtestfile3" 3L, 18C


(6 of 6): Line3
"Xtestfile2" 3L, 18C


(4 of 6): Line2
"Xtestfile1" 3L, 18C33L, 18C


(1 of 1): Line3
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile1" 3L, 18C


(2 of 8): Line1
"Xtestfile2" 3L, 18C


(5 of 8): Line2
"Xtestfile3" 3L, 18C


(7 of 8): Line2
"Xtestfile2" 3L, 18C


(5 of 8): Line2


(5 of 8): Line2


(1 of 1): Line2
"test_cdo.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"107L, 3013C112L, 3092C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_channel.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_channel.vim" 1761 lines, 51515 characters
"test_channel.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"112L, 3092C115L, 3132C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_charsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_charsearch.vim" 62 lines, 1475 characters


Executing Test_charsearch()


Executing Test_search_cmds()
"test_charsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"115L, 3132C120L, 3233C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cindent.vim" 105 lines, 2962 characters


Executing Test_cindent_expr()rawstring()o_extern_c()6 lines to indent... 7indented 6to indent...
7indented Executing Test_cino_hash()
"test_cindent.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"120L, 3233C127L, 3397C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_clientserver.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_clientserver.vim" 108 lines, 3648 characters
"test_clientserver.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"127L, 3397C130L, 3442C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cmdline.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cmdline.vim" 434 lines, 12686 characters


Executing Test_cmdline_complete_user_cmd():[?2004hFoo ...blue
:"Foo blue
:"
:[?2004hFoo b...lue
:"Foo blue
:"


Executing Test_cmdline_complete_wildoptions()
"help.txt" [readonly] 225L, 8437C:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V


IMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ')


'. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeym


ap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape


''ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave


''autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backu


pcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloo


nexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh'


'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakind


ent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' '


bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit'


'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys'


'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheigh


t' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'comm


entstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor'


'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpopti


ons' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cs


coperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf'


'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorlin


e' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionar


y' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy'


'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'em"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $VIMRUNTIME $VIM_POSIX % %:. %:8 %:S %:e %:gs %:h %:p %:r %:s %:t %:~ & ' '' '( ') '. '0 '< '> 'A '[ '] '^ 'a 'acd' 'ai' 'akm' 'al' 'aleph' 'allowrevins' 'altkeymap' 'ambiwidth' 'ambw' 'anti' 'antialias' 'ap' 'ar' 'arab' 'arabic' 'arabicshape' 'ari' 'arshape' 'as' 'autochdir' 'autoindent' 'autoprint' 'autoread' 'autosave' 'autowrite' 'autowriteall' 'aw' 'awa' 'background' 'backspace' 'backup' 'backupcopy' 'backupdir' 'backupext' 'backupskip' 'balloondelay' 'ballooneval' 'balloonexpr' 'bdir' 'bdlay' 'beautify' 'belloff' 'beval' 'bex' 'bexpr' 'bf' 'bg' 'bh' 'bin' 'binary' 'biosk' 'bioskey' 'bk' 'bkc' 'bl' 'bo' 'bomb' 'breakat' 'breakindent' 'breakindentopt' 'bri' 'briopt' 'brk' 'browsedir' 'bs' 'bsdir' 'bsk' 'bt' 'bufhidden' 'buflisted' 'buftype' 'casemap' 'cb' 'cc' 'ccv' 'cd' 'cdpath' 'cedit' 'cf' 'cfu' 'ch' 'character' 'charconvert' 'ci' 'cin' 'cindent' 'cink' 'cinkeys' 'cino' 'cinoptions' 'cinw' 'cinwords' 'clipboard' 'cm' 'cmdheight' 'cmdwinheight' 'cmp' 'cms' 'co' 'cocu' 'cole' 'colorcolumn' 'columns' 'com' 'comments' 'commentstring' 'compatible' 'complete' 'completefunc' 'completeopt' 'concealcursor' 'conceallevel' 'confirm' 'consk' 'conskey' 'copyindent' 'cot' 'cp' 'cpo' 'cpoptions' 'cpt' 'crb' 'cryptmethod' 'cscopepathcomp' 'cscopeprg' 'cscopequickfix' 'cscoperelative' 'cscopetag' 'cscopetagorder' 'cscopeverbose' 'cspc' 'csprg' 'csqf' 'csre' 'cst' 'csto' 'csverb' 'cuc' 'cul' 'cursorbind' 'cursorcolumn' 'cursorline' 'cwh' 'debug' 'deco' 'def' 'define' 'delcombine' 'dex' 'dg' 'dict' 'dictionary' 'diff' 'diffexpr' 'diffopt' 'digraph' 'dip' 'dir' 'directory' 'display' 'dy' 'ea' 'ead' 'eadirection' 'eb' 'ed' 'edcompatible' 'ef' 'efm' 'ei' 'ek' 'emo' 'e
:[?2004htag /...! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $V
:"tag ! !! # $ $HOME $HOME-use $HOME-windows $MYGVIMRC $MYVIMRC $VIM $VIM-use $
:"


Executing Test_cmdline_search_range()


search hit BOTTOM, continuing at TOP
Executing Test_complete_list():[?2004he test


test1.intest_bufline.vim


test1.oktest_bufwintabinfo.res


test1.outtest_bufwintabinfo.vim


test108.intest_cd.vim


test108.oktest_cdo.res


test108.outtest_cdo.vim


test11.intest_changedtick.vim


test11.oktest_changelist.in


test11.outtest_changelist.ok


test12.intest_changelist.out


test12.oktest_channel.py


test12.outtest_channel.res


test14.intest_channel.vim


test14.oktest_channel_pipe.py


test14.outtest_channel_write.py


test15.intest_charsearch.res


test15.oktest_charsearch.vim


test15.outtest_charsearch_utf8.vim


test17.intest_cindent.res


test17.oktest_cindent.vim


test17.outtest_clientserver.res


test17a.intest_clientserver.vim


test19.intest_close_count.in


test19.oktest_close_count.ok


test19.outtest_close_count.out


test20.intest_cmdline.vim


test20.oktest_command_count.vim


test20.outtest_comparators.vim


test25.intest_crypt.vim


test25.oktest_cscope.vim


test25.outtest_cursor_func.vim


test28.intest_curswant.vim


test28.oktest_delete.vim


test28.outtest_diffmode.vim


test29.intest_digraph.vim


test29.oktest_display.vim


test29.outtest_edit.vim


test3.intest_erasebackword.in


test3.oktest_erasebackword.ok


test3.outtest_erasebackword.out


test30.intest_escaped_glob.vim


test30.oktest_eval.in


test30.outtest_eval.ok


test31.intest_eval.out


test31.oktest_eval_func.vim


test31.outtest_ex_undo.vim


test32.intest_ex_z.vim


test32.oktest_exec_while_if.vim


test32.outtest_execute_func.vim


test33.intest_exists_autocmd.vim


test33.oktest_expand.vim


test33.outtest_expand_dllpath.vim


test34.intest_expr.vim


test34.oktest_expr_utf8.vim


test34.outtest_farsi.vim


test36.intest_feedkeys.vim


test36.oktest_file_perm.vim


test36.outtest_file_size.vim


test37.intest_fileformat.vim


test37.oktest_filetype.vim


test37.outtest_filter_cmd.vim


test38.intest_filter_map.vim


test38.oktest_findfile.vim


test38.outtest_fixeol.in


test39.intest_fixeol.ok


test39.oktest_fixeol.out


test39.outtest_float_func.vim


test4.intest_fnameescape.vim


test4.oktest_fnamemodify.vim


test4.outtest_fold.vim


test40.intest_functions.vim


test40.oktest_ga.vim


test40.outtest_getcwd.vim


test41.intest_getvar.vim


test41.oktest_gf.vim


test41.outtest_glob2regpat.vim


test42.intest_global.vim


test42.oktest_gn.vim


test42.outtest_goto.vim


test43.intest_gui.vim


test43.oktest_gui_init.vim


test43.outtest_hardcopy.vim


test44.intest_help.vim


test44.oktest_help_tagjump.vim


test44.outtest_hide.vim


test45.intest_highlight.vim


test45.oktest_history.vim


test45.outtest_hlsearch.vim


test48.intest_increment.vim


test48.oktest_increment_dbcs.vim


test48.outtest_insertcount.in


test49.intest_insertcount.ok


test49.oktest_insertcount.out


test49.outtest_job_fails.vim


test49.vimtest_join.vim


test5.intest_json.vim


test5.oktest_jumps.vim


test5.outtest_lambda.vim


test50.intest_langmap.vim


test50.oktest_largefile.vim


test52.intest_let.vim


test52.oktest_lineending.vim


test52.outtest_lispwords.vim


test53.intest_listchars.in


test53.oktest_listchars.ok


test53.outtest_listchars.out


test54.intest_listlbr.vim


test54.oktest_listlbr_utf8.vim


test54.outtest_lua.vim


test55.intest_makeencoding.py


test55.oktest_makeencoding.vim


test55.outtest_man.vim


test59.intest_maparg.vim


test59.oktest_mapping.vim


test59.outtest_marks.vim


test60.intest_match.vim


test60.oktest_matchadd_conceal.vim


test60.outtest_matchadd_conceal_utf8.vim


test60.vimtest_menu.vim


test64.intest_messages.vim


test64.oktest_mksession.vim


test64.outtest_mksession_utf8.vim


test66.intest_nested_function.vim


test66.oktest_netbeans.py


test66.outtest_netbeans.vim


test68.intest_normal.vim


test68.oktest_number.vim


test68.outtest_options.vim


test69.intest_packadd.vim


test69.oktest_partial.vim


test69.outtest_paste.vim


test7.intest_perl.vim


test7.oktest_plus_arg_edit.vim


test7.outtest_popup.vim


test70.intest_preview.vim


test70.oktest_profile.vim


test70.outtest_put.vim


test72.intest_python2.vim


test72.oktest_python3.vim


test72.outtest_pyx2.vim


test73.intest_pyx3.vim


test73.oktest_quickfix.vim


test73.outtest_quotestar.vim


test77a.intest_recover.vim


test77a.oktest_regex_char_classes.vim


test78.intest_regexp_latin.vim


test78.oktest_regexp_utf8.vim


test78.outtest_registers.vim


test79.intest_reltime.vim


test79.oktest_retab.vim


test79.outtest_ruby.vim


test8.intest_scrollbind.vim


test8.oktest_search.vim


test8.outtest_search_mbyte.in


test83-tags2test_search_mbyte.ok


test83-tags3test_search_mbyte.out


test83.intest_searchpos.vim


test83.oktest_set.vim


test83.outtest_sha256.vim


test85.intest_short_sleep.py


test85.oktest_signs.vim


test85.outtest_smartindent.vim


test86.intest_sort.vim


test86.oktest_source_utf8.vim


test86.outtest_spell.vim


test87.intest_startup.vim


test87.oktest_startup_utf8.vim


test87.outtest_stat.vim


test88.intest_statusline.vim


test88.oktest_substitute.vim


test88.outtest_syn_attr.vim


test94.intest_syntax.vim


test94.oktest_system.vim


test94.outtest_tabline.vim


test95.intest_tabpage.vim


test95.oktest_tagcase.vim


test95.outtest_tagjump.vim


test99.intest_taglist.vim


test99.oktest_tcl.vim


test99.outtest_terminal.vim


test_alot.vimtest_terminal_fail.vim


test_alot_latin.vimtest_textobjects.vim


test_alot_utf8.vimtest_timers.vim


test_arabic.restest_true_false.vim


test_arabic.vimtest_undo.vim


test_arglist.restest_unlet.vim


test_arglist.vimtest_usercommands.vim


test_assert.restest_utf8.vim


test_assert.vimtest_utf8_comparisons.vim


test_assign.vimtest_viminfo.vim


test_autochdir.restest_vimscript.vim


test_autochdir.vimtest_virtualedit.vim


test_autocmd.restest_visual.vim


test_autocmd.vimtest_winbar.vim


test_autoformat_join.intest_window_cmd.vim


test_autoformat_join.oktest_window_id.vim


test_autoformat_join.outtest_windows_home.vim


test_backspace_opt.restest_wordcount.in


test_backspace_opt.vimtest_wordcount.ok


test_breakindent.restest_wordcount.out


test_breakindent.vimtest_writefile.vim


:e test
"test" [New File]


Executing Test_complete_tab():[?2004he Xtest...file
"Xtestfile" 1L, 9C


Executing Test_complete_wildmenu():[?2004he Xtest...file1...


Xtestfile1  Xtestfile2                                                          :e Xtest...Xtestfile1 file1...Xtestfile1Xtestfile2 2:te Xtestfile2"Xtestfile2" 1L, 10C

Executing Test_expand_star_star():[?2004hfind **/fileXname...a/b/fileXname
"a/b/fileXname" 1L, 9C
"Xtestfile2" [New File]


Executing Test_expr_completion():[?2004hlet a =  getl...ine(
:"let a =  getline(
:"
:[?2004hif getl...ine(
:"if getline(
:"
:[?2004helseif getl...ine(
:"elseif getline(
:"
:[?2004hwhile getl...ine(
:"while getline(
:"
:[?2004hfor getl...ine(
:"for getline(
:"
:[?2004hecho getl...ine(
:"echo getline(
:"
:[?2004hechon getl...ine(
:"echon getline(
:"
:[?2004hexecute getl...ine(
:"execute getline(
:"
:[?2004hechomsg getl...ine(
:"echomsg getline(
:"
:[?2004hechoerr getl...ine(
:"echoerr getline(
:"
:[?2004hcall getl...ine(
:"call getline(
:"
:[?2004hreturn getl...ine(
:"return getline(
:"
:[?2004hcexpr getl...ine(
:"cexpr getline(
:"
:[?2004hcaddexpr getl...ine(
:"caddexpr getline(
:"
:[?2004hcgetexpr getl...ine(
:"cgetexpr getline(
:"
:[?2004hlexpr getl...ine(
:"lexpr getline(
:"
:[?2004hladdexpr getl...ine(
:"laddexpr getline(
:"
:[?2004hlgetexpr getl...ine(
:"lgetexpr getline(
:"


Executing Test_getcmdtype():[?2004hMyCmd a"=[?2004hCheck_cmdline(':')
:MyCmd a:[?2004hdebug echo 'test'
[?2004hEntering Debug mode.  Type "cont" to continue.
function RunTheTest[24]..Test_getcmdtypeline 7: echo 'test'

>[?2004hlet cmdtype = "=[?2004hstring(getcmdtype())
>let cmdtype = '>'


>[?2004hcont
test/[?2004hMyCmd a"=[?2004hCheck_cmdline('/')
/MyCmd a?[?2004hMyCmd a"=[?2004hCheck_cmdline('?')
?MyCmd a:[?2004hcall input('Answer?')
Answer?[?2004hMyCmd a"=[?2004hCheck_cmdline('@')
Answer?MyCmd a:[?2004hinsert


[?2004hMyCmd a"=[?2004hCheck_cmdline('-')
MyCmd a=[?2004hMyCmd aExecuting Test_getcompletion():[?2004hcscope find 


a  c  d  e  f  g  i  s  t


:cscope find :[?2004hsign list 


Testing


:sign list [?2004l[?2004h[?2004l[?2004h[?2004hExecuting Test_highlight_completion():[?2004hhi ...Aardig
:"hi Aardig
:"
:[?2004hhi default ...Aardig
:"hi default Aardig
:"
:[?2004hhi clear Aa...rdig
:"hi clear Aardig
:"
:[?2004hhi li...LineNr...
:hi l...nk
:"hi link
:"
:[?2004hhi d...DiffAdd...
:hi d...efault
:"hi default
:"
:[?2004hhi c...ColorColumn...
:hi c...lear
:"hi clear
:"


Executing Test_illegal_address1()


Executing Test_illegal_address2()
"Xtest.vim" 5L, 14C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_map_completion():[?2004hmap <unique> <si...lent>
:"map <unique> <silent>
:"
:[?2004hmap <script> <un...ique>
:"map <script> <unique>
:"
:[?2004hmap <expr> <sc...ript>
:"map <expr> <script>
:"
:[?2004hmap <buffer> <e...xpr>
:"map <buffer> <expr>
:"
:[?2004hmap <nowait> <b...uffer>
:"map <nowait> <buffer>
:"
:[?2004hmap <special> <no...wait>
:"map <special> <nowait>
:"
:[?2004hmap <silent> <sp...ecial>
:"map <silent> <special>
:"


Executing Test_match_completion():[?2004hmatch ...Aardig
:"match Aardig
:"
:[?2004hmatch ...Aardig......none
:"match none
:"


Executing Test_paste_in_cmdline():[?2004habc "def ghi
:"abc def ghi
:"
:[?2004haaa "asdf bbb
:"aaa asdf bbb
:"
:[?2004haaa "/tmp/some bbb
:"aaa /tmp/some bbb
:"
:[?2004haaa veryl"ongword bbb
:"aaa verylongword bbb
:"
:[?2004haaa "a;b-c*d bbb
:"aaa a;b-c*d bbb
:"
:[?2004h=[?2004htoupper(getline(1))
:ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D 
:"ASDF.X /TMP/SOME VERYLONGWORD A;B-C*D
:"


Executing Test_remove_char_in_cmdline():[?2004habc defef
:"abc ef
:"
:[?2004habc defdef
:"abcdef
:"
:[?2004habc def ghighi
:"abc ghi
:"
:[?2004habc def
:def"def


Executing Test_verbosefile()


foo


bar
"test_cmdline.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 130L, 3442C151L, 4108C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_command_count.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_command_count.vim" 191 lines, 4742 characters


Executing Test_command_count_0()
"DoesNotExistEver" [New File]

Executing Test_command_count_1()


"a" [New File]


loading buffers


"b" [New File]


loading buffers


"c" [New File]


loading buffers


"d" [New File]


loading buffers


"e" [New File]


loading buffers
"c" [New File]beb


Executing Test_command_count_2()


"d" [New File]
"a


Already only one window
"x" [New File]

Already only one window


Executing Test_command_count_3()
"aaa" [New File]bbb
"ccc
"test_command_count.vim" 191L, 4742C


2 buffers deleted


Executing Test_command_count_4()
"cc" [New File]

"dd" [New File]


"ee" [New File]
"aa


"bb" [New File]


"cc" [New File]


"dd" [New File]


"ee" [New File]
"cc


"ee" [New File]


"ff" [New File]
"test_command_count.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"151L, 4108C159L, 4320C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_crypt.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_crypt.vim" 83 lines, 2590 characters


Executing Test_crypt_blowfish()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 3L, 98C


Executing Test_crypt_blowfish2()
"Xtest.txt" [New File]:[?2004hX
Enter encryption key:[?2004h ******
Enter same key again:[?2004h ******


"Xtest.txt" [New][blowfish2] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish2] 3L, 98C


Executing Test_crypt_zip()
"Xtest.txt" [New File]:[?2004hX


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


Enter same key again:[?2004h ******


"Xtest.txt" [New][crypted] 3L, 98C written

:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [crypted] 3L, 98C


Executing Test_head_only_2()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_head_only_3()
"Xtest.txt" [New File][New] 1L, 16C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h ******


"Xtest.txt" [readonly] 1L, 16C


Executing Test_uncrypt_blowfish()
"Xtest.txt" [New File][converted][New][noeol] 1L, 80C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [blowfish] 2L, 27C


Executing Test_uncrypt_blowfish2()
"Xtest.txt" [New File][converted][New][noeol] 1L, 103C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Enter encryption key:[?2004h *******


"Xtest.txt" [blowfish2] 2L, 44C


Executing Test_uncrypt_zip()
"Xtest.txt" [New File][converted][New][noeol] 1L, 45C written:[?2004hsplit Xtest.txt
"Xtest.txt" Need encryption key for "Xtest.txt"


Warning: Using a weak encryption method; see :help 'cm'


Enter encryption key:[?2004h ******


"Xtest.txt" [converted][crypted] 2L, 26C"test_crypt.res" [New File][converted][New] 0L, 0C written

Executed 8 tests
"messages"159L, 4320C170L, 4607C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_cscope.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_cscope.vim" 279 lines, 10587 characters
"test_cscope.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"170L, 4607C173L, 4646C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_curswant.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_curswant.vim" 23 lines, 563 characters


Executing Test_curswant()
"test_curswant.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"173L, 4646C177L, 4713C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_diffmode.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_diffmode.vim" 568 lines, 12076 characters


Executing Test_diff_fold_sync()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_diff_lastline()


Already only one window[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h
Executing Test_diff_move_to()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


5 buffers wiped out


Executing Test_diff_nomodifiable()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


3 buffers wiped out


Executing Test_diff_too_many_buffers()
"Xtest1" [New File]2[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h4[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h5[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h8[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h9


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h10 buffers wiped out


Executing Test_diffexpr()one

two

three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l||

three                                  ||||||||||||||||||||

[No Name] [+]                           onetwothree.                                  ~~~~~~~~~~~~~~~~~~~[No Name] [+]                           2 buffers wiped out


Executing Test_diffget_diffput()


[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h3 buffers wiped out


Executing Test_diffoff()Two

Three

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h  -------------------------------------|

  -------------------------------------|

  Two                                  |

  Three                                |||||||||||||||||||  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  ~~~~~~~~~~~~~~~~~~

[No Name] [+]                             One                                                                             Two  Three                                    ~~~~~~~~~~~~~~~~~~[No Name] [+]                           Two                                    

Three                                  

~                                      

~                                      

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   

~   OneTwoThree~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   ~   



Executing Test_diffoff_hidden()
"one" [New File]                                                                                                                                        

~                                                                               two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                    |

Three                                  |||||||||||||||||||||

one [+]                                 One                                     Four                                    ~~~~~~~~~~~~~~~~~~~~two [+]                                                                                                        

~                                                                               TwoThree[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004hTwo                                                                             Three                                                                           ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               TwoThreeExecuting Test_diffopt_context()[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


2 buffers wiped out


Executing Test_diffopt_horizontal()


Executing Test_diffopt_icase()
"one" [New File]One

Two

Three

FourFi#ve"two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h||

Three                                  ||

Fi#ve                                  ||||||||||||||||||

one [+]                                 oneTWOThree                                   FourfI=VE                                   ~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_iwhite()
"one" [New File]OneThree~                                                                                                                                  

~                                                                               "two" [New File][?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h|||

Four                                   |||||||||||||||||||

one [+]                                 OneTwoThree Four                                   ~~~~~~~~~~~~~~~~~~two [+]                                 2 buffers wiped out


Executing Test_diffopt_vertical()


Executing Test_diffpatch()
"Xpatch" [New] 10L, 71C written[?2004lpatching file /tmp/vYfM8im/85 (read from /tmp/vYfM8im/84)
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/vYfM8im/85.rej
[?2004h


[?2004lpatching file /tmp/vYfM8im/87 (read from /tmp/vYfM8im/86)
[?2004h"/tmp/vYfM8im/87" 4L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/vYfM8im/92 (read from /tmp/vYfM8im/91)
[?2004h924L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004lpatching file /tmp/vYfM8im/98 (read from /tmp/vYfM8im/97)
[?2004h84L, 9C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_dp_do_buffer()
"one" [New File]two[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


"not_in_diff_mode" [New File]


4 buffers wiped out


Executing Test_filler_lines()


7 more lines


10 more lines[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_setting_cursor()
"Xtest1" [New File]

90 more lines
"Xtest1" [New] 91L, 262C written2" [New File]

100 more lines
"Xtest2"[New] 101L, 293C written101L, 293C191L, 262C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_vert_split()
"Xtest" [New] 5L, 25C written2" [New] 6L, 29C written


"Nop" [Modified][Not edited] line 4 of 6 --66%-- col 3
"Xtest" 5L, 25C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h2" 6L, 29C[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h1" [New File]
"test_diffmode.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 177L, 4713C199L, 5352C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_digraph.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_digraph.vim" 462 lines, 14944 characters


Executing Test_digraph_cmndline()
[?2004hExecuting T


Executing Test_digraphs()


Executing Test_digraphs_option()


Executing Test_digraphs_output()


Executing Test_loadkeymap()
"test_digraph.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"199L, 5352C207L, 5547C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_display.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_display.vim" 69 lines, 1694 characters[?2004l[?1l>[?25h[?1049lExecuting Test_display_foldcolumn()e more noise blah blah<82|

> more stuff here||||||||||~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

~                        

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                  e more noise blah blah<|

  82> more stuff here    ||||||||||  

  

  

  

  

  

  

  

  ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      ~                      

[No Name] [+]             ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     ~                                                     [No Name]                                             " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

test_display.vim                                                                Executing Test_display_foldtext_mbyte()||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name]                                ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name]                              " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1│+ +-- 12 lines: 2───────────────────────│  14│  15│  16│  17│  18│  19│  20│  │[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                  1|

+ +-- 12 lines: 2-----------------------|

  14|

  15|

  16|

  17|

  18|

  19|

  20|

  |

[No Name] [+]                            ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for displaying stuff

if !has('gui_running') && has('unix')

  set term=ansi

endif



source view_util.vim



func! Test_display_foldcolumn()

  if !has("folding")

    return

  endif

test_display.vim                                                                "test_display.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"207L, 5547C212L, 5664C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_edit.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_edit.vim" 1365 lines, 41657 characters


Executing Test_edit_00a_CTRL_A()b():[?2004hset im
:[?2004hset noim


Executing Test_edit_01()23:[?2004hs/$/efg/


Executing Test_edit_04():[?2004hstopinsert
Executing Test_edit_05()6[?2004l[?2004h[?2004l[?2004h[?2004h[?2004l[?2004h[?2004l[?2004h[?2004h7=[?2004hListMonths()
match 1 of 12January

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for edit functions

"

if exists("+t_kD")

  let &t_kD="^[[3;*~"

endif

set belloff=



" Needed for testing basic rightleft: Test_edit_rightleft

source view_util.vim



test_edit.vim                                                                   January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12

January        2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           

June           

July     7u

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJune           

July           June           

July           

July           

=[?2004hListMonths()
match 1 of 12
January

~              

~              [No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        =[?2004hListMonths()
match 1 of 12
January

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

" Test for editJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 1 of 12an

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              



" Test for editJanuary        
January        

Executing Test_edit_08():[?2004hset im
=[?2004hsetbufvar(1,'&im', 0)
Executing Test_edit_09():[?2004hset im
Executing Test_edit_10()1


Executing Test_edit_12()3CR
"Xqflist.txt" 10L, 21Cline 1 of 10 --10%-- col 1
Executing Test_edit_CTRL_()EY()G()I
The only matchScanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt match in file Xinclude.txtmatch 1 of 3Scanning included file: Xinclude.txt
match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3#include Xinclude.txt

one



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Scanning included file: Xinclude.txtone   Xinclude.txt 



three Xinclude.txt match in file Xinclude.txtmatch 1 of 3match in file Xinclude.txt
match 2 of 3~                  

~                  one   Xinclude.txt 

two   Xinclude.txt 

three Xinclude.txt one   Xinclude.txt 

two   Xinclude.txt match in file Xinclude.txt
match 3 of 3



two   Xinclude.txt 

three Xinclude.txt Back at original





three Xinclude.txt Executing Test_edit_CTRL_K()
Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3
AA~                                                                               ~                                                                               ~                    

~                  AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt 



AAAA Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt Scanning dictionary: Xdictionary.txtAA   Xdictionary.txt match in file Xdictionary.txtmatch 1 of 3match in file Xdictionary.txt
match 2 of 3

~                    

~                    

~                    AA   Xdictionary.txt 

AAA  Xdictionary.txt 

AAAA Xdictionary.txt AA   Xdictionary.txt 

AAA  Xdictionary.txt match in file Xdictionary.txt
match 3 of 3



AAA  Xdictionary.txt 

AAAA Xdictionary.txt Back at original





AAAA Xdictionary.txt match in file Xdictionary.txt
match 1 of 3

AA   Xdictionary.txt Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3Scanning dictionary: Xdictionary.txt
match in file Xdictionary.txtmatch 1 of 3'dictionary' option is emptyA Edxiecctuitoinnagr yT'e stp_teidoint _CsT RLm_pLt(y) 

match 1Back at originalBack at originalone

twothreet[No Name] [+]                                                                   [Location List]                                                                 two            

three          Back at originaltwo            

three          match 1 of 2wo

two            Back at originaltwo            

three          match 1 of 2wo

two            2
three

two            

three          two            

three          match 2Back at originaltwo            

three          two            two            Back at originaltwo            

three          two            match 1 of 2
three



three          Executing Test_edit_CTRL_N()

Pattern not foundPattern not foundmatch 1match 1

Executing Test_edit_CTRL_O():[?2004hset nu
:[?2004hlet g:a=getpos('.')
:[?2004hlet g:a=getpos('.')


Executing Test_edit_CTRL_R()=[?2004h10*500
=[?2004hgetreg('=', 1)


Executing Test_edit_CTRL_S()
Pattern not foundVim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim              

Sim             

Tim             

Vic             

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              

Deem            

match 1 of 100match 1 of 1002
Vim

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             I   

DeemVim            

Aim            Back at original
v

~               

~               

~               

~               

~               

~               

~               

~               

~               

[No Name] [+]   

Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               

[Location List] Vim             

Aim             

Dim             

Him             

Jim             

Kim             

Rim             

Sim             

Tim             

Vic              

Vis             

Viz             

Via             

Vie             

Vii             

Vi              

VM              

Vi m            

SIM             

VIP             

VI              Pattern not foundExecuting Test_edit_CTRL_T()
Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurusmatch 1 of 4Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               

~               

~               

~               

~               

~               

~               

~               

~               mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 



furious Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus 





enraged Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus Scanning dictionary: Xthesaurusmad     Xthesaurus match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus match in file Xthesaurus
match 3 of 4
furious

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus angry   Xthesaurus 

furious Xthesaurus match in file Xthesaurus
match 4 of 4
enraged

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus furious Xthesaurus 

enraged Xthesaurus Back at original
mad~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 
enraged Xthesaurus match in file Xthesaurus
match 1 of 4

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus mad     Xthesaurus Scanning dictionary: Xthesaurus
match in file Xthesaurusmad     Xthesaurus 

angry   Xthesaurus match 2 of 4
angry

~                  

~                  

~                  

~                  mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus Scanning dictionary: Xthesaurus
Back at original
mad~                  

~                  

~                  

~                  [No Name] [+]   [Location List] mad     Xthesaurus 

angry   Xthesaurus 

furious Xthesaurus 

enraged Xthesaurus 'thesaurus' option is empty

Executing Test_edit_CTRL_U()
Pattern not found Jan Month      

 Feb Month      

 Mar Month      

 Apr Month      

  May Month      

  Jun Month      

  Jul Month      

  Aug Month      

  Sep Month      

 NOct Month      

 Nov Month      

  Dec Month      match 1 of 12Mar Month  

May Month  match 1 of 2Mar Month      

May Month      match 2 of 2
May

~                  

~                  

~                  

~                  

~               

~               

~               

~               

~               



Xqflist.txt|10| 

~               Mar Month      

May Month      Mar Month      

May Month      Mar Month      

May Month      match 2 of 2

~              

~              Mar Month      

May Month      Back at original~              

~              Mar Month      

May Month      
May Month      Pattern not foundExecuting Test_edit_CTRL_V()Executing Test_edit_CTRL_Z()DROP()

Executing Test_edit_F1():[?2004hset im
"help.txt" [readonly] 225L, 8437C
Executing Test_edit_F21()HOME_END()INS()LEFT_RIGHT()MOUSE()[?1000h[?1000lPAGEUP_PAGEDOWN()complete_very_long_name()[?25h[?25l"Xfile" [New File]
Scanning: [Location List]/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddTotum /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa match in file /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
Scanning tags.match in file /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
match 1 of 2
Totum

~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Xqflist.txt|10|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Totum /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Table /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xdir/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [?25h[?25lExecuting Test_edit_forbidden()





Pattern not found

Executing Test_edit_rightleft()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cba|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        abcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 cb|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        bcdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 ca|fed|ihg||||||||                   

                   

                   

                   

                   

                   

                   ~~~~~~~

[No Name] [+]        acdefghi~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              Xqflist.txt|10|                                                                 ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 "test_edit.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 212L, 5664C256L, 6862C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_farsi.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_farsi.vim" 133 lines, 5364 characters




:"




:"



Executing Test_input_farsi()
"test_farsi.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 256L, 6862C[converted] 263L, 7023C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_file_size.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_file_size.vim" 30 lines, 871 characters


Executing Test_File_Size()
"Xtest" [New] 2000000L, 14888896C written[?2004l[?2004h
"test_file_size.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"263L, 7023C267L, 7092C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fnameescape.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fnameescape.vim" 21 lines, 467 characters


Executing Test_fnameescape()
"Xspa ce"[New] 21L, 467C written
"Xemark![New] 21L, 467C written
"test_fnameescape.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"267L, 7092C271L, 7165C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_fold.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_fold.vim" 462 lines, 13611 characters


Executing Test_address_fold()


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


7 lines yanked


8 lines yanked


10 lines yanked


4 lines yanked


Executing Test_combining_folds_indent()


3 fewer lines


Executing Test_combining_folds_marker()


3 fewer lines


Executing Test_fold_error()


Executing Test_folddoopen_folddoclosed()


3 substitutions on 3 lines


6 substitutions on 6 lines


3 substitutions on 3 lines


Executing Test_folds_marker_in_comment()


Executing Test_foldtext_recursive()--------------------------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   Executing Test_indent_fold()


Executing Test_indent_fold2()


Executing Test_indent_fold_with_read()
"Xfile" 3L, 6C


Executing Test_manual_fold_with_filter()
[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines[?25h[?2004l[?2004h

[?25l8 lines filtered
11 fewer lines

Executing Test_move_folds_around_indent()


6 lines moved


5 lines moved


6 lines moved


5 lines moved


Executing Test_move_folds_around_manual()a

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moved


5 lines moveda

+--  5 lines: a-----------------------------------------------------------------b

+--  5 lines: b-----------------------------------------------------------------c

+--  5 lines: c-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   6 lines moveda

+--  4 lines: b-----------------------------------------------------------------~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for folding



func PrepIndent(arg)

  return [a:arg] + repeat(["\t".a:arg], 5)

endfu



func Test_address_fold()

  new

  call setline(1, ['int FuncName() {/*{{{*/', 1, 2, 3, 4, 5, '}/*}}}*/',\ 'after fold 1', 'after fold 2', 'after fold 3'])

test_fold.vim                                                                   5 lines moved


Executing Test_update_folds_expr_read()
"Xfile" 8L, 16C
"test_fold.res" [New File][New] 0L, 0C written


Executed 14 tests
"messages" 271L, 7165C288L, 7723C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_getvar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_getvar.vim" 88 lines, 2988 characters


Executing Test_var()
"test_getvar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"288L, 7723C292L, 7783C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gf.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gf.vim" 56 lines, 1578 characters


Executing Test_gF()
"Xfile" [New] 4L, 16C written2" [New] 3L, 18C written" 4L, 16C


Executing Test_gf_url()
"test_gf.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"292L, 7783C297L, 7863C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_gn.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gn.vim" 118 lines, 3078 characters


Executing Test_gn_command()/[?2004h[u]niquepattern/s
/a:0\@!\zs\d\+/[?2004hbar/e
"test_gn.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"297L, 7863C301L, 7926C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u NONE -U NONE --noplugin --not-a-term -S runtest.vim test_gui.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui.vim" 696 lines, 19832 characters
"test_gui.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"301L, 7926C304L, 7962C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -u gui_preinit.vim -U gui_init.vim --noplugin --not-a-term -S runtest.vim test_gui_init.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_gui_init.vim" 61 lines, 1190 characters
"test_gui_init.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"304L, 7962C307L, 8003C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hardcopy.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hardcopy.vim" 73 lines, 2260 characters


Executing Test_fname_with_spaces()
"t e s t.txt" [New File]Printing page 1 (0%)Printed: t e s t.txt


Executing Test_printheader_parsing()


Executing Test_printmbfont_parsing()


Executing Test_printoptions_parsing()


Executing Test_with_syntax()Printing page 1 (0%)Printing page 2 (99%)Printed: test_hardcopy.vim
"test_hardcopy.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"307L, 8003C315L, 8221C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_help.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_help.vim" 32 lines, 551 characters


Executing Test_help_errors()


Executing Test_help_keyword()
"visual.txt" [readonly] 541L, 21843C


Executing Test_help_restore_snapshot()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1
"x" [New File]test_help.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"315L, 8221C321L, 8357C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hide.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hide.vim" 97 lines, 2443 characters


Executing Test_hide()
"Xf1" [New File]

"Xf1" [New File]
"Xf212121


one|two
"Xf1" [New File]
"Xf212
"test_hide.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"321L, 8357C325L, 8416C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_highlight.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_highlight.vim" 36 lines, 1417 characters


Executing Test_highlight()


SpecialKey     xxx term=bold ctermfg=4 guifg=Blue


EndOfBuffer    xxx links to NonText


NonTextxxx term=bold cterm=bold ctermfg=4 gui=bold guifg=Blue


Directory      xxx term=bold ctermfg=4 guifg=Blue


ErrorMsgxxx term=standout cterm=bold ctermfg=7 ctermbg=1 guifg=White


guibg=Red


IncSearch      xxx term=reverse cterm=reverse gui=reverse


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


MoreMsgxxx term=bold ctermfg=2 gui=bold guifg=SeaGreen


ModeMsgxxx term=bold cterm=bold gui=bold


LineNrxxx term=underline ctermfg=3 guifg=Brown


CursorLineNr   xxx term=bold ctermfg=3 gui=bold guifg=Brown


Questionxxx term=standout ctermfg=2 gui=bold guifg=SeaGreen


StatusLine     xxx term=bold,reverse cterm=bold,reverse gui=bold,reverse


StatusLineNC   xxx term=reverse cterm=reverse gui=reverse


VertSplit      xxx term=reverse cterm=reverse gui=reverse


Titlexxx term=bold ctermfg=5 gui=bold guifg=Magenta


Visualxxx term=reverse cterm=reverse guibg=LightGrey


VisualNOS      xxx cleared


WarningMsg     xxx term=standout ctermfg=1 guifg=Red


WildMenuxxx term=standout ctermfg=0 ctermbg=3 guifg=Black guibg=Yellow


Foldedxxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue


guibg=LightGrey


FoldColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


DiffAddxxx term=bold ctermbg=4 guibg=LightBlue


DiffChange     xxx term=bold ctermbg=5 guibg=LightMagenta


DiffDelete     xxx term=bold cterm=bold ctermfg=4 ctermbg=6 gui=bold guifg=Blue


guibg=LightCyan


DiffTextxxx term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red


SignColumn     xxx term=standout ctermfg=4 ctermbg=7 guifg=DarkBlue guibg=Grey


Concealxxx ctermfg=7 ctermbg=0 guifg=LightGrey guibg=DarkGrey


SpellBadxxx term=reverse ctermbg=1 gui=undercurl guisp=Red


SpellCapxxx term=reverse ctermbg=4 gui=undercurl guisp=Blue


SpellRare      xxx term=reverse ctermbg=5 gui=undercurl guisp=Magenta


SpellLocal     xxx term=underline ctermbg=6 gui=undercurl guisp=DarkCyan


Pmenuxxx ctermfg=0 ctermbg=5 guibg=LightMagenta


PmenuSelxxx ctermfg=0 ctermbg=7 guibg=Grey


PmenuSbar      xxx ctermbg=7 guibg=Grey


PmenuThumb     xxx ctermbg=0 guibg=Black


TabLinexxx term=underline cterm=underline ctermfg=0 ctermbg=7


gui=underline guibg=LightGrey


TabLineSel     xxx term=bold cterm=bold gui=bold


TabLineFill    xxx term=reverse cterm=reverse gui=reverse


CursorColumn   xxx term=reverse ctermbg=7 guibg=Grey90


CursorLine     xxx term=underline cterm=underline guibg=Grey90


ColorColumn    xxx term=reverse ctermbg=1 guibg=LightRed


QuickFixLine   xxx links to Search


StatusLineTerm xxx term=bold,reverse cterm=bold ctermfg=7 ctermbg=2 gui=bold


guifg=bg guibg=DarkGreen


StatusLineTermNC xxx term=reverse cterm=bold ctermfg=7 ctermbg=2 guifg=bg


guibg=DarkGreen


MatchParen     xxx term=reverse ctermbg=6 guibg=Cyan


ToolbarLine    xxx term=underline ctermbg=7 guibg=LightGrey


ToolbarButton  xxx cterm=bold ctermfg=7 ctermbg=0 gui=bold guifg=White


guibg=Grey40


Searchxxx term=reverse ctermfg=0 ctermbg=3 guibg=Yellow


"test_highlight.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"325L, 8416C329L, 8485C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_history.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_history.vim" 106 lines, 3567 characters


Executing Test_History()


Executing Test_Search_history_window()/[?2004ha
/[?2004hb
/[?2004ha

b

a

b

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Tests for the history functions



test_history.vim                                                                /a

/b

/

/

/

/

/~                                                                              ~                                                                              ~                                                                              ~                                                                              [Command Line]                                                                  [?25h[?25l/a
"test_history.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"329L, 8485C334L, 8590C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_hlsearch.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_hlsearch.vim" 53 lines, 1490 characters


Executing Test_hlsearch()/[?2004haaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

~                                                                               [No Name] [+]                                                                   " Test for v:hlsearch



function! Test_hlsearch()

  new

  call setline(1, repeat(['aaa'], 10))

  set hlsearch nolazyredraw

  let r=[]

  " redraw is needed to make hlsearch highlight the matches

  exe "normal! /aaa\<CR>" | redraw

  let r1 = screenattr(1, 1)

test_hlsearch.vim                                                               aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaaaaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa/[?2004h/aaa
aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaa

aaaaaaaaa





Executing Test_hlsearch_hangs()bc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               "test_hlsearch.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"334L, 8590C339L, 8690C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment.vim" 760 lines, 19011 characters


Executing Test_normal_increment_01()
"dummy" [New File]

Executing Test_normal_increment_02()
"dummy" [New File]

Executing Test_normal_increment_03()
"dummy" [New File]

Executing Test_visual_increment_01()
"dummy" [New File]

Executing Test_visual_increment_02()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_03()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_04()
"dummy" [New File]

Executing Test_visual_increment_05()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_06()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_07()
"dummy" [New File]5 lines changed

Executing Test_visual_increment_08()
"dummy" [New File]

Executing Test_visual_increment_09()
"dummy" [New File]

Executing Test_visual_increment_10()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_11()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_12()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_13()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_14()
"dummy" [New File]

Executing Test_visual_increment_15()
"dummy" [New File]

Executing Test_visual_increment_16()
"dummy" [New File]3 lines changed

Executing Test_visual_increment_17()
"dummy" [New File]

Executing Test_visual_increment_18()
"dummy" [New File]4 lines changed

Executing Test_visual_increment_19()
"dummy" [New File]

Executing Test_visual_increment_20()
"dummy" [New File]

Executing Test_visual_increment_21()
"dummy" [New File]

Executing Test_visual_increment_22()
"dummy" [New File]

Executing Test_visual_increment_23()
"dummy" [New File]

Executing Test_visual_increment_24()
"dummy" [New File]

Executing Test_visual_increment_25()
"dummy" [New File]

Executing Test_visual_increment_26()
"dummy" [New File]

Executing Test_visual_increment_27()
"dummy" [New File]

Executing Test_visual_increment_28()
"dummy" [New File]

Executing Test_visual_increment_29()
"dummy" [New File]

Executing Test_visual_increment_30()
"dummy" [New File]

Executing Test_visual_increment_31()
"dummy" [New File]

Executing Test_visual_increment_32()
"dummy" [New File]_31" [New File]


Executing Test_visual_increment_33()
"dummy" [New File]

Executing Test_visual_increment_34()
"dummy" [New File]

Executing Test_visual_increment_35()
"dummy" [New File]

Executing Test_visual_increment_36()
"dummy" [New File]

Executing Test_visual_increment_37()
"dummy" [New File]

Executing Test_visual_increment_38()
"dummy" [New File]test_increment.res" [New File][New] 0L, 0C written


Executed 41 tests
"messages" 339L, 8690C383L, 10251C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_increment_dbcs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_increment_dbcs.vim" 30 lines, 604 characters


Executing Test_increment_dbcs_1()
"test_increment_dbcs.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"[converted] 383L, 10251C[converted] 387L, 10332C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_job_fails.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_job_fails.vim" 19 lines, 598 characters


Executing Test_job_start_fails()[?25h[?2004l[?2004h[?25l
"test_job_fails.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"387L, 10332C391L, 10407C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_json.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_json.vim" 292 lines, 10880 characters


Executing Test_js_decode()


Executing Test_js_encode()


Executing Test_json_decode()


Executing Test_json_encode()


"test_json.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"391L, 10407C398L, 10557C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_langmap.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_langmap.vim" 28 lines, 628 characters


Executing Test_langmap()
"test_langmap.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"398L, 10557C402L, 10622C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_let.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_let.vim" 27 lines, 806 characters


Executing Test_let()
"test_let.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"402L, 10622C406L, 10679C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lineending.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lineending.vim" 19 lines, 429 characters


Executing Test_lineending()
"Xfile1" [New] 4L, 78C written
"test_lineending.vim" 19L, 429C
"Xfile1" 4L, 78C
"test_lineending.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"406L, 10679C410L, 10750C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr.vim" 235 lines, 6445 characters


Executing Test_block_replace_after_wrapping()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaa0aaa|

aaaaaaaaaaaaaaaaaaaa|

aaaaaaaaaaaaaaaaaaaa|@                   

@                   

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_conceal()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                Sabbbbbb bla||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        _S_      bla~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ^Iabcdef hijklmn^I  |

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      ||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                a_|

aaaaaaaaaaaaaaaaaaaa|

aa>-----a-$||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        a aaaaaaaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_list_with_tab_and_skipping_first_chars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                ---------------aaaaa|

---------------aaaaa|

---------------aaaaa|

iiiiiiiii>-----aaaaa|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        iiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiaaaaaaaaaaaaaaaaaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii      aaaaaaaaaaaaaaaaaa~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_norm_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdpgrs||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdpgrs~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_set_linebreak()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                abcdef|

+hijklmn|

+pqrstuvwxyz_1060ABC|

+DEFGHIJKLMNOP      |||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz_1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_should_break()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1|

+aaaaaaaaaaaaaaaaaa |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1aaaaaaaaaaaaaaaaaa~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_undo_after_block_visual()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                3 lines changedAaA|

AaA|

A||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        AaAAaAA~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                /[?2004h^REMOVE:this not|

aaaaaaaaaaaaa|

REMOVE:|

REMOVE:|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        this notaaaaaaaaaaaaaREMOVE:REMOVE:~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_block_and_vbA()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar foobar|

foobar TARGETx at   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobarfoobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

Executing Test_virtual_char_and_block()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                1111-2222-1111-11-  |

1111-2222-1111      |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        1111-2222-1111-11-1111-2222-1111~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



test_listlbr.vim                                                                " Test for linebreak and list option (non-utf8)



set encoding=latin1

scriptencoding latin1



if !exists("+linebreak") || !has("conceal")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(join(a:expect, "\n"), join(a:actual, "\n"))

endfunction



function s:test_windows(...)

  call NewWindow(10, 20)

  setl ts=8 sw=4 sts=4 linebreak sbr= wrap

  exe get(a:000, 0, '')

"test_listlbr.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" [converted] 410L, 10750C[converted] 426L, 11300C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_listlbr_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_listlbr_utf8.vim" 271 lines, 7788 characters


Executing Test_chinese_char_on_wrap_column()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

                    中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中aaaaaaaaaaaaaaaaa>|

中hello|

[No Name] [+]        aaaaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中aaaaaaaaaaaaaaaaa中hello~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_colorcolumn_priority()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /[?2004hxxyy
search hit BOTTOM, continuing at TOPxxyy|

    |||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        xxyy~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_illegal_byte_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           <80><80><80><80><8|

0><80>|||||||||~                 

~                 

~                 

~                 

~                 

~                 

~                 

~                 

[No Name] [+]      <80><80><80><80><80><80>~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            ~                                                            [No Name] [+]                                                " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_fancy_listchars()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef|

+hijklmn▕———|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶|||||||~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_linebreak_with_nolist()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           *mask = nil;    ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        *mask = nil;~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing1()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           #define ABCDE>-->---1|

#define >CDEF>-->---1|

#define >CDEFG>->---1|

#define >CDEFGH>----1|

#define >_FILE>--------->--->---1|

#define >_CONSOLE>---------->---2|

#define >_FILE_AND_CONSOLE>---------3   |

#define >_FILE_THEN_CONSOLE>--------4   |||~                                       

~                                       

[No Name] [+]                            #define ABCDE1#define ABCDEF      1#define ABCDEFG     1#define ABCDEFGH    1#define MSG_MODE_FILE1#define MSG_MODE_CONSOLE2#define MSG_MODE_FILE_AND_CONSOLE   3#define MSG_MODE_FILE_THEN_CONSOLE  4~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_list_and_concealing2()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           eeeeee>--->-;>some text||||||||||~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

~                                       

[No Name] [+]                            bbeeeeee    ; some text~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      ~                                      [No Name] [+]                          " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_sign_and_colorcolumn()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                             ¶ |

+a b c¶|

  a b c¶||||||||  

  

  

  

  

  

  ~                 ~                 ~                 ~                 ~                 ~                 ~                 

[No Name] [+]          +a b c  a b c              ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        ~                                                        [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_multibyte_wrap_and_breakat()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           aaaaaaaaaaaaaaaaaあ>|

あ|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        aaaaaaaaaaaaaaaaaああ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_nolinebreak_with_list()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           ▕———abcdef hijklmn▕—|

+pqrstuvwxyz␣1060ABC|

+DEFGHIJKLMNOPˑ¶||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        abcdef hijklmn  pqrstuvwxyz 1060ABCDEFGHIJKLMNOP~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_screenattr_for_comment()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           /*▕———▕—————— and  |

+some more */¶|||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name] [+]        /*            and some more */~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

Executing Test_visual_block_and_selection_exclusive()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           +foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar foobar      |

+foobar TARGETÃx'   |

[No Name] [+]        long line: foobar foobar foobar foobar foobar foobar foobar+ foobar foobar foobar foobar foobar foobar foobar foobar f+oobar foobar foobar foobar foobar foobar foobar foobar foo+bar foobar foobar foobar foobar foobar foobar foobar fooba+r foobar foobar foobar foobar foobar foobar foobar foobar+TARGETÃx' at end~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



test_listlbr_utf8.vim                                                           " Test for linebreak and list option in utf-8 mode



set encoding=utf-8

scriptencoding utf-8



if !exists("+linebreak") || !has("conceal") || !has("signs")

  finish

endif



source view_util.vim



function s:screen_lines(lnum, width) abort

  return ScreenLines(a:lnum, a:width)

endfunction



function! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunction



function s:screen_attr(lnum, chars, ...) abort

  let line = getline(a:lnum)

  let attr = []

  let prefix = get(a:000, 0, 0)

"test_listlbr_utf8.res" [New File][New] 0L, 0C written


Executed 12 tests
"messages" 426L, 11300C441L, 11860C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_lua.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_lua.vim" 22 lines, 438 characters


Executing Test_luado()
"test_lua.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"441L, 11860C445L, 11919C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_makeencoding.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_makeencoding.vim" 106 lines, 2413 characters
"test_makeencoding.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"445L, 11919C448L, 11964C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_man.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_man.vim" 60 lines, 1358 characters[?2004l[?2004h


Executing Test_g_ft_man_open_mode()[?2004l[?2004h




Cannot find a 'vim'.


Executing Test_nomodifiable()[?2004l[?2004h




Cannot find a 'vim'.
"test_man.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"448L, 11964C453L, 12067C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_marks.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_marks.vim" 70 lines, 2047 characters


Executing Test_Incr_Marks()


Executing Test_Restore_DelMark()1 more line; before #2  0 seconds ago
1 line less; after #2  0 seconds agomore line; before #2  0 seconds ago


Executing Test_setpos()
"one" [New File]twoest_marks.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"453L, 12067C459L, 12191C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_matchadd_conceal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_matchadd_conceal.vim" 289 lines, 9276 characters[?2004l[?1l>[?25h[?1049lExecuting Test_clearmatches()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_default_conceal_char()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #+This+is+a+Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_conceallevel_3()#ThisisaTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #Thisisa Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_and_syn_conceal()Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Inductive - : Type := | true : - | false : -.



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_matchadd_repeat_conceal_with_syntax_off()TARGET_TARGETTARGET
t_ttsimple_matchadd()# This is a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_simple_matchadd_and_conceal()#XThisXisXaXTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_syn_and_match_conceal()#ZThisZisZaZTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       #*This*is*a*Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       Executing Test_using_matchaddpos()#Pis a Test

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for matchadd() and conceal feature

if !has('conceal')

  finish

endif



if !has('gui_running') && has('unix')

  set term=ansi

endif



function! s:screenline(lnum) abort

test_matchadd_conceal.vim                                                       "test_matchadd_conceal.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"459L, 12191C471L, 12605C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession.vim" 155 lines, 3363 characters


Executing Test_mksession()
"Xtemp" [New] 9L, 203C written


search hit BOTTOM, continuing at TOP
Executing Test_mksession_arglist()"file1" [New File]

Executing Test_mksession_one_buffer_two_windows()
"Xtest1" [New File]2


Executing Test_mksession_winheight()
"Xtest1" [New File]test_mksession.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"[converted] 471L, 12605C[converted] 478L, 12797C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_mksession_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_mksession_utf8.vim" 104 lines, 2328 characters


Executing Test_mksession_utf8()
"/tmp/vXj69QP/0" [New] 9L, 215C written


search hit BOTTOM, continuing at TOP
"test_mksession_utf8.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"478L, 12797C482L, 12876C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_nested_function.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_nested_function.vim" 67 lines, 1305 characters


Executing Test_max_nesting()


Executing Test_nested_argument()


[]


Executing Test_nested_functions()
"test_nested_function.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"482L, 12876C488L, 13021C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_netbeans.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_netbeans.vim" 80 lines, 2145 characters
"test_netbeans.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"488L, 13021C491L, 13062C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_normal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_normal.vim" 2392 lines, 61363 characters


Executing Test_delete_until_paragraph()


Executing Test_normal00_optrans()


Executing Test_normal01_keymodel()
4 lines yankedExecuting Test_normal02_selectmode()
10 fewer lines

Executing Test_normal02_selectmode2():[?2004hset im
:[?2004hset noim


Executing Test_normal03_join()


Executing Test_normal04_filter():[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?2004l[?1l>[?1049l[?2004lone
[?2004h[?1049h[?1h=[?2004h[?25l:[?2004h.!sed -e 's/^/|    /'
[?25h[?2004l[?2004h[?25l:[?2004h.!
:[?2004h!echo one
[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lone
[?2004h

Press ENTER or type command to continue[?1049h[?1h=[?2004h[?25l:[?2004h.!!
[?25h[?2004l[?2004h

[?25lExecuting Test_normal05_formatexpr()


Executing Test_normal05_formatexpr_newbuf()
"another" [New File]

Executing Test_normal05_formatexpr_setopt()


Executing Test_normal06_formatprg()[?2004l[?2004h:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered:[?2004h.,$!./Xsed_format.sh
[?25h[?2004l[?2004h[?25l7 lines filtered

Executing Test_normal07_internalfmt()
7 fewer lin

Executing Test_normal08_fold()


Executing Test_normal09_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h[?2004h[?2004h[?2004h


Executing Test_normal09a_operatorfunc()


11 substitutions on 11 lines[?2004h[?2004h


Executing Test_normal10_expand()


Executing Test_normal11_showcmd()


Executing Test_normal12_nv_error()


Executing Test_normal13_help()
"help.txt" [readonly] 225L, 8437C


Executing Test_normal14_page()


Executing Test_normal14_page_eol()


Executing Test_normal15_z_scroll_vert()


Executing Test_normal16_z_scroll_hor()


Executing Test_normal17_z_scroll_hor2()


Executing Test_normal18_z_fold()


Executing Test_normal19_z_spell()
Word 'goood' added to ./Xspellfile.add
search hit BOTTOM, continuing at TOPWord 'goood' added to ./Xspellfile.add2 goood' added to ./Xspellfile.add/tmp/vqhO6va/11removed from /tmp/vqhO6va/11goood' added to /tmp/vqhO6va/11removed from /tmp/vqhO6va/11added to ./Xspellfile.addremoved from ./Xspellfile.add2 goood' added to ./Xspellfile.addremoved from ./Xspellfile.addgoood' added to ./Xspellfile2.add

Executing Test_normal20_exmode()[?2004l[?2004h


Executing Test_normal21_nv_hat()
"Xfoobar" [New File]ile2" [New File]

Executing Test_normal22_zet()[?2004l[?2004h[?2004l[?2004h


Executing Test_normal23_K()
"version8.txt" [readonly] 18040L, 684251Cline 1 of 18040 --0%-- col 1
"man" [New File]aa%bb" [New File]
"cc|dd
:! man --pager=cat 'man'[?2004l[?1l>[?25h[?1049l

[No write since last change]

[?2004lstdin not open for reading!
[?2004h

shell returned 2



Press ENTER or type command to continue[?1049h[?1h=[?2004h

[?25lExecuting Test_normal24_rot13()


Executing Test_normal25_tag()
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"change.txt" [readonly] 1832L, 74819C
"help.txt" [readonly] 225L, 8437C
"insert.txt" [readonly] 2004L, 82939Cline 49 of 2004 --2%-- col 7-49


Executing Test_normal26_put()


Executing Test_normal27_bracket()


21 substitutions on 21 lines


Executing Test_normal28_parenthesis()


Executing Test_normal29_brace()
17 fewer lines4 fewer lines3

Executing Test_normal30_changecase()


Executing Test_normal31_r_cmd()


Executing Test_normal32_g_cmd1()
/x_foo?abc

Executing Test_normal33_g_cmd2()/[?2004h[1-8]
search hit BOTTOM, continuing at TOP
9 substitutions on 9 linesblock of 3 lines yanked5


Executing Test_normal34_g_cmd3()


Executing Test_normal35_g_cmd4()


Executing Test_normal36_g_cmd5()


Executing Test_normal37_g_cmd6()
"1.txt" [New File]23


Executing Test_normal38_nvhome()


Executing Test_normal39_cw()


Executing Test_normal40_ctrl_bsl()


Executing Test_normal41_insert_reg()=[?2004ha
=[?2004ha
=[?2004ha


Executing Test_normal42_halfpage()


Executing Test_normal43_textobject1()


Executing Test_normal44_textobjects2()


Executing Test_normal45_drop()


Executing Test_normal46_ignore()


Executing Test_normal47_autocmd()


Executing Test_normal47_visual_buf_wipe()


Executing Test_normal48_wincmd()


Executing Test_normal49_counts()


Executing Test_normal50_commandline()q:  :[?2004hxxx

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       :set im

:set noim

:.!sed -e 's/^/|    /'

:.!

:!echo one

:.!!

:

[Command Line]                                                                  [?25h[?25l[?25h[?25l:^M   



Executing Test_normal51_FileChangedRO()
"Xreadonly.log" 1L, 4C
Error detected while processing ...24]..Test_normal51_FileChangedRO:
line   10:W10: Warning: Changing a readonly file


Executing Test_normal52_rl()3_digraph()


Executing Test_normal54_Ctrl_bsl()


Executing Test_normal_8g8()


Executing Test_normal_large_count()
"test_normal.res" [New File][New] 0L, 0C written


Executed 64 tests
"messages" 491L, 13062C564L, 15607C written
[?2004l[?2004l[?1l>[?25h[?1049l

VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_number.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_number.vim" 254 lines, 5032 characters


Executing Test_number()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   1 abcdefghij      |

  2 klmnopqrst      |

  3 uvwxyzABCD      |

  4 EFGHIJKLMN      |

  5 OPQRSTUVWX      |

  6 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_linewrap1()|||~                   

~                   

[No Name]            ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 --1 aaaaaaaaaaaaaaaa|

    aaaaaaaaaaaaaaaa|

    aaaaaaaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_number_with_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   3 abcdefghij      |

  2 klmnopqrst      |

  1 uvwxyzABCD      |

4   EFGHIJKLMN      |

  1 OPQRSTUVWX      |

  2 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 1     aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     0 aaaa|

    1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_numberwidth_adjusted()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     1 aaaa|

    2 aaaa|

    3 aaaa|

    4 aaaa|

    5 aaaa|

    6 aaaa|

    7 aaaa|

    8 aaaa|

    9 aaaa|

   10 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                  9991 aaaa|

 9992 aaaa|

 9993 aaaa|

 9994 aaaa|

 9995 aaaa|

 9996 aaaa|

 9997 aaaa|

 9998 aaaa|

 9999 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                     9 aaaa|

    8 aaaa|

    7 aaaa|

    6 aaaa|

    5 aaaa|

    4 aaaa|

    3 aaaa|

    2 aaaa|

    1 aaaa|

10000 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   9 aaaa|

  8 aaaa|

  7 aaaa|

  6 aaaa|

  5 aaaa|

  4 aaaa|

  3 aaaa|

  2 aaaa|

  1 aaaa|

  0 aaaa|

[No Name] [+]        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_relativenumber()||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                   2 abcdefghij      |

  1 klmnopqrst      |

  0 uvwxyzABCD      |

  1 EFGHIJKLMN      |

  2 OPQRSTUVWX      |

  3 YZ|||||~                   

~                   

~                   

~                   

[No Name] [+]        abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~                                                          ~                                                          ~                                                          ~                                                          [No Name] [+]                                              " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc

test_number.vim                                                                 " Test for 'number' and 'relativenumber'



source view_util.vim



func! s:screen_lines(start, end) abort

  return ScreenLines([a:start, a:end], 8)

endfunc



func! s:compare_lines(expect, actual)

  call assert_equal(a:expect, a:actual)

endfunc



func! s:test_windows(h, w) abort

  call NewWindow(a:h, a:w)

endfunc



func! s:close_windows() abort

  call CloseWindow()

endfunc



func! s:validate_cursor() abort

  " update skipcol.

  " wincol():

Executing Test_set_global_and_local()


Executing Test_set_options()1   ||||||||||~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

~                   

[No Name]            1   ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          ~                                                          [No Name]                                                  1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

test_number.vim                                                                 1   " Test for 'number' and 'relativenumber'

  1 

  2 source view_util.vim

  3 

  4 func! s:screen_lines(start, end) abort

  5   return ScreenLines([a:start, a:end], 8)

  6 endfunc

  7 

  8 func! s:compare_lines(expect, actual)

  9   call assert_equal(a:expect, a:actual)

 10 endfunc

 11 

 12 func! s:test_windows(h, w) abort

 13   call NewWindow(a:h, a:w)

 14 endfunc

 15 

 16 func! s:close_windows() abort

 17   call CloseWindow()

 18 endfunc

 19 

 20 func! s:validate_cursor() abort

 21   " update skipcol.

 22   " wincol():

"test_number.res" [New File][New] 0L, 0C written


Executed 8 tests
"messages"564L, 15607C575L, 15920C written
[?2004l

[?2004l[?1l>[?25h[?1049l../vim -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"../option.c" 12669 lines, 331004 characters
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_options.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_options.vim" 334 lines, 10325 characters


Executing Test_cinkeys()


Executing Test_complete()
Pattern not found

Executing Test_dictionary()


Executing Test_filetype_valid()


Executing Test_isfname()[?2004l[?2004h[?2004l[?2004h[?2004h


Executing Test_keymap_valid()


Executing Test_options()
"option-window" [New File]


Executing Test_path_keep_commas()


Executing Test_set_all()


Executing Test_set_completion():[?2004hset di...ctionary diff diffexpr diffopt digraph directory display
:"set dictionary diff diffexpr diffopt digraph directory display
:"
:[?2004hset nodi...ff digraph
:"set nodiff digraph
:"
:[?2004hset invdi...ff digraph
:"set invdiff digraph
:"
:[?2004hset ts...abstop thesaurus ttyscroll
:"set tabstop thesaurus ttyscroll
:"
:[?2004hset fileencodings=...ucs-bom,utf-8,default,latin1
:"set fileencodings=ucs-bom,utf-8,default,latin1
:"
:[?2004hset fileencodings:...ucs-bom,utf-8,default,latin1
:"set fileencodings:ucs-bom,utf-8,default,latin1
:"
:[?2004hset <H...elp> <Home>
:"set <Help> <Home>
:"
:[?2004hset t_A...B t_AF t_AL
:"set t_AB t_AF t_AL
:"
:[?2004hset cdpath=./...XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/


./pythonx/ ./pyxfile/ ./samples/ ./sautest/"set cdpath=./XfakeHOME/ ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./samples/ ./sautest/
:[?2004hset tags=./...Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./ben


ch_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim .


/gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.


vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_afte


r/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./


setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1


.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.ou


t./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./te


st15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.


in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./t


est25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.


in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test


30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok "set tags=./Make_all.mak ./Makefile ./README.txt ./XfakeHOME/ ./amiga.vim ./bench_re_freeze.in ./bench_re_freeze.vim ./dos.vim ./dotest.in ./gen_opt_test.vim ./gui_init.vim ./gui_preinit.vim ./if_ver-1.vim ./if_ver-2.vim ./lua.vim ./mbyte.vim ./messages ./mzscheme.vim ./opt_test.vim ./python2/ ./python3/ ./python_after/ ./python_before/ ./pythonx/ ./pyxfile/ ./runtest.vim ./samples/ ./sautest/ ./setup.vim ./setup_gui.vim ./shared.vim ./small.vim ./test1.in ./test1.ok ./test1.out ./test108.in ./test108.ok ./test108.out ./test11.in ./test11.ok ./test11.out ./test12.in ./test12.ok ./test12.out ./test14.in ./test14.ok ./test14.out ./test15.in ./test15.ok ./test15.out ./test17.in ./test17.ok ./test17.out ./test17a.in ./test19.in ./test19.ok ./test19.out ./test20.in ./test20.ok ./test20.out ./test25.in ./test25.ok ./test25.out ./test28.in ./test28.ok ./test28.out ./test29.in ./test29.ok ./test29.out ./test3.in ./test3.ok ./test3.out ./test30.in ./test30.ok ./test30.out ./test31.in ./test31.ok ./test31.out ./test32.in ./test32.ok
:[?2004hset tags=./\\ dif...f diffexpr diffopt
:"set tags=./\\ diff diffexpr diffopt
:"


Executing Test_set_errors()


  tabstop=8


Executing Test_set_indentexpr()ttytype()[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h

E558: Terminal entry not found in terminfo

'xxx' not known. Available builtin terminals are:

    builtin_amiga

    builtin_beos-ansi

    builtin_ansi

    builtin_pcansi

    builtin_win32

    builtin_vt320

    builtin_vt52

    builtin_xterm

    builtin_iris-ansi

    builtin_debug

    builtin_dumb

[?2004l[?1l>[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_set_values()


[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?1000h[?1000lline 3206: set vbs=9999


line 3207: if exists('+verbose')


line 3208: endif


line 3209: set verbose&


[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_signcolumn()


Executing Test_syntax_valid()


Executing Test_thesaurus()


Executing Test_whichwrap()


Executing Test_wildchar()


"test_options.res" [New File][New] 0L, 0C written


Executed 19 tests
"messages" 575L, 15920C597L, 16499C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_packadd.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_packadd.vim" 275 lines, 9157 characters


Executing Test_colorscheme()


Executing Test_colorscheme_completion():[?2004hcolorscheme ...one')
:ccolorscheme one')
:cacolorscheme one')
:calcolorscheme one')
:callcolorscheme one')
:call colorscheme one')acolorscheme one')dcolorscheme one')dcolorscheme one')(colorscheme one')lcolorscheme one')icolorscheme one'),colorscheme one') colorscheme one')'colorscheme one')
:[?2004hcolorscheme ...one...three')
:ccolorscheme three')
:cacolorscheme three')
:calcolorscheme three')
:callcolorscheme three')
:call colorscheme three')acolorscheme three')dcolorscheme three')dcolorscheme three')(colorscheme three')lcolorscheme three')icolorscheme three'),colorscheme three') colorscheme three')'colorscheme three')
:[?2004hcolorscheme ...one...three...wo')
:ccolorscheme two')
:cacolorscheme two')
:calcolorscheme two')
:callcolorscheme two')
:call colorscheme two')acolorscheme two')dcolorscheme two')dcolorscheme two')(colorscheme two')lcolorscheme two')icolorscheme two'),colorscheme two') colorscheme two')'colorscheme two')
:[?2004hcolorscheme ...one...three...wo...')
:ccolorscheme ')
:cacolorscheme ')
:calcolorscheme ')
:callcolorscheme ')
:call colorscheme ')acolorscheme ')dcolorscheme ')dcolorscheme ')(colorscheme ')lcolorscheme ')icolorscheme '),colorscheme ') colorscheme ')'colorscheme ')


Executing Test_helptags()


Executing Test_packadd()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C writtenalso/loaded.vim" [New File][New] 1L, 29C writtenftdetect/test.vim" [New File[New] 1L, 26C written


Executing Test_packadd_completion():[?2004hpackadd ...pluginA')
:cpackadd pluginA')
:capackadd pluginA')
:calpackadd pluginA')
:callpackadd pluginA')
:call packadd pluginA')apackadd pluginA')dpackadd pluginA')dpackadd pluginA')(packadd pluginA')lpackadd pluginA')ipackadd pluginA'),packadd pluginA') packadd pluginA')'packadd pluginA')
:[?2004hpackadd ...pluginA...B')
:cpackadd pluginB')
:capackadd pluginB')
:calpackadd pluginB')
:callpackadd pluginB')
:call packadd pluginB')apackadd pluginB')dpackadd pluginB')dpackadd pluginB')(packadd pluginB')lpackadd pluginB')ipackadd pluginB'),packadd pluginB') packadd pluginB')'packadd pluginB')
:[?2004hpackadd ...pluginA...B...C')
:cpackadd pluginC')
:capackadd pluginC')
:calpackadd pluginC')
:callpackadd pluginC')
:call packadd pluginC')apackadd pluginC')dpackadd pluginC')dpackadd pluginC')(packadd pluginC')lpackadd pluginC')ipackadd pluginC'),packadd pluginC') packadd pluginC')'packadd pluginC')
:[?2004hpackadd ...pluginA...B...C...')
:cpackadd ')
:capackadd ')
:calpackadd ')
:callpackadd ')
:call packadd ')apackadd ')dpackadd ')dpackadd ')(packadd ')lpackadd ')ipackadd '),packadd ') packadd ')'packadd ')


Executing Test_packadd_noload()
"./Xdir/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written


Executing Test_packadd_symlink_dir()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"./Xdir/Xdir2/pack/mine/opt/mytest/plugin/test.vim" [New File][New] 1L, 24C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_packloadall()


Executing Test_runtime()
"test_packadd.res" [New File][New] 0L, 0C written


Executed 9 tests
"messages"597L, 16499C609L, 16819C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_paste.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_paste.vim" 99 lines, 2938 characters[?2004l[?1l>[?25h[?1049l[?1049h[?1h=[?2004h[?25lExecuting Test_paste_cmdline():[?2004hafoo^Mbarb
:"afoo^Mbarb
:"


Executing Test_paste_insert_mode()normalvisu
"test_paste.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"609L, 16819C616L, 16994C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_perl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_perl.vim" 238 lines, 5919 characters


Executing Test_SvREFCNT()
"t" [New File]

Executing Test_VIM_Buffers()
"Xbar" [New File]

Executing Test_VIM_Windows()


Executing Test_VIM_package()


Executing Test_buffer_Append()


Executing Test_buffer_Count()


Executing Test_buffer_Delete()


Executing Test_buffer_Get()


Executing Test_buffer_Name()
"Xfoo" [New File]

Executing Test_buffer_Number()


Executing Test_buffer_Set()


Executing Test_change_buffer()/[?2004h^1


Executing Test_evaluate_list()/[?2004h^2
search hit BOTTOM, continuing at TOP


Executing Test_perldo()
"__TEST__" [New File]test_perl.vim"238L, 5919C


Executing Test_perleval()


Executing Test_stdio()


&VIM::Msg


STDOUT


STDERR


Executing Test_window_Cursor()


Executing Test_window_SetHeight()
"test_perl.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 616L, 16994C637L, 17554C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_preview.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_preview.vim" 13 lines, 248 characters


Executing Test_Psearch()
"help.txt" [readonly] 225L, 8437C


"[No Name]" [Not edited][readonly] line 1 of 225 --0%-- col 1
"test_preview.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"637L, 17554C641L, 17619C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_profile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_profile.vim" 147 lines, 6308 characters


Executing Test_profile_completion():[?2004hprofile ...continue file func pause start
:"profile continue file func pause start
:"
:[?2004hprofile start test_prof...ile.vim
:"profile start test_profile.vim
:"


Executing Test_profile_errors()


Executing Test_profile_file()[?2004l[?2004h


Executing Test_profile_func()[?2004l[?2004h
"test_profile.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"641L, 17619C648L, 17788C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python2.vim" 24 lines, 523 characters
"test_python2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"648L, 17788C651L, 17828C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_python3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_python3.vim" 24 lines, 534 characters


Executing Test_py3do()
"test_python3.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"651L, 17828C655L, 17891C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx2.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx2.vim" 74 lines, 1409 characters
"test_pyx2.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"655L, 17891C658L, 17928C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_pyx3.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_pyx3.vim" 74 lines, 1409 characters


Executing Test_has_pythonx()


Executing Test_pyx()


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


Executing Test_pyxdo()


Executing Test_pyxeval()


Executing Test_pyxfile()


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]


3.5.4 (default, Aug 12 2017, 14:08:14)


[GCC 6.3.0 20170516]
"test_pyx3.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"658L, 17928C666L, 18089C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quickfix.vim" 2639 lines, 77130 characters


Executing Test_Autocmd()
"F1" [New File]

(1 of 1): Line 10
"F2" [New File]

(1 of 2): Line 10


Executing Test_Autocmd_Exception()


Executing Test_Multi_LL_Help()
"arabic.txt" [readonly] 322L, 11936C


(1 of 4051): o  Viewing and editing files in right-to-left windows.^I File
"arabic.txt" [readonly] line 1 of 322 --0%-- col 1

(1 of 3535): the global settings as they could affect other possible open buffe


rs.


Executing Test_Qf_Size()
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:cexpr "File2:20:Line2"


error list 1 of 3; 1 errors:cexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"
"File1" [New File]

(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3


error list 2 of 3; 1 errors:lexpr "File2:20:Line2"


error list 1 of 3; 1 errors:lexpr "File1:10:Line1"


Executing Test_add_qf()


Executing Test_adjust_lnum()


Already only one window
"Xqftestfilec" 20L, 131C


9 fewer lines


Already only one window
"Xqftestfilel" 20L, 131C


9 fewer lines


Executing Test_browse()
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


(1 of 6): Line5


"Xqftestfile2" 20L, 131C


(3 of 6): Line10
"Xqftestfile1" 20L, 131C


(2 of 6): Line6


(6 of 6): RegularLine2
"Xqftestfile2" 20L, 131C


(4 of 6): Line11


"Xqftestfile1" 20L, 131C


(1 of 6): Line5
"Xqftestfile2" 20L, 131C


(4 of 6): Line11
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(5 of 5): shmoo


(1 of 5): foo


(3 of 5): baz


Executing Test_bufoverflow()


Executing Test_caddbuffer_to_empty()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


(2 of 1487):


Executing Test_caddbuffer_wrong()
"Xqftestfile2" [New File]

Executing Test_caddexpr_wrong()


(1 of 1):


(1 of 1):


Executing Test_cage()


error list 3 of 4; 1 errors:cgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:cgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:cgetexpr ['Xtestfile3:3:1:Line3']


error list 3 of 4; 1 errors:lgetexpr ['Xtestfile2:2:2:Line2']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


error list 2 of 4; 1 errors:lgetexpr ['Xtestfile1:1:3:Line1']


error list 4 of 4; 1 errors:lgetexpr ['Xtestfile3:3:1:Line3']


Executing Test_cbottom()


Executing Test_cbuffer()
"Xtestfile7" [New File]

(1 of 2): Line 700


"Xtestfile1" [New File]


"Xtestfile7" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


Executing Test_cclose_from_copen()


Executing Test_cclose_in_autocmd()


Executing Test_cexpr()


Executing Test_cfile()
"Xtestfile1" [New File]


(1 of 2): Line 700


"Xtestfile1" [New File]


(1 of 2): Line 700


Executing Test_cgetexpr_works()


Executing Test_changedtick()


error list 2 of 3; 0 errors:cexpr ""


error list 1 of 3; 0 errors:cexpr ""


error list 2 of 3; 0 errors:lexpr ""


error list 1 of 3; 0 errors:lexpr ""


Executing Test_clist()


 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one




 2 Xtestfile1:1 col 3: Line1


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 1: non-error 1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 5: non-error 3


 6 Xtestfile3:3 col 1: Line3


 4 Xtestfile2:2 col 2: Line2


 6 Xtestfile3:3 col 1: Line3


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 2 Xtestfile1:1 col 3: Line1


 3: non-error 2


 4 Xtestfile2:2 col 2: Line2


 1:10 col 5 warning  11: Warning


 2:20 col 10 error  22: Error


 3:30 col 15 info  33: Info


 4:40 col 20 x  44: Other


 5:50 col 25  55: one


Executing Test_cwindow()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 "[Quickfix List]" line 1 of 3 --33%-- col 1


~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Xtestfile1|1 col 3| Line1                                                       Xtestfile2|2 col 2| Line2

Xtestfile3|3 col 1| Line3

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 Executing Test_cwindow_jump()
"F1" [New File]2


Executing Test_dirstack_cleanup()


(1 of 1): 0


Executing Test_duplicate_buf()
"DoesNotExist" [New File]2" [New File]


Xgrepthis
"Xgrepthis" line 1 of 2 --50%-- col 1


(1 of 2): this one


Xgrepthis
(1 of 2): this one


Executing Test_efm()


Executing Test_efm1()
"Xtestfile" 21L, 903C


(1 of 20): 1506-045 (S) Undeclared identifier fd_set.


(20 of 20): What is the title of the quickfix window?


Executing Test_efm2()
"Xtestfile" [New File]


 1 Xtestfile:^\VLine search text\$:


(1 of 1): msg2


Executing Test_efm_dirstack()


Executing Test_efm_ignore_continuations()


Executing Test_errortitle()


Executing Test_get_list_from_lines()


Executing Test_grep()


Already only one window[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25l[?2004l[?1l>[?25h[?1049l[?2004ltest_quickfix.vim:1603:  " Grep_Test_Text: Match 1
test_quickfix.vim:1604:  " Grep_Test_Text: Match 2
test_quickfix.vim:1609:  silent Xgrep Grep_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004ltest_quickfix.vim:1605:  " GrepAdd_Test_Text: Match 1
test_quickfix.vim:1606:  " GrepAdd_Test_Text: Match 2
test_quickfix.vim:1616:  silent Xgrepadd GrepAdd_Test_Text: test_quickfix.vim
[?2004h[?1049h[?1h=[?2004h[?25lExecuting Test_helpgrep()
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C


"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run
"autocmd.txt" [readonly] 1487L, 61609C
"index.txt" [readonly] 1660L, 76442C
"autocmd.txt" [readonly] 1487L, 61609C


(1 of 541): |QuickFixCmdPre|^Ibefore a quickfix command is run


Executing Test_history()


error list 1 of 1; 0 errors:setqflist()


error list 1 of 1; 0 errors:setloclist()


Executing Test_invalid_efm()


Executing Test_locationlist()


No matching autocommands


(1 of 7): file foo.txt


No matching autocommands


No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


No matching autocommands


(1 of 7): file foo.txt
No matching autocommands


W19: Deleting augroup that is still in use
Executing Test_locationlist_cross_tab_jump()
"loclistfoo" 1L, 11Cbar1L, 11C[?2004l[?1l>[?25h[?1049l[?2004lloclistfoo:1:loclistfoo
[?2004h[?1049h[?1h=[?2004h

[?25lAlready only one window


Executing Test_locationlist_curwin_was_closed()


W19: Deleting augroup that is still in use
Executing Test_long_lines()"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"samples/quickfix.txt" 4L, 22089C


(1 of 4): aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


Executing Test_multidirstack()


Executing Test_multifilestack()


Executing Test_nomem()
"/<<PKGBUILDDIR>>/src/vim-nox/alloc.h" 21L, 485C


Error detected while processing function RunTheTest[24]..Test_nomem:


line    2:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-nox/alloc.h" 21L, 485C


line    5:


E342: Out of memory!  (allocating 4096 bytes)
"/<<PKGBUILDDIR>>/src/vim-nox/alloc.h" 21L, 485C


line    8:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-nox/alloc.h" 21L, 485C


line   11:


E342: Out of memory!  (allocating 1025 bytes)
"/<<PKGBUILDDIR>>/src/vim-nox/alloc.h" 21L, 485C


line   14:


E342: Out of memory!  (allocating 1025 bytes)


Executing Test_perbuf_efm()
"File1" [New File]

(1 of 1): Line10


Executing Test_qf_free()


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:cex...0:20:Line 20', 'Xfile2:25:25:Line 25']


Already only one window
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10


(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 3 of 4; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

(1 of 2): Line 10
"Xfile2" [New File]


(1 of 2): Line 20
"Xfile3" [New File]


(1 of 2): Line 30


error list 2 of 3; 2 errors:lex...0:20:Line 20', 'Xfile2:25:25:Line 25']
"Xfile1" [New File]

Executing Test_qf_id()


error list 2 of 3; 0 errors:cexpr ''


error list 2 of 3; 0 errors:lexpr ''


Executing Test_qf_property()


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


(1 of 1): One


(1 of 1): Two


(1 of 1): Three
"File1" [New File]


(1 of 1): Line1
"File2" [New File]


(1 of 1): Line2
"File3" [New File]


(1 of 1): Line3
"File1" [New File]


(1 of 1): Line10
"File2" [New File]


(1 of 1): Line20
"File3" [New File]


(1 of 1): Line30


Executing Test_qf_title()


Executing Test_quickfix_set_list_with_act()


Executing Test_quickfix_was_changed_by_autocmd()


error list 1 of 2; 1 errors:setqflist()


W19: Deleting augroup that is still in use
error list 1 of 2; 1 errors       :setloclist()


error list 1 of 2; 1 errors:setloclist()


W19: Deleting augroup that is still in use
Executing Test_resize_from_copen()

Executing Test_setexpr()


Executing Test_setqflist()
"Xtestfile" [New File]

(2 of 2):


(3 of 3):


(2 of 2):


(3 of 3):


Executing Test_setqflist_empty_middle()


test_quickfix.vim
"test_quickfix.vim" 2639L, 77130C


(1 of 1): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1vimgrep empty test_quickfix.vim


error list 1 of 3; 1 errors:-1vimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setqflist()


error list 3 of 3; 2 errors:-1vimgrep matches test_quickfix.vim


test_quickfix.vim
(1 of 66): func Test_clist()


test_quickfix.vim
(1 of 13): " With an empty list, command should return error


test_quickfix.vim
(1 of 2): " number of matches is unknown


error list 2 of 3; 13 errors      :-1lvimgrep empty test_quickfix.vim


error list 1 of 3; 66 errors      :-1lvimgrep // test_quickfix.vim


error list 2 of 3; 0 errors:setloclist()


error list 3 of 3; 2 errors:-1lvimgrep matches test_quickfix.vim


Executing Test_setqflist_empty_older()


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1vimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1vimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1vimgrep three test_quickfix.vim


test_quickfix.vim
(1 of 43): \ {'lnum':50,'col':25,'type':"\<C-A>",'text':'one','nr':55}])


test_quickfix.vim
(1 of 40): " Go back two lists


test_quickfix.vim
(1 of 7): " Add three quickfix/location lists


error list 1 of 3; 43 errors      :-1lvimgrep one test_quickfix.vim


error list 2 of 3; 40 errors      :-1lvimgrep two test_quickfix.vim


error list 3 of 3; 7 errors:-1lvimgrep three test_quickfix.vim


Executing Test_switchbuf()
"Xqftestfile1" 20L, 131C220L, 131C1" line 1 of 20 --5%-- col 1


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" line 1 of 20 --5%-- col 1


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C220L, 131C


(1 of 6): Line5


(2 of 6): Line6


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16
"Xqftestfile1" 20L, 131C


(1 of 6): Line5


(2 of 6): Line6
"Xqftestfile2" 20L, 131C


(3 of 6): Line10


(4 of 6): Line11
"Xqftestfile3" 20L, 131C


(5 of 6): Line15


(6 of 6): Line16


Already only one window
"Xqftestfile1" 20L, 131C220L, 131C320L, 131C120L, 131C220L, 131C320L, 131C


Already only one window


Already only one window


Executing Test_two_windows()
"one" [New File]two


Executing Test_vimgrep()


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Xa1b2c3"Xa1b2c3" [New File]


Cannot open file "Xa1b2c3"


Xtestfile1
"Xtestfile1" 3L, 57C


(1 of 1): Editor:Notepad NOTEPAD


Xtestfile2
(1 of 2): Editor:Notepad NOTEPAD


Xtestfile1
(1 of 2): Editor:VIM vim


Xtestfile1
(1 of 1): Editor:VIM vim
"Xtestfile2" 3L, 23C


Xtestfile1
Executing Test_vimgreptitle()


file
"file" [New File]


Cannot open file "file"
"test_quickfix.res" [New File][New] 0L, 0C written


Executed 59 tests
"messages" 666L, 18089C728L, 19891C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_quotestar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_quotestar.vim" 158 lines, 4650 characters
"test_quotestar.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"728L, 19891C731L, 19933C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_retab.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_retab.vim" 77 lines, 3189 characters


Executing Test_retab()


Executing Test_retab_error()


"test_retab.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"731L, 19933C736L, 20024C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_registers.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_registers.vim" 27 lines, 821 characters


Executing Test_yank_shows_register()
1 line yankedinto "z
2 lines yankedinto "z
block of 1 line yanked into "z2 lines yankedinto "z
"test_registers.vim" 27L, 821Cres" [New File][New] 0L, 0C written


Executed 1 test
"messages"736L, 20024C740L, 20103C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_ruby.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_ruby.vim" 51 lines, 1229 characters


Executing Test_ruby_change_buffer()/[?2004h^1


Executing Test_ruby_evaluate_dict()


{"a"=>"foo", "b"=>123}


Executing Test_ruby_evaluate_list()/[?2004h^2
search hit BOTTOM, continuing at TOP


Executing Test_rubydo()
"test_ruby.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"740L, 20103C747L, 20273C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_scrollbind.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_scrollbind.vim" 32 lines, 807 characters


Executing Test_scrollbind()
"test_scrollbind.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"747L, 20273C751L, 20344C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_search.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_search.vim" 358 lines, 10339 characters


Executing Test_search_cmdline()/[?2004hfoobar
/[?2004hthe
search hit BOTTOM, continuing at TOP/[?2004hthes
/foobar
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthes
/[?2004hthei
/[?2004htheis
/[?2004htheiss
/[?2004hthemthe\>
Executing Test_search_cmdline2()/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hthe
/[?2004hfoo
6 their

  7 the

  8 them

  9 these

 10 foobar

[No Name] [+]                                                                   " Test for the search command



set belloff=all

func Test_search_cmdline()

  if !exists('+incsearch')

    return

  endif

  " need to disable char_avail,

  " so that expansion of commandline works

  call test_override("char_avail", 1)

  new

  call setline(1, ['  1', '  2 these', '  3 the', '  4 their', '  5 there', '  66 their', '  7 the', '  8 them', '  9 these', ' 10 foobar'])

  " Test 1

  " CTRL-N / CTRL-P skips through the previous search history

  set noincsearch

test_search.vim                                                                 Executing Test_search_cmdline3()/[?2004hthe\~
Executing Test_search_cmdline4()?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
?[?2004hthe
search hit TOP, continuing at BOTTOM?[?2004hthe
Executing Test_searchc()


Executing Test_searchpair()


Executing Test_use_sub_pat()
"test_search.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"751L, 20344C761L, 20597C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_signs.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_signs.vim" 199 lines, 6383 characters


Executing Test_sign()
"foo" [New File]a  b  c xd                                                                                 ~

[No Name] [+]                                                                   " Test for signs



if !has('signs')

  finish

endif

test_signs.vim                                                                  ~                                                                               ~                                                                               ~                                                                               ~                                                                               foo                                                                               a

  b

x c

  d

[No Name] [+]                                                                     a  bx c  d  ~   "foo" [New file] --No lines in buffer--
"barF

Executing Test_sign_completion():[?2004hsign ...define jump list place undefine unplace
:"sign define jump list place undefine unplace
:"
:[?2004hsign define Sign ...icon= linehl= text= texthl=
:"sign define Sign icon= linehl= text= texthl=
:"
:[?2004hsign define Sign linehl=Spell...Bad SpellCap SpellLocal SpellRare
:"sign define Sign linehl=SpellBad SpellCap SpellLocal SpellRare
:"
:[?2004hsign define Sign icon=Xsig...nOne XsignTwo
:"sign define Sign icon=XsignOne XsignTwo
:"
:[?2004hsign undefine ...Sign1 Sign2
:"sign undefine Sign1 Sign2
:"
:[?2004hsign place 1 ...buffer= file= line= name=
:"sign place 1 buffer= file= line= name=
:"
:[?2004hsign place 1 name=...Sign1 Sign2
:"sign place 1 name=Sign1 Sign2
:"
:[?2004hsign unplace 1 ...buffer= file=
:"sign unplace 1 buffer= file=
:"
:[?2004hsign list ...Sign1 Sign2
:"sign list Sign1 Sign2
:"
:[?2004hsign jump 1 ...buffer= file=
:"sign jump 1 buffer= file=
:"


Executing Test_sign_delete_buffer()


Executing Test_sign_invalid_commands()


Executing Test_sign_undefine_still_placed()
"foobar" [New File]test_signs.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"761L, 20597C769L, 20810C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_smartindent.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_smartindent.vim" 41 lines, 935 characters


Executing Test_nosmartindent()/[?2004hsome
search hit BOTTOM, continuing at TOP


Executing Test_smartindent_has_no_effect()
"test_smartindent.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"769L, 20810C774L, 20929C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_spell.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_spell.vim" 779 lines, 25186 characters


Executing Test_spellreall()


Executing Test_wrap_search()
search hit BOTTOM, continuing at TOP


Executing Test_z_equal_on_invalid_utf8_word()
Change "ÿ" to:

 1 "I"


 2 "W"


 3 "Y"


 4 "A"


 5 "E"


 6 "O"


 7 "U"


 8 "À"


 9 "B"


10 "C"


11 "D"


12 "F"


13 "G"


14 "H"


15 "J"


16 "K"


17 "L"


18 "M"


19 "N"


20 "P"


21 "Q"


22 "R"


Type number and <Enter> or click with mouse (empty cancels): 


Executing Test_zeq_crash()
Change "asd" to:

 1 "Acid"


 2 "Sad"


 3 "Ads"


 4 "And"


 5 "Ask"


 6 "Asp"


 7 "Add"


 8 "Aid"


 9 "Ass"


10 "Ad"


11 "As"


12 "USD"


13 "Ash"


14 "Asst"


15 "Assad"


16 "SSD"


17 "SD"


18 "AMD"


19 "ASB"


20 "ASL"


21 "BSD"


22 "LSD"


Type number and <Enter> or click with mouse (empty cancels): :[?2004h\"Executing Test_zz_NOSLITSUGS()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 8 of 26 nodes; 18 (69%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 90 bytes


4 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_Numbers()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 2 of 15 nodes; 13 (86%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 65 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_affix()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 19 of 105 nodes; 86 (81%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 440 bytes


10 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 87 nodes; 68 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 350 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - mee
Compressing word tree...

Compressed 19 of 89 nodes; 70 (78%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 360 bytes


9 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_basic()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 16


Compressing word tree...


Compressed 39 of 104 nodes; 65 (62%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 357 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_compound()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - foo
Compressing word tree...

Compressed 6 of 29 nodes; 23 (79%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 115 bytes


3 lines yanked


search hit BOTTOM, continuing at TOP
Reading affix file Xtest.aff ...

Reading dictionary file Xtest.dic ...


line      2, word      0 - word
Compressing word tree...

Compressed 2 of 91 nodes; 89 (97%) remaining


Compressed 0 of 15 nodes; 15 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 520 bytes


12 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_prefixes()

Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 10 of 98 nodes; 88 (89%) remaining


Compressed 0 of 13 nodes; 13 (100%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 505 bytes


17 lines yanked


search hit BOTTOM, continuing at TOP
Executing Test_zz_sal_and_addition()


Reading affix file Xtest.aff ...


Reading dictionary file Xtest.dic ...


line      2, word      0 - test
Compressing word tree...

Compressed 29 of 127 nodes; 98 (77%) remaining


Writing spell file Xtest.latin1.spl ...


Done!


Estimated runtime memory use: 490 bytes


Reading back spell file...


Performing soundfolding...


Total number of words: 16


Number of words after soundfolding: 15


Compressing word tree...


Compressed 33 of 75 nodes; 42 (56%) remaining


Writing suggestion file Xtest.latin1.sug ...


Estimated runtime memory use: 241 bytes


Reading word file Xtest.latin1.add ...


Compressing word tree...


Compressed 0 of 29 nodes; 29 (100%) remaining


Writing spell file Xtest.latin1.add.spl ...


Done!


Estimated runtime memory use: 145 bytes/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP/[?2004h^start:
search hit BOTTOM, continuing at TOP
"test_spell.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" [converted] 774L, 20929C[converted] 788L, 21305C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup.vim" 265 lines, 7013 characters


Executing Test_after_comes_later()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l1: /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xbefore.vim


  2: /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xhere/plugin/here.vim


  3: /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xanother/plugin/another


.vim


  4: /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xhere/pack/foo/start/fo


obar/plugin/foo.vim


  5: /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xafter/plugin/later.vim


  6: /<<PKGBUILDDIR>>/src/vim-nox/testdir/Xafter.vim


here another pack after
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_compatible_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25lError detected while processing /<<PKGBUILDDIR>>/src/vim-nox/test


dir/Xafter.vim:


line    2:


E528: Must specify a ' value: viminfo+=nviminfo
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_default_term()[?2004l[?2004h


Executing Test_file_args()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l3 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l2 files to edit
[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l4 files to edit
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_help_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_pack_in_rtp_when_plugins_run()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004l[?1l>[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_progpath()


Executing Test_read_stdin()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 1 line, 10 characters[?2004h[?12h[?12l"Xtestout" [New File] 1 line, 10 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_silent_ex_mode()[?2004l[?2004h


Executing Test_startup_script()[?1000h


Executing Test_startuptime()[?2004l[?1l>[?25h[?1049l[?1000l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"one" [New File]
[?2004l

[?2004l[?1l>[?25h[?1049l[?1000h[?2004h[?1049h[?1h=[?2004h[?25l"test_startup.res" [New File][New] 0L, 0C written


Executed 11 tests
"messages" 788L, 21305C802L, 21691C written
[?1000l[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_startup_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_startup_utf8.vim" 64 lines, 1366 characters


Executing Test_read_fifo_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?25l"/dev/fd/63" [readonly] 2 lines, 24 characters


"Xtestout" [New File] 2 lines, 24 characters written
[?2004l

[?2004l[?1l>[?25h[?1049l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_read_stdin_utf8()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?25l"-stdin-" 2 lines, 24 characters[?2004h[?12h[?12l"Xtestout" [New File] 2 lines, 24 characters written
[?2004l[?2004l[?1l>[?25h[?1049l

Vim: Reading from stdin...
[?2004h[?1049h[?1h=[?2004h[?25l"test_startup_utf8.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"802L, 21691C807L, 21802C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_stat.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_stat.vim" 92 lines, 2287 characters


Executing Test_checktime()
"Xtest.tmp" 1L, 13C[?25h[?2004l[?2004h[?25l1L, 25C


Executing Test_existent_directory()


Executing Test_existent_file()


Executing Test_nonexistent_file()


Executing Test_win32_symlink_dir()
"test_stat.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"807L, 21802C815L, 22003C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_substitute.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_substitute.vim" 296 lines, 12358 characters


Executing Test_multiline_subst()


search hit BOTTOM, continuing at TOP
3 substitutions on 3 lines

3 substitutions on 2 lines


Executing Test_sub_replace_1()


Executing Test_sub_replace_10()


Executing Test_sub_replace_2()


Executing Test_sub_replace_3()


Executing Test_sub_replace_4()


Executing Test_sub_replace_5()


Executing Test_sub_replace_6()


Executing Test_sub_replace_7()


Executing Test_sub_replace_8():[?2004hs/\(^\|,\)\ze\(,\|Y\)/\1N/gc
N,,NX

,,Y

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       replace with \1N (y/n/a/q/l/^E/^Y)?:[?2004hs/\(^\|,\)\ze\(,\|Z\)/\1N/gc
N,,NY

,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?N,,Zreplace with \1N (y/n/a/q/l/^E/^Y)?Executing Test_sub_replace_9():[?2004hs/x/X/gc
xxx~                                                                               ~                                                                               replace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Xxreplace with X (y/n/a/q/l/^E/^Y)?Executing Test_substitute_repeat()
"Xfile" [New File]Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sc


x

[?25l^[?25hy


[?25lxx


Executing Test_substitute_variants():[?2004hs/Test/test/c
Testing string

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               replace with test (y/n/a/q/l/^E/^Y)?:[?2004hsc
replace with test (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ce
:[?2004hsce
:[?2004hs/t/r/cg
Tesreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscg
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/ci
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsci
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cI
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hscI
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/t/r/cn
1 match on 1 line:[?2004hscn
1 match on 1 line:[?2004hs/t/r/cp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hscp
replace with r (y/n/a/q/l/^E/^Y)?Tesring string:[?2004hs/t/r/cl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hscl
replace with r (y/n/a/q/l/^E/^Y)?Tesring string$:[?2004hs/t/r/gc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hsgc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ge
:[?2004hsge
:[?2004hs/t/r/g
:[?2004hsg
:[?2004hs/t/r/gi
3 substitutions on 1 line:[?2004hsgi
3 substitutions on 1 line:[?2004hs/t/r/gI
:[?2004hsgI
:[?2004hs/t/r/gn
2 matches on 1 line:[?2004hsgn
2 matches on 1 line:[?2004hs/t/r/gp
Tesring srring$:[?2004hsgp
Tesring srring$:[?2004hs/t/r/gl
Tesring srring$:[?2004hsgl
Tesring srring$:[?2004hs//r/gr
:[?2004hsgr
:[?2004hs/t/r/ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsic
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/ie
:[?2004hsie
:[?2004hs/t/r/i
:[?2004hsi
:[?2004hs/t/r/iI
:[?2004hsiI
:[?2004hs/t/r/in
1 match on 1 line:[?2004hsin
1 match on 1 line:[?2004hs/t/r/ip
resting string$:[?2004hsip
resting string$:[?2004hs//r/ir
:[?2004hsir
:[?2004hs/t/r/Ic
Testreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsIc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs/foo/bar/Ie
:[?2004hsIe
:[?2004hs/t/r/Ig
:[?2004hsIg
:[?2004hs/t/r/Ii
:[?2004hsIi
:[?2004hs/t/r/I
:[?2004hsI
:[?2004hs/t/r/Ip
Tesring string$:[?2004hsIp
Tesring string$:[?2004hs/t/r/Il
Tesring string$:[?2004hsIl
Tesring string$:[?2004hs//r/Ir
:[?2004hsIr
:[?2004hs//r/rc
tingreplace with r (y/n/a/q/l/^E/^Y)?:[?2004hsrc
replace with r (y/n/a/q/l/^E/^Y)?:[?2004hs//r/rg
:[?2004hsrg
:[?2004hs//r/ri
:[?2004hsri
:[?2004hs//r/rI
:[?2004hsrI
:[?2004hs//r/rn
1 match on 1 line:[?2004hsrn
1 match on 1 line:[?2004hs//r/rp
Testr string$:[?2004hsrp
Testr string$:[?2004hs//r/rl
Testr string$:[?2004hsrl
Testr string$:[?2004hs//r/r
:[?2004hsr
"test_substitute.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 815L, 22003C831L, 22464C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_syntax.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_syntax.vim" 522 lines, 14436 characters


Executing Test_bg_detection()


Executing Test_conceal()123456

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X 6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1XY6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 1X6

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 16

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " Test for syntax and syntax iskeyword option



if !has("syntax")

  finish

endif



source view_util.vim



func GetSyntaxItem(pat)

  let c = ''

test_syntax.vim                                                                 Executing Test_highlight_invalid_arg()


Executing Test_invalid_name()


Error detected while processing function RunTheTest[24]..Test_invalid_name:


line    4:


W18: Invalid character in group name


Executing Test_ownsyntax()
"Xfoo" [New File]

2 buffers wiped out


Executing Test_ownsyntax_completion():[?2004hownsyntax java... javacc javascript
:"ownsyntax java javacc javascript
:"


Executing Test_syn_clear()


Executing Test_syn_iskeyword()CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


syntax iskeyword @,48-57,_,192-255CREATE TABLE FOOBAR(

    DLTD_BY VARCHAR2(100)

);



~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       

syntax iskeyword not set


Executing Test_syn_sync()


Executing Test_synstack_synIDtrans()


Executing Test_syntax_after_reload()
"Xsomefile" [New File][New] 2L, 12C written
"other" [New File]Xsomefile" 2L, 12C


Executing Test_syntax_arg_skipped()


Executing Test_syntax_completion():[?2004hsyn ...case clear cluster conceal enable include iskeyword keyword list manual ma


tch off on region reset spell sync"syn case clear cluster conceal enable include iskeyword keyword list manual match off on region reset spell sync
:[?2004hsyn case ...ignore match
:"syn case ignore match
:"
:[?2004hsyn spell ...default notoplevel toplevel
:"syn spell default notoplevel toplevel
:"
:[?2004hsyn sync ...ccomment clear fromstart linebreaks= linecont lines= match maxlines=


minlines= region"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region
:[?2004hsyn list ...Aap Boolean Character ColorColumn Comment Conceal Conditional Constan


tCursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd DiffChange


DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float FoldCo


lumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include Keyword


Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number Operato"syn list Aap Boolean Character ColorColumn Comment Conceal Conditional Constant CursorColumn CursorLine CursorLineNr Debug Define Delimiter DiffAdd DiffChange DiffDelete DiffText Directory EndOfBuffer Error ErrorMsg Exception Float FoldColumn Folded Fopi Function HereGroup Identifier Ignore IncSearch Include Keyword Label LineNr Macro MatchParen ModeMsg MoreMsg NONE NonText Normal Number Operat
:[?2004hsyn list ...Boolean Character ColorColumn Comment Conceal Conditional Constant Cu
:"syn list Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"
:[?2004hsyn match ...Boolean Character ColorColumn Comment Conceal Conditional Constant C
:"syn match Boolean Character ColorColumn Comment Conceal Conditional Constant 
:"


Executing Test_syntax_hangs()aaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

thereXsomefileaaa

abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc  abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc@                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               @                                                                               [No Name] [+]                                                                   hello

there

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xsomefile                                                                       Executing Test_syntax_invalid_arg()


Executing Test_syntax_list()
"../memfile_test.c" [readonly] 143L, 3142C


--- Syntax items ---




--- Syntax items ---


"Xsomefile" [New File]


Executing Test_syntime()
"../memfile_test.c" [readonly] 143L, 3142C/* vi:set ts=8 sts=4 sw=4 noet:

 *

 * VIM - Vi IMproved    by Bram Moolenaar

 *

 * Do ":help uganda"  in Vim to read copying and usage conditions.

 * Do ":help credits" in Vim to see a list of people who contributed.

 * See README.txt for an overview of the Vim source code. *//* * memfile_test.c: Unittests for memfile.c * Mostly by Ivan Krasilnikov. */#undef NDEBUG#include <assert.h>/* Must include main.c because it contains much more than just main() */#define NO_VIM_MAIN#include "main.c"/* This file has to be included because the tested functions are static */#include "memfile.c""Xsomefile" [New File]
"test_syntax.res" [New File][New] 0L, 0C written


Executed 17 tests
"messages" 831L, 22464C851L, 23043C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_system.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_system.vim" 92 lines, 2923 characters


Executing Test_System()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"Xdummy" [New File][?2004l[?2004h[?2004l[?2004h[?2004l[?2004h

Executing Test_system_exmode()[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h
"test_system.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"851L, 23043C856L, 23138C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_tcl.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_tcl.vim" 23 lines, 471 characters


Executing Test_tcldo()
"test_tcl.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"856L, 23138C860L, 23197C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal.vim" 678 lines, 17334 characters


Executing Test_finish_open_close()


This will take five seconds...[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25l[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25lExecuting Test_terminal_basic()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_curwin()
"dummy" [New File]file] --No lines in buffer--


"dummy" [Modified][New file] line 1 of 1 --100%-- col 1


"dummy" [New File]


Executing Test_terminal_cwd()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_env()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_hide_buffer()
"17buf" [New File]

Executing Test_terminal_list_args()


Executing Test_terminal_make_change()[?25h[?2004l[?2004h


[?25l1 change; before #1  0 seconds ago


Executing Test_terminal_nasty_cb()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_no_cmd()


Executing Test_terminal_noblock()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_redir_file()[?2004l[?2004h[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_123()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_scrape_multibyte()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_scroll()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_size()


Executing Test_terminal_special_chars()[?25h[?2004l[?2004h


[?25lExecuting Test_terminal_split_quit()[?2004l[?2004h[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_tmap()]12;[2 q[?25h]12;[?2004l[?2004h]12;[2 q]12;[?2004l[?2004h


[?25lExecuting Test_terminal_wipe_buffer()


Executing Test_terminal_write_stdin()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_terminal_wrong_options()


Executing Test_zz_terminal_in_gui()
"test_terminal.res" [New File][New] 0L, 0C written


Executed 23 tests
"messages" 860L, 23197C886L, 24055C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_terminal_fail.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_terminal_fail.vim" 21 lines, 627 characters


Executing Test_terminal_redir_fails()[?2004l[?2004h[?25h[?25l
"test_terminal_fail.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"886L, 24055C890L, 24139C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_textobjects.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_textobjects.vim" 54 lines, 1127 characters


Executing Test_inner_block_with_cpo_M_left_backslash()


Executing Test_inner_block_with_cpo_M_right_backslash()


Executing Test_inner_block_without_cpo_M()


Executing Test_quote_selection_selection_exclusive()
"test_textobjects.res" [New File][New] 0L, 0C written


Executed 4 tests
"messages"890L, 24139C897L, 24391C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_undo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_undo.vim" 276 lines, 7228 characters


Executing Test_U_command()global_local_undolevels()
"one" [New File]

6 fewer lines; before #8  0 seconds ago
"two" [New File]

3 fewer lines; before #11  0 seconds ago
"three" [New File]

Executing Test_insert_expr()=[?2004hsetline('.','1234')
1 line less; before #4  0 seconds ago3=[?2004hsetline('.','1234')
1 line less; before #7  0 seconds ago=[?2004hstring(123)
1 line less; before #9  0 seconds ago


Executing Test_undo_del_chars()
1 change; before #3  0 seconds ago21


1 change; before #6  1 seconds ago5
4s; after #3
1; before #21


3 changes; after #6  1 seconds agobefore #7  0 seconds ago


3 changes; before #1  3 seconds ago


3 changes; after #6  3 seconds ago


3 changes; after #9  0 seconds ago


Executing Test_undo_write()
"Xtest" [New File][New] 1L, 12C written3L, 20C written
1 line less; before #4  0 seconds ago


2 fewer lines; before #2  0 seconds ago


1 line less; before #1  0 seconds ago


1 more line; after #1  0 seconds ago


2 more lines; after #3  0 seconds ago


1 more line; after #4  0 seconds ago


Executing Test_undofile_earlier()
"Xfile" [New File][New] 3L, 14C written3L, 14C


Finished reading undo file Xundofile


3 fewer lines; before #1  2017/09/29 18:46:52


Executing Test_undojoin()
1 line less; before #2  0 seconds ago
2 fewer lines; before #3  0 seconds ago


Executing Test_undojoin_redo():[?2004hundojoin | redo
Already at newest change


Executing Test_undolist()
1 change; before #2  0 seconds ago
Executing Test_undotree()

1 change; before #2  0 seconds ago
"Xtest" [New] 1L, 4C written
"test_undo.res" [New File][New] 0L, 0C written


Executed 10 tests
"messages" 897L, 24391C910L, 24730C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_usercommands.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_usercommands.vim" 209 lines, 6183 characters


Executing Test_Ambiguous()


Executing Test_CmdCompletion():[?2004hcom -...addr bang bar buffer complete count nargs range register
:"com -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=0 -...addr bang bar buffer complete count nargs range register
:"com -nargs=0 -addr bang bar buffer complete count nargs range register
:"
:[?2004hcom -nargs=...* + 0 1 ?
:"com -nargs=* + 0 1 ?
:"
:[?2004hcom -addr=...arguments buffers lines loaded_buffers quickfix tabs windows
:"com -addr=arguments buffers lines loaded_buffers quickfix tabs windows
:"
:[?2004hcom -complete=co...lor command compiler
:"com -complete=color command compiler
:"
:[?2004hcom ...DoCmd1 DoCmd2
:"com DoCmd1 DoCmd2
:"
:[?2004hDoC...md1 DoCmd2
:"DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md1 DoCmd2
:"delcom DoCmd1 DoCmd2
:"
:[?2004hdelcom DoC...md2
:"delcom DoCmd2
:"
:[?2004hcom DoC...md2
:"com DoCmd2
:"
:[?2004hdelcom DoC...
:"delcom DoC
:"
:[?2004hcom DoC...
:"com DoC
:"
:[?2004hDoCmd ...mswin xterm
:"DoCmd mswin xterm
:"
:[?2004hDoCmd ...January February Mars
:"DoCmd January February Mars
:"
:[?2004hDoCmd ...Monday Tuesday Wednesday
:"DoCmd Monday Tuesday Wednesday
:"
:[?2004hDoCmd 


:DoCmd :[?2004hDoCmd 


:DoCmd Executing Test_CmdErrors()


Executing Test_CmdUndefined()


Executing Test_cmdmods()
"test_usercommands.res" [New File][New] 0L, 0C written


Executed 5 tests
"messages"910L, 24730C918L, 24916C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_viminfo.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_viminfo.vim" 515 lines, 13492 characters


Executing Test_cmdline_history()


Executing Test_cmdline_history_order()


Executing Test_global_vars()


Executing Test_viminfo_bad_syntax()


Executing Test_viminfo_encoding()
"Xviminfo" [converted] 73L, 3414C


Executing Test_viminfo_file_mark_tabclose()
"Xtestfileintab" [New File]viminfo" 83L, 3589C


Executing Test_viminfo_file_mark_zero_time()


Executing Test_viminfo_file_marks()
"ten" [New File]again" [New File]
"thirty" [New File]
"twen
"again" [New File]fourty" [New File]
"Xviminfo" 90L, 3387C


Executing Test_viminfo_jumplist()
"testbuf" [New File]/[?2004h20
/[?2004h30
/[?2004hlast pos
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004h15
/[?2004hlast pos
?[?2004h30
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere
/[?2004hhere


Executing Test_viminfo_marks()
"bufa" [New File]b


Executing Test_viminfo_oldfiles()


Executing Test_viminfo_read_and_write()


Executing Test_viminfo_registers()
"test_viminfo.res" [New File][New] 0L, 0C written


Executed 13 tests
"messages" 918L, 24916C934L, 25428C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_vimscript.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_vimscript.vim" 1448 lines, 36110 characters


Error detected while processing /<<PKGBUILDDIR>>/src/vim-nox/test


dir/test_vimscript.vim:


line  432:


E492: Not an editor command: ^Iasdf


line  444:


E492: Not an editor command: ^Iasdf


line  452:


E492: Not an editor command: asdf


line  455:


E492: Not an editor command: asdf | Xpath 'p'


Error detected while processing function T8_F:


line    5:


E492: Not an editor command: ^I    asdf


line    7:


E492: Not an editor command: ^I    asdf | Xpath 'd'


line   19:


E492: Not an editor command: ^I    asdf


line   21:


E492: Not an editor command: ^I    asdf | Xpath 'l'


line   29:


E121: Undefined variable: novar


E15: Invalid expression: novar^I^I" returns (default return value 0)


Error detected while processing function T8_G:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function T8_H:


line    5:


E492: Not an editor command: ^I    asdf^I^I" returns -1


Error detected while processing function F[2]..G[2]..H[2]..I:


line    2:


E492: Not an editor command:     asdf^I^I" error


Error detected while processing /<<PKGBUILDDIR>>/src/vim-nox/test


dir/test_vimscript.vim:


line  663:


E15: Invalid expression: | strlen("\"") | Xpath 'j'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'j'


line  673:


E15: Invalid expression: | strlen("\"") | Xpath 'n'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'n'


line  682:


E15: Invalid expression: | strlen("\"") | Xpath 'r'


E15: Invalid expression: 1 ||| strlen("\"") | Xpath 'r'


line  717:


E492: Not an editor command:     asdf^I^I" error


1

line  787:


E492: Not an editor command:     asdf^I^I" error


line  794:


E492: Not an editor command:     asdf^I^I" error


line  817:


E121: Undefined variable: asdf


E15: Invalid expression: asdf


line  828:


E121: Undefined variable: asdf


E15: Invalid expression: asdf | Xpath 'f' | endwhile | Xpath 'g'


Error detected while processing function F:


line    8:


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar^I" possibly undefined


E121: Undefined variable: g:boolvar


E15: Invalid expression: g:boolvar | Xpath 'd' | else | Xpath 'e' | endif


Executing Test_arg_abort()


Executing Test_bitwise_functions()


Executing Test_braces_skipped()


Executing Test_curlies()


Executing Test_defining_functions()


Executing Test_delfunction_force()


Executing Test_echo_and_string()


foo bar


'foo bar'


-1.2


-1.2


string


function('string')


{'a': {...}}


{'a': {...}}


[[...]]


[[...]]


[{}, {}, {}]


[{}, {}, {}]


{'a': {}, 'b': {}}


{'a': {}, 'b': {}}


[[], [], []]


[[], [], []]


{'a': [], 'b': []}


{'a': [], 'b': []}


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {...}, {...}]


[{'one': 'yes', 'two': 'yes', 'three': 'yes'}, {'one': 'yes', 'two': 'yes', 'th


ree': 'yes'}, {'one': 'yes', 'two': 'yes', 'three': 'yes'}]


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {...}}


{'a': {'one': 'yes', 'two': 'yes', 'three': 'yes'}, 'b': {'one': 'yes', 'two':


'yes', 'three': 'yes'}}


[[1, 2, 3], [...], [...]]


[[1, 2, 3], [1, 2, 3], [1, 2, 3]]


{'a': [1, 2, 3], 'b': [...]}


{'a': [1, 2, 3], 'b': [1, 2, 3]}


Executing Test_endfunction_trailing()


W22: Text found after :endfunction: garbage
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Executing Test_endwhile_function()


Executing Test_endwhile_script()


   function T1_F()


1      Xpath 'a'


2      let first = 1


3      while 1


4Xpath 'b'


5if first


6Xpath 'c'


7let first = 0


8break


9else


10Xpath 'd'


11return


12endif


13     endwhile


   endfunction"/tmp/vCqS4uT/0" [noeol] 16L, 299C

13 substitutions on 13 lines

Pattern not found: ^\s*$
"/tmp/vCqS4uT/0" 13L, 248C written
"test_vimscript.vim" 1448L, 36110C

   function T1_G()

1      Xpath 'h'

2      let first = 1

3      while 1

4Xpath 'i'

5if first

6Xpath 'j'

7let first = 0

8break

9else

10Xpath 'k'

11return


12endif


13if 1    " unmatched :if


14     endwhile


   endfunction"/tmp/vCqS4uT/1" [noeol] 17L, 334C

14 substitutions on 14 lines

Pattern not found: ^\s*$
"/tmp/vCqS4uT/1" 14L, 281C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_error_in_function()

Executing Test_error_in_script()

Executing Test_expr_parsing()

Executing Test_finish()

   function T4_F()

1      if 1

2Xpath 'a'

3let loops = 3

4while loops > 0"    3:  2:     1:

5Xpath 'b' . loops

6if (loops == 2)

7Xpath 'c' . loops

8return


9Xpath 'd' . loops


10endif


11Xpath 'e' . loops


12let loops = loops - 1


13endwhile


14Xpath 'f'


15     else


16Xpath 'g'


17     endif


   endfunction"/tmp/vCqS4uT/2" [noeol] 20L, 504C

17 substitutions on 17 lines

Pattern not found: ^\s*$
"/tmp/vCqS4uT/2" 17L, 445C written
"test_vimscript.vim" 1448L, 36110C

Executing Test_func_abort()

Executing Test_if_bar_fail()

Executing Test_if_fail()

Executing Test_if_while()

Executing Test_num64()

Executing Test_return()

Executing Test_script_emty_line_continuation()

Executing Test_script_lines()

Executing Test_script_local_func():[?2004hcall <SNR>5_DoNothing()|call <SNR>5_DoLast()|delfunc <SNR>5_DoNothing|delfunc <SNR>5_DoLast


Executing Test_skip()

Executing Test_type()

Executing Test_user_command_with_bang()

Executing Test_while_fail()
"test_vimscript.res" [New File][New] 0L, 0C written

Executed 27 tests
"messages" 934L, 25428C964L, 26302C written

[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_visual.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_visual.vim" 93 lines, 1991 characters


Executing Test_Visual_ctrl_o():[?2004hset tw=88


Executing Test_Visual_inner_quote()


Executing Test_Visual_vapo()


Executing Test_block_shift_multibyte()


Executing Test_block_shift_overflow()


Executing Test_dotregister_paste()


Executing Test_visual_mode_reset():[?2004h'<,'>call TriggerTheProblem()
"test_visual.res" [New File][New] 0L, 0C written


Executed 7 tests
"messages"964L, 26302C974L, 26585C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_winbar.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_winbar.vim" 23 lines, 426 characters


Executing Test_add_remove_menu():[?2004hlet g:did_next = 11
:[?2004hlet g:did_cont = 12


"test_winbar.res" [New File][New] 0L, 0C written


Executed 1 test
"messages"974L, 26585C978L, 26657C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_window_id.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_window_id.vim" 103 lines, 2714 characters


Executing Test_win_getid()
"one" [New File]twohree" [New File]
"four" [New File]ive


Executing Test_win_getid_curtab()
"X" [New File]test_window_id.res" [New File][New] 0L, 0C written


Executed 2 tests
"messages"978L, 26657C983L, 26761C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_windows_home.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_windows_home.vim" 121 lines, 3249 characters
"test_windows_home.res" [New File][New] 0L, 0C written


Executed 0 test
"messages"983L, 26761C986L, 26806C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_writefile.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_writefile.vim" 51 lines, 1496 characters


Executing Test_writefile()


Executing Test_writefile_fails_conversion()
"Xfile" 2L, 18C

WARNING: Original file may be lost or damaged


don't quit the editor until the file is successfully written!


Executing Test_writefile_fails_gently()


"test_writefile.res" [New File][New] 0L, 0C written


Executed 3 tests
"messages"986L, 26806C992L, 26960C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_latin.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_latin.vim" 7 lines, 280 characters


Executing Test_backref()


Executing Test_eow_with_optional()


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_nested_backrefs()


Executing Test_recursive_substitute()
"test_alot_latin.res" [New File][New] 0L, 0C written


Executed 6 tests
"messages"[converted] 992L, 26960C[converted] 1001L, 27201C written
[?2004l

[?2004l[?1l>[?25h[?1049lVIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot_utf8.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot_utf8.vim" 15 lines, 542 characters[?2004l[?1l>[?25h[?1049lExecuting Test_classes_re1()


Executing Test_classes_re2()


Executing Test_comparisons()


Executing Test_customlist_completion():Test1 ...
:"Test1
:"
:Test2 ...あた
:"Test2 あた
:"
:Test3 ...N
:"Test3 N
:"


Executing Test_equivalence_re1()


Executing Test_equivalence_re2()


Executing Test_gap()etvcol()


Executing Test_large_class()


Executing Test_match_using_multibyte_conceal_char()#ˑThisˑisˑaˑTest

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   " A series of tests that can run in one Vim invocation.

" This makes testing go faster, since Vim doesn't need to restart.



" These tests use utf8 'encoding'.  Setting 'encoding' is already done in

" runtest.vim.  Checking for the multi_byte feature is in the individual

" files, so that they can be run by themselves.



set belloff=all

source test_charsearch_utf8.vim

source test_expr_utf8.vim

test_alot_utf8.vim                                                              Executing Test_reversed_range()


Executing Test_search_cmds()


Executing Test_source_latin()
"Xscript"[New] 2L, 44C written
Executing Test_source_utf8()"Xscript"[New] 2L, 42C written:%s/àx/--à1234--/g
:%s/Àx/--À1234--/g


Executing Test_strcharpart()


Executing Test_strchars()


Executing Test_strgetchar()


Executing Test_visual_block_insert()
"test_alot_utf8.res" [New File][New] 0L, 0C written


Executed 18 tests
"messages" 1001L, 27201C1022L, 27804C written


VIMRUNTIME=../../runtime; export VIMRUNTIME;  ../vim -f  -u unix.vim -U NONE --noplugin --not-a-term -S runtest.vim test_alot.vim
[?2004h[?1049h[?1h=[?2004h[?12h[?12l[?2004l[?2004h[?25l"test_alot.vim" 62 lines, 1523 characters


Executing Test_abbr_after_line_join()


Executing Test_abbreviation()s()

Executing Test_acos()


Executing Test_asin()


Executing Test_atan()


Executing Test_atan2()


Executing Test_auto_partial_rebind()


Executing Test_balloon_show()


Executing Test_bind_in_python()


Executing Test_break_undo()ufexists()"Xfoo" [New File]

Executing Test_byte2line_line2byte()


Executing Test_cancel_ptjump()


Already only one window:[?2004hptjump word
  # pri kind tagfile


  1 Fwordfile1


cmd1


  2 Fwordfile2


cmd2


Type number and <Enter> (empty cancels): 
"help.txt" [readonly] 225L, 8437C


Executing Test_caught_error_in_statusline()source test_reltime.vim

source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



                                                                                Executing Test_caught_error_in_tabline()                                                                                source test_searchpos.vim

source test_set.vim

source test_sort.vim

source test_sha256.vim

source test_statusline.vim

source test_syn_attr.vim

source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

vim

new line here

Test3: text with a (parenthesis here

new line here



test_alot.vim                                                                   Executing Test_cd_large_path()


Executing Test_cd_up_and_down()


Executing Test_ceil()


Executing Test_changedtick_bdel()


Executing Test_changedtick_dict_entry()


Executing Test_changedtick_fixed()


Executing Test_changedtick_increments()


1 line less; before #1  0 seconds ago


Executing Test_changedtick_islocked()


Executing Test_changenr()
"Xchangenr" [New File]

1 change; before #2  0 seconds ago


1 change; after #2  0 seconds ago


Executing Test_close_on_quitpre()
"tab1" [New File]2est_alot.vim" 62L, 1523C


Executing Test_closure_counter()


Executing Test_closure_refcount()


Executing Test_closure_unlet()


Executing Test_col()


Executing Test_color_names()


Executing Test_compare_null_dict()


Executing Test_compare_partials()


Executing Test_compl_vim_cmds_after_register_expr()=[?2004hs:test_func()
 AAAAA_Group             tBufAdd                  BufCreate               BufDelete               BufEnter                BufFilePost             BufFilePre              BufHidden               BufLeave                BufNew                  BufNewFile              BufRead                 BufReadCmd              BufReadPost             BufReadPre              BufUnload               BufWinEnter             BufWinLeave             BufWipeout              BufWrite                BufWriteCmd             BufWritePost           

match 1 of 92

Executing Test_complete_CTRLN_startofbuffer()organize       

cupboard       match 2prioritize     

bureau         Scanning: test_alot.vimab2 tags.
match 2 of 90cupboard.organize(3, 2);

bureauprioritize(bureau, 8, 7);

realize(bannister, 4, 4);

moralize(railing, 3,9);

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vim

test_alot.vim                                                                   prioritize                          

bureau                              

realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

series              test_alot.vim   

ofo                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   

testing             test_alot.vim   



realize        

bannister      Scanning: test_alot.vimab2 tags.
match 2 of 90.prioritize(8, 7);bannisterrealize(bannister, 4, 4);moralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       realize                             

bannister                           

moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

seriesm              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   

makes               test_alot.vim   moralize       

railing        Scanning: test_alot.vimab2 tags.
match 2 of 90.realize(4, 4);railingmoralize(railing, 3,9);~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       moralize                            

railing                             

cupboard                            

organize                            

bureau                              

prioritize                          

bannister                           

realizee                             

series              test_alot.vim   

of                  test_alot.vim   

tests               test_alot.vim   

that                test_alot.vim   

can                 test_alot.vim   

run                 test_alot.vim   

in                  test_alot.vim   

one                 test_alot.vim   

Vim                 test_alot.vim   

invocation          test_alot.vim   

This                test_alot.vim   Executing Test_complete_func_mess()Jan~                                                                               ~                                                                               ~                                                                               ~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

~                                   

[No Name] [+]                       

source test_tabline.vimsource test_tabpage.vimsource test_tagcase.vimsource test_tagjump.vimsource test_taglist.vimsource test_timers.vimsource test_true_false.vimsource test_unlet.vimsource test_virtualedit.vimsource test_window_cmd.vimtest_alot.vim                       match 1 of 3
Oct

Oct            

Nov            

Dec            Oct

~              

~              

~              Oct            

Nov            

Dec            

Executing Test_complete_no_undo()=[?2004hUndoComplete()
match 1 of 12xxx

aaayyy~              January        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       1 change; before #2  0 seconds ago=[?2004hUndoComplete()
match 1 of 12
bbb

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December       

January        1 change; before #4  0 seconds ago=[?2004hUndoComplete()
match 1 of 12

yyy~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tab

source test_tabJanuary        

February       

March          

April          

May            

June           

July           

August         

September      

Octobere        

November       

December           
January



~              

~              

~              

~              

~              

~              

~              

~              February       

March          

April          

May            

June           

July           

August         

September      January        1 change; before #5  0 seconds ago


Executing Test_completefunc_opens_new_window_one()


search hit BOTTOM, continuing at TOP
Pattern not found

Executing Test_completefunc_opens_new_window_two()


search hit BOTTOM, continuing at TOPExecuting Test_completefunc_with_scratch_buffer()January        

February  

March   

April    

May      January        

February       match 2 of 5info2-1

2-2

2-3



February

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               source test_tabline.vim

source test_tabpage.vim

source test_tagcase.vim

source test_tagjump.vim

source test_taglist.vim

source test_timers.vim

source test_true_false.vim

source test_unlet.vim

source test_virtualedit.vim

source test_window_cmd.vimJanuary        

February       

March          

April          

May            



[Scratch]                                                                       test_alot.vim                                                                   [Scratch] [Preview]                                                             [Scratch]                                                                       match 3 of 5
March~              

~              

~              

~              

~              January        

February       

March          

April          

May            3

3

3[Scratch]                                                                        [Scratch]                                                                       February       

March          4
April

~              

~              

~              

~              

~              January        

February       

March          

April          

May            4

4

4[Scratch]                                                                        [Scratch]                                                                       March          

April          

Executing Test_completefunc_works()


search hit BOTTOM, continuing at TOPthreedef       

threeDEF       threedef       

threeDEF       match 2 of 2
threeDEF

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~              

~              

~              

~              

~              threedef       

threeDEF       

Executing Test_completion_can_undo()=[?2004hCompleteUndo()
match 1 of 12~              

~              No Name]January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       

1 line less; before #1  0 seconds ago


Executing Test_completion_clear_candidate_list()
Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~                                                                               ~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  

source test_tabHello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello

~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          Scanning: test_alot.vimab2 tags.
Pattern not found=[?2004hDummyCompleteSix()
match 1 of 2
Hello~              

~              Hello          

World          2
World

~              

~              Hello          

World          Hello          

World          Back at original
    xxx

~              

~              Hello          

World          
World          match 1 of 2
Hello~              

~              Hello          

World          Hello          

Executing Test_completion_comment_formatting()Executing Test_completion_ctrl_e_without_autowrap()
match 1

Executing Test_completion_respect_bs_option()
Back at originalBack at original

Executing Test_conf_type()
"Xfile" 2L, 28C


Executing Test_cos()


Executing Test_cosh()


Executing Test_count()


Executing Test_cursorline_keep_col()


Executing Test_curswant_with_autocommand()


Executing Test_cycle_partial_job()


Executing Test_cyclic_dict_arg()


Executing Test_cyclic_list_arg()


Executing Test_delete_myself()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_detection()
"something.vim" [New File]


Executing Test_dict()


Executing Test_dir_delete()


Executing Test_duplicate_tagjump()
"Xfile1" [New File][New] 3L, 38C written


tag 2 of 3
tag 3
Executing Test_empty()


Executing Test_empty_buffer()


Executing Test_empty_concatenate()


Executing Test_equal()


Executing Test_equalalways_on_close()


Executing Test_ex_mode()
Entering Ex mode.  Type "visual" to go to Normal mode.[?25h


:sleep 100m


[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h:vi




[?25lExecuting Test_ex_undo()
"ex-undo" [New File]

1 line less; before #3  0 seconds ago


1 line less; after #1  0 seconds ago


2 fewer lines; before #1  0 seconds ago


Executing Test_execute_list()


Executing Test_execute_string()


this


theend


something


Executing Test_existing()


Executing Test_exp()


Executing Test_expand()


Executing Test_feedkeys_x_with_empty_string()ile_delete()"Xfile" [New File][New] 2L, 4C written


Executing Test_file_perm()


Executing Test_fileformat_after_bw()
"tab2" [New File]ex-undo" [New File]


Executing Test_fileformat_autocommand()
"Xfile" [CR missing][dos] 8L, 39C


Executing Test_filetype_detection()
"file.slt" [New File]uil
"/etc/slp.reg" [New File]
"file.sa" [New File]sbclrc" [New File].sbclrc" [New File]
"file.fal" [New File]drac" [New File]c" [New File]lvs" [New File]pe
".reminders" [New File]
"file.remind" [New File]" [New File]x" [New File]m2" [New File]i
"/etc/dnsmasq.conf" [New File]
"file.feature" [New File]odl" [New File]mof
".gdbinit
".gtkrc" [New File]gtkrc" [New File]file.ave" [New File]st" [New File]cala" [New File]
"/etc/man.conf" [New File]
"man.config" [New File]file.plx" [New File]al" [New File]psgi" [New File]
"gitolite.rc" [New File]
".gitolite.rc" [New File]
"example.gitolite.rc" [New File]
"file.lss" [New File]git-rebase-todo" [New File]
"file.dcd" [New File].inputrc
"inputrc" [New File]file.sci" [New File]edesktop" [New File]
".directory" [New File]/etc/elinks.conf" [New File]
"/.elinks/elinks.conf" [New DIRECTORY]
"texmf.cnf" [New File]file.abc" [New File]strl" [New File]mt" [New File]ith" [New File]lot" [New File]os" [New File]sqlj" [New File]/boot/grub/menu.lst" [New DIRECTORY]grub.conf" [New DIRECTORY]
"/etc/grub.conf" [New File]file.v" [New File]hog" [New File]
"snort.conf" [New File]
"vision.conf" [New File]
"file.sst" [New File]mi-sst" [New File]_sst.meta" [New File]-sst.meta" [New File]_
"/etc/apt/sources.list" [readonly] 2L, 104C.d/file.list" [New File]
"file.page" [New File]ecd" [New File]mchrefimp
"enlightenment/file.cfg" [New DIRECTORY]
"file.qc" [New File]c" [New File]ec" [New File]EClite" [New File]t" [New File]php" [New File]9" [New File]tml" [New File]ctp" [New File].cvsrc" [New File]file.ijs" [New File]
"fdrupstream.log" [New File]
"upstream.log" [New File]UPSTREAM.LOG
"upstream.file.log" [New File]
"UPSTREAM.FILE.LOG
"file.upstream.log
"FILE.UPSTREAM.LOG
"UPSTREAM-file.logFILE.LOG
"file.haml" [New File].screenrc
"screenrc" [New File]file.riboramglrcpmghex32
".mailcap
"mailcap" [New File].pinerc
"pinerc" [New File].pinercex" [New File]
"pinercex" [New File]file.occ
"/etc/a2ps.cfg" [New File]/file.cfg" [New DIRECTORY]
"a2psrc" [New File].a2psrc" [New File]
".procmail" [New File]rc" [New File]
"file.ttl" [New File]anyXmodmap" [New File]
"file.s19" [New File]2837motsrec" [New File]edf" [New File]if" [New File]o" [New File].Xdefaults" [New File]
".Xpdefaults" [New File]
".Xresource
"xdm-config" [New File]file.ad" [New File]squid.conf" [New File]
"file.lid" [New File]pf.conf" [New File]file.awk" [New File]tr" [New File]nroff" [New File]tmacmom" [New File]wrl
"catalog" [New File]file.lhs" [New File]proto" [New File]aml" [New File]kv" [New File]less" [New File]
"namedfile.conf" [New File]
"rndcfile.conf" [New File]file.gretl" [New File]stp" [New File]/etc/initng/any/file.i" [New DIRECTORY]
"file.ii" [New File]bat" [New File]syspsf
"denyhosts.conf" [New File]
"/etc/login.access" [New File]
"mrxvtrc" [New File].mrxvtrc" [New File]
"file.cdlrtfxpmldif" [New File]abl" [New File]p6" [New File]m6" [New File]ltssop" [New File]
"file,v" [New File].ml" [New File]i" [New File]ly
".ocamlinit" [New File]
"file.erl" [New File]hyaws" [New File]pod6
"/log/authDIRECTORY]crondaemon" [New DIRECTORY]ebug" [New DIRECTORY]kern" [New DIRECTORY]lpr" [New DIRECTORY]mail" [New DIRECTORY]essages" [New DIRECTORY]news/news" [New DIRECTORY]syslog" [New DIRECTORY]user" [New DIRECTORY]auth.log" [New DIRECTORY]crondaemon.log" [New DIRECTORY]ebug.log" [New DIRECTORY]kern.log" [New DIRECTORY]lpr.log" [New DIRECTORY]mail.log" [New DIRECTORY]essages.log" [New DIRECTORY]news/news.log" [New DIRECTORY]syslog.log" [New DIRECTORY]user.log" [New DIRECTORY]auth.errcrondaemon.err" [New DIRECTORY]ebug.err" [New DIRECTORY]kern.err" [New DIRECTORY]lpr.err" [New DIRECTORY]mail.err" [New DIRECTORY]essages.err" [New DIRECTORY]news/news.err" [New DIRECTORY]syslog.err" [New DIRECTORY]user.err" [New DIRECTORY]auth.info" [New DIRECTORY]crondaemon.info" [New DIRECTORY]ebug.info" [New DIRECTORY]kern.info" [New DIRECTORY]lpr.info" [New DIRECTORY]mail.info" [New DIRECTORY]essages.info" [New DIRECTORY]news/news.info" [New DIRECTORY]syslog.info" [New DIRECTORY]user.info" [New DIRECTORY]auth.warncrondaemon.warn" [New DIRECTORY]ebug.warn" [New DIRECTORY]kern.warn" [New DIRECTORY]lpr.warn" [New DIRECTORY]mail.warn" [New DIRECTORY]essages.warn" [New DIRECTORY]news/news.warn" [New DIRECTORY]syslog.warn" [New DIRECTORY]user.warn" [New DIRECTORY]auth.critcrondaemon.crit" [New DIRECTORY]ebug.crit" [New DIRECTORY]kern.crit" [New DIRECTORY]lpr.crit" [New DIRECTORY]mail.crit" [New DIRECTORY]essages.crit" [New DIRECTORY]news/news.crit" [New DIRECTORY]syslog.crit" [New DIRECTORY]user.crit" [New DIRECTORY]auth.notice" [New DIRECTORY]crondaemon.notice" [New DIRECTORY]ebug.notice" [New DIRECTORY]kern.notice" [New DIRECTORY]lpr.notice" [New DIRECTORY]mail.notice" [New DIRECTORY]essages.notice" [New DIRECTORY]news/news.notice" [New DIRECTORY]syslog.notice" [New DIRECTORY]user.notice" [New DIRECTORY]file.xsd" [New File]/.gnupg/options" [New DIRECTORY]gpg.conf" [New DIRECTORY]
"/usr/any/gnupg/options.skel" [New DIRECTORY]
"file.bdf" [New File]/etc/services" [New File]
"file.ice" [New File]mu" [New File]fsl" [New File]t.html" [New File]n1ql" [New File]ql" [New File]exports" [New File]file.def" [New File]takchopro" [New File]rd" [New File]hordpro" [New File]hordpro" [New File]mv" [New File]pl" [New File]wssqriadbsagpro" [New File]build.xml" [New File]
"/debian/control" [New DIRECTORY]
"ipf.conf" [New File]6.conf" [New File]
"ipf.rules
".zprofile
"/etc/zprofile" [New File]
".zfbfmarks" [New File]file.zsh" [New File]sig
"ssh_config" [New File]
"/.ssh/config" [New DIRECTORY]
"main.cf" [New File]file.clj" [New File]s" [New File]xc
"/etc/blkid.tab" [New File].old" [New File]
"file.xmi" [New File]csproj" [New File].user" [New File]ts" [New File]uitpm" [New File]
"/etc/xdg/menus/file.menu" [New DIRECTORY]
"fglrxrc" [New File]ile.xlf" [New File]iff" [New File]ul" [New File]upstream.dat" [New File]
"UPSTREAM.DAT
"upstream.file.dat" [New File]
"UPSTREAM.FILE.DAT
"file.upstream.dat
"FILE.UPSTREAM.DAT
"/etc/serial.conf" [New File]file.java" [New File]" [New File]cfengine.conf" [New File]
"/etc/host.conf" [readonly] 1L, 9C
".povrayrc" [New File]smb.conf" [New File]fstab" [New File]mtab" [New File]file.sas" [New File]miby" [New File]ahk" [New File]infINFvc" [New File]evsum" [New File]errsum" [New File]
"anyEterm/file.cfg" [New DIRECTORY]
"/etc/nanorc" [New File]file.scss" [New File]nqc" [New File]CMakeLists.txt" [New File]
"file.cmake" [New File].in" [New File]
"lilo.conf" [New File]named.root" [New File]
"anyesmtprc
"file.sim" [New File]wmlmysql" [New File]text" [New File]README" [New File]file.lsl" [New File]tli
".tidyrc" [New File]tidyrc" [New File]file.con" [New File]rc" [New File]h" [New File]
"configure.in" [New File]ac
"filter-rules
"file.wm" [New File]lftp.conf" [New File]
".lftprc" [New File]anylftp/rc" [New DIRECTORY]
"file.hlp" [New File]ihlp" [New File]smcltpl" [New File]hb" [New File]chs" [New File]scms" [New File]rkt" [New File]ps" [New File]fa" [New File]afmepsf" [New File]iai" [New File]svg" [New File]
"tags" [New File]/.icewm/menu" [New DIRECTORY]
"svn-commitfile.tmp" [New File]
"file.wrm" [New File]exim.conf" [New File]
"file.4gl" [New File]hm4gl" [New File]frt" [New File]bl" [New File]icn" [New File]cxx++hh" [New File]xx" [New File]ppimoctcinltlhcbloblicfghgrc" [New File]
"filehgrc" [New File].sass" [New File]
".arch-inventory" [New File]
".wgetrc" [New File]wgetrc" [New File]file.kix" [New File]sbt
"inittab" [New File].slrnrc
"file.nsi" [New File]h
"bzr_log.any" [New File]
"apt.conf" [New File]/.aptitude/config" [New DIRECTORY]
"file.jsp" [New File]gkrellmrc" [New File]_x" [New File]
"/etc/sensors.conf" [New File]3.conf" [New File]
"file.tsscl" [New File]spec" [New File]atl" [New File]s" [New File]/etc/updatedb.conf" [New File]
"file.dcl" [New File]i
"/etc/pinforc" [New File]
"/.pinforc" [New File]file.isc" [New File]monk" [New File]ssc" [New File]tsd" [New File]ado" [New File]do" [New File]imata" [New File]mata" [New File]/etc/limits" [New File]anylimits.conf" [New File]d/file.conf" [New DIRECTORY]udev/cdsymlinks.conf" [New File]sendmail.cf" [New File]file.mason" [New File]htmlcomp" [New File]tcl" [New File]k" [New File]itcl" [New File]k" [New File]jacl" [New File]spy" [New File]i
".asoundrc" [New File]
"/usr/share/alsa/alsa.conf" [New DIRECTORY]
"/etc/asound.conf" [New File]file.ist" [New File]m
"gitolite.conf" [New File]
"/etc/libao.conf" [New File]
"/.libao" [New File]any/etc/passwd" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/passwd.bak" [New DIRECTORY]shadow
"file.vroom" [New File]scoretexinfo" [New File]" [New File]xi" [New File]latte" [New File]te" [New File]it" [New File]hsml" [New File]rs" [New File]snd.123
".letter.123" [New File]
".followup" [New File]article" [New File].123" [New File]
"pico.123" [New File]mutt-xx-xxx" [New File]
"muttng-xx-xxx" [New File]
"ae123.txt" [New File]file.eml" [New File]sdc
"/etc/modules.conf" [New File]" [readonly] 5L, 195Cconf.modules" [New File]file.pli" [New File]1diff" [New File]rej" [New File]/etc/sysctl.conf" [readonly] 77L, 2683Cd/file.conf" [New File]file.ll" [New File]plp" [New File]msql" [New File]liquid" [New File]gpi" [New File]va" [New File]ms" [New File]ht" [New File].editorconfig" [New File]
"/etc/yum.conf
"file.ini" [New File]jj" [New File]t" [New File]expdothtpp" [New File]lua" [New File]rockspec" [New File]nse" [New File]manpgs
"resolv.conf" [New File]
"file.hs" [New File]-boot" [New File]zut" [New File]tf" [New File].tfrc" [New File]tfrc" [New File]file.obj" [New File]
".viminfo
"_xorg.conf" [New File]-4" [New File]
"robots.txt" [New File]mplayer.conf" [New File]
"/.mplayer/config" [New DIRECTORY]
"file.cyn" [New File]/etc/udev/permissions.d/file.permissions" [New DIRECTORY]
"file.fex" [New File]ocexec" [New File]si" [New File]task" [New File]xom" [New File]in
"trustees.conf" [New File]
"file.crm" [New File]pdbor" [New File]git/config" [New DIRECTORY]
".gitconfig" [New File]modules" [New File]
"file.git/modules//config" [New DIRECTORY]
"/.config/git/config" [New DIRECTORY]file.vr" [New File]i" [New File]hrexorrxojjrexx" [New File]rexxj" [New File]testGroup" [New File]Unit" [New File]jgr" [New File]sdlpr" [New File]svh" [New File]
"help.txt[readonly] 225L, 8437C
"file.hsc" [New Filemxpm2" [New File]hdl" [New File]vhdl" [New File]be" [New File]stmaster" [New File]
"pending.data" [New File]
"completed.data" [New File]
"undo.data" [New File]file.rnc" [New File]gnashrc" [New File].gnashrc" [New File]
"gnashpluginrc" [New File]
".gnashpluginrc" [New File]
"file.rng" [New File]tex/context/any/file.tex" [New DIRECTORY]
"file.mkii" [New File]vvigp" [New File].gprc" [New File]itsendemail.msg.xxxxxx" [New File]
"file.action" [New File]recipetmpl" [New File]xhtml" [New File]" [New File]pc" [New File]slpapp" [New File]xmlsjal" [New File]JALjplrdslzu" [New File]upstreaminstall.log" [New File]
"UPSTREAMINSTALL.LOG
"upstreaminstall.file.log" [New File]
"UPSTREAMINSTALL.FILE.LOG
"file.upstreaminstall.log
"FILE.UPSTREAMINSTALL.LOG
"file.dylan" [New File]/etc/hosts.allow" [New File]deny" [New File]any/etc/sudoersDIRECTORY]
"sudoers.tmp" [New File]file.iba" [New File]icscmk" [New File]ak" [New File]dsptoc
"/etc/slp.conf" [New File]
"file.ncf" [New File]ks" [New File]sed" [New File]cu" [New File]sp" [New File]fdr
"GNUmakefile.am" [New File]
"file.a65" [New File]cssinopderstsin85nb" [New File]wbt" [New File]pdfmush" [New File]
"calendar" [New File]file.mmptwig" [New File]
".dir_colors" [New File]
".dircolors" [New File]/etc/DIR_COLORS" [New File]
"file.properties_xx" [New File]_xx" [New File]
"/etc/slp.spi" [New File]file.yy" [New File]xx" [New File]++bibwsml" [New File]bst" [New File]fs" [New File]tace" [New File]ACE
"Muttngrcrc" [New File]file.dtd" [New File]iss
"/etc/cdrdao.conf" [New File]defaults/cdrdao" [New DIRECTORY]/cdrdao" [New File].cdrdao" [New File]file.sba" [New File]vb" [New File]s" [New File]dsmctlintr" [New File]
"dict.conf
".dictrc" [New File]file.dstpp" [New File]
"anybaseq2/file.cfg" [New DIRECTORY]
"anyid1/file.cfg" [New DIRECTORY]quake3
"file.ti" [New File]dts" [New File]i" [New File]
"tmuxfile.conf" [New File]
".tmuxfile.conf" [New File]
"wvdial.conf" [New File].wvdialrc" [New File]file.ged" [New File]lltxxxxx.txt" [New File]
"file.ld" [New File]gsjavascript" [New File]es" [New File]jsx" [New File]mjs.chasn1" [New File]xq" [New File]l" [New File]muery" [New File]y" [New File]bc" [New File]csdl" [New File]k" [New File]rad" [New File]mat
"/etc/pam.conf"[readonly] 15L, 552C
"file.pod" [New File]cm" [New File]xsl" [New File]t" [New File]mp" [New File]ar" [New File]plsql" [New File]fan" [New File]wt
"/LiteStep/any/file.rc" [New DIRECTORY]
"any/systemd/file.automount" [New DIRECTORY]mount" [New DIRECTORY]path" [New DIRECTORY]service" [New DIRECTORY]ocket" [New DIRECTORY]wap" [New DIRECTORY]target" [New DIRECTORY]imer" [New DIRECTORY]/etc/udev/udev.conf" [readonly] 6L, 153C
".netrc" [New File]file.pov" [New File]scpt" [New File]at" [New File]u3" [New File]siv
".htaccess" [New File]
"/etc/httpd/file.conf" [New DIRECTORY]
"file.pml" [New File]rpjov73ovial" [New File]lgt" [New File]abap" [New File]msc" [New File]ftssgm" [New File]uc" [New File]atg" [New File]pike" [New File]lpc" [New File]ulpc" [New File]pmoderb" [New File]rhtml" [New File]htt" [New File]bsnoptz8a
"any/.cmus/autosave" [New DIRECTORY]rc" [New DIRECTORY]command-history" [New DIRECTORY]file.theme" [New DIRECTORY]cmus/rc" [New DIRECTORY]file.theme" [New DIRECTORY]
"file.html.m4" [New File]yaml" [New File]ml" [New File].irbrc" [New File]irbrc" [New File]file.rb" [New File]w" [New File]gemspec" [New File]ru" [New File]Gemfile
"file.builder" [New File]rxml" [New File]js" [New File]ant" [New File]kemo" [New File]gdmo" [New File]ninja" [New File]
".ratpoisonrc" [New File]
"ratpoisonrc" [New File]file.chai" [New File]mf" [New File]spice" [New File]
"COMMIT_EDITMSG" [New File]
"MERGE_MSG" [New File]TAG_EDITMSG" [New File]
"file.clp" [New File]abal" [New File]fm" [New File]ic
"dictd.conf" [New File]
"file.chf" [New File]Dockerfile" [New File]
"file.Dockerfile" [New File]eni" [New File]tybpcpkbsrunpldcs" [New File]ils" [New File]cdfppdtdf
"/etc/protocols" [New File]xinetd.conf" [New File]
".fetchmailrc" [New File]any/etc/group" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]shadow" [New DIRECTORY]-" [New DIRECTORY].edit" [New DIRECTORY]
"any/var/backups/group.bak" [New DIRECTORY]shadow.bak" [New DIRECTORY]
"auto.master" [New File]/usr/share/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/etc/init/file.conf" [New File]override" [New File]
"/.init/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"/.config/upstart/file.conf" [New DIRECTORY]override" [New DIRECTORY]
"file.py" [New File]w" [New File]
".pythonstartup" [New File]rc" [New File]file.ptl" [New File]moo
"vgrindefs" [New File]
"file.pas" [New File]dprmel
"lynx.cfg
"file.desc" [New File]jsonp" [New File]webmanifest" [New File]g" [New File]po" [New File]t" [New File]mixal" [New File]
"hg-editor-file.txt" [New File]
"file.speedup" [New File]data" [New File]" [New File]sshd_config" [New File]
".indent.pro
"indentrc" [New File]file.fb" [New File]biasciidoc" [New File]doc" [New File]xs" [New File]/etc/mail/aliases" [New DIRECTORY]aliases" [New File]file.markdown" [New File]down" [New File]kd" [New File]n" [New File]dw" [New File]plm" [New File]36aclex" [New File]xx" [New File]++atex" [New File]sty" [New File]dtxlbblvimba
".exrc" [New File]_Kconfig" [New File].debug" [New File]
"/etc/login.defs" [readonly] 340L, 10477C
"file.pyx" [New File]xdart
"cvs123" [New File]usserver.log" [New File]
"USSERVER.LOG
"usserver.file.log" [New File]
"USSERVER.FILE.LOG
"file.usserver.log
"FILE.USSERVER.LOG
"file.aap" [New File]lout" [New File]gradle" [New File]oovyfactortreetop" [New File]f" [New File]or" [New File]tran" [New File]pp" [New File]tn77905038
"usw2kagt.log" [New File]
"USW2KAGT.LOG
"usw2kagt.file.log" [New File]
"USW2KAGT.FILE.LOG
"file.usw2kagt.log
"FILE.USW2KAGT.LOG
"file.DEF" [New File]MOD


Executing Test_filewritable()
"Xfilewritable" [New File][New] 0L, 0C written


Executing Test_filter()
"Xdoesnotmatch" [New File]
"Xwillmatch" [New File]ex-undo" [New File]

Executing Test_filter_cmd_completion():[?2004hfilter ^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter ^I:[?2004hfilter pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat^I:[?2004hfilter /pat^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat^I:[?2004hfilter /pat/^I"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/^I:[?2004hfilter pat pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter pat print:[?2004hfilter /pat/ pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter /pat/ print:[?2004hfilter #pat# pri...nt"=[?2004hexecute('let cmdline = getcmdline()')
:filter #pat# printExecuting Test_filter_fails()


Executing Test_filter_map_dict_expr_funcref()


Executing Test_filter_map_dict_expr_string()


Executing Test_filter_map_list_expr_funcref()


Executing Test_filter_map_list_expr_string()


Executing Test_findfile()


Executing Test_float2nr()


Executing Test_float_misc()


Executing Test_floor()


Executing Test_fmod()


Executing Test_fnamemodify()
"test_alot.vim" 62L, 1523C


Executing Test_func_unref()


Executing Test_funcref()


0

Executing Test_function_in_dict()


Executing Test_function_with_funcref()


Executing Test_gD()


Executing Test_gD_char()


Executing Test_gD_comment()


Executing Test_gD_inline_comment()


Executing Test_gD_string()


Executing Test_gD_string_same_line()


Executing Test_gD_too()


Executing Test_ga_command()


Executing Test_gd()


Executing Test_gd_comment()


Executing Test_gd_comment_in_string()


Executing Test_gd_inline_comment()


Executing Test_gd_inline_comment_body()


Executing Test_gd_inline_comment_only()


Executing Test_gd_kr_style()


Executing Test_gd_local_block()


Executing Test_gd_missing_braces()


Executing Test_gd_not_local()


Executing Test_gd_string()


Executing Test_gd_string_in_comment()


Executing Test_gd_string_only()


Executing Test_gd_trailing_comment()


Executing Test_gd_trailing_multiline_comment()


Executing Test_get_partial_items()


Executing Test_getbufvar()


Executing Test_getpid()[?2004l[?2004h


Executing Test_getreg_empty_list()


Executing Test_global_local_lispwords()


Executing Test_help_complete()


Executing Test_help_respect_current_file_lang()
"testdoc.abx" [readonly] 2L, 25Cja[readonly] 2L, 25Cline 1 of 2 --50%-- col 2-9txt[readonly] 2L, 25C
Executing Test_help_tagjump()"help.txt" [readonly] 225L, 8437C
"motion.txt" [readonly] 1337L, 51313C
"gui.txt" [readonly] 1048L, 44040C
"index.txt" [readonly] 1660L, 76442C
"cmdline.txt" [readonly] 1156L, 47238C
"autocmd[readonly] 1487L, 61609C
"windows[readonly] 1312L, 53080C
"change.txt" [readonly] 1832L, 74819C
"insert[readonly] 2004L, 82939C
"visual[readonly] 541L, 21843C
"options.txt" [readonly] 8980L, 380531Cline 7850 of 8980 --87%-- col 7-49
"eval.txt" [readonly][converted] 11161L, 430353C line 2464 of 11161 --22%-- col 1
"options.txt" [readonly] line 1359 of 8980 --15%-- col 4-25
"cmdline675 of 1156 --58%-- col 2-9index.txt" [readonly] line 1069 of 1660 --64%-- col 172


Executing Test_hlexists()


Executing Test_hostname()[?2004l[?2004h


Executing Test_if()


Executing Test_info()


Executing Test_input_in_timer()[?25h


[?25l?[?2004h[?25h[?25l[?25hhello
[?25l?helloExecuting Test_invalid()


Executing Test_invalid_submatch()


Executing Test_isnan()


Executing Test_join_with_count()


Executing Test_keyword_jump()
"Xtestfile" 9L, 141C


Executing Test_lambda_call_lambda_from_lambda()


Executing Test_lambda_capture_by_reference()


Executing Test_lambda_circular_reference()


Executing Test_lambda_closure_counter()


Executing Test_lambda_combination()


Executing Test_lambda_delfunc()


Executing Test_lambda_do_not_share_local_variable()


Executing Test_lambda_fails()


Executing Test_lambda_feature()


Executing Test_lambda_refer_local_variable_from_other_scope()


Executing Test_lambda_scope()


Executing Test_lambda_share_scope()


Executing Test_lambda_side_effect()


Executing Test_lambda_with_a_var()


Executing Test_lambda_with_filter()


Executing Test_lambda_with_map()


Executing Test_lambda_with_partial()


Executing Test_lambda_with_sort()


Executing Test_lambda_with_timer()[?25h[?2004l[?2004h


[?25l1[?25h[?2004l[?2004h

[?25l2[?25h[?2004l[?2004h

[?25l3[?25h[?2004l[?2004h

[?25l4[?25h[?2004l[?2004h[?2004l[?2004h

[?25l5[?25h[?2004l[?2004h

[?25l6[?25h[?2004l[?2004h

[?25l7[?25h[?2004l[?2004h

[?25l8[?25h[?2004l[?2004h

[?25lExecuting Test_last_buffer_nr()


Executing Test_len()


Executing Test_let_termcap()


Executing Test_load_menu()


Executing Test_log()


Executing Test_log10()


Executing Test_loop_over_null_list()


Executing Test_map_ctrl_c_insert()visual:[?2004h'<,'>$put ='vmap works'


Executing Test_map_cursor()
1 line less; before #8  0 seconds ago


Executing Test_map_feedkeys():[?2004hcall feedkeys(".", "in")
:[?2004hcall feedkeys(".", "in")
Executing Test_map_langmap():[?2004hcall append(line('$'), '+')


Executing Test_map_meta_quotes()timeout()[?25h[?25ltch()

abcdefghijklmnopq

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   abcdΣabcdef

TEST2: CTRL-C |<ctrl-c>A|

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_match_func()


Executing Test_matchaddpos()12345

NP

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   12345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   012345 

NP 

vmap works 

 

Test1: text with a (here some more text) 

Test1: text with a (here some more text) 

 

 

Test2: text wit a (here some more text [und undo]) 

fooc d 

fooc d 

+ 

+ 

bbbb 

bbbb 

cccc 

bbbb 

+ 

-foo- 

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   1234567890

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchaddpos_using_negative_priority()x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

NH

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)





Test2: text wit a (here some more text [und undo])

fooc d

fooc d

+

+

bbbb

bbbb

cccc

bbbb

+

-foo-

~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   Executing Test_matchend()


Executing Test_matchlist()


Executing Test_matchstr()


Executing Test_matchstrpos()


Executing Test_max()


Executing Test_max_min_errors()


Executing Test_messages()


hello0x

-1 match priority

vmap works



Test1: text with a (here some more text)

Test1: text with a (here some more text)    hello1234567898


hello9xhello9
Executing Test_min()


Executing Test_missing_attr()


Executing Test_mode()=[?2004hSave_mode()
match 1 of 2Blue Ball Black

Brown Band Bowl

Band~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   x

-1 match priority

vmap worksTest1: text with a (here some more text)

Test1: text with a (here some more text)Test2: text wit a (here some more text [und undo])fooc d[No Name]                                                                        Ball           

Band           =[?2004hSave_mode()
1 change; before #2  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #3  0 seconds ago=[?2004hSave_mode()
1 change; before #4  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #5  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #6  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #7  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #8  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #9  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #10  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #11  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #12  0 seconds ago
match 1 of 2
Band~               Ball           

Band           =[?2004hSave_mode()
1 change; before #13  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #14  0 seconds ago=[?2004hSave_mode()
1 change; before #15  0 seconds ago
match 1 of 2~              Ball           

Band           =[?2004hSave_mode()
1 change; before #16  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #17  0 seconds ago
Back at original=[?2004hSave_mode()
1 change; before #18  0 seconds ago
match 1 of 2
Brown Band Bowl~              Blue Ball Black 

Brown Band Bowl =[?2004hSave_mode()
1 change; before #19  0 seconds ago
The only match=[?2004hSave_mode()
1 change; before #20  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #21  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #22  0 seconds ago
Pattern not found=[?2004hSave_mode()
1 change; before #23  0 seconds ago:[?2004hecho "=[?2004hSave_mode():echo Entering Ex mode.  Type "visual" to go to Normal mode.


:[?2004hecho "=[?2004hSave_mode()
:echo 


:[?2004hvi


Executing Test_move_cursor()


Executing Test_named_function_closure()


Executing Test_nested_global()




Executing Test_next_split_all()
"x" [New File]Xtestfile" [New File]


Executing Test_nextnonblank_prevnonblank()


Executing Test_no_type_checking()


Executing Test_noinsert_complete()=[?2004hs:complTest1()
match 1 of 2~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Xtestfile                                                                       source         

soundfold      ndfold=[?2004hs:complTest2()
match 1 of 2

~              

~              source         

soundfold      

Executing Test_non_zero_arg()


Executing Test_not_existing()


Executing Test_not_lamda()


Executing Test_omnifunc_with_check()


search hit BOTTOM, continuing at TOPfour1

~                                                                               ~                                                                               ~                                                                               ~                                                                               [+]four1          

four2          2

~              

~              four1          

four2          four1          

four2          match 2 of 6

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          match 3 of 6

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          

search hit BOTTOM, continuing at TOPfour1

~              

~              

~              

~              

~              

~              four1          

four2          2

~              

~              four1          

four2          four1          

four2          3

~              

~              four1          

four2          

four3          

four4          four3          

four4          

four5          

four6          match 4 of 64

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          55

~              

~              

~              

~              

~              

~              four1          

four2          

four3          

four4          

four5          

four6          four4          

four5          

Executing Test_oneshot()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_option_value()


Executing Test_other_type()
"Xfile" 2L, 28C


Executing Test_partial_args()


Executing Test_partial_dict()


Executing Test_partial_exists()


Executing Test_partial_implicit()


Executing Test_partial_string()


Executing Test_paste_end_of_line():[?2004hnormal! "agP


Executing Test_paused()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_peek_and_get_char()[?25h


[?25lExecuting Test_popup_complete()=[?2004hListMonths()
match 1 of 2
June

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name] [+]                                                                   June           

July           match 2 of 2

June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       3



February       

March          4





March          

April          5April          

May            6May            

June           7June           

July           8July           

August         =[?2004hListMonths()
match 1 of 3

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           =[?2004hListMonths()
match 1 of 12

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 2
June~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 2ne

~              

~              June           

July           Back at original~              

~              June           

July           June           

Julymatch 2 of 2ly

~              

~              July           
July           =[?2004hListMonths()
match 1 of 2ne

~              
June           

July           Back at original~              

~              June           

July           June           

July=[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       =[?2004hListMonths()
match 1 of 3
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           =[?2004hListMonths()
match 1 of 3
January

~              

~              

~              January        

June           

July           2
June~              

~              

~              January        

June           

July           January        

June           3ly

~              

~              

~              January        

June           

July           June           

July           Back at original~              

~              

~              January        

June           

July           
July           match 1 of 3
January

~              

~              

~              January        

June           

July           January        =[?2004hListMonths()
match 1 of 3

~              

~              

~              January        

June           

July           =[?2004hListMonths()
match 1 of 2
June~              

~              

~              June           

July           =[?2004hListMonths()
match 1 of 12
January

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       2 of 12



February       December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       1 of 12

January        November       2November       

December       Back at originalDecember       match 10 of 12October        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       1
Nov

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       0
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       9 of 12
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        =[?2004hListMonths()
match 1 of 12
January~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12December       1November       

December       0October        

November       9 of 12September      

October        =[?2004hListMonths()
The only match=[?2004hListMonths()
The only matchDecember2015

December~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  December       =[?2004hListMonths()
match 1 of 2
March~                                                                               ~              March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2March~              
March          

May            2y~              

~              March          

May            March          

May            1rch

~              

~              March          

May            March          

May            =[?2004hListMonths()
match 1 of 2
March

~                                                                               ~              

~              March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            =[?2004hListMonths()
match 1 of 2M~              
March          

May            

Executing Test_popup_complete2()=[?2004hListMonths()
The only match

Executing Test_popup_completion_insertmode()=[?2004hListMonths()
match 1 of 12~                                                                               ~                                                                               ~              

~                  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       match 2 of 12

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2

January        

February       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       2
February

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        January        

February       3
March~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        February       

March          4
April

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        March          

April          5
May~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        April          

May            6
June

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        May            

June           7ly

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        June           

July           8
August

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        July           

August         9
September

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        August         

September      10 of 12
October~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        September      

October        1
November

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        
October        

November       2
Dec

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November       

December       Back at original~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        =[?2004hListMonths()
match 1 of 12

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              

[No Name] [+]  January        

February       

March          

April          

May            

June           

July           

August         

September      

October        

November]       

December       Back at original

January        match 12 of 12
December

~              

~              

~              

~              

~              

~              

~              

~              

~              

~              January        

February       

March          

April          

May            

June           

July           

August         

September      

October        



December       

Executing Test_pow()


Executing Test_printf_64bit()


Executing Test_printf_errors()


0

0

1

0

0

Executing Test_printf_float()


0.000000


Executing Test_printf_misc()


Executing Test_printf_spec_b()


Executing Test_printf_spec_s()


Executing Test_ptag_with_notagstack()


Executing Test_put_block()char_block()


"Xfile_put" [Modified][Not edited] line 1 of 2 --50%-- col 1


Executing Test_put_char_block2()


Executing Test_put_lines()


Executing Test_read_only()


Executing Test_recover_root_dir()
"Xtest" [New File]

"Xtest" [New File]


Executing Test_recursive_delete()
"Xdir1/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written


Executing Test_redefine_dict_func()


Executing Test_redo_in_nested_functions():[?2004hset opfunc=Operator


Executing Test_ref_job_partial_dict()


Executing Test_reltime()[?25h[?2004l[?2004h


[?25lExecuting Test_repeat_many()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_repeat_three()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_retain_partial()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_round()


Executing Test_script_detection()
"Xtest" 1L, 64C1L, 77C1L, 32C1L, 9C2L, 10C3L, 11C4L, 12C5L, 13C


Executing Test_script_function_in_dict()


Executing Test_script_function_in_dict_arg()


Executing Test_searchpos()
"one" [New File]

Executing Test_set_add()


Executing Test_set_backslash()


Executing Test_set_reg_null_list()


Executing Test_set_tagcase()


Executing Test_setbufline_getbufline()
"Xtest" [New File]

Executing Test_setbufvar_options()
"dummy_preview" [New File]buf1" [New File]2


Executing Test_setline_startup()[?2004l[?2004h


Executing Test_setmatches()


Executing Test_sha256()


Executing Test_shellescape()


Executing Test_simplify()


Executing Test_sin()


Executing Test_sinh()


Executing Test_sort_cmd()


Executing Test_sort_default()


Executing Test_sort_float()


Executing Test_sort_nested()


Executing Test_sort_numbers()


Executing Test_sort_numeric()


Executing Test_sort_strings()


Executing Test_special_char()


Executing Test_sqrt()


Executing Test_static_tagjump()
"Xfile1" [New File][New] 3L, 18C written


Executing Test_statusline()
"Xstatusline" [New File]170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

56,38                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

789,315                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

610,262                                                                         170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

Xstatusline                                                                     170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

/<<PKGBUILDDIR>>/src/vim-nox/testdir/Xstatusline                  170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1175

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[Help],HLP                                                                      170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

<Eo>                                                                            170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

180/200,2                                                                       170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+],+                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[+-],+-                                                                         "Xstatusline" [New] 200L, 692C written170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

[-],-                                                                           170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

                                                                                170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

1119                                                                            1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

0,Top                                                                           179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

100,Bot                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

90,Bot                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Quickfix List]                                                                 (1 of 2): 1179

180

181

182

183

184

185

186

187

188

189

                                                                                || 1                                                                            || 2

~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [Location List]                                                                 179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

,                                                                               "help.txt" [readonly] line 1 of 225 --0%-- col 1179

,                                                                               *help.txt*      For Vim version 8.0.  Last change: 2016 Sep 12VIM - main help filekMove around:  Use the cursor keys, or "h" to go left,h   l"j" to go down, "k" to go up, "l" to go right.j

Close this window:  Use ":q<Enter>".

   Get out of Vim:  Use ":qa!<Enter>" (careful, all changes are lost!).



Jump to a subject:  Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

   With the mouse:  ":set mouse=a" to enable the mouse (in xterm or GUI).Double-click the left mouse button on a tag, e.g. |bars|.Jump back:  Type CTRL-T or CTRL-O.  Repeat to go further back.



Get specific help:  It is possible to go directly to whatever you want helpon, by giving an argument to the |:help| command.Prepend something to specify the context:  *help-context*WHATPREPEND    EXAMPLENormal mode command:help x

[RO],RO                                                                         179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

Xstatusline                                                                     179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

2,                                                                              179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10,-10                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                "Xstatusline" 200L, 692C179

180

181

182

183

184

185

186

187

                                                                                175

176

177

178

179

180

181

182

183

184

185

186

[Preview],PRV                                                                   179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

                                                                                179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

[vim] VIM                                                                       179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

foo                                                                          bar179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

0038                                                                            179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#  38#                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

#38  #                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

<sline                                                                          179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

a<cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccd179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb>179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimNumber                                                                       179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

vimLineComment                                                                  179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abde                                                                            179

"180

181

182

183

184

185

186

187

188

189

abde                                                                            ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               abcd[Quickfix List]de                                                           179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abcdef                                                                          179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

abc                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

10%                                                                             179

"180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

7                                                                               179|

"180|

181|

182|

183|

184|

185|

186|

187|

188|

189|

190|

191|

192|

193|

194|

195|

196|

197|

198|

199|

200|

x^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^y^179"180181182183184185186187188189190191192193194195196197198199200x=====================================y92 buffers wiped out


Executing Test_statusline_will_be_disabled_with_error()~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                                                                                                               

Executing Test_stop_all_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stop_in_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_stopall()


Executing Test_str2float()


Executing Test_str2nr()


Executing Test_strcharpart()


Executing Test_strftime()


Executing Test_strgetchar()


Executing Test_stridx()


Executing Test_strridx()


Executing Test_substitute_expr()


Executing Test_substitute_expr_arg()


Executing Test_symlink_delete()
"Xfile" [New File][New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_dir_delete()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_symlink_recursive_delete()
"Xdir3/Xfile" [New File][New] 2L, 4C writtensubdir/Xfile" [New] 2L, 4C written
"Xdir4/Xfile" [New] 2L, 4C written[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h

[?25lExecuting Test_tabline_will_be_disabled_with_error()                                                                                ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_tabnext_on_buf_unload1()


Executing Test_tabnext_on_buf_unload2()


"x" [Not edited] --No lines in buffer--
"y" [New File]

Executing Test_tabpage()
"x" [New File]

2 fewer lines; before #1  0 seconds ago


Executing Test_tabpage_with_autocmd()


Executing Test_tabpage_with_tab_modifier()
"help.txt" [readonly] 225L, 8437Cline 1 of 225 --0%-- col 1


Executing Test_tabpage_with_tabclose()


Already only one tab page
"n0" [New File]1234


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabnext()


Executing Test_tabpage_with_tabonly()


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34file] --No lines in buffer--


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


Already only one tab page
"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Already only one tab page
"n0" [New File]1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New file] --No lines in buffer--3F4


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


"n0" [New file] --No lines in buffer--
"n1" [Modified][New file] line 3 of 3 --100%-- col 1
"n2" [New File34


Executing Test_tabpage_with_tabprevious()


Executing Test_tagcase()
"Xtext" [New File]

Executing Test_tagjump_switchbuf()


Already only one window
"Xfile1" 3L, 19C3L, 19C3L, 19C


Already only one window


Executing Test_taglist()
"Xtext" [New File]

Executing Test_taglist_ctags_etags()


Executing Test_taglist_native_etags()


Executing Test_tan()


Executing Test_tanh()


Executing Test_timer_catch_error()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_timer_errors()[?25h[?2004l[?2004h


[?25lError detected while processing function RunTheTest[24]..Test_timer_errors[4]..


WaitFor[21]..FuncWithError:


line    5:


E492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lE492: Not an editor command:   doesnotexist[?25h[?2004l[?2004h[?2004l[?2004h


[?25lExecuting Test_tolower()


Executing Test_tostring()


Executing Test_toupper()


Executing Test_translate_menu()


Executing Test_true_false_arg()[?2004l[?1l>[?25h[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?1l>[?1049l[?2004l[?2004h[?1049h[?1h=[?2004h[?2004l[?2004h[?25l"colored" [New File]

Executing Test_trunc()


Executing Test_unlet_fails()


Executing Test_valid()


Executing Test_version()


Executing Test_window_cmd_cmdwin_with_vsp()


Executing Test_window_cmd_ls0_with_split()


Executing Test_window_cmd_wincmd_gf()
"test_gf.txt" 0L, 0C
W19: Deleting augroup that is still in use
Executing Test_window_contents()Already only one window1

2

3

4

5

6

7

8

9

10

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       50

51

52

53

54

55

56

57

58

59

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       59

60

61

62

63

64

65

66

67

68

[No Name] [+]                                                                   ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               [No Name]                                                                       Executing Test_window_exchange()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_height()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_horizontal_split()jump_tag()"help.txt" [readonly] line 1 of 225 --0%-- col 1
"uganda.txt" [readonly] 288L, 14024C
"intro.txt" [readonly] 909L, 39223C
48 buffers wiped outExecuting Test_window_newtab()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_preview()
"Xa" [New File]Executing Test_window_quit()
"Xa" [New File]b
2 buffers wiped out
Executing Test_window_rotate()
"Xa" [New File]bc
3 buffers wiped out
Executing Test_window_split_edit_alternate()
"Xa" [New File]ba
2 buffers wiped out
Executing Test_window_vertical_split()width()"Xa" [New File]bc
3 buffers wiped out
Executing Test_with_directories()
"Xdir1/file" [New File][New] 2L, 4C written
"Xdir3/Xdir4/file"[New] 2L, 4C written2L, 4C
"Xdir?/*/nofile" [New DIRECTORY]
"foo" [New File]Executing Test_with_partial_callback()[?25h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?2004l[?2004h[?25ltilde()rong_arguments()yank_move_change():[?2004h'<,'>call MoveSelectionDown(v:count1)
Executing Test_yank_put_clipboard()
3 more linesExecuting Test_z()
"Xdir?/*/nofile" [New DIRECTORY]
Executing Test_z_negative_lnum()overflow()"test_alot.res" [New File][New] 0L, 0C written
Executed 328 tests"messages" 1022L, 27804C1353L, 38420C written
[?2004l

[?2004l[?1l>[?25h[?1049l

From test_arabic.vim:
Executing Test_arabic_input()
Executing Test_arabic_toggle()
Executing Test_arabic_toggle_keymap()
Executing Test_delcombine()
Executing Test_shape_combination_final()
Executing Test_shape_combination_isolated()
Executing Test_shape_final()
Executing Test_shape_final_to_medial()
Executing Test_shape_initial()
Executing Test_shape_iso_to_medial()
Executing Test_shape_isolated()
Executed 11 tests

From test_arglist.vim:
Executing Test_arg_all_expand()
Executing Test_argadd()
Executing Test_argc()
Executing Test_argdelete()
Executing Test_argedit()
Executing Test_argidx()
Executing Test_arglist_autocmd()
Executing Test_arglistid()
Executing Test_argpos()
Executing Test_argument()
Executing Test_argv()
Executing Test_zero_argadd()
Executed 12 tests

From test_assert.vim:
Executing Test_assert_equal()
Executing Test_assert_exception()
Executing Test_assert_fail_fails()
Executing Test_assert_false()
Executing Test_assert_inrange()
Executing Test_assert_notequal()
Executing Test_assert_report()
Executing Test_assert_true()
Executing Test_assert_with_msg()
Executing Test_compare_fail()
Executing Test_match()
Executing Test_notmatch()
Executing Test_override()
Executing Test_user_is_happy()
Executing Test_wrong_error_type()
Executed 15 tests

From test_autochdir.vim:
Executing Test_set_filename()
Executed 1 test

From test_autocmd.vim:
Executing Test_BufEnter()
Executing Test_BufleaveWithDelete()
Executing Test_OptionSet()
Executing Test_OptionSet_diffmode()
Executing Test_OptionSet_diffmode_close()
Executing Test_augroup_deleted()
Executing Test_augroup_warning()
Executing Test_autocmd_bufunload_avoiding_SEGV_01()
Executing Test_autocmd_bufunload_avoiding_SEGV_02()
Executing Test_autocmd_bufunload_with_tabnext()
Executing Test_autocmd_bufwinleave_with_tabfirst()
Executing Test_autocmd_bufwipe_in_SessLoadPost()
Executing Test_autocmd_bufwipe_in_SessLoadPost2()
Executing Test_bufunload()
Executing Test_cursorhold_insert()
Executing Test_cursorhold_insert_ctrl_x()
Executing Test_early_bar()
Executing Test_empty_doau()
Executing Test_three_windows()
Executing Test_vim_did_enter()
Executing Test_win_tab_autocmd()
Executed 21 tests

From test_backspace_opt.vim:
Executing Test_backspace_option()
Executed 1 test

From test_breakindent.vim:
Executing Test_breakindent01()
Executing Test_breakindent02()
Executing Test_breakindent03()
Executing Test_breakindent04()
Executing Test_breakindent05()
Executing Test_breakindent06()
Executing Test_breakindent07()
Executing Test_breakindent07a()
Executing Test_breakindent08()
Executing Test_breakindent08a()
Executing Test_breakindent09()
Executing Test_breakindent10()
Executing Test_breakindent11()
Executing Test_breakindent12()
Executing Test_breakindent13()
Executing Test_breakindent14()
Executing Test_breakindent15()
Executing Test_breakindent16()
Executed 18 tests

From test_bufwintabinfo.vim:
Executing Test_get_buf_options()
Executing Test_get_win_options()
Executing Test_getbufwintabinfo()
Executed 3 tests

From test_cdo.vim:
Executing Test_cdo()
Executing Test_ldo()
Executed 2 tests

From test_channel.vim:
Executed 0 test

From test_charsearch.vim:
Executing Test_charsearch()
Executing Test_search_cmds()
Executed 2 tests

From test_cindent.vim:
Executing Test_cindent_expr()
Executing Test_cindent_rawstring()
Executing Test_cino_extern_c()
Executing Test_cino_hash()
Executed 4 tests

From test_clientserver.vim:
Executed 0 test

From test_cmdline.vim:
Executing Test_cmdline_complete_user_cmd()
Executing Test_cmdline_complete_wildoptions()
Executing Test_cmdline_search_range()
Executing Test_complete_list()
Executing Test_complete_tab()
Executing Test_complete_wildmenu()
Executing Test_expand_star_star()
Executing Test_expr_completion()
Executing Test_getcmdtype()
Executing Test_getcompletion()
Executing Test_highlight_completion()
Executing Test_illegal_address1()
Executing Test_illegal_address2()
Executing Test_map_completion()
Executing Test_match_completion()
Executing Test_paste_in_cmdline()
Executing Test_remove_char_in_cmdline()
Executing Test_verbosefile()
Executed 18 tests

From test_command_count.vim:
Executing Test_command_count_0()
Executing Test_command_count_1()
Executing Test_command_count_2()
Executing Test_command_count_3()
Executing Test_command_count_4()
Executed 5 tests

From test_crypt.vim:
Executing Test_crypt_blowfish()
Executing Test_crypt_blowfish2()
Executing Test_crypt_zip()
Executing Test_head_only_2()
Executing Test_head_only_3()
Executing Test_uncrypt_blowfish()
Executing Test_uncrypt_blowfish2()
Executing Test_uncrypt_zip()
Executed 8 tests

From test_cscope.vim:
Executed 0 test

From test_curswant.vim:
Executing Test_curswant()
Executed 1 test

From test_diffmode.vim:
Executing Test_diff_fold_sync()
Executing Test_diff_lastline()
Executing Test_diff_move_to()
Executing Test_diff_nomodifiable()
Executing Test_diff_too_many_buffers()
Executing Test_diffexpr()
Executing Test_diffget_diffput()
Executing Test_diffoff()
Executing Test_diffoff_hidden()
Executing Test_diffopt_context()
Executing Test_diffopt_horizontal()
Executing Test_diffopt_icase()
Executing Test_diffopt_iwhite()
Executing Test_diffopt_vertical()
Executing Test_diffpatch()
Executing Test_dp_do_buffer()
Executing Test_filler_lines()
Executing Test_setting_cursor()
Executing Test_vert_split()
Executed 19 tests

From test_digraph.vim:
Executing Test_digraph_cmndline()
Executing Test_digraphs()
Executing Test_digraphs_option()
Executing Test_digraphs_output()
Executing Test_loadkeymap()
Executed 5 tests

From test_display.vim:
Executing Test_display_foldcolumn()
Executing Test_display_foldtext_mbyte()
Executed 2 tests

From test_edit.vim:
Executing Test_edit_00a_CTRL_A()
Executing Test_edit_00b()
Executing Test_edit_01()
Executing Test_edit_02()
Executing Test_edit_03()
Executing Test_edit_04()
Executing Test_edit_05()
Executing Test_edit_06()
Executing Test_edit_07()
Executing Test_edit_08()
Executing Test_edit_09()
Executing Test_edit_10()
Executing Test_edit_11()
Executing Test_edit_12()
Executing Test_edit_13()
Executing Test_edit_CR()
Executing Test_edit_CTRL_()
Executing Test_edit_CTRL_EY()
Executing Test_edit_CTRL_G()
Executing Test_edit_CTRL_I()
Executing Test_edit_CTRL_K()
Executing Test_edit_CTRL_L()
Executing Test_edit_CTRL_N()
Executing Test_edit_CTRL_O()
Executing Test_edit_CTRL_R()
Executing Test_edit_CTRL_S()
Executing Test_edit_CTRL_T()
Executing Test_edit_CTRL_U()
Executing Test_edit_CTRL_V()
Executing Test_edit_CTRL_Z()
Executing Test_edit_DROP()
Executing Test_edit_F1()
Executing Test_edit_F21()
Executing Test_edit_HOME_END()
Executing Test_edit_INS()
Executing Test_edit_LEFT_RIGHT()
Executing Test_edit_MOUSE()
Executing Test_edit_PAGEUP_PAGEDOWN()
Executing Test_edit_complete_very_long_name()
Executing Test_edit_forbidden()
Executing Test_edit_rightleft()
Executed 41 tests

From test_farsi.vim:
Executing Test_command_line_farsi()
Executing Test_farsi_map()
Executing Test_farsi_toggle()
Executing Test_input_farsi()
Executed 4 tests

From test_file_size.vim:
Executing Test_File_Size()
Executed 1 test

From test_fnameescape.vim:
Executing Test_fnameescape()
Executed 1 test

From test_fold.vim:
Executing Test_address_fold()
Executing Test_combining_folds_indent()
Executing Test_combining_folds_marker()
Executing Test_fold_error()
Executing Test_folddoopen_folddoclosed()
Executing Test_folds_marker_in_comment()
Executing Test_foldtext_recursive()
Executing Test_indent_fold()
Executing Test_indent_fold2()
Executing Test_indent_fold_with_read()
Executing Test_manual_fold_with_filter()
Executing Test_move_folds_around_indent()
Executing Test_move_folds_around_manual()
Executing Test_update_folds_expr_read()
Executed 14 tests

From test_getvar.vim:
Executing Test_var()
Executed 1 test

From test_gf.vim:
Executing Test_gF()
Executing Test_gf_url()
Executed 2 tests

From test_gn.vim:
Executing Test_gn_command()
Executed 1 test

From test_gui.vim:
Executed 0 test

From test_gui_init.vim:
Executed 0 test

From test_hardcopy.vim:
Executing Test_fname_with_spaces()
Executing Test_printheader_parsing()
Executing Test_printmbfont_parsing()
Executing Test_printoptions_parsing()
Executing Test_with_syntax()
Executed 5 tests

From test_help.vim:
Executing Test_help_errors()
Executing Test_help_keyword()
Executing Test_help_restore_snapshot()
Executed 3 tests

From test_hide.vim:
Executing Test_hide()
Executed 1 test

From test_highlight.vim:
Executing Test_highlight()
Executed 1 test

From test_history.vim:
Executing Test_History()
Executing Test_Search_history_window()
Executed 2 tests

From test_hlsearch.vim:
Executing Test_hlsearch()
Executing Test_hlsearch_hangs()
Executed 2 tests

From test_increment.vim:
Executing Test_normal_increment_01()
Executing Test_normal_increment_02()
Executing Test_normal_increment_03()
Executing Test_visual_increment_01()
Executing Test_visual_increment_02()
Executing Test_visual_increment_03()
Executing Test_visual_increment_04()
Executing Test_visual_increment_05()
Executing Test_visual_increment_06()
Executing Test_visual_increment_07()
Executing Test_visual_increment_08()
Executing Test_visual_increment_09()
Executing Test_visual_increment_10()
Executing Test_visual_increment_11()
Executing Test_visual_increment_12()
Executing Test_visual_increment_13()
Executing Test_visual_increment_14()
Executing Test_visual_increment_15()
Executing Test_visual_increment_16()
Executing Test_visual_increment_17()
Executing Test_visual_increment_18()
Executing Test_visual_increment_19()
Executing Test_visual_increment_20()
Executing Test_visual_increment_21()
Executing Test_visual_increment_22()
Executing Test_visual_increment_23()
Executing Test_visual_increment_24()
Executing Test_visual_increment_25()
Executing Test_visual_increment_26()
Executing Test_visual_increment_27()
Executing Test_visual_increment_28()
Executing Test_visual_increment_29()
Executing Test_visual_increment_30()
Executing Test_visual_increment_31()
Executing Test_visual_increment_32()
Executing Test_visual_increment_33()
Executing Test_visual_increment_34()
Executing Test_visual_increment_35()
Executing Test_visual_increment_36()
Executing Test_visual_increment_37()
Executing Test_visual_increment_38()
Executed 41 tests

From test_increment_dbcs.vim:
Executing Test_increment_dbcs_1()
Executed 1 test

From test_job_fails.vim:
Executing Test_job_start_fails()
Executed 1 test

From test_json.vim:
Executing Test_js_decode()
Executing Test_js_encode()
Executing Test_json_decode()
Executing Test_json_encode()
Executed 4 tests

From test_langmap.vim:
Executing Test_langmap()
Executed 1 test

From test_let.vim:
Executing Test_let()
Executed 1 test

From test_lineending.vim:
Executing Test_lineending()
Executed 1 test

From test_listlbr.vim:
Executing Test_block_replace_after_wrapping()
Executing Test_linebreak_with_conceal()
Executing Test_linebreak_with_list()
Executing Test_linebreak_with_nolist()
Executing Test_list_with_listchars()
Executing Test_list_with_tab_and_skipping_first_chars()
Executing Test_norm_after_block_visual()
Executing Test_set_linebreak()
Executing Test_should_break()
Executing Test_undo_after_block_visual()
Executing Test_virtual_block()
Executing Test_virtual_block_and_vbA()
Executing Test_virtual_char_and_block()
Executed 13 tests

From test_listlbr_utf8.vim:
Executing Test_chinese_char_on_wrap_column()
Executing Test_colorcolumn_priority()
Executing Test_illegal_byte_and_breakat()
Executing Test_linebreak_with_fancy_listchars()
Executing Test_linebreak_with_nolist()
Executing Test_list_and_concealing1()
Executing Test_list_and_concealing2()
Executing Test_multibyte_sign_and_colorcolumn()
Executing Test_multibyte_wrap_and_breakat()
Executing Test_nolinebreak_with_list()
Executing Test_screenattr_for_comment()
Executing Test_visual_block_and_selection_exclusive()
Executed 12 tests

From test_lua.vim:
Executing Test_luado()
Executed 1 test

From test_makeencoding.vim:
Executed 0 test

From test_man.vim:
Executing Test_g_ft_man_open_mode()
Executing Test_nomodifiable()
Executed 2 tests

From test_marks.vim:
Executing Test_Incr_Marks()
Executing Test_Restore_DelMark()
Executing Test_setpos()
Executed 3 tests

From test_matchadd_conceal.vim:
Executing Test_clearmatches()
Executing Test_default_conceal_char()
Executing Test_matchadd_and_conceallevel_3()
Executing Test_matchadd_and_syn_conceal()
Executing Test_matchadd_repeat_conceal_with_syntax_off()
Executing Test_simple_matchadd()
Executing Test_simple_matchadd_and_conceal()
Executing Test_syn_and_match_conceal()
Executing Test_using_matchaddpos()
Executed 9 tests

From test_mksession.vim:
Executing Test_mksession()
Executing Test_mksession_arglist()
Executing Test_mksession_one_buffer_two_windows()
Executing Test_mksession_winheight()
Executed 4 tests

From test_mksession_utf8.vim:
Executing Test_mksession_utf8()
Executed 1 test

From test_nested_function.vim:
Executing Test_max_nesting()
Executing Test_nested_argument()
Executing Test_nested_functions()
Executed 3 tests

From test_netbeans.vim:
Executed 0 test

From test_normal.vim:
Executing Test_delete_until_paragraph()
Executing Test_normal00_optrans()
Executing Test_normal01_keymodel()
Executing Test_normal02_selectmode()
Executing Test_normal02_selectmode2()
Executing Test_normal03_join()
Executing Test_normal04_filter()
Executing Test_normal05_formatexpr()
Executing Test_normal05_formatexpr_newbuf()
Executing Test_normal05_formatexpr_setopt()
Executing Test_normal06_formatprg()
Executing Test_normal07_internalfmt()
Executing Test_normal08_fold()
Executing Test_normal09_operatorfunc()
Executing Test_normal09a_operatorfunc()
Executing Test_normal10_expand()
Executing Test_normal11_showcmd()
Executing Test_normal12_nv_error()
Executing Test_normal13_help()
Executing Test_normal14_page()
Executing Test_normal14_page_eol()
Executing Test_normal15_z_scroll_vert()
Executing Test_normal16_z_scroll_hor()
Executing Test_normal17_z_scroll_hor2()
Executing Test_normal18_z_fold()
Executing Test_normal19_z_spell()
Executing Test_normal20_exmode()
Executing Test_normal21_nv_hat()
Executing Test_normal22_zet()
Executing Test_normal23_K()
Executing Test_normal24_rot13()
Executing Test_normal25_tag()
Executing Test_normal26_put()
Executing Test_normal27_bracket()
Executing Test_normal28_parenthesis()
Executing Test_normal29_brace()
Executing Test_normal30_changecase()
    Skipped
Executing Test_normal31_r_cmd()
Executing Test_normal32_g_cmd1()
Executing Test_normal33_g_cmd2()
Executing Test_normal34_g_cmd3()
Executing Test_normal35_g_cmd4()
    Skipped
Executing Test_normal36_g_cmd5()
Executing Test_normal37_g_cmd6()
Executing Test_normal38_nvhome()
Executing Test_normal39_cw()
Executing Test_normal40_ctrl_bsl()
Executing Test_normal41_insert_reg()
Executing Test_normal42_halfpage()
Executing Test_normal43_textobject1()
Executing Test_normal44_textobjects2()
Executing Test_normal45_drop()
Executing Test_normal46_ignore()
Executing Test_normal47_autocmd()
    Skipped
Executing Test_normal47_visual_buf_wipe()
Executing Test_normal48_wincmd()
Executing Test_normal49_counts()
Executing Test_normal50_commandline()
Executing Test_normal51_FileChangedRO()
Executing Test_normal52_rl()
Executing Test_normal53_digraph()
Executing Test_normal54_Ctrl_bsl()
Executing Test_normal_8g8()
Executing Test_normal_large_count()
Executed 64 tests
SKIPPED Test_normal30_changecase(): Turkish locale not available
SKIPPED Test_normal35_g_cmd4(): output of g< can't be tested currently
SKIPPED Test_normal47_autocmd(): not possible to test cursorhold autocmd while waiting for input in normal_cmd

From test_number.vim:
Executing Test_number()
Executing Test_number_with_linewrap1()
Executing Test_number_with_relativenumber()
Executing Test_numberwidth()
Executing Test_numberwidth_adjusted()
Executing Test_relativenumber()
Executing Test_set_global_and_local()
Executing Test_set_options()
Executed 8 tests

From test_options.vim:
Executing Test_cinkeys()
Executing Test_complete()
Executing Test_dictionary()
Executing Test_filetype_valid()
Executing Test_isfname()
Executing Test_keymap_valid()
Executing Test_options()
Executing Test_path_keep_commas()
Executing Test_set_all()
Executing Test_set_completion()
Executing Test_set_errors()
Executing Test_set_indentexpr()
Executing Test_set_ttytype()
Executing Test_set_values()
Executing Test_signcolumn()
Executing Test_syntax_valid()
Executing Test_thesaurus()
Executing Test_whichwrap()
Executing Test_wildchar()
Executed 19 tests

From test_packadd.vim:
Executing Test_colorscheme()
Executing Test_colorscheme_completion()
Executing Test_helptags()
Executing Test_packadd()
Executing Test_packadd_completion()
Executing Test_packadd_noload()
Executing Test_packadd_symlink_dir()
Executing Test_packloadall()
Executing Test_runtime()
Executed 9 tests

From test_paste.vim:
Executing Test_paste_cmdline()
Executing Test_paste_insert_mode()
Executing Test_paste_normal_mode()
Executing Test_paste_visual_mode()
Executed 4 tests

From test_perl.vim:
Executing Test_SvREFCNT()
Executing Test_VIM_Buffers()
Executing Test_VIM_Windows()
Executing Test_VIM_package()
Executing Test_buffer_Append()
Executing Test_buffer_Count()
Executing Test_buffer_Delete()
Executing Test_buffer_Get()
Executing Test_buffer_Name()
Executing Test_buffer_Number()
Executing Test_buffer_Set()
Executing Test_change_buffer()
Executing Test_evaluate_list()
Executing Test_perldo()
Executing Test_perleval()
Executing Test_stdio()
Executing Test_window_Cursor()
Executing Test_window_SetHeight()
Executed 18 tests

From test_preview.vim:
Executing Test_Psearch()
Executed 1 test

From test_profile.vim:
Executing Test_profile_completion()
Executing Test_profile_errors()
Executing Test_profile_file()
Executing Test_profile_func()
Executed 4 tests

From test_python2.vim:
Executed 0 test

From test_python3.vim:
Executing Test_py3do()
Executed 1 test

From test_pyx2.vim:
Executed 0 test

From test_pyx3.vim:
Executing Test_has_pythonx()
Executing Test_pyx()
Executing Test_pyxdo()
Executing Test_pyxeval()
Executing Test_pyxfile()
Executed 5 tests

From test_quickfix.vim:
Executing Test_Autocmd()
Executing Test_Autocmd_Exception()
Executing Test_Multi_LL_Help()
Executing Test_Qf_Size()
Executing Test_add_qf()
Executing Test_adjust_lnum()
Executing Test_browse()
Executing Test_bufoverflow()
Executing Test_caddbuffer_to_empty()
Executing Test_caddbuffer_wrong()
Executing Test_caddexpr_wrong()
Executing Test_cage()
Executing Test_cbottom()
Executing Test_cbuffer()
Executing Test_cclose_from_copen()
Executing Test_cclose_in_autocmd()
Executing Test_cexpr()
Executing Test_cfile()
Executing Test_cgetexpr_works()
Executing Test_changedtick()
Executing Test_clist()
Executing Test_cwindow()
Executing Test_cwindow_jump()
Executing Test_dirstack_cleanup()
Executing Test_duplicate_buf()
Executing Test_efm()
Executing Test_efm1()
Executing Test_efm2()
Executing Test_efm_dirstack()
Executing Test_efm_ignore_continuations()
Executing Test_errortitle()
Executing Test_get_list_from_lines()
Executing Test_grep()
Executing Test_helpgrep()
Executing Test_history()
Executing Test_invalid_efm()
Executing Test_locationlist()
Executing Test_locationlist_cross_tab_jump()
Executing Test_locationlist_curwin_was_closed()
Executing Test_long_lines()
Executing Test_multidirstack()
Executing Test_multifilestack()
Executing Test_nomem()
Executing Test_perbuf_efm()
Executing Test_qf_free()
Executing Test_qf_id()
Executing Test_qf_property()
Executing Test_qf_title()
Executing Test_quickfix_set_list_with_act()
Executing Test_quickfix_was_changed_by_autocmd()
Executing Test_resize_from_copen()
Executing Test_setexpr()
Executing Test_setqflist()
Executing Test_setqflist_empty_middle()
Executing Test_setqflist_empty_older()
Executing Test_switchbuf()
Executing Test_two_windows()
Executing Test_vimgrep()
Executing Test_vimgreptitle()
Executed 59 tests

From test_quotestar.vim:
Executed 0 test

From test_retab.vim:
Executing Test_retab()
Executing Test_retab_error()
Executed 2 tests

From test_registers.vim:
Executing Test_yank_shows_register()
Executed 1 test

From test_ruby.vim:
Executing Test_ruby_change_buffer()
Executing Test_ruby_evaluate_dict()
Executing Test_ruby_evaluate_list()
Executing Test_rubydo()
Executed 4 tests

From test_scrollbind.vim:
Executing Test_scrollbind()
Executed 1 test

From test_search.vim:
Executing Test_search_cmdline()
Executing Test_search_cmdline2()
Executing Test_search_cmdline3()
Executing Test_search_cmdline4()
Executing Test_searchc()
Executing Test_searchpair()
Executing Test_use_sub_pat()
Executed 7 tests

From test_signs.vim:
Executing Test_sign()
Executing Test_sign_completion()
Executing Test_sign_delete_buffer()
Executing Test_sign_invalid_commands()
Executing Test_sign_undefine_still_placed()
Executed 5 tests

From test_smartindent.vim:
Executing Test_nosmartindent()
Executing Test_smartindent_has_no_effect()
Executed 2 tests

From test_spell.vim:
Executing Test_spellreall()
Executing Test_wrap_search()
Executing Test_z_equal_on_invalid_utf8_word()
Executing Test_zeq_crash()
Executing Test_zz_NOSLITSUGS()
Executing Test_zz_Numbers()
Executing Test_zz_affix()
Executing Test_zz_basic()
Executing Test_zz_compound()
Executing Test_zz_prefixes()
Executing Test_zz_sal_and_addition()
Executed 11 tests

From test_startup.vim:
Executing Test_after_comes_later()
Executing Test_compatible_args()
Executing Test_default_term()
Executing Test_file_args()
Executing Test_help_arg()
Executing Test_pack_in_rtp_when_plugins_run()
Executing Test_progpath()
Executing Test_read_stdin()
Executing Test_silent_ex_mode()
Executing Test_startup_script()
Executing Test_startuptime()
Executed 11 tests

From test_startup_utf8.vim:
Executing Test_read_fifo_utf8()
Executing Test_read_stdin_utf8()
Executed 2 tests

From test_stat.vim:
Executing Test_checktime()
Executing Test_existent_directory()
Executing Test_existent_file()
Executing Test_nonexistent_file()
Executing Test_win32_symlink_dir()
Executed 5 tests

From test_substitute.vim:
Executing Test_multiline_subst()
Executing Test_sub_replace_1()
Executing Test_sub_replace_10()
Executing Test_sub_replace_2()
Executing Test_sub_replace_3()
Executing Test_sub_replace_4()
Executing Test_sub_replace_5()
Executing Test_sub_replace_6()
Executing Test_sub_replace_7()
Executing Test_sub_replace_8()
Executing Test_sub_replace_9()
Executing Test_substitute_repeat()
Executing Test_substitute_variants()
Executed 13 tests

From test_syntax.vim:
Executing Test_bg_detection()
Executing Test_conceal()
Executing Test_highlight_invalid_arg()
Executing Test_invalid_name()
Executing Test_ownsyntax()
Executing Test_ownsyntax_completion()
Executing Test_syn_clear()
Executing Test_syn_iskeyword()
Executing Test_syn_sync()
Executing Test_synstack_synIDtrans()
Executing Test_syntax_after_reload()
Executing Test_syntax_arg_skipped()
Executing Test_syntax_completion()
Executing Test_syntax_hangs()
Executing Test_syntax_invalid_arg()
Executing Test_syntax_list()
Executing Test_syntime()
Executed 17 tests

From test_system.vim:
Executing Test_System()
Executing Test_system_exmode()
Executed 2 tests

From test_tcl.vim:
Executing Test_tcldo()
Executed 1 test

From test_terminal.vim:
Executing Test_finish_open_close()
Executing Test_terminal_basic()
Executing Test_terminal_curwin()
Executing Test_terminal_cwd()
Executing Test_terminal_env()
Executing Test_terminal_hide_buffer()
Executing Test_terminal_list_args()
Executing Test_terminal_make_change()
Executing Test_terminal_nasty_cb()
Executing Test_terminal_no_cmd()
Executing Test_terminal_noblock()
Executing Test_terminal_redir_file()
Executing Test_terminal_scrape_123()
Executing Test_terminal_scrape_multibyte()
Executing Test_terminal_scroll()
Executing Test_terminal_size()
Executing Test_terminal_special_chars()
Executing Test_terminal_split_quit()
Executing Test_terminal_tmap()
Executing Test_terminal_wipe_buffer()
Executing Test_terminal_write_stdin()
Executing Test_terminal_wrong_options()
Executing Test_zz_terminal_in_gui()
Executed 23 tests

From test_terminal_fail.vim:
Executing Test_terminal_redir_fails()
Executed 1 test

From test_textobjects.vim:
Executing Test_inner_block_with_cpo_M_left_backslash()
Executing Test_inner_block_with_cpo_M_right_backslash()
Executing Test_inner_block_without_cpo_M()
Executing Test_quote_selection_selection_exclusive()
Executed 4 tests

From test_undo.vim:
Executing Test_U_command()
Executing Test_global_local_undolevels()
Executing Test_insert_expr()
Executing Test_undo_del_chars()
Executing Test_undo_write()
Executing Test_undofile_earlier()
Executing Test_undojoin()
Executing Test_undojoin_redo()
Executing Test_undolist()
Executing Test_undotree()
Executed 10 tests

From test_usercommands.vim:
Executing Test_Ambiguous()
Executing Test_CmdCompletion()
Executing Test_CmdErrors()
Executing Test_CmdUndefined()
Executing Test_cmdmods()
Executed 5 tests

From test_viminfo.vim:
Executing Test_cmdline_history()
Executing Test_cmdline_history_order()
Executing Test_global_vars()
Executing Test_viminfo_bad_syntax()
Executing Test_viminfo_encoding()
Executing Test_viminfo_file_mark_tabclose()
Executing Test_viminfo_file_mark_zero_time()
Executing Test_viminfo_file_marks()
Executing Test_viminfo_jumplist()
Executing Test_viminfo_marks()
Executing Test_viminfo_oldfiles()
Executing Test_viminfo_read_and_write()
Executing Test_viminfo_registers()
Executed 13 tests

From test_vimscript.vim:
Executing Test_arg_abort()
Executing Test_bitwise_functions()
Executing Test_braces_skipped()
Executing Test_curlies()
Executing Test_defining_functions()
Executing Test_delfunction_force()
Executing Test_echo_and_string()
Executing Test_endfunction_trailing()
Executing Test_endwhile_function()
Executing Test_endwhile_script()
Executing Test_error_in_function()
Executing Test_error_in_script()
Executing Test_expr_parsing()
Executing Test_finish()
Executing Test_func_abort()
Executing Test_if_bar_fail()
Executing Test_if_fail()
Executing Test_if_while()
Executing Test_num64()
Executing Test_return()
Executing Test_script_emty_line_continuation()
Executing Test_script_lines()
Executing Test_script_local_func()
Executing Test_skip()
Executing Test_type()
Executing Test_user_command_with_bang()
Executing Test_while_fail()
Executed 27 tests

From test_visual.vim:
Executing Test_Visual_ctrl_o()
Executing Test_Visual_inner_quote()
Executing Test_Visual_vapo()
Executing Test_block_shift_multibyte()
Executing Test_block_shift_overflow()
Executing Test_dotregister_paste()
Executing Test_visual_mode_reset()
Executed 7 tests

From test_winbar.vim:
Executing Test_add_remove_menu()
Executed 1 test

From test_window_id.vim:
Executing Test_win_getid()
Executing Test_win_getid_curtab()
Executed 2 tests

From test_windows_home.vim:
Executed 0 test

From test_writefile.vim:
Executing Test_writefile()
Executing Test_writefile_fails_conversion()
Executing Test_writefile_fails_gently()
Executed 3 tests

From test_alot_latin.vim:
Executing Test_backref()
Executing Test_eow_with_optional()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_nested_backrefs()
Executing Test_recursive_substitute()
Executed 6 tests

From test_alot_utf8.vim:
Executing Test_classes_re1()
Executing Test_classes_re2()
Executing Test_comparisons()
Executing Test_customlist_completion()
Executing Test_equivalence_re1()
Executing Test_equivalence_re2()
Executing Test_gap()
Executing Test_getvcol()
Executing Test_large_class()
Executing Test_match_using_multibyte_conceal_char()
Executing Test_reversed_range()
Executing Test_search_cmds()
Executing Test_source_latin()
Executing Test_source_utf8()
Executing Test_strcharpart()
Executing Test_strchars()
Executing Test_strgetchar()
Executing Test_visual_block_insert()
Executed 18 tests

From test_alot.vim:
Executing Test_abbr_after_line_join()
Executing Test_abbreviation()
Executing Test_abs()
Executing Test_acos()
Executing Test_asin()
Executing Test_atan()
Executing Test_atan2()
Executing Test_auto_partial_rebind()
Executing Test_balloon_show()
Executing Test_bind_in_python()
Executing Test_break_undo()
Executing Test_bufexists()
Executing Test_byte2line_line2byte()
Executing Test_cancel_ptjump()
Executing Test_caught_error_in_statusline()
Executing Test_caught_error_in_tabline()
Executing Test_cd_large_path()
Executing Test_cd_up_and_down()
Executing Test_ceil()
Executing Test_changedtick_bdel()
Executing Test_changedtick_dict_entry()
Executing Test_changedtick_fixed()
Executing Test_changedtick_increments()
Executing Test_changedtick_islocked()
Executing Test_changenr()
Executing Test_close_on_quitpre()
Executing Test_closure_counter()
Executing Test_closure_refcount()
Executing Test_closure_unlet()
Executing Test_col()
Executing Test_color_names()
Executing Test_compare_null_dict()
Executing Test_compare_partials()
Executing Test_compl_vim_cmds_after_register_expr()
Executing Test_complete_CTRLN_startofbuffer()
Executing Test_complete_func_mess()
Executing Test_complete_no_undo()
Executing Test_completefunc_opens_new_window_one()
Executing Test_completefunc_opens_new_window_two()
Executing Test_completefunc_with_scratch_buffer()
Executing Test_completefunc_works()
Executing Test_completion_can_undo()
Executing Test_completion_clear_candidate_list()
Executing Test_completion_comment_formatting()
Executing Test_completion_ctrl_e_without_autowrap()
Executing Test_completion_respect_bs_option()
Executing Test_conf_type()
Executing Test_cos()
Executing Test_cosh()
Executing Test_count()
Executing Test_cursorline_keep_col()
Executing Test_curswant_with_autocommand()
Executing Test_cycle_partial_job()
Executing Test_cyclic_dict_arg()
Executing Test_cyclic_list_arg()
Executing Test_delete_myself()
Executing Test_detection()
Executing Test_dict()
Executing Test_dir_delete()
Executing Test_duplicate_tagjump()
Executing Test_empty()
Executing Test_empty_buffer()
Executing Test_empty_concatenate()
Executing Test_equal()
Executing Test_equalalways_on_close()
Executing Test_ex_mode()
Executing Test_ex_undo()
Executing Test_execute_list()
Executing Test_execute_string()
Executing Test_existing()
Executing Test_exp()
Executing Test_expand()
Executing Test_feedkeys_x_with_empty_string()
Executing Test_file_delete()
Executing Test_file_perm()
Executing Test_fileformat_after_bw()
Executing Test_fileformat_autocommand()
Executing Test_filetype_detection()
Executing Test_filewritable()
Executing Test_filter()
Executing Test_filter_cmd_completion()
Executing Test_filter_fails()
Executing Test_filter_map_dict_expr_funcref()
Executing Test_filter_map_dict_expr_string()
Executing Test_filter_map_list_expr_funcref()
Executing Test_filter_map_list_expr_string()
Executing Test_findfile()
Executing Test_float2nr()
Executing Test_float_misc()
Executing Test_floor()
Executing Test_fmod()
Executing Test_fnamemodify()
Executing Test_func_unref()
Executing Test_funcref()
Executing Test_function_in_dict()
Executing Test_function_with_funcref()
Executing Test_gD()
Executing Test_gD_char()
Executing Test_gD_comment()
Executing Test_gD_inline_comment()
Executing Test_gD_string()
Executing Test_gD_string_same_line()
Executing Test_gD_too()
Executing Test_ga_command()
Executing Test_gd()
Executing Test_gd_comment()
Executing Test_gd_comment_in_string()
Executing Test_gd_inline_comment()
Executing Test_gd_inline_comment_body()
Executing Test_gd_inline_comment_only()
Executing Test_gd_kr_style()
Executing Test_gd_local_block()
Executing Test_gd_missing_braces()
Executing Test_gd_not_local()
Executing Test_gd_string()
Executing Test_gd_string_in_comment()
Executing Test_gd_string_only()
Executing Test_gd_trailing_comment()
Executing Test_gd_trailing_multiline_comment()
Executing Test_get_partial_items()
Executing Test_getbufvar()
Executing Test_getpid()
Executing Test_getreg_empty_list()
Executing Test_global_local_lispwords()
Executing Test_help_complete()
Executing Test_help_respect_current_file_lang()
Executing Test_help_tagjump()
Executing Test_hlexists()
Executing Test_hostname()
Executing Test_if()
Executing Test_info()
Executing Test_input_in_timer()
Executing Test_invalid()
Executing Test_invalid_submatch()
Executing Test_isnan()
Executing Test_join_with_count()
Executing Test_keyword_jump()
Executing Test_lambda_call_lambda_from_lambda()
Executing Test_lambda_capture_by_reference()
Executing Test_lambda_circular_reference()
Executing Test_lambda_closure_counter()
Executing Test_lambda_combination()
Executing Test_lambda_delfunc()
Executing Test_lambda_do_not_share_local_variable()
Executing Test_lambda_fails()
Executing Test_lambda_feature()
Executing Test_lambda_refer_local_variable_from_other_scope()
Executing Test_lambda_scope()
Executing Test_lambda_share_scope()
Executing Test_lambda_side_effect()
Executing Test_lambda_with_a_var()
Executing Test_lambda_with_filter()
Executing Test_lambda_with_map()
Executing Test_lambda_with_partial()
Executing Test_lambda_with_sort()
Executing Test_lambda_with_timer()
Executing Test_last_buffer_nr()
Executing Test_len()
Executing Test_let_termcap()
Executing Test_load_menu()
Executing Test_log()
Executing Test_log10()
Executing Test_loop_over_null_list()
Executing Test_map_ctrl_c_insert()
Executing Test_map_ctrl_c_visual()
Executing Test_map_cursor()
Executing Test_map_feedkeys()
Executing Test_map_langmap()
Executing Test_map_meta_quotes()
Executing Test_map_timeout()
Executing Test_match()
Executing Test_match_func()
Executing Test_matchaddpos()
Executing Test_matchaddpos_using_negative_priority()
Executing Test_matchend()
Executing Test_matchlist()
Executing Test_matchstr()
Executing Test_matchstrpos()
Executing Test_max()
Executing Test_max_min_errors()
Executing Test_messages()
Executing Test_min()
Executing Test_missing_attr()
Executing Test_mode()
Executing Test_move_cursor()
Executing Test_named_function_closure()
Executing Test_nested_global()
Executing Test_next_split_all()
Executing Test_nextnonblank_prevnonblank()
Executing Test_no_type_checking()
Executing Test_noinsert_complete()
Executing Test_non_zero_arg()
Executing Test_not_existing()
Executing Test_not_lamda()
Executing Test_omnifunc_with_check()
Executing Test_oneshot()
Executing Test_option_value()
Executing Test_other_type()
Executing Test_partial_args()
Executing Test_partial_dict()
Executing Test_partial_exists()
Executing Test_partial_implicit()
Executing Test_partial_string()
Executing Test_paste_end_of_line()
Executing Test_paused()
Executing Test_peek_and_get_char()
Executing Test_popup_complete()
Executing Test_popup_complete2()
Executing Test_popup_completion_insertmode()
Executing Test_pow()
Executing Test_printf_64bit()
Executing Test_printf_errors()
Executing Test_printf_float()
Executing Test_printf_misc()
Executing Test_printf_spec_b()
Executing Test_printf_spec_s()
Executing Test_ptag_with_notagstack()
Executing Test_put_block()
Executing Test_put_char_block()
Executing Test_put_char_block2()
Executing Test_put_lines()
Executing Test_read_only()
Executing Test_recover_root_dir()
Executing Test_recursive_delete()
Executing Test_redefine_dict_func()
Executing Test_redo_in_nested_functions()
Executing Test_ref_job_partial_dict()
Executing Test_reltime()
Executing Test_repeat_many()
Executing Test_repeat_three()
Executing Test_retain_partial()
Executing Test_round()
Executing Test_script_detection()
Executing Test_script_function_in_dict()
Executing Test_script_function_in_dict_arg()
Executing Test_searchpos()
Executing Test_set_add()
Executing Test_set_backslash()
Executing Test_set_reg_null_list()
Executing Test_set_tagcase()
Executing Test_setbufline_getbufline()
Executing Test_setbufvar_options()
Executing Test_setline_startup()
Executing Test_setmatches()
Executing Test_sha256()
Executing Test_shellescape()
Executing Test_simplify()
Executing Test_sin()
Executing Test_sinh()
Executing Test_sort_cmd()
Executing Test_sort_default()
Executing Test_sort_float()
Executing Test_sort_nested()
Executing Test_sort_numbers()
Executing Test_sort_numeric()
Executing Test_sort_strings()
Executing Test_special_char()
Executing Test_sqrt()
Executing Test_static_tagjump()
Executing Test_statusline()
Executing Test_statusline_will_be_disabled_with_error()
Executing Test_stop_all_in_callback()
Executing Test_stop_in_callback()
Executing Test_stopall()
Executing Test_str2float()
Executing Test_str2nr()
Executing Test_strcharpart()
Executing Test_strftime()
Executing Test_strgetchar()
Executing Test_stridx()
Executing Test_strridx()
Executing Test_substitute_expr()
Executing Test_substitute_expr_arg()
Executing Test_symlink_delete()
Executing Test_symlink_dir_delete()
Executing Test_symlink_recursive_delete()
Executing Test_tabline_will_be_disabled_with_error()
Executing Test_tabnext_on_buf_unload1()
Executing Test_tabnext_on_buf_unload2()
Executing Test_tabpage()
Executing Test_tabpage_with_autocmd()
Executing Test_tabpage_with_tab_modifier()
Executing Test_tabpage_with_tabclose()
Executing Test_tabpage_with_tabnext()
Executing Test_tabpage_with_tabonly()
Executing Test_tabpage_with_tabprevious()
Executing Test_tagcase()
Executing Test_tagjump_switchbuf()
Executing Test_taglist()
Executing Test_taglist_ctags_etags()
Executing Test_taglist_native_etags()
Executing Test_tan()
Executing Test_tanh()
Executing Test_timer_catch_error()
Executing Test_timer_errors()
Executing Test_tolower()
Executing Test_tostring()
Executing Test_toupper()
Executing Test_translate_menu()
Executing Test_true_false_arg()
Executing Test_trunc()
Executing Test_unlet_fails()
Executing Test_valid()
Executing Test_version()
Executing Test_window_cmd_cmdwin_with_vsp()
Executing Test_window_cmd_ls0_with_split()
Executing Test_window_cmd_wincmd_gf()
Executing Test_window_contents()
Executing Test_window_exchange()
Executing Test_window_height()
Executing Test_window_horizontal_split()
Executing Test_window_jump_tag()
Executing Test_window_newtab()
Executing Test_window_preview()
Executing Test_window_quit()
Executing Test_window_rotate()
Executing Test_window_split_edit_alternate()
Executing Test_window_vertical_split()
Executing Test_window_width()
Executing Test_with_directories()
Executing Test_with_partial_callback()
Executing Test_with_tilde()
Executing Test_wrong_arguments()
Executing Test_yank_move_change()
Executing Test_yank_put_clipboard()
Executing Test_z()
Executing Test_z_negative_lnum()
Executing Test_z_overflow()
Executed 328 tests

Test results:
ALL DONE
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox/testdir'
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/json_test.o json_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o json_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/memfile.o objects/message.o objects/json_test.o        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./json_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/kword_test.o kword_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o kword_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/json.o objects/memfile.o objects/message.o objects/kword_test.o        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./kword_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/memfile_test.o memfile_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o memfile_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/message.o objects/memfile_test.o        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./memfile_test || exit 1; echo  passed;
passed
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/message_test.o message_test.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        version.c -o objects/version.o
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 	-o message_test objects/arabic.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/term_encoding.o objects/term_keyboard.o objects/term_mouse.o objects/term_parser.o objects/term_pen.o objects/term_screen.o objects/term_state.o objects/term_unicode.o objects/term_vterm.o objects/if_lua.o  objects/if_perl.o objects/if_perlsfio.o  objects/if_python3.o objects/if_tcl.o objects/if_ruby.o   objects/netbeans.o objects/channel.o  objects/charset.o objects/json.o objects/memfile.o objects/message_test.o        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/arm-linux-gnueabihf/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm     
link.sh: Linked fine
./message_test || exit 1; echo  passed;
passed
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-nox'
touch build-stamp-vim-nox
dh_testdir
touch build-stamp-arch
rm configure-stamp-vim-basic configure-stamp-vim-tiny configure-stamp-vim-nox configure-stamp-vim-gtk3 configure-stamp-vim-athena configure-stamp-vim-gtk
 fakeroot debian/rules binary-arch
dh_testdir
dh_testdir
dh_testdir
dh_testdir
dh_testroot
dh_testroot
dh_testroot
dh_testroot
/usr/bin/make -C src/vim-basic STRIP=: DESTDIR=/<<PKGBUILDDIR>>/debian/xxd installtools install-tool-languages
*** DEBIAN *** INSTALLING VARIANT vim-gtk
dh_installdirs
*** DEBIAN *** INSTALLING VARIANT vim-tiny
dh_installdirs
*** DEBIAN *** INSTALLING VARIANT vim-gtk3
dh_installdirs
make[1]: Entering directory '/<<PKGBUILDDIR>>/src/vim-basic'
/bin/sh install-sh -c -d /<<PKGBUILDDIR>>/debian/xxd/usr
chmod 755 /<<PKGBUILDDIR>>/debian/xxd/usr
/bin/sh install-sh -c -d /<<PKGBUILDDIR>>/debian/xxd/usr/bin
chmod 755 /<<PKGBUILDDIR>>/debian/xxd/usr/bin
/bin/sh install-sh -c -d /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim
chmod 755 /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim
/bin/sh install-sh -c -d /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80
chmod 755 /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80
/bin/sh install-sh -c -d /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools
chmod 755 /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr/man1 "-fr" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr/man1
cp src/vim-gtk3/vim src/vim-gtk3/vim.gtk3
cp src/vim-tiny/vim src/vim-tiny/vim.tiny
cp src/vim-gtk/vim src/vim-gtk/vim.gtk
# variant-related installations
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr/man1/xxd.1
for x in install postinst prerm links lintian-overrides ; do \
  case "vim-tiny" in \
    vim-nox|vim|vim-tiny) \
      sed -e "s:@PKG@:vim-tiny:" -e "s:@VARIANT@:tiny:g" \
          -e "s:@COMMON@:vim-common:" \
          debian/vim-variant.$x > debian/vim-tiny.$x ;\
      ;; \
    *) \
      sed -e "s:@PKG@:vim-tiny:" -e "s:@VARIANT@:tiny:g" \
          -e "s:@COMMON@:vim-gui-common:" \
          debian/vim-variant.$x > debian/vim-tiny.$x ;\
      ;; \
  esac \
done
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr.ISO8859-1/man1 "-fr" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr.ISO8859-1/man1
# variant-related installations
for x in install postinst prerm links lintian-overrides ; do \
  case "vim-gtk3" in \
    vim-nox|vim|vim-tiny) \
      sed -e "s:@PKG@:vim-gtk3:" -e "s:@VARIANT@:gtk3:g" \
          -e "s:@COMMON@:vim-common:" \
          debian/vim-variant.$x > debian/vim-gtk3.$x ;\
      ;; \
    *) \
      sed -e "s:@PKG@:vim-gtk3:" -e "s:@VARIANT@:gtk3:g" \
          -e "s:@COMMON@:vim-gui-common:" \
          debian/vim-variant.$x > debian/vim-gtk3.$x ;\
      ;; \
  esac \
done
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-tiny.postinst; \
done
# variant-related installations
for x in install postinst prerm links lintian-overrides ; do \
  case "vim-gtk" in \
    vim-nox|vim|vim-tiny) \
      sed -e "s:@PKG@:vim-gtk:" -e "s:@VARIANT@:gtk:g" \
          -e "s:@COMMON@:vim-common:" \
          debian/vim-variant.$x > debian/vim-gtk.$x ;\
      ;; \
    *) \
      sed -e "s:@PKG@:vim-gtk:" -e "s:@VARIANT@:gtk:g" \
          -e "s:@COMMON@:vim-gui-common:" \
          debian/vim-variant.$x > debian/vim-gtk.$x ;\
      ;; \
  esac \
done
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr.ISO8859-1/man1/xxd.1
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-gtk3.postinst; \
done
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr.UTF-8/man1 "-fr.UTF-8" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-gtk.postinst; \
done
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr.UTF-8/man1
sed -i "/@LANG_ALTS@/d" debian/vim-tiny.postinst
# fake help installation for vim-tiny
if [ "vim-tiny" = "vim-tiny" ]; then \
  /usr/bin/make -f debian/rules debian/tiny/vimrc.tiny; \
  echo "debian/tiny/doc/	usr/share/vim/vim80" >> debian/vim-tiny.install; \
  echo "debian/tiny/vimrc.tiny	etc/vim" >> debian/vim-tiny.install; \
  echo "etc/vim/vimrc.tiny	usr/share/vim/vimrc.tiny" >> debian/vim-tiny.links; \
fi
sed -i "/@LANG_ALTS@/d" debian/vim-gtk3.postinst
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/fr.UTF-8/man1/xxd.1
# fake help installation for vim-tiny
make[1]: Entering directory '/<<PKGBUILDDIR>>'
sed -i "/@LANG_ALTS@/d" debian/vim-gtk.postinst
if [ "vim-gtk3" = "vim-tiny" ]; then \
  /usr/bin/make -f debian/rules debian/tiny/vimrc.tiny; \
  echo "debian/tiny/doc/	usr/share/vim/vim80" >> debian/vim-tiny.install; \
  echo "debian/tiny/vimrc.tiny	etc/vim" >> debian/vim-tiny.install; \
  echo "etc/vim/vimrc.tiny	usr/share/vim/vimrc.tiny" >> debian/vim-tiny.links; \
fi
dh_install
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it/man1 "-it" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
# fake help installation for vim-tiny
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it/man1
if [ "vim-gtk" = "vim-tiny" ]; then \
  /usr/bin/make -f debian/rules debian/tiny/vimrc.tiny; \
  echo "debian/tiny/doc/	usr/share/vim/vim80" >> debian/vim-tiny.install; \
  echo "debian/tiny/vimrc.tiny	etc/vim" >> debian/vim-tiny.install; \
  echo "etc/vim/vimrc.tiny	usr/share/vim/vimrc.tiny" >> debian/vim-tiny.links; \
fi
dh_install
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it.ISO8859-1/man1 "-it" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it.ISO8859-1/man1
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it.ISO8859-1/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it.UTF-8/man1 "-it.UTF-8" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it.UTF-8/man1
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/it.UTF-8/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ja/man1 "-ja.UTF-8" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ja/man1
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ja/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl/man1 "-pl" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl/man1
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl.ISO8859-2/man1 "-pl" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl.ISO8859-2/man1
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl.ISO8859-2/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl.UTF-8/man1 "-pl.UTF-8" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl.UTF-8/man1
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/pl.UTF-8/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ru.KOI8-R/man1 "-ru" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ru.KOI8-R/man1
dh_link
dh_link
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ru.KOI8-R/man1/xxd.1
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ru.UTF-8/man1 "-ru.UTF-8" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ru.UTF-8/man1
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/ru.UTF-8/man1/xxd.1
if test -f /<<PKGBUILDDIR>>/debian/xxd/usr/bin/xxd; then \
  mv -f /<<PKGBUILDDIR>>/debian/xxd/usr/bin/xxd /<<PKGBUILDDIR>>/debian/xxd/usr/bin/xxd.rm; \
  rm -f /<<PKGBUILDDIR>>/debian/xxd/usr/bin/xxd.rm; \
fi
make[1]: 'install-tool-languages' is up to date.
cp xxd/xxd /<<PKGBUILDDIR>>/debian/xxd/usr/bin
: /<<PKGBUILDDIR>>/debian/xxd/usr/bin/xxd
chmod 755 /<<PKGBUILDDIR>>/debian/xxd/usr/bin/xxd
/bin/sh ./installman.sh xxd /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/man1 "" /usr/share/vim /usr/share/vim/vim80 /usr/share/vim ../runtime/doc 644 vim vimdiff evim
creating /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/man1
installing /<<PKGBUILDDIR>>/debian/xxd/usr/share/man/man1/xxd.1
cp -r ../runtime/tools/* /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools
cvs=`find /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools \( -name CVS -o -name AAPDIR \) -print`; \
      if test -n "$cvs"; then \
	 rm -rf $cvs; \
      fi
chmod 644 /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools/*
perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$perlpath+" ../runtime/tools/efm_perl.pl >/<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools/efm_perl.pl
awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$awkpath+" ../runtime/tools/mve.awk >/<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools/mve.awk; if test -z "$awkpath"; then \
	awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$awkpath+" ../runtime/tools/mve.awk >/<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools/mve.awk; if test -z "$awkpath"; then \
	awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$awkpath+" ../runtime/tools/mve.awk >/<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools/mve.awk; fi; fi
chmod 755 `grep -l "^#!" /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim/vim80/tools/*`
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src/vim-basic'
rm -r /<<PKGBUILDDIR>>/debian/xxd/usr/share/vim
for L in fr it pl ru ja; do if [ -d "/<<PKGBUILDDIR>>/debian/xxd/usr/share/man/$L.UTF-8" ]; then rm -rf "/<<PKGBUILDDIR>>/debian/xxd/usr/share/man/$L"; mv "/<<PKGBUILDDIR>>/debian/xxd/usr/share/man/$L.UTF-8" "/<<PKGBUILDDIR>>/debian/xxd/usr/share/man/$L"; fi; rm -rf "/<<PKGBUILDDIR>>/debian/xxd/usr/share/man/$L."*; done
dh_installchangelogs
dh_bugfiles -A
dh_bugfiles -A
touch install-stamp-vim-gtk3
dh_testdir
touch install-stamp-vim-gtk
dh_testdir
dh_testroot
dh_testroot
*** DEBIAN *** INSTALLING VARIANT vim-athena
dh_installdirs
*** DEBIAN *** INSTALLING VARIANT vim-nox
dh_installdirs
cat debian/tiny/vimrc.tiny.in | sed 's/@VIMCUR@/vim80/' > debian/tiny/vimrc.tiny
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_install
dh_installdocs
cp src/vim-athena/vim src/vim-athena/vim.athena
cp src/vim-nox/vim src/vim-nox/vim.nox
# variant-related installations
# variant-related installations
for x in install postinst prerm links lintian-overrides ; do \
  case "vim-athena" in \
    vim-nox|vim|vim-tiny) \
      sed -e "s:@PKG@:vim-athena:" -e "s:@VARIANT@:athena:g" \
          -e "s:@COMMON@:vim-common:" \
          debian/vim-variant.$x > debian/vim-athena.$x ;\
      ;; \
    *) \
      sed -e "s:@PKG@:vim-athena:" -e "s:@VARIANT@:athena:g" \
          -e "s:@COMMON@:vim-gui-common:" \
          debian/vim-variant.$x > debian/vim-athena.$x ;\
      ;; \
  esac \
done
for x in install postinst prerm links lintian-overrides ; do \
  case "vim-nox" in \
    vim-nox|vim|vim-tiny) \
      sed -e "s:@PKG@:vim-nox:" -e "s:@VARIANT@:nox:g" \
          -e "s:@COMMON@:vim-common:" \
          debian/vim-variant.$x > debian/vim-nox.$x ;\
      ;; \
    *) \
      sed -e "s:@PKG@:vim-nox:" -e "s:@VARIANT@:nox:g" \
          -e "s:@COMMON@:vim-gui-common:" \
          debian/vim-variant.$x > debian/vim-nox.$x ;\
      ;; \
  esac \
done
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-nox.postinst; \
done
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim-athena.postinst; \
done
sed -i "/@LANG_ALTS@/d" debian/vim-nox.postinst
sed -i "/@LANG_ALTS@/d" debian/vim-athena.postinst
# fake help installation for vim-tiny
# fake help installation for vim-tiny
if [ "vim-nox" = "vim-tiny" ]; then \
  /usr/bin/make -f debian/rules debian/tiny/vimrc.tiny; \
  echo "debian/tiny/doc/	usr/share/vim/vim80" >> debian/vim-tiny.install; \
  echo "debian/tiny/vimrc.tiny	etc/vim" >> debian/vim-tiny.install; \
  echo "etc/vim/vimrc.tiny	usr/share/vim/vimrc.tiny" >> debian/vim-tiny.links; \
fi
if [ "vim-athena" = "vim-tiny" ]; then \
  /usr/bin/make -f debian/rules debian/tiny/vimrc.tiny; \
  echo "debian/tiny/doc/	usr/share/vim/vim80" >> debian/vim-tiny.install; \
  echo "debian/tiny/vimrc.tiny	etc/vim" >> debian/vim-tiny.install; \
  echo "etc/vim/vimrc.tiny	usr/share/vim/vimrc.tiny" >> debian/vim-tiny.links; \
fi
dh_install
dh_install
touch install-stamp-xxd
dh_testdir
dh_link
dh_testroot
dh_link
dh_link
*** DEBIAN *** INSTALLING VARIANT vim-basic
dh_installdirs
dh_bugfiles -A
cp src/vim-basic/vim src/vim-basic/vim.basic
dh_bugfiles -A
dh_bugfiles -A
# variant-related installations
for x in install postinst prerm links lintian-overrides ; do \
  case "vim" in \
    vim-nox|vim|vim-tiny) \
      sed -e "s:@PKG@:vim:" -e "s:@VARIANT@:basic:g" \
          -e "s:@COMMON@:vim-common:" \
          debian/vim-variant.$x > debian/vim.$x ;\
      ;; \
    *) \
      sed -e "s:@PKG@:vim:" -e "s:@VARIANT@:basic:g" \
          -e "s:@COMMON@:vim-gui-common:" \
          debian/vim-variant.$x > debian/vim.$x ;\
      ;; \
  esac \
done
touch install-stamp-vim-tiny
dh_testdir
for L in fr it pl ru ja; do \
  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$mandir/$L/man1/\$i.1.gz \$i.$L.1.gz \$mandir/$L/man1/vim.1.gz \\\\\n&:" \
      -i debian/vim.postinst; \
done
sed -i "/@LANG_ALTS@/d" debian/vim.postinst
# fake help installation for vim-tiny
if [ "vim" = "vim-tiny" ]; then \
  /usr/bin/make -f debian/rules debian/tiny/vimrc.tiny; \
  echo "debian/tiny/doc/	usr/share/vim/vim80" >> debian/vim-tiny.install; \
  echo "debian/tiny/vimrc.tiny	etc/vim" >> debian/vim-tiny.install; \
  echo "etc/vim/vimrc.tiny	usr/share/vim/vimrc.tiny" >> debian/vim-tiny.links; \
fi
dh_install
dh_testroot
touch install-stamp-vim-athena
touch install-stamp-vim-nox
dh_testdir
dh_testdir
dh_strip
dh_link
dh_testroot
dh_testroot
dh_strip --dbgsym-migration='vim-dbg (<< 2:7.4.1689-1~)'
dh_strip --dbgsym-migration='vim-dbg (<< 2:7.4.1689-1~)'
dh_bugfiles -A
dh_compress
touch install-stamp-vim-basic
dh_testdir
dh_fixperms
dh_testroot
dh_strip --dbgsym-migration='vim-dbg (<< 2:7.4.1689-1~)'
dh_installdeb
dh_compress
dh_shlibdeps
dh_fixperms
dh_lintian
dh_installdeb
dh_shlibdeps
dh_compress
dh_fixperms
dh_compress
dh_lintian
dh_fixperms
dh_installdeb
dh_gencontrol
dh_shlibdeps
dh_lintian
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/vim-tiny/usr/bin/vim.tiny was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
dh_gencontrol -- -Vvim:Perl-Provides=vim-perl -Vvim:Perl-Desc=" Perl," -Vvim:Ruby-Provides=vim-ruby -Vvim:Ruby-Desc=" Ruby,"
dh_md5sums
dh_builddeb
dpkg-deb: building package 'xxd-dbgsym' in '../xxd-dbgsym_8.0.1144-1_armhf.deb'.
dpkg-deb: building package 'xxd' in '../xxd_8.0.1144-1_armhf.deb'.
dh_testdir
dh_testroot
dh_strip --dbgsym-migration='vim-dbg (<< 2:7.4.1689-1~)'
dh_md5sums
dh_builddeb -- -Zxz
dpkg-deb: building package 'vim-tiny-dbgsym' in '../vim-tiny-dbgsym_8.0.1144-1_armhf.deb'.
dpkg-deb: building package 'vim-tiny' in '../vim-tiny_8.0.1144-1_armhf.deb'.
dh_testdir
dh_testroot
dh_strip --dbgsym-migration='vim-dbg (<< 2:7.4.1689-1~)'
dh_compress
dh_fixperms
dh_lintian
dh_installdeb
dh_shlibdeps
dh_compress
dh_fixperms
dh_lintian
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/vim-gtk/usr/bin/vim.gtk was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
dh_gencontrol -- -Vvim:Perl-Provides=vim-perl -Vvim:Perl-Desc=" Perl," -Vvim:Ruby-Provides=vim-ruby -Vvim:Ruby-Desc=" Ruby,"
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/vim-gtk3/usr/bin/vim.gtk3 was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
dh_gencontrol -- -Vvim:Perl-Provides=vim-perl -Vvim:Perl-Desc=" Perl," -Vvim:Ruby-Provides=vim-ruby -Vvim:Ruby-Desc=" Ruby,"
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/vim-athena/usr/bin/vim.athena was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
dh_gencontrol -- -Vvim:Perl-Provides=vim-perl -Vvim:Perl-Desc=" Perl," -Vvim:Ruby-Provides=vim-ruby -Vvim:Ruby-Desc=" Ruby,"
dh_md5sums
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/vim-nox/usr/bin/vim.nox was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
dh_gencontrol -- -Vvim:Perl-Provides=vim-perl -Vvim:Perl-Desc=" Perl," -Vvim:Ruby-Provides=vim-ruby -Vvim:Ruby-Desc=" Ruby,"
dh_builddeb -- -Zxz
dpkg-deb: building package 'vim-gtk' in '../vim-gtk_8.0.1144-1_armhf.deb'.
dpkg-deb: building package 'vim-gtk-dbgsym' in '../vim-gtk-dbgsym_8.0.1144-1_armhf.deb'.
dh_md5sums
dh_builddeb -- -Zxz
dh_md5sums
dpkg-deb: building package 'vim-gtk3' in '../vim-gtk3_8.0.1144-1_armhf.deb'.
dpkg-deb: building package 'vim-gtk3-dbgsym' in '../vim-gtk3-dbgsym_8.0.1144-1_armhf.deb'.
dh_builddeb -- -Zxz
dh_md5sums
dpkg-deb: building package 'vim-athena-dbgsym' in '../vim-athena-dbgsym_8.0.1144-1_armhf.deb'.
dpkg-deb: building package 'vim-athena' in '../vim-athena_8.0.1144-1_armhf.deb'.
dh_builddeb -- -Zxz
dpkg-deb: building package 'vim-nox-dbgsym' in '../vim-nox-dbgsym_8.0.1144-1_armhf.deb'.
dpkg-deb: building package 'vim-nox' in '../vim-nox_8.0.1144-1_armhf.deb'.
dh_testdir
dh_testroot
dh_strip --dbgsym-migration='vim-dbg (<< 2:7.4.1689-1~)'
dh_compress
dh_fixperms
dh_lintian
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/vim/usr/bin/vim.basic was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
dh_gencontrol -- -Vvim:Perl-Provides=vim-perl -Vvim:Perl-Desc=" Perl," -Vvim:Ruby-Provides=vim-ruby -Vvim:Ruby-Desc=" Ruby,"
dh_md5sums
dh_builddeb -- -Zxz
dpkg-deb: building package 'vim-dbgsym' in '../vim-dbgsym_8.0.1144-1_armhf.deb'.
dpkg-deb: building package 'vim' in '../vim_8.0.1144-1_armhf.deb'.
 dpkg-genbuildinfo --build=any
 dpkg-genchanges --build=any -mRaspbian mythic lxc autobuilder 1 <root@raspbian.org> >../vim_8.0.1144-1_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build vim-8.0.1144
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2017-09-30T06:48:02Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


vim_8.0.1144-1_armhf.changes:
-----------------------------

Format: 1.8
Date: Sun, 24 Sep 2017 22:02:28 -0400
Source: vim
Binary: vim-common vim-gui-common vim-runtime vim-doc vim-tiny vim vim-gtk vim-gtk3 vim-nox vim-athena vim-gnome xxd
Architecture: armhf
Version: 2:8.0.1144-1
Distribution: buster-staging
Urgency: medium
Maintainer: Raspbian mythic lxc autobuilder 1 <root@raspbian.org>
Changed-By: James McCoy <jamessan@debian.org>
Description:
 vim        - Vi IMproved - enhanced vi editor
 vim-athena - Vi IMproved - enhanced vi editor - with Athena GUI
 vim-common - Vi IMproved - Common files
 vim-doc    - Vi IMproved - HTML documentation
 vim-gnome  - Vi IMproved - enhanced vi editor (dummy package)
 vim-gtk    - Vi IMproved - enhanced vi editor - with GTK2 GUI
 vim-gtk3   - Vi IMproved - enhanced vi editor - with GTK3 GUI
 vim-gui-common - Vi IMproved - Common GUI files
 vim-nox    - Vi IMproved - enhanced vi editor - with scripting languages suppo
 vim-runtime - Vi IMproved - Runtime files
 vim-tiny   - Vi IMproved - enhanced vi editor - compact version
 xxd        - tool to make (or reverse) a hex dump
Closes: 700016 872302 872360 872557 873755
Changes:
 vim (2:8.0.1144-1) unstable; urgency=medium
 .
   [ upstream ]
   * Fix detection/enabling of cursor blink state.  (Closes: #872302)
   * ftplugin/perl.vim: Set 'iskeyword' local to the buffer so it doesn't
     affect subsequently opened buffers.  (Closes: #873755)
   * syntax/mason.vim: Correctly highlight mason files again.  (Closes:
     #700016)
 .
   [ James McCoy ]
   * debcontrol.vim:
     + Recognize Testsuite field  (Closes: #872360)
     + Treat tabs as valid whitespace  (Closes: #872557)
   * Declare compliance with Policy 4.1.0, no changes needed
   * Add basic autopkgtests
   * Add missing postrm for symlink_to_dir maintscripts
Checksums-Sha1:
 46168948ec5415127eb81268b8528425825e88b3 3870094 vim-athena-dbgsym_8.0.1144-1_armhf.deb
 0b44c47ab5a535dbe9567b37d3a1033a9bc83e0d 1021066 vim-athena_8.0.1144-1_armhf.deb
 6ac7ed26a1e511b244dec9bf896b5cfc5dd344f1 3017524 vim-dbgsym_8.0.1144-1_armhf.deb
 e5c4b55e7d17588a632ec371aad283c15a14429c 4210268 vim-gtk-dbgsym_8.0.1144-1_armhf.deb
 de377438d5155425d8f957ed872d42f31a4d1bcf 4042582 vim-gtk3-dbgsym_8.0.1144-1_armhf.deb
 c0e98f145dcab71cf6bc2a76ba5c68a885fc83ab 1038940 vim-gtk3_8.0.1144-1_armhf.deb
 ffcf485a5389fd81538147fbd73a7827c0b15ec2 1036958 vim-gtk_8.0.1144-1_armhf.deb
 484adb196f43622ade0f2e41afa635920aea0516 3328206 vim-nox-dbgsym_8.0.1144-1_armhf.deb
 0360984d616994b3dbe100bd87af8e4bec77422a 935264 vim-nox_8.0.1144-1_armhf.deb
 9ff38f2811feb9351f9710e4f01f76d6739c347e 1151014 vim-tiny-dbgsym_8.0.1144-1_armhf.deb
 faa7dd974aab7a1c17c83def99d8b9e9d21dde9d 342186 vim-tiny_8.0.1144-1_armhf.deb
 a43ec3b714d15593e849dc79e1db7bcbcf6afd1b 14562 vim_8.0.1144-1_armhf.buildinfo
 ea0f6220e74d82333e5ade02762eac9f0e5b009b 831890 vim_8.0.1144-1_armhf.deb
 d1b5a8e1d8f03cc02e21aafc8e740a9d727ed689 10792 xxd-dbgsym_8.0.1144-1_armhf.deb
 c9a8af4b06d94e49b1d77dd4fb323274243d467d 135412 xxd_8.0.1144-1_armhf.deb
Checksums-Sha256:
 29232dd4f129b639ac90d3709320e869b9139d1b516c3c17cad4ff12e694796a 3870094 vim-athena-dbgsym_8.0.1144-1_armhf.deb
 3e562a76cadd66b02798596b703ad5502b1f380b7abab89732171343d0223cd4 1021066 vim-athena_8.0.1144-1_armhf.deb
 d1aebb70f9a8d95634bd36ba86776cb811378b0a4d5b0b785252dfaa0c6a9f07 3017524 vim-dbgsym_8.0.1144-1_armhf.deb
 15cec1a2a9a17ac0f83a932da9724b90f27f245a605092f372dab7009e06dbaf 4210268 vim-gtk-dbgsym_8.0.1144-1_armhf.deb
 0cde144722be53fb6dcaefe1c998e89e209f3921a18f5a19e09770d188a50425 4042582 vim-gtk3-dbgsym_8.0.1144-1_armhf.deb
 e784f8db77802dc37902c535bc2d577f292cb9fd287efeb59f55f4f34f90e2fa 1038940 vim-gtk3_8.0.1144-1_armhf.deb
 74dcb97cd3f742915a94e9fa97084c0000a7b0aebbc06e0f9dfbc3ef2199722a 1036958 vim-gtk_8.0.1144-1_armhf.deb
 20668e25b2cf3d993d039bf472527ec988fed6abcbf32b99d0557e4a416af38a 3328206 vim-nox-dbgsym_8.0.1144-1_armhf.deb
 aa0071c9ee48fb7554749650216a4fdb391d9c623374835c68a07d141a34e020 935264 vim-nox_8.0.1144-1_armhf.deb
 3a0d14ec7ab832dca6ae32335364d8357b9694216ba25ae4257bfd5f97a6559b 1151014 vim-tiny-dbgsym_8.0.1144-1_armhf.deb
 1c88464a0d65819791d002856e10eec9ffb8801aad600b20abf014e70af0588f 342186 vim-tiny_8.0.1144-1_armhf.deb
 69e85c67aab0b9e854337fdcc52d2315d130f36549bcef4b48fc6b7814456991 14562 vim_8.0.1144-1_armhf.buildinfo
 4e0c6b200aed64fc75753a62e0add948dcd967c66279b3feac5990f3aa8ba649 831890 vim_8.0.1144-1_armhf.deb
 1f85208484aa2d8294ff442526147db546168b1dc86b8af33d8df0dd876bfd19 10792 xxd-dbgsym_8.0.1144-1_armhf.deb
 40c4ab27f5726a5a2f3e739a45765a10fdefd3525a747ebf7f52d6334ccf5fb5 135412 xxd_8.0.1144-1_armhf.deb
Files:
 78d08ea7fe486b0a0e819efc7d169079 3870094 debug optional vim-athena-dbgsym_8.0.1144-1_armhf.deb
 f1c70cf6b8689080cc1f472616146840 1021066 editors optional vim-athena_8.0.1144-1_armhf.deb
 05cd4fc3733f8ee165a5816c2a0b666b 3017524 debug optional vim-dbgsym_8.0.1144-1_armhf.deb
 bbfbcede072b657126a153a349a33bd4 4210268 debug optional vim-gtk-dbgsym_8.0.1144-1_armhf.deb
 5cfa77bbef3ede333d2c6fa2cadf0aa1 4042582 debug optional vim-gtk3-dbgsym_8.0.1144-1_armhf.deb
 59580c796f998ae7247f446dcf12c37e 1038940 editors optional vim-gtk3_8.0.1144-1_armhf.deb
 5e4aa4c8956f9f778d1644e956889903 1036958 editors optional vim-gtk_8.0.1144-1_armhf.deb
 49ff43281f869d82aa534c0a4f1e1792 3328206 debug optional vim-nox-dbgsym_8.0.1144-1_armhf.deb
 869d28cbd94220832ef13f5195402a63 935264 editors optional vim-nox_8.0.1144-1_armhf.deb
 4805509b0cdee04b45178635dda2b854 1151014 debug optional vim-tiny-dbgsym_8.0.1144-1_armhf.deb
 f12645aac92b3ddc490350cd5bb3f8ca 342186 editors important vim-tiny_8.0.1144-1_armhf.deb
 326b35b5939045fc4d9b4351632c4b45 14562 editors optional vim_8.0.1144-1_armhf.buildinfo
 a2d1bd74c9890fe84557580d7a6fced4 831890 editors optional vim_8.0.1144-1_armhf.deb
 714191b3bfd856538af3c4caa217e5ac 10792 debug optional xxd-dbgsym_8.0.1144-1_armhf.deb
 1ec716a04986b1e959fe643755f32179 135412 editors optional xxd_8.0.1144-1_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


vim-athena-dbgsym_8.0.1144-1_armhf.deb
--------------------------------------

 new debian package, version 2.0.
 size 3870094 bytes: control archive=489 bytes.
     454 bytes,    14 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: vim-athena-dbgsym
 Source: vim
 Version: 2:8.0.1144-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 4088
 Depends: vim-athena (= 2:8.0.1144-1)
 Breaks: vim-dbg (<< 2:7.4.1689-1~)
 Replaces: vim-dbg (<< 2:7.4.1689-1~)
 Section: debug
 Priority: optional
 Description: debug symbols for vim-athena
 Build-Ids: efa71e2b21d21cd5f5d52068ef98606c8c0584ba

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/ef/
-rw-r--r-- root/root   4175024 2017-09-25 02:02 ./usr/lib/debug/.build-id/ef/a71e2b21d21cd5f5d52068ef98606c8c0584ba.debug
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-athena-dbgsym -> vim-athena


vim-athena_8.0.1144-1_armhf.deb
-------------------------------

 new debian package, version 2.0.
 size 1021066 bytes: control archive=1754 bytes.
    1195 bytes,    21 lines      control              
     259 bytes,     4 lines      md5sums              
    1835 bytes,    61 lines   *  postinst             #!/bin/sh
     828 bytes,    43 lines   *  prerm                #!/bin/sh
 Package: vim-athena
 Source: vim
 Version: 2:8.0.1144-1
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 2446
 Depends: vim-common (= 2:8.0.1144-1), vim-gui-common (= 2:8.0.1144-1), vim-runtime (= 2:8.0.1144-1), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libgpm2 (>= 1.20.4), libice6 (>= 1:1.0.0), liblua5.2-0, libperl5.26 (>= 5.26.0~rc1), libpython3.5 (>= 3.5.0~b1), libruby2.3 (>= 2.3.0~preview2), libselinux1 (>= 1.32), libsm6, libtcl8.6 (>= 8.6.0), libtinfo5 (>= 6), libx11-6, libxaw7, libxmu6, libxpm4, libxt6
 Suggests: cscope, vim-doc
 Provides: editor, gvim, vim, vim-lua, vim-perl, vim-python, vim-ruby, vim-tcl
 Section: editors
 Priority: optional
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - with Athena GUI
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with a Athena GUI
  and support for scripting with Lua, Perl, Python 3, Ruby, and Tcl.

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/bin/
-rwxr-xr-x root/root   2487204 2017-09-25 02:02 ./usr/bin/vim.athena
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/vim-athena/
-rw-r--r-- root/root       516 2017-09-25 02:02 ./usr/share/bug/vim-athena/presubj
-rwxr-xr-x root/root       204 2017-09-25 02:02 ./usr/share/bug/vim-athena/script
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-athena -> vim-gui-common
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       146 2017-09-25 02:02 ./usr/share/lintian/overrides/vim-athena


vim-dbgsym_8.0.1144-1_armhf.deb
-------------------------------

 new debian package, version 2.0.
 size 3017524 bytes: control archive=483 bytes.
     433 bytes,    14 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: vim-dbgsym
 Source: vim
 Version: 2:8.0.1144-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 3203
 Depends: vim (= 2:8.0.1144-1)
 Breaks: vim-dbg (<< 2:7.4.1689-1~)
 Replaces: vim-dbg (<< 2:7.4.1689-1~)
 Section: debug
 Priority: optional
 Description: debug symbols for vim
 Build-Ids: f82f32a7410d31244af8b8ce5b8943caa204ec74

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/f8/
-rw-r--r-- root/root   3268828 2017-09-25 02:02 ./usr/lib/debug/.build-id/f8/2f32a7410d31244af8b8ce5b8943caa204ec74.debug
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-dbgsym -> vim


vim-gtk-dbgsym_8.0.1144-1_armhf.deb
-----------------------------------

 new debian package, version 2.0.
 size 4210268 bytes: control archive=488 bytes.
     445 bytes,    14 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: vim-gtk-dbgsym
 Source: vim
 Version: 2:8.0.1144-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 4421
 Depends: vim-gtk (= 2:8.0.1144-1)
 Breaks: vim-dbg (<< 2:7.4.1689-1~)
 Replaces: vim-dbg (<< 2:7.4.1689-1~)
 Section: debug
 Priority: optional
 Description: debug symbols for vim-gtk
 Build-Ids: 5746fa3c904a30b77b75fb57248163016329117d

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/57/
-rw-r--r-- root/root   4516568 2017-09-25 02:02 ./usr/lib/debug/.build-id/57/46fa3c904a30b77b75fb57248163016329117d.debug
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-gtk-dbgsym -> vim-gtk


vim-gtk3-dbgsym_8.0.1144-1_armhf.deb
------------------------------------

 new debian package, version 2.0.
 size 4042582 bytes: control archive=486 bytes.
     448 bytes,    14 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: vim-gtk3-dbgsym
 Source: vim
 Version: 2:8.0.1144-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 4259
 Depends: vim-gtk3 (= 2:8.0.1144-1)
 Breaks: vim-dbg (<< 2:7.4.1689-1~)
 Replaces: vim-dbg (<< 2:7.4.1689-1~)
 Section: debug
 Priority: optional
 Description: debug symbols for vim-gtk3
 Build-Ids: 1062081b94b259abe0bc988d148ab5b58f9f9aa7

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/10/
-rw-r--r-- root/root   4350044 2017-09-25 02:02 ./usr/lib/debug/.build-id/10/62081b94b259abe0bc988d148ab5b58f9f9aa7.debug
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-gtk3-dbgsym -> vim-gtk3


vim-gtk3_8.0.1144-1_armhf.deb
-----------------------------

 new debian package, version 2.0.
 size 1038940 bytes: control archive=1831 bytes.
    1360 bytes,    21 lines      control              
     251 bytes,     4 lines      md5sums              
    1831 bytes,    61 lines   *  postinst             #!/bin/sh
     824 bytes,    43 lines   *  prerm                #!/bin/sh
 Package: vim-gtk3
 Source: vim
 Version: 2:8.0.1144-1
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 2473
 Depends: vim-common (= 2:8.0.1144-1), vim-gui-common (= 2:8.0.1144-1), vim-runtime (= 2:8.0.1144-1), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libcairo2 (>= 1.4.10), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgpm2 (>= 1.20.4), libgtk-3-0 (>= 3.21.5), libice6 (>= 1:1.0.0), liblua5.2-0, libpango-1.0-0 (>= 1.37.5), libpangocairo-1.0-0 (>= 1.14.0), libperl5.26 (>= 5.26.0~rc1), libpython3.5 (>= 3.5.0~b1), libruby2.3 (>= 2.3.0~preview2), libselinux1 (>= 1.32), libsm6, libtcl8.6 (>= 8.6.0), libtinfo5 (>= 6), libx11-6, libxt6
 Suggests: cscope, fonts-dejavu, gnome-icon-theme, vim-doc
 Provides: editor, gvim, vim, vim-lua, vim-perl, vim-python, vim-ruby, vim-tcl
 Section: editors
 Priority: optional
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - with GTK3 GUI
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with a GTK3 GUI
  and support for scripting with Lua, Perl, Python 3, Ruby, and Tcl.

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/bin/
-rwxr-xr-x root/root   2514484 2017-09-25 02:02 ./usr/bin/vim.gtk3
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/vim-gtk3/
-rw-r--r-- root/root       516 2017-09-25 02:02 ./usr/share/bug/vim-gtk3/presubj
-rwxr-xr-x root/root       204 2017-09-25 02:02 ./usr/share/bug/vim-gtk3/script
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-gtk3 -> vim-gui-common
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       142 2017-09-25 02:02 ./usr/share/lintian/overrides/vim-gtk3


vim-gtk_8.0.1144-1_armhf.deb
----------------------------

 new debian package, version 2.0.
 size 1036958 bytes: control archive=1810 bytes.
    1305 bytes,    21 lines      control              
     247 bytes,     4 lines      md5sums              
    1829 bytes,    61 lines   *  postinst             #!/bin/sh
     822 bytes,    43 lines   *  prerm                #!/bin/sh
 Package: vim-gtk
 Source: vim
 Version: 2:8.0.1144-1
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 2469
 Depends: vim-common (= 2:8.0.1144-1), vim-gui-common (= 2:8.0.1144-1), vim-runtime (= 2:8.0.1144-1), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libgdk-pixbuf2.0-0 (>= 2.25.2), libglib2.0-0 (>= 2.31.18), libgpm2 (>= 1.20.4), libgtk2.0-0 (>= 2.24.0), libice6 (>= 1:1.0.0), liblua5.2-0, libpango-1.0-0 (>= 1.32.4), libperl5.26 (>= 5.26.0~rc1), libpython3.5 (>= 3.5.0~b1), libruby2.3 (>= 2.3.0~preview2), libselinux1 (>= 1.32), libsm6, libtcl8.6 (>= 8.6.0), libtinfo5 (>= 6), libx11-6, libxt6
 Suggests: cscope, fonts-dejavu, gnome-icon-theme, vim-doc
 Provides: editor, gvim, vim, vim-lua, vim-perl, vim-python, vim-ruby, vim-tcl
 Section: editors
 Priority: optional
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - with GTK2 GUI
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with a GTK2 GUI
  and support for scripting with Lua, Perl, Python 3, Ruby, and Tcl.

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/bin/
-rwxr-xr-x root/root   2510492 2017-09-25 02:02 ./usr/bin/vim.gtk
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/vim-gtk/
-rw-r--r-- root/root       516 2017-09-25 02:02 ./usr/share/bug/vim-gtk/presubj
-rwxr-xr-x root/root       204 2017-09-25 02:02 ./usr/share/bug/vim-gtk/script
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-gtk -> vim-gui-common
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       140 2017-09-25 02:02 ./usr/share/lintian/overrides/vim-gtk


vim-nox-dbgsym_8.0.1144-1_armhf.deb
-----------------------------------

 new debian package, version 2.0.
 size 3328206 bytes: control archive=490 bytes.
     445 bytes,    14 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: vim-nox-dbgsym
 Source: vim
 Version: 2:8.0.1144-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 3536
 Depends: vim-nox (= 2:8.0.1144-1)
 Breaks: vim-dbg (<< 2:7.4.1689-1~)
 Replaces: vim-dbg (<< 2:7.4.1689-1~)
 Section: debug
 Priority: optional
 Description: debug symbols for vim-nox
 Build-Ids: b3d0e0e175862b7b06d3b39be7331f0ca41b349e

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/b3/
-rw-r--r-- root/root   3610128 2017-09-25 02:02 ./usr/lib/debug/.build-id/b3/d0e0e175862b7b06d3b39be7331f0ca41b349e.debug
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-nox-dbgsym -> vim-nox


vim-nox_8.0.1144-1_armhf.deb
----------------------------

 new debian package, version 2.0.
 size 935264 bytes: control archive=1723 bytes.
    1089 bytes,    21 lines      control              
     247 bytes,     4 lines      md5sums              
    1829 bytes,    61 lines   *  postinst             #!/bin/sh
     822 bytes,    43 lines   *  prerm                #!/bin/sh
 Package: vim-nox
 Source: vim
 Version: 2:8.0.1144-1
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 2228
 Depends: vim-common (= 2:8.0.1144-1), vim-runtime (= 2:8.0.1144-1), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libgpm2 (>= 1.20.4), liblua5.2-0, libperl5.26 (>= 5.26.0~rc1), libpython3.5 (>= 3.5.0~b1), libruby2.3 (>= 2.3.0~preview2), libselinux1 (>= 1.32), libtcl8.6 (>= 8.6.0), libtinfo5 (>= 6)
 Suggests: cscope, vim-doc
 Provides: editor, vim, vim-lua, vim-perl, vim-python, vim-ruby, vim-tcl
 Section: editors
 Priority: optional
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - with scripting languages support
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with support for
  scripting with Lua, Perl, Python 3, Ruby, and Tcl but no GUI.

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/bin/
-rwxr-xr-x root/root   2263576 2017-09-25 02:02 ./usr/bin/vim.nox
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/vim-nox/
-rw-r--r-- root/root       516 2017-09-25 02:02 ./usr/share/bug/vim-nox/presubj
-rwxr-xr-x root/root       204 2017-09-25 02:02 ./usr/share/bug/vim-nox/script
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-nox -> vim-common
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       140 2017-09-25 02:02 ./usr/share/lintian/overrides/vim-nox


vim-tiny-dbgsym_8.0.1144-1_armhf.deb
------------------------------------

 new debian package, version 2.0.
 size 1151014 bytes: control archive=486 bytes.
     448 bytes,    14 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: vim-tiny-dbgsym
 Source: vim
 Version: 2:8.0.1144-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 1274
 Depends: vim-tiny (= 2:8.0.1144-1)
 Breaks: vim-dbg (<< 2:7.4.1689-1~)
 Replaces: vim-dbg (<< 2:7.4.1689-1~)
 Section: debug
 Priority: optional
 Description: debug symbols for vim-tiny
 Build-Ids: 7780f54b292b478611ab32ddb2aa78be77334e92

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/77/
-rw-r--r-- root/root   1293588 2017-09-25 02:02 ./usr/lib/debug/.build-id/77/80f54b292b478611ab32ddb2aa78be77334e92.debug
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-tiny-dbgsym -> vim-tiny


vim-tiny_8.0.1144-1_armhf.deb
-----------------------------

 new debian package, version 2.0.
 size 342186 bytes: control archive=1717 bytes.
      20 bytes,     1 lines      conffiles            
     833 bytes,    21 lines      control              
     453 bytes,     7 lines      md5sums              
    1831 bytes,    61 lines   *  postinst             #!/bin/sh
     824 bytes,    43 lines   *  prerm                #!/bin/sh
 Package: vim-tiny
 Source: vim
 Version: 2:8.0.1144-1
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 840
 Depends: vim-common (= 2:8.0.1144-1), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libselinux1 (>= 1.32), libtinfo5 (>= 6)
 Suggests: indent
 Provides: editor
 Section: editors
 Priority: important
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor - compact version
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  This package contains a minimal version of Vim compiled with no GUI and
  a small subset of features. This package's sole purpose is to provide
  the vi binary for base installations.
  .
  If a vim binary is wanted, try one of the following more featureful
  packages: vim, vim-nox, vim-athena, vim-gtk, or vim-gtk3.

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./etc/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./etc/vim/
-rw-r--r-- root/root       662 2017-09-25 02:02 ./etc/vim/vimrc.tiny
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/bin/
-rwxr-xr-x root/root    830000 2017-09-25 02:02 ./usr/bin/vim.tiny
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/vim-tiny/
-rw-r--r-- root/root       516 2017-09-25 02:02 ./usr/share/bug/vim-tiny/presubj
-rwxr-xr-x root/root       204 2017-09-25 02:02 ./usr/share/bug/vim-tiny/script
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim-tiny -> vim-common
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       142 2017-09-25 02:02 ./usr/share/lintian/overrides/vim-tiny
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/vim/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/vim/vim80/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/vim/vim80/doc/
-rw-r--r-- root/root       324 2017-09-25 02:02 ./usr/share/vim/vim80/doc/README.Debian
-rw-r--r-- root/root      1431 2017-09-25 02:02 ./usr/share/vim/vim80/doc/help.txt
-rw-r--r-- root/root        30 2017-09-25 02:02 ./usr/share/vim/vim80/doc/tags
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/vim/vimrc.tiny -> /etc/vim/vimrc.tiny


vim_8.0.1144-1_armhf.deb
------------------------

 new debian package, version 2.0.
 size 831890 bytes: control archive=1650 bytes.
     945 bytes,    22 lines      control              
     237 bytes,     4 lines      md5sums              
    1827 bytes,    61 lines   *  postinst             #!/bin/sh
     820 bytes,    43 lines   *  prerm                #!/bin/sh
 Package: vim
 Version: 2:8.0.1144-1
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 1966
 Depends: vim-common (= 2:8.0.1144-1), vim-runtime (= 2:8.0.1144-1), libacl1 (>= 2.2.51-8), libc6 (>= 2.15), libgpm2 (>= 1.20.4), libselinux1 (>= 1.32), libtinfo5 (>= 6)
 Suggests: ctags, vim-doc, vim-scripts
 Provides: editor
 Section: editors
 Priority: optional
 Homepage: http://www.vim.org/
 Description: Vi IMproved - enhanced vi editor
  Vim is an almost compatible version of the UNIX editor Vi.
  .
  Many new features have been added: multi level undo, syntax
  highlighting, command line history, on-line help, filename
  completion, block operations, folding, Unicode support, etc.
  .
  This package contains a version of vim compiled with a rather
  standard set of features.  This package does not provide a GUI
  version of Vim.  See the other vim-* packages if you need more
  (or less).

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/bin/
-rwxr-xr-x root/root   1995500 2017-09-25 02:02 ./usr/bin/vim.basic
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/bug/vim/
-rw-r--r-- root/root       516 2017-09-25 02:02 ./usr/share/bug/vim/presubj
-rwxr-xr-x root/root       204 2017-09-25 02:02 ./usr/share/bug/vim/script
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/vim -> vim-common
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       138 2017-09-25 02:02 ./usr/share/lintian/overrides/vim


xxd-dbgsym_8.0.1144-1_armhf.deb
-------------------------------

 new debian package, version 2.0.
 size 10792 bytes: control archive=452 bytes.
     359 bytes,    12 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: xxd-dbgsym
 Source: vim
 Version: 2:8.0.1144-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 25
 Depends: xxd (= 2:8.0.1144-1)
 Section: debug
 Priority: optional
 Description: debug symbols for xxd
 Build-Ids: ae400dfda7386f177447323e492fe1f480d3f6a1

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/lib/debug/.build-id/ae/
-rw-r--r-- root/root     14400 2017-09-25 02:02 ./usr/lib/debug/.build-id/ae/400dfda7386f177447323e492fe1f480d3f6a1.debug
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
lrwxrwxrwx root/root         0 2017-09-25 02:02 ./usr/share/doc/xxd-dbgsym -> xxd


xxd_8.0.1144-1_armhf.deb
------------------------

 new debian package, version 2.0.
 size 135412 bytes: control archive=824 bytes.
     532 bytes,    16 lines      control              
     634 bytes,    10 lines      md5sums              
 Package: xxd
 Source: vim
 Version: 2:8.0.1144-1
 Architecture: armhf
 Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
 Installed-Size: 178
 Depends: libc6 (>= 2.4)
 Breaks: vim-common (<< 2:7.4.2347-1~)
 Replaces: vim-common (<< 2:7.4.2347-1~)
 Section: editors
 Priority: optional
 Multi-Arch: foreign
 Homepage: http://www.vim.org/
 Description: tool to make (or reverse) a hex dump
  xxd creates a hex dump of a given file or standard input.  It can also convert
  a hex dump back to its original binary form.

drwxr-xr-x root/root         0 2017-09-25 02:02 ./
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/bin/
-rwxr-xr-x root/root     13804 2017-09-25 02:02 ./usr/bin/xxd
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/doc/xxd/
-rw-r--r-- root/root      1774 2017-09-25 02:02 ./usr/share/doc/xxd/NEWS.Debian.gz
-rw-r--r-- root/root     87492 2017-09-25 02:02 ./usr/share/doc/xxd/changelog.Debian.gz
-rw-r--r-- root/root     25781 2017-09-25 02:02 ./usr/share/doc/xxd/copyright
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/fr/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/fr/man1/
-rw-r--r-- root/root      4905 2017-09-25 02:02 ./usr/share/man/fr/man1/xxd.1.gz
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/it/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/it/man1/
-rw-r--r-- root/root      4819 2017-09-25 02:02 ./usr/share/man/it/man1/xxd.1.gz
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/ja/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/ja/man1/
-rw-r--r-- root/root      4774 2017-09-25 02:02 ./usr/share/man/ja/man1/xxd.1.gz
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/man1/
-rw-r--r-- root/root      4309 2017-09-25 02:02 ./usr/share/man/man1/xxd.1.gz
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/pl/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/pl/man1/
-rw-r--r-- root/root      4642 2017-09-25 02:02 ./usr/share/man/pl/man1/xxd.1.gz
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/ru/
drwxr-xr-x root/root         0 2017-09-25 02:02 ./usr/share/man/ru/man1/
-rw-r--r-- root/root      6117 2017-09-25 02:02 ./usr/share/man/ru/man1/xxd.1.gz


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 559532
Build-Time: 1858
Distribution: buster-staging
Host Architecture: armhf
Install-Time: 680
Job: vim_2:8.0.1144-1
Machine Architecture: armhf
Package: vim
Package-Time: 2558
Source-Version: 2:8.0.1144-1
Space: 559532
Status: successful
Version: 2:8.0.1144-1
--------------------------------------------------------------------------------
Finished at 2017-09-30T06:48:02Z
Build needed 00:42:38, 559532k disk space